summaryrefslogtreecommitdiff
path: root/tests/unit/Xml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/Xml')
-rw-r--r--tests/unit/Xml/TXmlDocumentTest.php35
-rw-r--r--tests/unit/Xml/TXmlElementListTest.php23
-rw-r--r--tests/unit/Xml/TXmlElementTest.php46
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