From 3b11f3555426a50664e130148fa37e18b8098e28 Mon Sep 17 00:00:00 2001 From: wei <> Date: Fri, 6 Jan 2006 04:37:22 +0000 Subject: --- .../framework/Demos/testControls.php | 16 ----------- .../framework/Demos/testHangMan.php | 32 ---------------------- tests/FunctionalTests/framework/IndexPage.tpl | 13 --------- tests/FunctionalTests/framework/Web/UI/config.xml | 7 ----- .../framework/Web/UI/testTButton.php | 23 ---------------- .../framework/Web/UI/testTButton.tpl | 7 ----- tests/FunctionalTests/framework/Web/config.xml | 5 ---- tests/FunctionalTests/framework/application.xml | 12 -------- tests/FunctionalTests/framework/config.xml | 6 ---- 9 files changed, 121 deletions(-) delete mode 100644 tests/FunctionalTests/framework/Demos/testControls.php delete mode 100644 tests/FunctionalTests/framework/Demos/testHangMan.php delete mode 100644 tests/FunctionalTests/framework/IndexPage.tpl delete mode 100644 tests/FunctionalTests/framework/Web/UI/config.xml delete mode 100644 tests/FunctionalTests/framework/Web/UI/testTButton.php delete mode 100644 tests/FunctionalTests/framework/Web/UI/testTButton.tpl delete mode 100644 tests/FunctionalTests/framework/Web/config.xml delete mode 100644 tests/FunctionalTests/framework/application.xml delete mode 100644 tests/FunctionalTests/framework/config.xml (limited to 'tests/FunctionalTests/framework') diff --git a/tests/FunctionalTests/framework/Demos/testControls.php b/tests/FunctionalTests/framework/Demos/testControls.php deleted file mode 100644 index 49f8e99e..00000000 --- a/tests/FunctionalTests/framework/Demos/testControls.php +++ /dev/null @@ -1,16 +0,0 @@ -open('../../demos/controls/index.php'); - } - - function testControlSamples() - { - $this->assertTextPresent("Welcome! Guest"); - $this->clickAndWait('//input[@value="Toggle Button"]'); - $this->assertTextPresent("Login"); - } -} \ No newline at end of file diff --git a/tests/FunctionalTests/framework/Demos/testHangMan.php b/tests/FunctionalTests/framework/Demos/testHangMan.php deleted file mode 100644 index e6bc8c94..00000000 --- a/tests/FunctionalTests/framework/Demos/testHangMan.php +++ /dev/null @@ -1,32 +0,0 @@ -open('../../demos/hangman/index.php'); - } - - function testHangManGame() - { - $this->assertLocation('hangman/index.php'); - $this->assertTextPresent('Prado Hangman Game'); - - //use xpath to select input with value "HardLevel", - //i.e the radio button with value "HardLevel" - $this->click('//input[@value="HardLevel"]'); - $this->clickAndWait('//input[@value="Play!"]'); - - //try 3 alphabets that sure doesn't exists - $this->clickAndWait('link=X'); - $this->assertTextPresent('made 1 bad guesses'); - - $this->clickAndWait('link=J'); - $this->assertTextPresent('made 2 bad guesses'); - - $this->clickAndWait('link=Q'); - $this->assertTextPresent('You Lose!'); - } -} - -?> \ No newline at end of file diff --git a/tests/FunctionalTests/framework/IndexPage.tpl b/tests/FunctionalTests/framework/IndexPage.tpl deleted file mode 100644 index 733c495e..00000000 --- a/tests/FunctionalTests/framework/IndexPage.tpl +++ /dev/null @@ -1,13 +0,0 @@ - - - -
-