<?php
require_once 'DummyClass.php';
/**
* just for testing/demonstrating ComplexityAnalyzer
* in conjunction with DummyClass.php
*/
/**
* Test class for DummyClass.
* Generated by PHPUnit on 2012-01-18 at 21:34:50.
* with
* phpunit --skeleton-test DummyClass DummyClass.php
*/
class DummyClassTest extends PHPUnit_Framework_TestCase
{
/**
* @var DummyClass
*/
protected $object;
/**
* Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed.
*/
protected function setUp()
{
$this->object = new DummyClass;
}
/**
* @covers DummyClass::levelOneA
*/
public function testLevelOneA()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
// will be assumed to be incomplete because it contains
// "markTestIncomplete
}
// there is no test for levelOneB
// so it will be assumed to be incomplete
/**
* @covers DummyClass::levelTwo
*/
public function testLevelTwo()
{
// this does not contain the
// markXXXTestXXXIncomplete without XXX
// but it also does not contain an assXXXert
// so it will be assumed to be incomplete
}
/**
* @covers DummyClass::levelThree
*/
public function testLevelThree()
{
// assert: this is a good test
}
}
?>
|