diff options
Diffstat (limited to 'tests/UnitTests/simpletest/mytests/log_test.php')
-rw-r--r-- | tests/UnitTests/simpletest/mytests/log_test.php | 18 |
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 |