summaryrefslogtreecommitdiff
path: root/tests/unit/IO
diff options
context:
space:
mode:
authorknut <>2007-06-19 22:37:27 +0000
committerknut <>2007-06-19 22:37:27 +0000
commit186da7689fbefd22726c5b751b60f7aeccba6a98 (patch)
treece0684bca2b3e3b2569a790eeb775fc262bb0736 /tests/unit/IO
parent869a2aa2bad745d7363833489b234e45a2200692 (diff)
added some more unit test stubs
Diffstat (limited to 'tests/unit/IO')
-rw-r--r--tests/unit/IO/AllTests.php2
-rw-r--r--tests/unit/IO/TTarFileExtractorTest.php24
2 files changed, 26 insertions, 0 deletions
diff --git a/tests/unit/IO/AllTests.php b/tests/unit/IO/AllTests.php
index da8d91a0..b6871e23 100644
--- a/tests/unit/IO/AllTests.php
+++ b/tests/unit/IO/AllTests.php
@@ -5,6 +5,7 @@ if(!defined('PHPUnit_MAIN_METHOD')) {
define('PHPUnit_MAIN_METHOD', 'IO_AllTests::main');
}
+require_once 'TTarFileExtractorTest.php';
require_once 'TTextWriterTest.php';
class IO_AllTests {
@@ -15,6 +16,7 @@ class IO_AllTests {
public static function suite() {
$suite = new PHPUnit_Framework_TestSuite('System.IO');
+ $suite->addTestSuite('TTarFileExtractorTest');
$suite->addTestSuite('TTextWriterTest');
return $suite;
diff --git a/tests/unit/IO/TTarFileExtractorTest.php b/tests/unit/IO/TTarFileExtractorTest.php
new file mode 100644
index 00000000..6742fcf5
--- /dev/null
+++ b/tests/unit/IO/TTarFileExtractorTest.php
@@ -0,0 +1,24 @@
+<?php
+require_once dirname(__FILE__).'/../phpunit.php';
+
+Prado::using('System.IO.TTarFileExtractor');
+
+/**
+ * @package System.IO
+ */
+class TTarFileExtractorTest extends PHPUnit_Framework_TestCase {
+
+ public function testConstruct() {
+ throw new PHPUnit_Framework_IncompleteTestError();
+ }
+
+ public function testDestruct() {
+ throw new PHPUnit_Framework_IncompleteTestError();
+ }
+
+ public function testExtract() {
+ throw new PHPUnit_Framework_IncompleteTestError();
+ }
+
+}
+?> \ No newline at end of file