2014-03-19 09:15:54 +00:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Generated by PHPUnit_SkeletonGenerator 1.2.1 on 2014-03-13 at 15:55:58.
|
|
|
|
*/
|
2018-04-16 01:23:24 +00:00
|
|
|
use PHPUnit\Framework\TestCase;
|
|
|
|
|
|
|
|
class m_cronTest extends TestCase
|
2014-03-19 09:15:54 +00:00
|
|
|
{
|
|
|
|
/**
|
|
|
|
* @var m_cron
|
|
|
|
*/
|
|
|
|
protected $object;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Sets up the fixture, for example, opens a network connection.
|
|
|
|
* This method is called before a test is executed.
|
|
|
|
*/
|
|
|
|
protected function setUp()
|
|
|
|
{
|
2014-03-22 14:45:07 +00:00
|
|
|
parent::setUp();
|
2014-03-19 09:15:54 +00:00
|
|
|
$this->object = new m_cron;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Tears down the fixture, for example, closes a network connection.
|
|
|
|
* This method is called after a test is executed.
|
|
|
|
*/
|
|
|
|
protected function tearDown()
|
|
|
|
{
|
2014-03-22 14:45:07 +00:00
|
|
|
parent::tearDown();
|
2014-03-19 09:15:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @covers m_cron::schedule
|
|
|
|
* @todo Implement testSchedule().
|
|
|
|
*/
|
|
|
|
public function testSchedule()
|
|
|
|
{
|
|
|
|
// Remove the following lines when you implement this test.
|
|
|
|
$this->markTestIncomplete(
|
|
|
|
'This test has not been implemented yet.'
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @covers m_cron::lst_cron
|
|
|
|
* @todo Implement testLst_cron().
|
|
|
|
*/
|
|
|
|
public function testLst_cron()
|
|
|
|
{
|
|
|
|
// Remove the following lines when you implement this test.
|
|
|
|
$this->markTestIncomplete(
|
|
|
|
'This test has not been implemented yet.'
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @covers m_cron::hook_menu
|
|
|
|
* @todo Implement testHook_menu().
|
|
|
|
*/
|
|
|
|
public function testHook_menu()
|
|
|
|
{
|
|
|
|
// Remove the following lines when you implement this test.
|
|
|
|
$this->markTestIncomplete(
|
|
|
|
'This test has not been implemented yet.'
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @covers m_cron::update
|
|
|
|
* @todo Implement testUpdate().
|
|
|
|
*/
|
|
|
|
public function testUpdate()
|
|
|
|
{
|
|
|
|
// Remove the following lines when you implement this test.
|
|
|
|
$this->markTestIncomplete(
|
|
|
|
'This test has not been implemented yet.'
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @covers m_cron::delete_one
|
|
|
|
* @todo Implement testDelete_one().
|
|
|
|
*/
|
|
|
|
public function testDelete_one()
|
|
|
|
{
|
|
|
|
// Remove the following lines when you implement this test.
|
|
|
|
$this->markTestIncomplete(
|
|
|
|
'This test has not been implemented yet.'
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @covers m_cron::valid_schedule
|
|
|
|
* @todo Implement testValid_schedule().
|
|
|
|
*/
|
|
|
|
public function testValid_schedule()
|
|
|
|
{
|
|
|
|
// Remove the following lines when you implement this test.
|
|
|
|
$this->markTestIncomplete(
|
|
|
|
'This test has not been implemented yet.'
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @covers m_cron::hook_quota_get
|
|
|
|
* @todo Implement testHook_quota_get().
|
|
|
|
*/
|
|
|
|
public function testHook_quota_get()
|
|
|
|
{
|
|
|
|
// Remove the following lines when you implement this test.
|
|
|
|
$this->markTestIncomplete(
|
|
|
|
'This test has not been implemented yet.'
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|