MediaWiki  master
DatabaseDomainTest Class Reference

Wikimedia\Rdbms\DatabaseDomain. More...

Inheritance diagram for DatabaseDomainTest:
Collaboration diagram for DatabaseDomainTest:

Public Member Functions

 testConstruct ( $db, $schema, $prefix, $id, $exception=false)
 provideConstruct More...
 
 testEquals ( $id, $db, $schema, $prefix)
 provideEquals Wikimedia\Rdbms\DatabaseDomain::equals More...
 
 testIsCompatible ( $id, $db, $schema, $prefix, $transitive)
 provideIsCompatible Wikimedia\Rdbms\DatabaseDomain::isCompatible More...
 
 testIsCompatible2 ( $id, $db, $schema, $prefix)
 provideIsCompatible2 Wikimedia\Rdbms\DatabaseDomain::isCompatible More...
 
 testIsUnspecified ()
 Wikimedia\Rdbms\DatabaseDomain::isUnspecified. More...
 
 testNewFromId ( $id, $db, $schema, $prefix, $exception=false)
 provideNewFromId More...
 
 testNewUnspecified ()
 Wikimedia\Rdbms\DatabaseDomain::newUnspecified. More...
 
 testSchemaWithNoDB1 ()
 InvalidArgumentException. More...
 
 testSchemaWithNoDB2 ()
 InvalidArgumentException. More...
 

Static Public Member Functions

static provideConstruct ()
 
static provideEquals ()
 
static provideIsCompatible ()
 
static provideIsCompatible2 ()
 
static provideNewFromId ()
 

Detailed Description

Wikimedia\Rdbms\DatabaseDomain.

Definition at line 8 of file DatabaseDomainTest.php.

Member Function Documentation

◆ provideConstruct()

static DatabaseDomainTest::provideConstruct ( )
static

Definition at line 13 of file DatabaseDomainTest.php.

References null, and true.

◆ provideEquals()

static DatabaseDomainTest::provideEquals ( )
static

Definition at line 88 of file DatabaseDomainTest.php.

References null.

◆ provideIsCompatible()

static DatabaseDomainTest::provideIsCompatible ( )
static

Definition at line 134 of file DatabaseDomainTest.php.

References false, null, and true.

◆ provideIsCompatible2()

static DatabaseDomainTest::provideIsCompatible2 ( )
static

Definition at line 176 of file DatabaseDomainTest.php.

References null.

◆ provideNewFromId()

static DatabaseDomainTest::provideNewFromId ( )
static

Definition at line 51 of file DatabaseDomainTest.php.

References null, and true.

◆ testConstruct()

DatabaseDomainTest::testConstruct (   $db,
  $schema,
  $prefix,
  $id,
  $exception = false 
)

provideConstruct

Definition at line 35 of file DatabaseDomainTest.php.

References class.

◆ testEquals()

DatabaseDomainTest::testEquals (   $id,
  $db,
  $schema,
  $prefix 
)

provideEquals Wikimedia\Rdbms\DatabaseDomain::equals

Definition at line 109 of file DatabaseDomainTest.php.

References class.

◆ testIsCompatible()

DatabaseDomainTest::testIsCompatible (   $id,
  $db,
  $schema,
  $prefix,
  $transitive 
)

provideIsCompatible Wikimedia\Rdbms\DatabaseDomain::isCompatible

Definition at line 163 of file DatabaseDomainTest.php.

References class.

◆ testIsCompatible2()

DatabaseDomainTest::testIsCompatible2 (   $id,
  $db,
  $schema,
  $prefix 
)

provideIsCompatible2 Wikimedia\Rdbms\DatabaseDomain::isCompatible

Definition at line 191 of file DatabaseDomainTest.php.

References class.

◆ testIsUnspecified()

DatabaseDomainTest::testIsUnspecified ( )

Wikimedia\Rdbms\DatabaseDomain::isUnspecified.

Definition at line 218 of file DatabaseDomainTest.php.

References null.

◆ testNewFromId()

DatabaseDomainTest::testNewFromId (   $id,
  $db,
  $schema,
  $prefix,
  $exception = false 
)

provideNewFromId

Definition at line 75 of file DatabaseDomainTest.php.

References class.

◆ testNewUnspecified()

DatabaseDomainTest::testNewUnspecified ( )

Wikimedia\Rdbms\DatabaseDomain::newUnspecified.

Definition at line 125 of file DatabaseDomainTest.php.

References class, and null.

◆ testSchemaWithNoDB1()

DatabaseDomainTest::testSchemaWithNoDB1 ( )

InvalidArgumentException.

Definition at line 204 of file DatabaseDomainTest.php.

References null.

◆ testSchemaWithNoDB2()

DatabaseDomainTest::testSchemaWithNoDB2 ( )

InvalidArgumentException.

Definition at line 211 of file DatabaseDomainTest.php.


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