From 2db708960f4435e2b98518f8fa84cc036ac9f2eb Mon Sep 17 00:00:00 2001 From: wei <> Date: Tue, 29 Aug 2006 12:53:23 +0000 Subject: Update active controls. --- .../protected/pages/TInPlaceTextBoxTest.page | 53 ++++++++++++++++++++++ .../protected/pages/TInPlaceTextBoxTest.php | 16 +++++++ .../tests/ActiveListBoxTestCase.php | 6 --- 3 files changed, 69 insertions(+), 6 deletions(-) create mode 100644 tests/FunctionalTests/active-controls/protected/pages/TInPlaceTextBoxTest.page create mode 100644 tests/FunctionalTests/active-controls/protected/pages/TInPlaceTextBoxTest.php (limited to 'tests') diff --git a/tests/FunctionalTests/active-controls/protected/pages/TInPlaceTextBoxTest.page b/tests/FunctionalTests/active-controls/protected/pages/TInPlaceTextBoxTest.page new file mode 100644 index 00000000..54e38c2c --- /dev/null +++ b/tests/FunctionalTests/active-controls/protected/pages/TInPlaceTextBoxTest.page @@ -0,0 +1,53 @@ + + + + +

TInPlaceTextBox Functional Test

+ + + + Edit + + + + + + +
\ No newline at end of file diff --git a/tests/FunctionalTests/active-controls/protected/pages/TInPlaceTextBoxTest.php b/tests/FunctionalTests/active-controls/protected/pages/TInPlaceTextBoxTest.php new file mode 100644 index 00000000..3fa5c7e2 --- /dev/null +++ b/tests/FunctionalTests/active-controls/protected/pages/TInPlaceTextBoxTest.php @@ -0,0 +1,16 @@ +Text = "muahaha"; + } + + function label1_changed($sender, $param) + { + $this->status->Text = "Status: ". $sender->Text; + } +} + +?> \ No newline at end of file diff --git a/tests/FunctionalTests/active-controls/tests/ActiveListBoxTestCase.php b/tests/FunctionalTests/active-controls/tests/ActiveListBoxTestCase.php index 24f8099d..96f56b30 100644 --- a/tests/FunctionalTests/active-controls/tests/ActiveListBoxTestCase.php +++ b/tests/FunctionalTests/active-controls/tests/ActiveListBoxTestCase.php @@ -29,12 +29,6 @@ class ActiveListBoxTestCase extends SeleniumTestCase $this->pause(800); $this->assertEmptySelection("list1"); - $this->click('button7'); - $this->pause(800); - $this->click("button1"); - $this->pause(800); - $this->assertSelectedIndexes('list1', '3'); - $this->click('button6'); $this->pause(800); $this->click("button1"); -- cgit v1.2.3