MediaWiki REL1_31
|
Wikimedia\Rdbms\DBConnRef. More...
Public Member Functions | |
testConstruct () | |
testConstruct_failure () | |
testConstruct_params () | |
testDestruct () | |
testGetDomainID () | |
testGetWikiID () | |
testSelect () | |
testToString () | |
Private Member Functions | |
getDatabaseMock () | |
getDBConnRef (ILoadBalancer $lb=null) | |
getLoadBalancerMock () | |
innerMethodForTestDestruct (ILoadBalancer $lb) | |
Wikimedia\Rdbms\DBConnRef.
Definition at line 13 of file DBConnRefTest.php.
|
private |
Definition at line 41 of file DBConnRefTest.php.
Referenced by getDBConnRef(), getLoadBalancerMock(), testConstruct(), and testConstruct_params().
|
private |
Definition at line 55 of file DBConnRefTest.php.
References getDatabaseMock(), and getLoadBalancerMock().
Referenced by getLoadBalancerMock(), testSelect(), and testToString().
|
private |
Definition at line 20 of file DBConnRefTest.php.
References getDatabaseMock(), getDBConnRef(), and use.
Referenced by getDBConnRef(), testConstruct(), testConstruct_failure(), testDestruct(), and testToString().
|
private |
Definition at line 96 of file DBConnRefTest.php.
References DB_REPLICA, and Wikimedia\Rdbms\ILoadBalancer\getConnectionRef().
Referenced by testDestruct().
DBConnRefTest::testConstruct | ( | ) |
Definition at line 60 of file DBConnRefTest.php.
References getDatabaseMock(), and getLoadBalancerMock().
DBConnRefTest::testConstruct_failure | ( | ) |
Definition at line 102 of file DBConnRefTest.php.
References getLoadBalancerMock().
DBConnRefTest::testConstruct_params | ( | ) |
Definition at line 67 of file DBConnRefTest.php.
References DB_MASTER, and getDatabaseMock().
DBConnRefTest::testDestruct | ( | ) |
Definition at line 87 of file DBConnRefTest.php.
References getLoadBalancerMock(), and innerMethodForTestDestruct().
DBConnRefTest::testGetDomainID | ( | ) |
Definition at line 121 of file DBConnRefTest.php.
References DB_REPLICA.
DBConnRefTest::testGetWikiID | ( | ) |
Definition at line 109 of file DBConnRefTest.php.
References DB_REPLICA.
DBConnRefTest::testSelect | ( | ) |
Definition at line 133 of file DBConnRefTest.php.
References getDBConnRef().
DBConnRefTest::testToString | ( | ) |
Definition at line 139 of file DBConnRefTest.php.
References DB_MASTER, getDBConnRef(), and getLoadBalancerMock().