diff options
Diffstat (limited to 'tests/unit/Web/UI/WebControls')
5 files changed, 5 insertions, 12 deletions
diff --git a/tests/unit/Web/UI/WebControls/AllTests.php b/tests/unit/Web/UI/WebControls/AllTests.php index 7d0b1632..5ffa45a2 100644 --- a/tests/unit/Web/UI/WebControls/AllTests.php +++ b/tests/unit/Web/UI/WebControls/AllTests.php @@ -14,15 +14,15 @@ class Web_UI_WebControls_AllTests {    public static function main() {      PHPUnit_TextUI_TestRunner::run(self::suite());    } -   +    public static function suite() {      $suite = new PHPUnit_Framework_TestSuite('System.Web.UI.WebControls'); -     +  	$suite->addTestSuite('TDropDownListTest');  	$suite->addTestSuite('TLabelTest');  	$suite->addTestSuite('TRequiredFieldValidatorTest');      $suite->addTestSuite('TXmlTransformTest'); -	 +      return $suite;    }  } @@ -30,4 +30,3 @@ class Web_UI_WebControls_AllTests {  if(PHPUnit_MAIN_METHOD == 'Web_UI_WebControls_AllTests::main') {    Web_UI_WebControls_AllTests::main();  } -?> diff --git a/tests/unit/Web/UI/WebControls/TDropDownListTest.php b/tests/unit/Web/UI/WebControls/TDropDownListTest.php index 503466fe..d27ebb9c 100644 --- a/tests/unit/Web/UI/WebControls/TDropDownListTest.php +++ b/tests/unit/Web/UI/WebControls/TDropDownListTest.php @@ -27,4 +27,3 @@ class TDropDownListTest extends PHPUnit_Framework_TestCase {    }  } -?> diff --git a/tests/unit/Web/UI/WebControls/TLabelTest.php b/tests/unit/Web/UI/WebControls/TLabelTest.php index 0e5577d5..88d8aec8 100644 --- a/tests/unit/Web/UI/WebControls/TLabelTest.php +++ b/tests/unit/Web/UI/WebControls/TLabelTest.php @@ -15,5 +15,3 @@ class TLabelTest extends PHPUnit_Framework_TestCase {      $this->assertEquals('Test', $label->getText());    }  } - -?>
\ No newline at end of file diff --git a/tests/unit/Web/UI/WebControls/TRequiredFieldValidatorTest.php b/tests/unit/Web/UI/WebControls/TRequiredFieldValidatorTest.php index 894c3899..43ed2c9d 100644 --- a/tests/unit/Web/UI/WebControls/TRequiredFieldValidatorTest.php +++ b/tests/unit/Web/UI/WebControls/TRequiredFieldValidatorTest.php @@ -19,5 +19,3 @@ class TRequiredFieldValidatorTest extends PHPUnit_Framework_TestCase {      $this->assertEquals('', $value);    }  } - -?>
\ No newline at end of file diff --git a/tests/unit/Web/UI/WebControls/TXmlTransformTest.php b/tests/unit/Web/UI/WebControls/TXmlTransformTest.php index 6c6d9456..f93e9897 100644 --- a/tests/unit/Web/UI/WebControls/TXmlTransformTest.php +++ b/tests/unit/Web/UI/WebControls/TXmlTransformTest.php @@ -51,7 +51,7 @@ class TXmlTransformTest extends PHPUnit_Framework_TestCase {      $transform->setTransformContent($expected);      $this->assertEquals($expected, $transform->getTransformContent());    } -   +    public function testSetTransformPathAsFile() {      $expected = $this->transformPath;      $transform = new TXmlTransform(); @@ -120,10 +120,9 @@ class TXmlTransformTest extends PHPUnit_Framework_TestCase {      $actual = $textWriter->flush();      self::assertEquals($expected, $actual);    } -   +    public function testRenderWithBodyAsDocumentAndTransformPath() {      throw new PHPUnit_Framework_IncompleteTestError();    }  } -?>  | 
