diff options
Diffstat (limited to 'tests/FunctionalTests/active-controls/tests/DelayedCallbackTestCase.php')
-rw-r--r-- | tests/FunctionalTests/active-controls/tests/DelayedCallbackTestCase.php | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/tests/FunctionalTests/active-controls/tests/DelayedCallbackTestCase.php b/tests/FunctionalTests/active-controls/tests/DelayedCallbackTestCase.php index 3653dae1..c5367612 100644 --- a/tests/FunctionalTests/active-controls/tests/DelayedCallbackTestCase.php +++ b/tests/FunctionalTests/active-controls/tests/DelayedCallbackTestCase.php @@ -1,22 +1,22 @@ -<?php
-
-class DelayedCallbackTestCase extends SeleniumTestCase
-{
- function test()
- {
- $this->open("active-controls/index.php?page=DelayedCallback");
- $this->verifyTextPresent("Delayed Callback Test");
-
- $this->assertText("status", "");
- $this->click("button1");
- $this->click("button2");
-
- $this->pause("5000");
- $this->assertText("status", "Callback 1 returned after 4s");
- $this->pause("3000");
- $this->assertText("status", "Callback 2 delayed 2s");
-
- }
-}
-
+<?php + +class DelayedCallbackTestCase extends SeleniumTestCase +{ + function test() + { + $this->open("active-controls/index.php?page=DelayedCallback"); + $this->verifyTextPresent("Delayed Callback Test"); + + $this->assertText("status", ""); + $this->click("button1"); + $this->click("button2"); + + $this->pause("5000"); + $this->assertText("status", "Callback 1 returned after 4s"); + $this->pause("3000"); + $this->assertText("status", "Callback 2 delayed 2s"); + + } +} + ?>
\ No newline at end of file |