You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
232 lines
5.7 KiB
232 lines
5.7 KiB
<?php
|
|
/**
|
|
* Generated by PHPUnit_SkeletonGenerator on 2013-01-07 at 09:22:45.
|
|
*/
|
|
class DateTimeTest extends PHPUnit_Framework_TestCase
|
|
{
|
|
/**
|
|
* @var DateTime
|
|
*/
|
|
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 DateTime;
|
|
}
|
|
|
|
/**
|
|
* Tears down the fixture, for example, closes a network connection.
|
|
* This method is called after a test is executed.
|
|
*/
|
|
protected function tearDown()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* @covers DateTime::__wakeup
|
|
* @todo Implement test__wakeup().
|
|
*/
|
|
public function test__wakeup()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers DateTime::__set_state
|
|
* @todo Implement test__set_state().
|
|
*/
|
|
public function test__set_state()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers DateTime::createFromFormat
|
|
* @todo Implement testCreateFromFormat().
|
|
*/
|
|
public function testCreateFromFormat()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers DateTime::getLastErrors
|
|
* @todo Implement testGetLastErrors().
|
|
*/
|
|
public function testGetLastErrors()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers DateTime::format
|
|
* @todo Implement testFormat().
|
|
*/
|
|
public function testFormat()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers DateTime::modify
|
|
* @todo Implement testModify().
|
|
*/
|
|
public function testModify()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers DateTime::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 DateTime::sub
|
|
* @todo Implement testSub().
|
|
*/
|
|
public function testSub()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers DateTime::getTimezone
|
|
* @todo Implement testGetTimezone().
|
|
*/
|
|
public function testGetTimezone()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers DateTime::setTimezone
|
|
* @todo Implement testSetTimezone().
|
|
*/
|
|
public function testSetTimezone()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers DateTime::getOffset
|
|
* @todo Implement testGetOffset().
|
|
*/
|
|
public function testGetOffset()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers DateTime::setTime
|
|
* @todo Implement testSetTime().
|
|
*/
|
|
public function testSetTime()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers DateTime::setDate
|
|
* @todo Implement testSetDate().
|
|
*/
|
|
public function testSetDate()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers DateTime::setISODate
|
|
* @todo Implement testSetISODate().
|
|
*/
|
|
public function testSetISODate()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers DateTime::setTimestamp
|
|
* @todo Implement testSetTimestamp().
|
|
*/
|
|
public function testSetTimestamp()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers DateTime::getTimestamp
|
|
* @todo Implement testGetTimestamp().
|
|
*/
|
|
public function testGetTimestamp()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers DateTime::diff
|
|
* @todo Implement testDiff().
|
|
*/
|
|
public function testDiff()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
}
|
|
|