TYPO3 API  SVNRelease
Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions
dbGeneralTest Class Reference
Inheritance diagram for dbGeneralTest:
Inheritance graph
[legend]
Collaboration diagram for dbGeneralTest:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 setUp ()
 tearDown ()
 concatCanBeParsedAfterLikeOperator ()
 floatNumberCanBeStoredInDatabase ()
 positive64BitIntegerIsSupported ()
 negative64BitIntegerIsSupported ()
 sqlForInsertWithMultipleRowsIsValid ()
 minFunctionAndInOperatorCanBeParsed ()
 maxFunctionAndInOperatorCanBeParsed ()
 likeBinaryOperatorIsKept ()
 notLikeBinaryOperatorIsKept ()
 similarNamedParametersAreProperlyReplaced ()

Protected Member Functions

 createFakeExtension ($tableDefinition)

Protected Attributes

 $db
 $loadedExtensions
 $temporaryFiles

Private Member Functions

 cleanSql ($sql)

Detailed Description

Definition at line 38 of file dbGeneralTest.php.


Member Function Documentation

dbGeneralTest::cleanSql ( sql) [private]
dbGeneralTest::concatCanBeParsedAfterLikeOperator ( )
Test:
See also:
http://bugs.typo3.org/view.php?id=12515

Definition at line 125 of file dbGeneralTest.php.

References $GLOBALS, $query, and cleanSql().

dbGeneralTest::createFakeExtension ( tableDefinition) [protected]

Creates a fake extension with a given table definition.

Parameters:
string$tableDefinitionSQL script to create the extension's tables
Returns:
void

Definition at line 106 of file dbGeneralTest.php.

References $GLOBALS, t3lib_div\tempnam(), and t3lib_div\writeFile().

Referenced by floatNumberCanBeStoredInDatabase(), negative64BitIntegerIsSupported(), and positive64BitIntegerIsSupported().

dbGeneralTest::floatNumberCanBeStoredInDatabase ( )
dbGeneralTest::likeBinaryOperatorIsKept ( )
Test:
See also:
http://bugs.typo3.org/view.php?id=12535

Definition at line 250 of file dbGeneralTest.php.

References $GLOBALS, $query, and cleanSql().

dbGeneralTest::maxFunctionAndInOperatorCanBeParsed ( )
Test:
See also:
http://bugs.typo3.org/view.php?id=4493

Definition at line 236 of file dbGeneralTest.php.

References $GLOBALS, $query, and cleanSql().

dbGeneralTest::minFunctionAndInOperatorCanBeParsed ( )
Test:
See also:
http://bugs.typo3.org/view.php?id=4493

Definition at line 222 of file dbGeneralTest.php.

References $GLOBALS, $query, and cleanSql().

dbGeneralTest::negative64BitIntegerIsSupported ( )
dbGeneralTest::notLikeBinaryOperatorIsKept ( )
Test:
See also:
http://bugs.typo3.org/view.php?id=12535

Definition at line 264 of file dbGeneralTest.php.

References $GLOBALS, $query, and cleanSql().

dbGeneralTest::positive64BitIntegerIsSupported ( )
dbGeneralTest::setUp ( )

Prepares the environment before running a test.

Definition at line 58 of file dbGeneralTest.php.

References $GLOBALS, and BaseTestCase\buildAccessibleProxy().

dbGeneralTest::similarNamedParametersAreProperlyReplaced ( )
dbGeneralTest::sqlForInsertWithMultipleRowsIsValid ( )
dbGeneralTest::tearDown ( )

Cleans up the environment after running a test.

Definition at line 73 of file dbGeneralTest.php.

References $GLOBALS.


Member Data Documentation

dbGeneralTest::$db [protected]

Definition at line 43 of file dbGeneralTest.php.

dbGeneralTest::$loadedExtensions [protected]

Definition at line 48 of file dbGeneralTest.php.

dbGeneralTest::$temporaryFiles [protected]

Definition at line 53 of file dbGeneralTest.php.


The documentation for this class was generated from the following file: