Stubbed out and wrote some tests
Will code tests for the stub files in the AM.
This commit is contained in:
parent
5308f4ea6c
commit
3fee938c2a
4 changed files with 145 additions and 3 deletions
|
@ -1,13 +1,13 @@
|
|||
Dynamic
|
||||
Log
|
||||
|
||||
Cache
|
||||
Config
|
||||
Database
|
||||
Dynamic
|
||||
Form
|
||||
HTML
|
||||
Log
|
||||
Model
|
||||
Module
|
||||
Object
|
||||
Profiler
|
||||
Security
|
||||
Session
|
||||
|
|
81
tests/classes/DynamicTest.php
Normal file
81
tests/classes/DynamicTest.php
Normal file
|
@ -0,0 +1,81 @@
|
|||
<?php
|
||||
|
||||
class DynamicTest extends PHPUnit_Framework_TestCase
|
||||
{
|
||||
public function testReferenceWithoutFailover()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public function testReferenceWithFailover()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public function testCSSWrongExtension()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public function testCSSErrorLESS()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public function testCSSErrorSASS()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public function testCSS()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public function testCSSWithLESS()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public function testCSSWithSASS()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public function testCSSUnableToMinify()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public function testCSSDoesNotExist()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public function testJSWrongExtension()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public function testJSUnableToMinify()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public function testJSDoesNotExist()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public function testJSInvalidLevel()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public function testJS()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
41
tests/classes/LogTest.php
Normal file
41
tests/classes/LogTest.php
Normal file
|
@ -0,0 +1,41 @@
|
|||
<?php
|
||||
|
||||
class LogTest extends PHPUnit_Framework_TestCase
|
||||
{
|
||||
public function testInformation()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public function testWarning()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public function testError()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public function testSlowQuery()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public function testTransaction()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public function testPHPError()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public function testQuery()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
20
tests/classes/ObjectTest.php
Normal file
20
tests/classes/ObjectTest.php
Normal file
|
@ -0,0 +1,20 @@
|
|||
<?php
|
||||
|
||||
class ObjectTest extends PHPUnit_Framework_TestCase
|
||||
{
|
||||
public function testConstructorWithoutObjects()
|
||||
{
|
||||
$object = new Object();
|
||||
|
||||
$this->assertInstanceOf('Config', PHPUnit_Framework_Assert::readAttribute($object, 'config'));
|
||||
}
|
||||
|
||||
public function testConstructorWithObjects()
|
||||
{
|
||||
$object = new Object('cache');
|
||||
|
||||
$this->assertInstanceOf('Cache', PHPUnit_Framework_Assert::readAttribute($object, 'cache'));
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
Loading…
Add table
Add a link
Reference in a new issue