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/Validation/CheckBox.php | 39 ---------------------- 1 file changed, 39 deletions(-) delete mode 100644 tests/FunctionalTests/protected/pages/Validation/CheckBox.php (limited to 'tests/FunctionalTests/protected/pages/Validation/CheckBox.php') diff --git a/tests/FunctionalTests/protected/pages/Validation/CheckBox.php b/tests/FunctionalTests/protected/pages/Validation/CheckBox.php deleted file mode 100644 index 2c83ad16..00000000 --- a/tests/FunctionalTests/protected/pages/Validation/CheckBox.php +++ /dev/null @@ -1,39 +0,0 @@ -IsPostBack) - $this->dataBind(); - } -} - -class CheckBoxTestCase2 extends SeleniumTestCase -{ - function setup() - { - $this->open(Prado::getApplication()->getTestPage(__FILE__)); - } - - function testValidator() - { - $this->verifyTitle("An AutoPostBack CheckBox"); - - //test checkbox 2 should fire the validator - $this->assertNotVisible("ctl0_Content_validator1"); - $this->click("ctl0_Content_checkbox2"); -// $this->pause(100); - $this->assertVisible("ctl0_Content_validator1"); - - //write some text, and see what it - $this->type('ctl0_Content_TextBox', "hello"); -// $this->pause(100); - $this->assertNotVisible("ctl0_Content_validator1"); - $this->clickAndWait("ctl0_Content_checkbox2"); //submit - $this->assertNotVisible("ctl0_Content_validator1"); - - } -} - -?> \ No newline at end of file -- cgit v1.2.3