summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/protected/pages/Validation/CheckBox.php
diff options
context:
space:
mode:
authorxue <>2006-03-11 18:16:38 +0000
committerxue <>2006-03-11 18:16:38 +0000
commit614abf2377f4348df56f34de674b27ad1ffe2917 (patch)
tree2055155a38e5fd3dc1c3dd304c0140c4c8ac8ec5 /tests/FunctionalTests/protected/pages/Validation/CheckBox.php
parent492021fec24cb583e6bd2e95b3f6c9ea7a271b5f (diff)
Deleted some unused tests.
Diffstat (limited to 'tests/FunctionalTests/protected/pages/Validation/CheckBox.php')
-rw-r--r--tests/FunctionalTests/protected/pages/Validation/CheckBox.php39
1 files changed, 0 insertions, 39 deletions
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 @@
-<?php
-
-class CheckBox extends TPage
-{
- public function onLoad($param)
- {
- if(!$this->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