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

Public Member Functions

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

Private Member Functions

 getMockDb ()
 

Detailed Description

Definition at line 6 of file DatabaseMssqlTest.php.

Member Function Documentation

◆ getMockDb()

DatabaseMssqlTest::getMockDb ( )
private
Returns
PHPUnit_Framework_MockObject_MockObject|DatabaseMssql

Definition at line 14 of file DatabaseMssqlTest.php.

References class, and null.

Referenced by testBuildSubstring(), and testBuildSubstring_invalidParams().

◆ provideBuildSubstring()

DatabaseMssqlTest::provideBuildSubstring ( )

Definition at line 21 of file DatabaseMssqlTest.php.

References null.

◆ provideBuildSubstring_invalidParams()

DatabaseMssqlTest::provideBuildSubstring_invalidParams ( )

Definition at line 37 of file DatabaseMssqlTest.php.

References null.

◆ testAttributes()

DatabaseMssqlTest::testAttributes ( )

\Wikimedia\Rdbms\DatabaseMssql::getAttributes

Definition at line 59 of file DatabaseMssqlTest.php.

◆ testBuildSubstring()

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

Wikimedia\Rdbms\DatabaseMssql::buildSubstring provideBuildSubstring.

Definition at line 31 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 50 of file DatabaseMssqlTest.php.

References class, and getMockDb().


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