diff options
author | knut <> | 2006-05-16 18:16:16 +0000 |
---|---|---|
committer | knut <> | 2006-05-16 18:16:16 +0000 |
commit | c6730f23829f07c404b65ed3d1f5c2a5808be2cf (patch) | |
tree | 069e9665191f4822a18a06bba07aef916ea6a5ac /tests/unit | |
parent | 5a73a2d3140db38cba43bf34f90831e0e26a8ffd (diff) |
Added unit test stubs for Xml classes #168
Diffstat (limited to 'tests/unit')
-rw-r--r-- | tests/unit/Xml/TXmlDocumentTest.php | 35 | ||||
-rw-r--r-- | tests/unit/Xml/TXmlElementListTest.php | 23 | ||||
-rw-r--r-- | tests/unit/Xml/TXmlElementTest.php | 46 |
3 files changed, 104 insertions, 0 deletions
diff --git a/tests/unit/Xml/TXmlDocumentTest.php b/tests/unit/Xml/TXmlDocumentTest.php new file mode 100644 index 00000000..fe08edda --- /dev/null +++ b/tests/unit/Xml/TXmlDocumentTest.php @@ -0,0 +1,35 @@ +<?php +require_once dirname(__FILE__).'/../phpunit2.php'; + +Prado::using('System.Xml.TXmlDocument'); + +/** + * @package System.Xml + */ +class TXmlDocumentTest extends PHPUnit2_Framework_TestCase { + + public function testConstruct() { + throw new PHPUnit2_Framework_IncompleteTestError(); + } + + public function testSetVersion() { + throw new PHPUnit2_Framework_IncompleteTestError(); + } + + public function testSetEncoding() { + throw new PHPUnit2_Framework_IncompleteTestError(); + } + + public function testLoadFromFile() { + throw new PHPUnit2_Framework_IncompleteTestError(); + } + + public function testLoadFromString() { + throw new PHPUnit2_Framework_IncompleteTestError(); + } + + public function testSaveToString() { + throw new PHPUnit2_Framework_IncompleteTestError(); + } +} +?>
\ No newline at end of file diff --git a/tests/unit/Xml/TXmlElementListTest.php b/tests/unit/Xml/TXmlElementListTest.php new file mode 100644 index 00000000..cfebf095 --- /dev/null +++ b/tests/unit/Xml/TXmlElementListTest.php @@ -0,0 +1,23 @@ +<?php +require_once dirname(__FILE__).'/../phpunit2.php'; + +Prado::using('System.Xml.TXmlDocument'); + +/** + * @package System.Xml + */ +class TXmlElementListTest extends PHPUnit2_Framework_TestCase { + + public function testConstruct() { + throw new PHPUnit2_Framework_IncompleteTestError(); + } + + public function testInsertAt() { + throw new PHPUnit2_Framework_IncompleteTestError(); + } + + public function testRemoveAt() { + throw new PHPUnit2_Framework_IncompleteTestError(); + } +} +?>
\ No newline at end of file diff --git a/tests/unit/Xml/TXmlElementTest.php b/tests/unit/Xml/TXmlElementTest.php new file mode 100644 index 00000000..41431633 --- /dev/null +++ b/tests/unit/Xml/TXmlElementTest.php @@ -0,0 +1,46 @@ +<?php +require_once dirname(__FILE__).'/../phpunit2.php'; + +Prado::using('System.Xml.TXmlDocument'); + +/** + * @package System.Xml + */ +class TXmlElementTest extends PHPUnit2_Framework_TestCase { + + public function setUp() { + } + + public function testConstruct() { + throw new PHPUnit2_Framework_IncompleteTestError(); + } + + public function testSetParent() { + throw new PHPUnit2_Framework_IncompleteTestError(); + } + + public function testSetTagName() { + throw new PHPUnit2_Framework_IncompleteTestError(); + } + + public function testSetValue() { + throw new PHPUnit2_Framework_IncompleteTestError(); + } + + public function testSetAttribute() { + throw new PHPUnit2_Framework_IncompleteTestError(); + } + + public function testGetElementByTagName() { + throw new PHPUnit2_Framework_IncompleteTestError(); + } + + public function testGetElementsByTagName() { + throw new PHPUnit2_Framework_IncompleteTestError(); + } + + public function testToString() { + throw new PHPUnit2_Framework_IncompleteTestError(); + } +} +?>
\ No newline at end of file |