MediaWiki
1.32.5
|
Public Member Functions | |
provideInsertSelectCases () | |
testAddIdentifierQuotes ( $expected, $in) | |
provideDiapers Wikimedia\Rdbms\DatabaseMysqlBase::addIdentifierQuotes More... | |
testBinLogName () | |
Wikimedia\Rdbms\MySQLMasterPos. More... | |
testBuildIntegerCast () | |
\Wikimedia\Rdbms\DatabaseMysqlBase::buildIntegerCast More... | |
testChannelsMatch (MySQLMasterPos $pos1, MySQLMasterPos $pos2, $matches) | |
provideChannelPositions Wikimedia\Rdbms\MySQLMasterPos More... | |
testCommonGtidDomains (MySQLMasterPos $pos, MySQLMasterPos $ref, $gtids) | |
provideCommonDomainGTIDs Wikimedia\Rdbms\MySQLMasterPos More... | |
testHasReached (MySQLMasterPos $lowerPos, MySQLMasterPos $higherPos, $match, $hetero) | |
provideComparePositions Wikimedia\Rdbms\MySQLMasterPos More... | |
testIndexAliases () | |
testInsertSelectIsSafe ( $insertOpts, $selectOpts, $row, $safe) | |
Wikimedia\Rdbms\DatabaseMysqlBase::isInsertSelectSafe provideInsertSelectCases. More... | |
testListviews () | |
Wikimedia\Rdbms\DatabaseMysqlBase::listViews. More... | |
testPtHeartbeat ( $lag) | |
provideLagAmounts Wikimedia\Rdbms\DatabaseMysqlBase::getLag Wikimedia\Rdbms\DatabaseMysqlBase::getLagFromPtHeartbeat More... | |
testSerialize () | |
Wikimedia\Rdbms\MySQLMasterPos. More... | |
testServerGtidTable ( $gtable, $rBLtable, $mBLtable, $rGTIDs, $mGTIDs) | |
provideGtidData Wikimedia\Rdbms\MySQLMasterPos Wikimedia\Rdbms\DatabaseMysqlBase::getReplicaPos Wikimedia\Rdbms\DatabaseMysqlBase::getMasterPos More... | |
testTableAliases () | |
Wikimedia\Rdbms\Database::setTableAliases. More... | |
Static Public Member Functions | |
static | provideChannelPositions () |
static | provideCommonDomainGTIDs () |
static | provideComparePositions () |
static | provideDiapers () |
Feeds testAddIdentifierQuotes. More... | |
static | provideGtidData () |
static | provideLagAmounts () |
Private Member Functions | |
getMockForViews () | |
Definition at line 29 of file DatabaseMysqlBaseTest.php.
|
private |
Definition at line 100 of file DatabaseMysqlBaseTest.php.
References anything, and class.
Referenced by testListviews().
|
static |
Definition at line 288 of file DatabaseMysqlBaseTest.php.
|
static |
Definition at line 323 of file DatabaseMysqlBaseTest.php.
|
static |
Definition at line 176 of file DatabaseMysqlBaseTest.php.
|
static |
Feeds testAddIdentifierQuotes.
Named per T22281 convention.
Definition at line 53 of file DatabaseMysqlBaseTest.php.
|
static |
Definition at line 447 of file DatabaseMysqlBaseTest.php.
References false.
DatabaseMysqlBaseTest::provideInsertSelectCases | ( | ) |
Definition at line 585 of file DatabaseMysqlBaseTest.php.
|
static |
Definition at line 388 of file DatabaseMysqlBaseTest.php.
DatabaseMysqlBaseTest::testAddIdentifierQuotes | ( | $expected, | |
$in | |||
) |
provideDiapers Wikimedia\Rdbms\DatabaseMysqlBase::addIdentifierQuotes
Definition at line 38 of file DatabaseMysqlBaseTest.php.
References class.
DatabaseMysqlBaseTest::testBinLogName | ( | ) |
Wikimedia\Rdbms\MySQLMasterPos.
Definition at line 141 of file DatabaseMysqlBaseTest.php.
DatabaseMysqlBaseTest::testBuildIntegerCast | ( | ) |
\Wikimedia\Rdbms\DatabaseMysqlBase::buildIntegerCast
Definition at line 666 of file DatabaseMysqlBaseTest.php.
DatabaseMysqlBaseTest::testChannelsMatch | ( | MySQLMasterPos | $pos1, |
MySQLMasterPos | $pos2, | ||
$matches | |||
) |
provideChannelPositions Wikimedia\Rdbms\MySQLMasterPos
Definition at line 280 of file DatabaseMysqlBaseTest.php.
References $matches, and Wikimedia\Rdbms\MySQLMasterPos\channelsMatch().
DatabaseMysqlBaseTest::testCommonGtidDomains | ( | MySQLMasterPos | $pos, |
MySQLMasterPos | $ref, | ||
$gtids | |||
) |
provideCommonDomainGTIDs Wikimedia\Rdbms\MySQLMasterPos
Definition at line 319 of file DatabaseMysqlBaseTest.php.
DatabaseMysqlBaseTest::testHasReached | ( | MySQLMasterPos | $lowerPos, |
MySQLMasterPos | $higherPos, | ||
$match, | |||
$hetero | |||
) |
provideComparePositions Wikimedia\Rdbms\MySQLMasterPos
Definition at line 153 of file DatabaseMysqlBaseTest.php.
References Wikimedia\Rdbms\MySQLMasterPos\channelsMatch(), and Wikimedia\Rdbms\MySQLMasterPos\hasReached().
DatabaseMysqlBaseTest::testIndexAliases | ( | ) |
Definition at line 678 of file DatabaseMysqlBaseTest.php.
DatabaseMysqlBaseTest::testInsertSelectIsSafe | ( | $insertOpts, | |
$selectOpts, | |||
$row, | |||
$safe | |||
) |
Wikimedia\Rdbms\DatabaseMysqlBase::isInsertSelectSafe provideInsertSelectCases.
Definition at line 574 of file DatabaseMysqlBaseTest.php.
References class.
DatabaseMysqlBaseTest::testListviews | ( | ) |
Wikimedia\Rdbms\DatabaseMysqlBase::listViews.
Definition at line 121 of file DatabaseMysqlBaseTest.php.
References getMockForViews().
DatabaseMysqlBaseTest::testPtHeartbeat | ( | $lag | ) |
DatabaseMysqlBaseTest::testSerialize | ( | ) |
Wikimedia\Rdbms\MySQLMasterPos.
Definition at line 558 of file DatabaseMysqlBaseTest.php.
References serialize(), and unserialize().
DatabaseMysqlBaseTest::testServerGtidTable | ( | $gtable, | |
$rBLtable, | |||
$mBLtable, | |||
$rGTIDs, | |||
$mGTIDs | |||
) |
DatabaseMysqlBaseTest::testTableAliases | ( | ) |
Wikimedia\Rdbms\Database::setTableAliases.
Definition at line 711 of file DatabaseMysqlBaseTest.php.