From 161d0e50515f7325278cb0cbbadb1e590c7edfb7 Mon Sep 17 00:00:00 2001 From: Joshua Sherman Date: Sat, 4 Jan 2014 11:33:13 -0500 Subject: [PATCH] Stubbed out Profiler tests --- tests/TODO | 4 +- tests/classes/ProfilerTest.php | 67 ++++++++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+), 2 deletions(-) create mode 100644 tests/classes/ProfilerTest.php diff --git a/tests/TODO b/tests/TODO index 8ac6a3b..bc4698d 100644 --- a/tests/TODO +++ b/tests/TODO @@ -1,9 +1,9 @@ -Cache +Write tests for Profiler (it's all stubbed out though) + Config Database Model Module -Profiler Security Session Validate diff --git a/tests/classes/ProfilerTest.php b/tests/classes/ProfilerTest.php new file mode 100644 index 0000000..2bb7593 --- /dev/null +++ b/tests/classes/ProfilerTest.php @@ -0,0 +1,67 @@ +assertTrue(Profiler::enabled()); + } + + public function testDisabled() + { + // $this->assertFalse(Profiler::enabled()); + } + + public function testEnabledType() + { + + } + + public function testDisabledType() + { + + } + + public function testLogArray() + { + + } + + + public function testLogObject() + { + + } + + public function testLogTimer() + { + + } + + public function testLogString() + { + + } + + public function testLogQuery() + { + + } + + public function testTimerStart() + { + + } + + public function testTimerEnd() + { + + } + + public function testReport() + { + + } +} + +?>