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.page | 35 -------------------
.../protected/pages/Validation/CheckBox.php | 39 ----------------------
.../pages/Validation/RequiredFieldValidator.page | 13 --------
.../pages/Validation/RequiredFieldValidator.php | 31 -----------------
.../pages/Validation/testInitialValueRequired.page | 11 ------
.../pages/Validation/testInitialValueRequired.php | 25 --------------
6 files changed, 154 deletions(-)
delete mode 100644 tests/FunctionalTests/protected/pages/Validation/CheckBox.page
delete mode 100644 tests/FunctionalTests/protected/pages/Validation/CheckBox.php
delete mode 100644 tests/FunctionalTests/protected/pages/Validation/RequiredFieldValidator.page
delete mode 100644 tests/FunctionalTests/protected/pages/Validation/RequiredFieldValidator.php
delete mode 100644 tests/FunctionalTests/protected/pages/Validation/testInitialValueRequired.page
delete mode 100644 tests/FunctionalTests/protected/pages/Validation/testInitialValueRequired.php
(limited to 'tests/FunctionalTests/protected/pages/Validation')
diff --git a/tests/FunctionalTests/protected/pages/Validation/CheckBox.page b/tests/FunctionalTests/protected/pages/Validation/CheckBox.page
deleted file mode 100644
index 0653a0c2..00000000
--- a/tests/FunctionalTests/protected/pages/Validation/CheckBox.page
+++ /dev/null
@@ -1,35 +0,0 @@
-<%@ Title="An AutoPostBack CheckBox" %>
-
-
-An AutoPostBack CheckBox
-
-
-
-
-
-
-
-Input:
-
-
-
\ No newline at end of file
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
diff --git a/tests/FunctionalTests/protected/pages/Validation/RequiredFieldValidator.page b/tests/FunctionalTests/protected/pages/Validation/RequiredFieldValidator.page
deleted file mode 100644
index 5447b834..00000000
--- a/tests/FunctionalTests/protected/pages/Validation/RequiredFieldValidator.page
+++ /dev/null
@@ -1,13 +0,0 @@
-<%@ Title="Basic TRequiredFieldValidator" %>
-
-Basic TRequiredFieldValidator Test1
-
-
-
-
-
\ No newline at end of file
diff --git a/tests/FunctionalTests/protected/pages/Validation/RequiredFieldValidator.php b/tests/FunctionalTests/protected/pages/Validation/RequiredFieldValidator.php
deleted file mode 100644
index 97ec656b..00000000
--- a/tests/FunctionalTests/protected/pages/Validation/RequiredFieldValidator.php
+++ /dev/null
@@ -1,31 +0,0 @@
-IsPostBack)
- $this->dataBind();
- }
-}
-
-class RequiredFieldTestCase extends SeleniumTestCase
-{
- function setup()
- {
- $this->open(Prado::getApplication()->getTestPage(__FILE__));
- }
-
- function testValidator()
- {
- $this->assertTextPresent("Basic TRequiredFieldValidator Test1");
- $this->assertNotVisible("ctl0_Content_validator1");
- $this->click("ctl0_Content_button1");
- $this->assertVisible("ctl0_Content_validator1");
- $this->type("ctl0_Content_text1", "test");
- $this->clickAndWait("ctl0_Content_button1");
- $this->assertNotVisible("ctl0_Content_validator1");
- }
-}
-
-?>
\ No newline at end of file
diff --git a/tests/FunctionalTests/protected/pages/Validation/testInitialValueRequired.page b/tests/FunctionalTests/protected/pages/Validation/testInitialValueRequired.page
deleted file mode 100644
index 62cf761c..00000000
--- a/tests/FunctionalTests/protected/pages/Validation/testInitialValueRequired.page
+++ /dev/null
@@ -1,11 +0,0 @@
-<%@ Title="InitialValue Validation Test" %>
-
-InitialValue Validation Test
-
-
-
-
-
\ No newline at end of file
diff --git a/tests/FunctionalTests/protected/pages/Validation/testInitialValueRequired.php b/tests/FunctionalTests/protected/pages/Validation/testInitialValueRequired.php
deleted file mode 100644
index cc35accc..00000000
--- a/tests/FunctionalTests/protected/pages/Validation/testInitialValueRequired.php
+++ /dev/null
@@ -1,25 +0,0 @@
-getTestPage(__FILE__);
- $this->open($page);
- $this->assertTitle("InitialValue Validation Test");
- $this->assertNotVisible("ctl0_Content_validator1");
- $this->type("ctl0_Content_text1", "hello");
- $this->clickAndWait("ctl0_Content_submit");
- $this->assertNotVisible("ctl0_Content_validator1");
- $this->type("ctl0_Content_text1", "test");
- $this->click("ctl0_Content_submit");
- $this->assertVisible("ctl0_Content_validator1");
- }
-}
-
-?>
\ No newline at end of file
--
cgit v1.2.3