summaryrefslogtreecommitdiff
path: root/tests/UnitTests/simpletest/mytests/log_test.php
diff options
context:
space:
mode:
authorxue <>2005-11-10 12:47:19 +0000
committerxue <>2005-11-10 12:47:19 +0000
commit55c4ac1bfe565f1ca7f537fdd8b7a201be28e581 (patch)
treea0599d5e36fdbb3f1e169ae56bab7d529597e3eb /tests/UnitTests/simpletest/mytests/log_test.php
Initial import of prado framework
Diffstat (limited to 'tests/UnitTests/simpletest/mytests/log_test.php')
-rw-r--r--tests/UnitTests/simpletest/mytests/log_test.php18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/UnitTests/simpletest/mytests/log_test.php b/tests/UnitTests/simpletest/mytests/log_test.php
new file mode 100644
index 00000000..d1254b7a
--- /dev/null
+++ b/tests/UnitTests/simpletest/mytests/log_test.php
@@ -0,0 +1,18 @@
+<?php
+
+require_once(dirname(__FILE__).'/../unit_tester.php');
+require_once(dirname(__FILE__).'/../reporter.php');
+
+class TestOfLogging extends UnitTestCase
+{
+ function testCreatingNewFile() {
+ $this->assertFalse(false);
+ //$log->message('Should write this to a file');
+ $this->assertTrue(true);
+ }
+}
+
+$test = new TestOfLogging();
+$test->run(new HtmlReporter());
+
+?> \ No newline at end of file