@@ -86,6 +86,9 @@ discard block |
||
86 | 86 | parent::tearDown(); |
87 | 87 | } |
88 | 88 | |
89 | + /** |
|
90 | + * @return string |
|
91 | + */ |
|
89 | 92 | abstract protected function getTestCaseLocation(); |
90 | 93 | |
91 | 94 | /** |
@@ -201,6 +204,9 @@ discard block |
||
201 | 204 | } |
202 | 205 | } |
203 | 206 | |
207 | + /** |
|
208 | + * @param string $key |
|
209 | + */ |
|
204 | 210 | protected function changeGlobalSettingTo( $key, $value ) { |
205 | 211 | |
206 | 212 | if ( $key === '' || $value === '' ) { |
@@ -85,6 +85,9 @@ |
||
85 | 85 | ); |
86 | 86 | } |
87 | 87 | |
88 | + /** |
|
89 | + * @param UriValue $instance |
|
90 | + */ |
|
88 | 91 | private function assertOutputFormatting( $instance, $linker, $expected ) { |
89 | 92 | |
90 | 93 | $this->assertEquals( |
@@ -25,7 +25,7 @@ |
||
25 | 25 | /** |
26 | 26 | * Returns the name of the class to be tested |
27 | 27 | * |
28 | - * @return string|boolean |
|
28 | + * @return boolean |
|
29 | 29 | */ |
30 | 30 | public function getClass() { |
31 | 31 | return false; |
@@ -2,11 +2,9 @@ |
||
2 | 2 | |
3 | 3 | namespace SMW\Tests\Exporter; |
4 | 4 | |
5 | -use SMW\Exporter\Element\ExpResource; |
|
6 | 5 | use SMW\Exporter\Element\ExpNsResource; |
7 | 6 | use SMW\Exporter\Element\ExpLiteral; |
8 | 7 | use SMWExpData as ExpData; |
9 | -use SMWDIBlob as DIBlob; |
|
10 | 8 | |
11 | 9 | /** |
12 | 10 | * @covers \SMWExpData |
@@ -4,18 +4,14 @@ |
||
4 | 4 | |
5 | 5 | use SMW\Tests\Utils\SemanticDataFactory; |
6 | 6 | use SMW\Tests\Utils\Validators\ExportDataValidator; |
7 | - |
|
8 | 7 | use SMW\Tests\Utils\Fixtures\FixturesProvider; |
9 | - |
|
10 | 8 | use SMW\DIWikiPage; |
11 | 9 | use SMW\DIProperty; |
12 | 10 | use SMW\DataValueFactory; |
13 | 11 | use SMW\Subobject; |
14 | 12 | use SMW\Exporter\Escaper; |
15 | - |
|
16 | 13 | use SMWExporter as Exporter; |
17 | 14 | use SMWExpNsResource as ExpNsResource; |
18 | -use SMWExpResource as ExpResource; |
|
19 | 15 | |
20 | 16 | /** |
21 | 17 | * @covers \SMWExporter |
@@ -4,8 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use SMW\NumberFormatter; |
6 | 6 | |
7 | -use Language; |
|
8 | - |
|
9 | 7 | /** |
10 | 8 | * @covers \SMW\NumberFormatter |
11 | 9 | * |
@@ -3,10 +3,6 @@ |
||
3 | 3 | namespace SMW\Test; |
4 | 4 | |
5 | 5 | use SMW\PropertiesQueryPage; |
6 | -use SMW\MessageFormatter; |
|
7 | -use SMW\ArrayAccessor; |
|
8 | - |
|
9 | -use SMWDataItem; |
|
10 | 6 | |
11 | 7 | /** |
12 | 8 | * @covers \SMW\PropertiesQueryPage |
@@ -23,7 +23,7 @@ discard block |
||
23 | 23 | class UnusedPropertiesQueryPageTest extends SemanticMediaWikiTestCase { |
24 | 24 | |
25 | 25 | /** |
26 | - * @return string|false |
|
26 | + * @return string |
|
27 | 27 | */ |
28 | 28 | public function getClass() { |
29 | 29 | return '\SMW\UnusedPropertiesQueryPage'; |
@@ -55,6 +55,7 @@ discard block |
||
55 | 55 | /** |
56 | 56 | * @since 1.9 |
57 | 57 | * |
58 | + * @param string $result |
|
58 | 59 | * @return UnusedPropertiesQueryPage |
59 | 60 | */ |
60 | 61 | private function newInstance( $result = null, $values = array() ) { |
@@ -23,7 +23,7 @@ discard block |
||
23 | 23 | class UnusedPropertiesQueryPageTest extends SemanticMediaWikiTestCase { |
24 | 24 | |
25 | 25 | /** |
26 | - * @return string|false |
|
26 | + * @return string |
|
27 | 27 | */ |
28 | 28 | public function getClass() { |
29 | 29 | return '\SMW\UnusedPropertiesQueryPage'; |
@@ -55,6 +55,7 @@ discard block |
||
55 | 55 | /** |
56 | 56 | * @since 1.9 |
57 | 57 | * |
58 | + * @param string $result |
|
58 | 59 | * @return UnusedPropertiesQueryPage |
59 | 60 | */ |
60 | 61 | private function newInstance( $result = null, $values = array() ) { |
@@ -3,9 +3,6 @@ |
||
3 | 3 | namespace SMW\Test; |
4 | 4 | |
5 | 5 | use SMW\UnusedPropertiesQueryPage; |
6 | -use SMW\MessageFormatter; |
|
7 | - |
|
8 | -use SMWDataItem; |
|
9 | 6 | |
10 | 7 | /** |
11 | 8 | * @covers \SMW\UnusedPropertiesQueryPage |
@@ -35,7 +35,7 @@ |
||
35 | 35 | /** |
36 | 36 | * Returns the name of the class to be tested |
37 | 37 | * |
38 | - * @return string|false |
|
38 | + * @return string |
|
39 | 39 | */ |
40 | 40 | public function getClass() { |
41 | 41 | return '\SMW\AggregatablePrinter'; |
@@ -4,9 +4,7 @@ |
||
4 | 4 | |
5 | 5 | use SMW\DIWikiPage; |
6 | 6 | use SMW\SemanticData; |
7 | - |
|
8 | 7 | use Title; |
9 | - |
|
10 | 8 | use RuntimeException; |
11 | 9 | |
12 | 10 | /** |