summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitattributes3
-rw-r--r--tests/unit/Xml/TXmlDocumentTest.php35
-rw-r--r--tests/unit/Xml/TXmlElementListTest.php23
-rw-r--r--tests/unit/Xml/TXmlElementTest.php46
4 files changed, 107 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
index cf231c58..ec5bda0b 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1462,4 +1462,7 @@ tests/unit/Web/UI/WebControls/TRequiredFieldValidatorTest.php -text
tests/unit/Web/UI/WebControls/TXmlTransformTest.php -text
tests/unit/Web/UI/WebControls/data/hello.xml -text
tests/unit/Web/UI/WebControls/data/hello.xsl -text
+tests/unit/Xml/TXmlDocumentTest.php -text
+tests/unit/Xml/TXmlElementListTest.php -text
+tests/unit/Xml/TXmlElementTest.php -text
tests/unit/phpunit2.php -text
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