Class Maintenance_TestOfMaintenance

Description

A class for testing the Maintenance class.

Located in /maintenance/libraries/max/Maintenance/tests/TestOfMaintenance.php (line 44)

SimpleTestCase
   |
   --UnitTestCase
      |
      --Maintenance_TestOfMaintenance
Method Summary
Variables
Methods
Constructor Maintenance_TestOfMaintenance (line 50)

The constructor method.

Maintenance_TestOfMaintenance Maintenance_TestOfMaintenance ()
testCheckDatesInSameHour (line 192)

Tests the test of dates in the same hour.

void testCheckDatesInSameHour ()
testCheckIntervalDates (line 232)

Tests the checkIntervalDates() method.

void testCheckIntervalDates ()
testConvertDateRangeToOperationIntervalID (line 59)

Tests that date ranges can be correctly converted into operation interval IDs.

void testConvertDateRangeToOperationIntervalID ()
testConvertDateToOperationIntervalID (line 84)

Tests that dates can be correctly converted into opertation interval IDs.

void testConvertDateToOperationIntervalID ()
testConvertDateToOperationIntervalStartAndEndDates (line 103)

Tests that dates can be correctly converted into the start and end dates of the corresponding operation interval ID.

void testConvertDateToOperationIntervalStartAndEndDates ()
testGetOperationIntervalRange (line 169)

Tests the calulation of a range of operation intervals.

void testGetOperationIntervalRange ()
testMaxConnectionWindows (line 283)

Tests the maxConnectionWindows() method.

void testMaxConnectionWindows ()
testNextOperationIntervalID (line 145)

Tests the calculation of the next operation interval.

void testNextOperationIntervalID ()
testPreviousOperationIntervalID (line 121)

Tests the calculation of the previous operation interval.

void testPreviousOperationIntervalID ()
testSendActivateCampaignEmail (line 323)

Tests that an e-mail advising a campaign has been activated is able to be generated correctly.

void testSendActivateCampaignEmail ()
testSendDeactivateCampaignEmail (line 360)

Tests that e-mails advising a campaign has been deactivated is able to be generated correctly.

void testSendDeactivateCampaignEmail ()

Inherited Methods

Inherited From UnitTestCase

 UnitTestCase::UnitTestCase()
 UnitTestCase::assertCopy()
 UnitTestCase::assertEqual()
 UnitTestCase::assertError()
 UnitTestCase::assertErrorPattern()
 UnitTestCase::assertIdentical()
 UnitTestCase::assertIsA()
 UnitTestCase::assertNoErrors()
 UnitTestCase::assertNotA()
 UnitTestCase::assertNotEqual()
 UnitTestCase::assertNotIdentical()
 UnitTestCase::assertNotNull()
 UnitTestCase::assertNoUnwantedPattern()
 UnitTestCase::assertNull()
 UnitTestCase::assertReference()
 UnitTestCase::assertWantedPattern()

Inherited From SimpleTestCase

 SimpleTestCase::SimpleTestCase()
 SimpleTestCase::after()
 SimpleTestCase::assertExpectation()
 SimpleTestCase::assertFalse()
 SimpleTestCase::assertTrue()
 SimpleTestCase::before()
 SimpleTestCase::dump()
 SimpleTestCase::error()
 SimpleTestCase::fail()
 SimpleTestCase::getAssertionLine()
 SimpleTestCase::getLabel()
 SimpleTestCase::getSize()
 SimpleTestCase::pass()
 SimpleTestCase::run()
 SimpleTestCase::sendMessage()
 SimpleTestCase::setUp()
 SimpleTestCase::signal()
 SimpleTestCase::swallowErrors()
 SimpleTestCase::tearDown()
 SimpleTestCase::_createRunner()

Documentation generated on Fri, 11 Feb 2005 18:14:21 +0000 by phpDocumentor 1.3.0RC3