MediaWiki REL1_32
DatabaseMssqlTest Class Reference
Inheritance diagram for DatabaseMssqlTest:
Collaboration diagram for DatabaseMssqlTest:

Public Member Functions

 provideBuildSubstring ()
 
 provideBuildSubstring_invalidParams ()
 
 testBuildSubstring ( $input, $start, $length, $expected)
 Wikimedia\Rdbms\DatabaseMssql::buildSubstring provideBuildSubstring.
 
 testBuildSubstring_invalidParams ( $start, $length)
 Wikimedia\Rdbms\DatabaseMssql::buildSubstring provideBuildSubstring_invalidParams.
 

Private Member Functions

 getMockDb ()
 

Detailed Description

Definition at line 5 of file DatabaseMssqlTest.php.

Member Function Documentation

◆ getMockDb()

DatabaseMssqlTest::getMockDb ( )
private
Returns
PHPUnit_Framework_MockObject_MockObject|DatabaseMssql

Definition at line 13 of file DatabaseMssqlTest.php.

Referenced by testBuildSubstring(), and testBuildSubstring_invalidParams().

◆ provideBuildSubstring()

DatabaseMssqlTest::provideBuildSubstring ( )

Definition at line 20 of file DatabaseMssqlTest.php.

◆ provideBuildSubstring_invalidParams()

DatabaseMssqlTest::provideBuildSubstring_invalidParams ( )

Definition at line 36 of file DatabaseMssqlTest.php.

◆ testBuildSubstring()

DatabaseMssqlTest::testBuildSubstring ( $input,
$start,
$length,
$expected )

Wikimedia\Rdbms\DatabaseMssql::buildSubstring provideBuildSubstring.

Definition at line 30 of file DatabaseMssqlTest.php.

References $input, $output, and getMockDb().

◆ testBuildSubstring_invalidParams()

DatabaseMssqlTest::testBuildSubstring_invalidParams ( $start,
$length )

Wikimedia\Rdbms\DatabaseMssql::buildSubstring provideBuildSubstring_invalidParams.

Definition at line 49 of file DatabaseMssqlTest.php.

References getMockDb().


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