diff options
author | xue <> | 2006-03-11 18:16:38 +0000 |
---|---|---|
committer | xue <> | 2006-03-11 18:16:38 +0000 |
commit | 614abf2377f4348df56f34de674b27ad1ffe2917 (patch) | |
tree | 2055155a38e5fd3dc1c3dd304c0140c4c8ac8ec5 /tests/FunctionalTests/protected/pages/UI/TestTPanelDefaultButton.php | |
parent | 492021fec24cb583e6bd2e95b3f6c9ea7a271b5f (diff) |
Deleted some unused tests.
Diffstat (limited to 'tests/FunctionalTests/protected/pages/UI/TestTPanelDefaultButton.php')
-rw-r--r-- | tests/FunctionalTests/protected/pages/UI/TestTPanelDefaultButton.php | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/tests/FunctionalTests/protected/pages/UI/TestTPanelDefaultButton.php b/tests/FunctionalTests/protected/pages/UI/TestTPanelDefaultButton.php deleted file mode 100644 index 49418efd..00000000 --- a/tests/FunctionalTests/protected/pages/UI/TestTPanelDefaultButton.php +++ /dev/null @@ -1,44 +0,0 @@ -<?php
-
-class TestTPanelDefaultButton extends TPage
-{
- public function buttonClicked($sender,$param)
- {
- $this->Result->Text="You have clicked on '$sender->Text'.";
- }
-}
-
-/**
- *
- *
- * @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Revision: $ $Date: $
- * @package System.Web.UI.WebControls
- * @since 3.0
- */
-class DefaultButtonTest extends SeleniumTestCase
-{
- function setup()
- {
- $page = Prado::getApplication()->getTestPage(__FILE__);
- $this->open($page);
- }
-
- function testClick()
- {
- $this->verifyTitle("Test DefaultButton On Panel", "");
- $this->assertTextNotPresent("You have clicked on", "");
- $this->clickAndWait("link=button 3", "");
- $this->verifyTextPresent("You have clicked on 'button 3'.", "");
- $this->clickAndWait("//input[@type='submit' and @value='button1']", "");
- $this->verifyTextPresent("You have clicked on 'button1'. ", "");
- $this->clickAndWait("//input[@type='submit' and @value='button2']", "");
- $this->verifyTextPresent("You have clicked on 'button2'. ", "");
- $this->clickAndWait("link=button 3", "");
- $this->verifyTextPresent("You have clicked on 'button 3'. ", "");
- $this->click("ctl0_Content_check1", "");
- $this->clickAndWait("//input[@type='submit' and @value='button2']", "");
- $this->verifyTextPresent("You have clicked on 'button2'. ", "");
- }
-}
-?>
\ No newline at end of file |