Class Dal_TestOfDal

Description

A class for testing the Dal class.

Located in /maintenance/libraries/max/Dal/tests/TestOfDal.php (line 42)

SimpleTestCase
   |
   --UnitTestCase
      |
      --Dal_TestOfDal
Method Summary
Variables
Methods
Constructor Dal_TestOfDal (line 48)

The constructor method.

Dal_TestOfDal Dal_TestOfDal ()
testDbConnection (line 134)

Tests that the database connection can be made, without using the Dal class - that is, that the details specified above are okay.

void testDbConnection ()
testDbHostDefined (line 67)

Tests that the database host is setup in the config .ini file.

void testDbHostDefined ()
testDbNameDefined (line 111)

Tests that the database name is setup in the config .ini file.

void testDbNameDefined ()
testDbPasswordDefined (line 100)

Tests that the database password is setup in the config .ini file.

void testDbPasswordDefined ()
testDbPortDefined (line 78)

Tests that the database port is setup in the config .ini file.

void testDbPortDefined ()
testDbPrefixDefined (line 122)

Tests that the Max table prefix is setup in the config .ini file.

void testDbPrefixDefined ()
testDbTypeDefined (line 56)

Tests that the database type is setup in the config .ini file.

void testDbTypeDefined ()
testDbUserDefined (line 89)

Tests that the database user is setup in the config .ini file.

void testDbUserDefined ()
testSingletonDbConnection (line 149)

Tests that the singleton() method only ever returns one database connection.

void testSingletonDbConnection ()

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:19 +0000 by phpDocumentor 1.3.0RC3