diff options
Diffstat (limited to 'tests/FunctionalTests/active-controls/tests/CustomTemplateTestCase.php')
-rw-r--r-- | tests/FunctionalTests/active-controls/tests/CustomTemplateTestCase.php | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/tests/FunctionalTests/active-controls/tests/CustomTemplateTestCase.php b/tests/FunctionalTests/active-controls/tests/CustomTemplateTestCase.php index 9cde186a..59bc2e93 100644 --- a/tests/FunctionalTests/active-controls/tests/CustomTemplateTestCase.php +++ b/tests/FunctionalTests/active-controls/tests/CustomTemplateTestCase.php @@ -1,22 +1,22 @@ -<?php
-
-class CustomTemplateTestCase extends SeleniumTestCase
-{
- function test()
- {
- $this->open('active-controls/index.php?page=CustomTemplateControlTest');
- $this->assertTextPresent('Add Dynamic Custom TTemplateControl Test');
- $this->assertText('label1', 'Label 1');
-
- $this->type('foo', 'Foo Bar!');
- $this->click('button2');
- $this->pause(800);
-
- $this->assertVisible('ctl1_ThePanel');
- $this->assertTextPresent('Client ID: ctl1_ThePanel');
-
- $this->assertText('label1', 'Button 1 was clicked Foo Bar! using callback!... and this is the textbox text: Foo Bar!');
- }
-}
-
+<?php + +class CustomTemplateTestCase extends SeleniumTestCase +{ + function test() + { + $this->open('active-controls/index.php?page=CustomTemplateControlTest'); + $this->assertTextPresent('Add Dynamic Custom TTemplateControl Test'); + $this->assertText('label1', 'Label 1'); + + $this->type('foo', 'Foo Bar!'); + $this->click('button2'); + $this->pause(800); + + $this->assertVisible('ctl1_ThePanel'); + $this->assertTextPresent('Client ID: ctl1_ThePanel'); + + $this->assertText('label1', 'Button 1 was clicked Foo Bar! using callback!... and this is the textbox text: Foo Bar!'); + } +} + ?>
\ No newline at end of file |