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 hook to allow extensions to modify the LonelyPages query"
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
CollationTest.php
diff --git
a/tests/phpunit/includes/CollationTest.php
b/tests/phpunit/includes/CollationTest.php
index
43bb394
..
c6a7169
100644
(file)
--- a/
tests/phpunit/includes/CollationTest.php
+++ b/
tests/phpunit/includes/CollationTest.php
@@
-1,4
+1,12
@@
<?php
<?php
+
+/**
+ * Class CollationTest
+ * @covers Collation
+ * @covers IcuCollation
+ * @covers IdentityCollation
+ * @covers UppercaseCollation
+ */
class CollationTest extends MediaWikiLangTestCase {
protected function setUp() {
parent::setUp();
class CollationTest extends MediaWikiLangTestCase {
protected function setUp() {
parent::setUp();
@@
-30,7
+38,7
@@
class CollationTest extends MediaWikiLangTestCase {
$this->assertStringStartsWith( $baseBin, $extendedBin, "$base is not a prefix of $extended" );
}
$this->assertStringStartsWith( $baseBin, $extendedBin, "$base is not a prefix of $extended" );
}
- function prefixDataProvider() {
+
public static
function prefixDataProvider() {
return array(
array( 'en', 'A', 'AA' ),
array( 'en', 'A', 'AAA' ),
return array(
array( 'en', 'A', 'AA' ),
array( 'en', 'A', 'AAA' ),
@@
-63,7
+71,7
@@
class CollationTest extends MediaWikiLangTestCase {
$this->assertStringStartsNotWith( $baseBin, $extendedBin, "$base is a prefix of $extended" );
}
$this->assertStringStartsNotWith( $baseBin, $extendedBin, "$base is a prefix of $extended" );
}
- function notPrefixDataProvider() {
+
public static
function notPrefixDataProvider() {
return array(
array( 'en', 'A', 'B' ),
array( 'en', 'AC', 'ABC' ),
return array(
array( 'en', 'A', 'B' ),
array( 'en', 'AC', 'ABC' ),