dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Add @coversNothing in places where @covers does not apply"
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
db
/
DatabaseSqliteTest.php
diff --git
a/tests/phpunit/includes/db/DatabaseSqliteTest.php
b/tests/phpunit/includes/db/DatabaseSqliteTest.php
index
ae61070
..
f0a3606
100644
(file)
--- a/
tests/phpunit/includes/db/DatabaseSqliteTest.php
+++ b/
tests/phpunit/includes/db/DatabaseSqliteTest.php
@@
-285,6
+285,9
@@
class DatabaseSqliteTest extends MediaWikiTestCase {
);
}
);
}
+ /**
+ * @coversNothing
+ */
public function testEntireSchema() {
global $IP;
public function testEntireSchema() {
global $IP;
@@
-298,6
+301,7
@@
class DatabaseSqliteTest extends MediaWikiTestCase {
/**
* Runs upgrades of older databases and compares results with current schema
* @todo Currently only checks list of tables
/**
* Runs upgrades of older databases and compares results with current schema
* @todo Currently only checks list of tables
+ * @coversNothing
*/
public function testUpgrades() {
global $IP, $wgVersion, $wgProfiler;
*/
public function testUpgrades() {
global $IP, $wgVersion, $wgProfiler;
@@
-310,6
+314,11
@@
class DatabaseSqliteTest extends MediaWikiTestCase {
'1.16',
'1.17',
'1.18',
'1.16',
'1.17',
'1.18',
+ '1.19',
+ '1.20',
+ '1.21',
+ '1.22',
+ '1.23',
];
// Mismatches for these columns we can safely ignore
];
// Mismatches for these columns we can safely ignore
@@
-492,6
+501,9
@@
class DatabaseSqliteTest extends MediaWikiTestCase {
$this->assertTrue( $db->close(), "closing database" );
}
$this->assertTrue( $db->close(), "closing database" );
}
+ /**
+ * @covers \Wikimedia\Rdbms\DatabaseSqlite::__toString
+ */
public function testToString() {
$db = DatabaseSqlite::newStandaloneInstance( ':memory:' );
public function testToString() {
$db = DatabaseSqlite::newStandaloneInstance( ':memory:' );