Adding three skel classes to complete its phpunit
This commit is contained in:
64
tests/unit/gulliver/system/PHPSQLParserTest.php
Normal file
64
tests/unit/gulliver/system/PHPSQLParserTest.php
Normal file
@@ -0,0 +1,64 @@
|
||||
<?php
|
||||
/**
|
||||
* Generated by PHPUnit_SkeletonGenerator on 2012-05-17 at 18:10:09.
|
||||
*/
|
||||
class PHPSQLParserTest extends PHPUnit_Framework_TestCase
|
||||
{
|
||||
/**
|
||||
* @var PHPSQLParser
|
||||
*/
|
||||
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 PHPSQLParser;
|
||||
}
|
||||
|
||||
/**
|
||||
* Tears down the fixture, for example, closes a network connection.
|
||||
* This method is called after a test is executed.
|
||||
*/
|
||||
protected function tearDown()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers PHPSQLParser::parse
|
||||
* @todo Implement testParse().
|
||||
*/
|
||||
public function testParse()
|
||||
{
|
||||
// Remove the following lines when you implement this test.
|
||||
$this->markTestIncomplete(
|
||||
'This test has not been implemented yet.'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers PHPSQLParser::process_insert
|
||||
* @todo Implement testProcess_insert().
|
||||
*/
|
||||
public function testProcess_insert()
|
||||
{
|
||||
// Remove the following lines when you implement this test.
|
||||
$this->markTestIncomplete(
|
||||
'This test has not been implemented yet.'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers PHPSQLParser::load_reserved_words
|
||||
* @todo Implement testLoad_reserved_words().
|
||||
*/
|
||||
public function testLoad_reserved_words()
|
||||
{
|
||||
// Remove the following lines when you implement this test.
|
||||
$this->markTestIncomplete(
|
||||
'This test has not been implemented yet.'
|
||||
);
|
||||
}
|
||||
}
|
||||
292
tests/unit/gulliver/system/dynaFormHandlerTest.php
Normal file
292
tests/unit/gulliver/system/dynaFormHandlerTest.php
Normal file
@@ -0,0 +1,292 @@
|
||||
<?php
|
||||
/**
|
||||
* Generated by PHPUnit_SkeletonGenerator on 2012-05-17 at 18:05:45.
|
||||
*/
|
||||
class dynaFormHandlerTest extends PHPUnit_Framework_TestCase
|
||||
{
|
||||
/**
|
||||
* @var dynaFormHandler
|
||||
*/
|
||||
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 dynaFormHandler;
|
||||
}
|
||||
|
||||
/**
|
||||
* Tears down the fixture, for example, closes a network connection.
|
||||
* This method is called after a test is executed.
|
||||
*/
|
||||
protected function tearDown()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers dynaFormHandler::load
|
||||
* @todo Implement testLoad().
|
||||
*/
|
||||
public function testLoad()
|
||||
{
|
||||
// Remove the following lines when you implement this test.
|
||||
$this->markTestIncomplete(
|
||||
'This test has not been implemented yet.'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers dynaFormHandler::reload
|
||||
* @todo Implement testReload().
|
||||
*/
|
||||
public function testReload()
|
||||
{
|
||||
// Remove the following lines when you implement this test.
|
||||
$this->markTestIncomplete(
|
||||
'This test has not been implemented yet.'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers dynaFormHandler::__cloneEmpty
|
||||
* @todo Implement test__cloneEmpty().
|
||||
*/
|
||||
public function test__cloneEmpty()
|
||||
{
|
||||
// Remove the following lines when you implement this test.
|
||||
$this->markTestIncomplete(
|
||||
'This test has not been implemented yet.'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers dynaFormHandler::toString
|
||||
* @todo Implement testToString().
|
||||
*/
|
||||
public function testToString()
|
||||
{
|
||||
// Remove the following lines when you implement this test.
|
||||
$this->markTestIncomplete(
|
||||
'This test has not been implemented yet.'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers dynaFormHandler::getNode
|
||||
* @todo Implement testGetNode().
|
||||
*/
|
||||
public function testGetNode()
|
||||
{
|
||||
// Remove the following lines when you implement this test.
|
||||
$this->markTestIncomplete(
|
||||
'This test has not been implemented yet.'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers dynaFormHandler::setNode
|
||||
* @todo Implement testSetNode().
|
||||
*/
|
||||
public function testSetNode()
|
||||
{
|
||||
// Remove the following lines when you implement this test.
|
||||
$this->markTestIncomplete(
|
||||
'This test has not been implemented yet.'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers dynaFormHandler::add
|
||||
* @todo Implement testAdd().
|
||||
*/
|
||||
public function testAdd()
|
||||
{
|
||||
// Remove the following lines when you implement this test.
|
||||
$this->markTestIncomplete(
|
||||
'This test has not been implemented yet.'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers dynaFormHandler::replace
|
||||
* @todo Implement testReplace().
|
||||
*/
|
||||
public function testReplace()
|
||||
{
|
||||
// Remove the following lines when you implement this test.
|
||||
$this->markTestIncomplete(
|
||||
'This test has not been implemented yet.'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers dynaFormHandler::save
|
||||
* @todo Implement testSave().
|
||||
*/
|
||||
public function testSave()
|
||||
{
|
||||
// Remove the following lines when you implement this test.
|
||||
$this->markTestIncomplete(
|
||||
'This test has not been implemented yet.'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers dynaFormHandler::fixXmlFile
|
||||
* @todo Implement testFixXmlFile().
|
||||
*/
|
||||
public function testFixXmlFile()
|
||||
{
|
||||
// Remove the following lines when you implement this test.
|
||||
$this->markTestIncomplete(
|
||||
'This test has not been implemented yet.'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers dynaFormHandler::setHeaderAttribute
|
||||
* @todo Implement testSetHeaderAttribute().
|
||||
*/
|
||||
public function testSetHeaderAttribute()
|
||||
{
|
||||
// Remove the following lines when you implement this test.
|
||||
$this->markTestIncomplete(
|
||||
'This test has not been implemented yet.'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers dynaFormHandler::modifyHeaderAttribute
|
||||
* @todo Implement testModifyHeaderAttribute().
|
||||
*/
|
||||
public function testModifyHeaderAttribute()
|
||||
{
|
||||
// Remove the following lines when you implement this test.
|
||||
$this->markTestIncomplete(
|
||||
'This test has not been implemented yet.'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers dynaFormHandler::updateAttribute
|
||||
* @todo Implement testUpdateAttribute().
|
||||
*/
|
||||
public function testUpdateAttribute()
|
||||
{
|
||||
// Remove the following lines when you implement this test.
|
||||
$this->markTestIncomplete(
|
||||
'This test has not been implemented yet.'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers dynaFormHandler::remove
|
||||
* @todo Implement testRemove().
|
||||
*/
|
||||
public function testRemove()
|
||||
{
|
||||
// Remove the following lines when you implement this test.
|
||||
$this->markTestIncomplete(
|
||||
'This test has not been implemented yet.'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers dynaFormHandler::nodeExists
|
||||
* @todo Implement testNodeExists().
|
||||
*/
|
||||
public function testNodeExists()
|
||||
{
|
||||
// Remove the following lines when you implement this test.
|
||||
$this->markTestIncomplete(
|
||||
'This test has not been implemented yet.'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers dynaFormHandler::moveUp
|
||||
* @todo Implement testMoveUp().
|
||||
*/
|
||||
public function testMoveUp()
|
||||
{
|
||||
// Remove the following lines when you implement this test.
|
||||
$this->markTestIncomplete(
|
||||
'This test has not been implemented yet.'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers dynaFormHandler::moveDown
|
||||
* @todo Implement testMoveDown().
|
||||
*/
|
||||
public function testMoveDown()
|
||||
{
|
||||
// Remove the following lines when you implement this test.
|
||||
$this->markTestIncomplete(
|
||||
'This test has not been implemented yet.'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers dynaFormHandler::getFields
|
||||
* @todo Implement testGetFields().
|
||||
*/
|
||||
public function testGetFields()
|
||||
{
|
||||
// Remove the following lines when you implement this test.
|
||||
$this->markTestIncomplete(
|
||||
'This test has not been implemented yet.'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers dynaFormHandler::getFieldNames
|
||||
* @todo Implement testGetFieldNames().
|
||||
*/
|
||||
public function testGetFieldNames()
|
||||
{
|
||||
// Remove the following lines when you implement this test.
|
||||
$this->markTestIncomplete(
|
||||
'This test has not been implemented yet.'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers dynaFormHandler::addChilds
|
||||
* @todo Implement testAddChilds().
|
||||
*/
|
||||
public function testAddChilds()
|
||||
{
|
||||
// Remove the following lines when you implement this test.
|
||||
$this->markTestIncomplete(
|
||||
'This test has not been implemented yet.'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers dynaFormHandler::addOrUpdateChild
|
||||
* @todo Implement testAddOrUpdateChild().
|
||||
*/
|
||||
public function testAddOrUpdateChild()
|
||||
{
|
||||
// Remove the following lines when you implement this test.
|
||||
$this->markTestIncomplete(
|
||||
'This test has not been implemented yet.'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers dynaFormHandler::getArray
|
||||
* @todo Implement testGetArray().
|
||||
*/
|
||||
public function testGetArray()
|
||||
{
|
||||
// Remove the following lines when you implement this test.
|
||||
$this->markTestIncomplete(
|
||||
'This test has not been implemented yet.'
|
||||
);
|
||||
}
|
||||
}
|
||||
220
tests/unit/gulliver/system/i18n_POTest.php
Normal file
220
tests/unit/gulliver/system/i18n_POTest.php
Normal file
@@ -0,0 +1,220 @@
|
||||
<?php
|
||||
/**
|
||||
* Generated by PHPUnit_SkeletonGenerator on 2012-05-17 at 18:07:43.
|
||||
*/
|
||||
class i18n_POTest extends PHPUnit_Framework_TestCase
|
||||
{
|
||||
/**
|
||||
* @var i18n_PO
|
||||
*/
|
||||
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 i18n_PO;
|
||||
}
|
||||
|
||||
/**
|
||||
* Tears down the fixture, for example, closes a network connection.
|
||||
* This method is called after a test is executed.
|
||||
*/
|
||||
protected function tearDown()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers i18n_PO::buildInit
|
||||
* @todo Implement testBuildInit().
|
||||
*/
|
||||
public function testBuildInit()
|
||||
{
|
||||
// Remove the following lines when you implement this test.
|
||||
$this->markTestIncomplete(
|
||||
'This test has not been implemented yet.'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers i18n_PO::readInit
|
||||
* @todo Implement testReadInit().
|
||||
*/
|
||||
public function testReadInit()
|
||||
{
|
||||
// Remove the following lines when you implement this test.
|
||||
$this->markTestIncomplete(
|
||||
'This test has not been implemented yet.'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers i18n_PO::addHeader
|
||||
* @todo Implement testAddHeader().
|
||||
*/
|
||||
public function testAddHeader()
|
||||
{
|
||||
// Remove the following lines when you implement this test.
|
||||
$this->markTestIncomplete(
|
||||
'This test has not been implemented yet.'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers i18n_PO::addTranslatorComment
|
||||
* @todo Implement testAddTranslatorComment().
|
||||
*/
|
||||
public function testAddTranslatorComment()
|
||||
{
|
||||
// Remove the following lines when you implement this test.
|
||||
$this->markTestIncomplete(
|
||||
'This test has not been implemented yet.'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers i18n_PO::addExtractedComment
|
||||
* @todo Implement testAddExtractedComment().
|
||||
*/
|
||||
public function testAddExtractedComment()
|
||||
{
|
||||
// Remove the following lines when you implement this test.
|
||||
$this->markTestIncomplete(
|
||||
'This test has not been implemented yet.'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers i18n_PO::addReference
|
||||
* @todo Implement testAddReference().
|
||||
*/
|
||||
public function testAddReference()
|
||||
{
|
||||
// Remove the following lines when you implement this test.
|
||||
$this->markTestIncomplete(
|
||||
'This test has not been implemented yet.'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers i18n_PO::addFlag
|
||||
* @todo Implement testAddFlag().
|
||||
*/
|
||||
public function testAddFlag()
|
||||
{
|
||||
// Remove the following lines when you implement this test.
|
||||
$this->markTestIncomplete(
|
||||
'This test has not been implemented yet.'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers i18n_PO::addPreviousUntranslatedString
|
||||
* @todo Implement testAddPreviousUntranslatedString().
|
||||
*/
|
||||
public function testAddPreviousUntranslatedString()
|
||||
{
|
||||
// Remove the following lines when you implement this test.
|
||||
$this->markTestIncomplete(
|
||||
'This test has not been implemented yet.'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers i18n_PO::addTranslation
|
||||
* @todo Implement testAddTranslation().
|
||||
*/
|
||||
public function testAddTranslation()
|
||||
{
|
||||
// Remove the following lines when you implement this test.
|
||||
$this->markTestIncomplete(
|
||||
'This test has not been implemented yet.'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers i18n_PO::_writeLine
|
||||
* @todo Implement test_writeLine().
|
||||
*/
|
||||
public function test_writeLine()
|
||||
{
|
||||
// Remove the following lines when you implement this test.
|
||||
$this->markTestIncomplete(
|
||||
'This test has not been implemented yet.'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers i18n_PO::_write
|
||||
* @todo Implement test_write().
|
||||
*/
|
||||
public function test_write()
|
||||
{
|
||||
// Remove the following lines when you implement this test.
|
||||
$this->markTestIncomplete(
|
||||
'This test has not been implemented yet.'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers i18n_PO::prepare
|
||||
* @todo Implement testPrepare().
|
||||
*/
|
||||
public function testPrepare()
|
||||
{
|
||||
// Remove the following lines when you implement this test.
|
||||
$this->markTestIncomplete(
|
||||
'This test has not been implemented yet.'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers i18n_PO::headerStroke
|
||||
* @todo Implement testHeaderStroke().
|
||||
*/
|
||||
public function testHeaderStroke()
|
||||
{
|
||||
// Remove the following lines when you implement this test.
|
||||
$this->markTestIncomplete(
|
||||
'This test has not been implemented yet.'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers i18n_PO::getHeaders
|
||||
* @todo Implement testGetHeaders().
|
||||
*/
|
||||
public function testGetHeaders()
|
||||
{
|
||||
// Remove the following lines when you implement this test.
|
||||
$this->markTestIncomplete(
|
||||
'This test has not been implemented yet.'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers i18n_PO::getTranslation
|
||||
* @todo Implement testGetTranslation().
|
||||
*/
|
||||
public function testGetTranslation()
|
||||
{
|
||||
// Remove the following lines when you implement this test.
|
||||
$this->markTestIncomplete(
|
||||
'This test has not been implemented yet.'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers i18n_PO::__destruct
|
||||
* @todo Implement test__destruct().
|
||||
*/
|
||||
public function test__destruct()
|
||||
{
|
||||
// Remove the following lines when you implement this test.
|
||||
$this->markTestIncomplete(
|
||||
'This test has not been implemented yet.'
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user