Class Maintenance_TestOfMaintenance

Description

A class for testing the Maintenance class.

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

RunnableTest
   |
   --SimpleTestCase
      |
      --UnitTestCase
         |
         --Maintenance_TestOfMaintenance
Method Summary
Variables

Inherited Variables

Inherited from SimpleTestCase

SimpleTestCase::$_reporter

Inherited from RunnableTest

RunnableTest::$_label
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 ()
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 232)

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 272)

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

void testSendActivateCampaignEmail ()
testSendDeactivateCampaignEmail (line 309)

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::assertNotEqual()
 UnitTestCase::assertNotIdentical()
 UnitTestCase::assertNotNull()
 UnitTestCase::assertNoUnwantedPattern()
 UnitTestCase::assertNull()
 UnitTestCase::assertReference()
 UnitTestCase::assertWantedPattern()

Inherited From SimpleTestCase

 SimpleTestCase::SimpleTestCase()
 SimpleTestCase::assertExpectation()
 SimpleTestCase::assertFalse()
 SimpleTestCase::assertTrue()
 SimpleTestCase::dump()
 SimpleTestCase::error()
 SimpleTestCase::fail()
 SimpleTestCase::getAssertionLine()
 SimpleTestCase::invoke()
 SimpleTestCase::pass()
 SimpleTestCase::run()
 SimpleTestCase::sendMessage()
 SimpleTestCase::setUp()
 SimpleTestCase::signal()
 SimpleTestCase::swallowErrors()
 SimpleTestCase::tearDown()
 SimpleTestCase::_createRunner()
 SimpleTestCase::_isConstructor()
 SimpleTestCase::_isTest()

Inherited From RunnableTest

 RunnableTest::RunnableTest()
 RunnableTest::getLabel()
 RunnableTest::getSize()
 RunnableTest::run()

Documentation generated on Fri, 3 Dec 2004 12:27:51 +0000 by phpDocumentor 1.3.0RC3