MediaWiki  1.32.5
DatabaseOracleTest Class Reference
Inheritance diagram for DatabaseOracleTest:
Collaboration diagram for DatabaseOracleTest:

Public Member Functions

 provideBuildSubstring ()
 
 provideBuildSubstring_invalidParams ()
 
 testBuildSubstring ( $input, $start, $length, $expected)
 DatabaseOracle::buildSubstring provideBuildSubstring. More...
 
 testBuildSubstring_invalidParams ( $start, $length)
 DatabaseOracle::buildSubstring provideBuildSubstring_invalidParams. More...
 

Private Member Functions

 getMockDb ()
 

Detailed Description

Definition at line 3 of file DatabaseOracleTest.php.

Member Function Documentation

◆ getMockDb()

DatabaseOracleTest::getMockDb ( )
private
Returns
PHPUnit_Framework_MockObject_MockObject|DatabaseOracle

Definition at line 11 of file DatabaseOracleTest.php.

References class.

Referenced by testBuildSubstring(), and testBuildSubstring_invalidParams().

◆ provideBuildSubstring()

DatabaseOracleTest::provideBuildSubstring ( )

Definition at line 18 of file DatabaseOracleTest.php.

◆ provideBuildSubstring_invalidParams()

DatabaseOracleTest::provideBuildSubstring_invalidParams ( )

Definition at line 33 of file DatabaseOracleTest.php.

◆ testBuildSubstring()

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

DatabaseOracle::buildSubstring provideBuildSubstring.

Definition at line 27 of file DatabaseOracleTest.php.

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

◆ testBuildSubstring_invalidParams()

DatabaseOracleTest::testBuildSubstring_invalidParams (   $start,
  $length 
)

DatabaseOracle::buildSubstring provideBuildSubstring_invalidParams.

Definition at line 46 of file DatabaseOracleTest.php.

References class, and getMockDb().


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