From 614abf2377f4348df56f34de674b27ad1ffe2917 Mon Sep 17 00:00:00 2001 From: xue <> Date: Sat, 11 Mar 2006 18:16:38 +0000 Subject: Deleted some unused tests. --- .../protected/pages/UI/testOnClickAttribute.php | 36 ---------------------- 1 file changed, 36 deletions(-) delete mode 100644 tests/FunctionalTests/protected/pages/UI/testOnClickAttribute.php (limited to 'tests/FunctionalTests/protected/pages/UI/testOnClickAttribute.php') diff --git a/tests/FunctionalTests/protected/pages/UI/testOnClickAttribute.php b/tests/FunctionalTests/protected/pages/UI/testOnClickAttribute.php deleted file mode 100644 index 3d9fc840..00000000 --- a/tests/FunctionalTests/protected/pages/UI/testOnClickAttribute.php +++ /dev/null @@ -1,36 +0,0 @@ - - * @version $Revision: $ $Date: $ - * @package System.Web.UI.WebControls - * @since 3.0 - */ -class testOnClickAttribute extends TPage -{ - function doClick() - { - $this->clickState->setText("Post Back clicked!"); - } -} - -class OnClickAttributeTestCase extends SeleniumTestCase -{ - function test() - { - $page = Prado::getApplication()->getTestPage(__FILE__); - $this->open($page); - $this->assertTitle("Test Attributes.OnClick"); - $this->click("link=Click me"); - $this->assertConfirmation("Are you sure?"); - $this->chooseCancelOnNextConfirmation(); - $this->assertTextNotPresent("Post Back clicked!"); - $this->clickAndWait("link=Click me"); - $this->assertConfirmation("Are you sure?"); - $this->assertTextPresent("Post Back clicked!"); - } -} - -?> \ No newline at end of file -- cgit v1.2.3