@@ -4,21 +4,15 @@ |
||
4 | 4 | |
5 | 5 | use SMW\Tests\MwDBaseUnitTestCase; |
6 | 6 | use SMW\Tests\Utils\UtilityFactory; |
7 | - |
|
8 | 7 | use SMW\Query\Language\ThingDescription; |
9 | 8 | use SMW\Query\Language\SomeProperty; |
10 | - |
|
11 | 9 | use SMW\DIWikiPage; |
12 | 10 | use SMW\DIProperty; |
13 | 11 | use SMW\DataValueFactory; |
14 | 12 | use SMW\Subobject; |
15 | - |
|
16 | 13 | use SMWDIBlob as DIBlob; |
17 | 14 | use SMWDINumber as DINumber; |
18 | 15 | use SMWQuery as Query; |
19 | -use SMWQueryResult as QueryResult; |
|
20 | -use SMWDataValue as DataValue; |
|
21 | -use SMWDataItem as DataItem; |
|
22 | 16 | use SMW\Query\PrintRequest as PrintRequest; |
23 | 17 | use SMWPropertyValue as PropertyValue; |
24 | 18 |
@@ -4,10 +4,8 @@ |
||
4 | 4 | |
5 | 5 | use SMW\Tests\MwDBaseUnitTestCase; |
6 | 6 | use SMW\Tests\Utils\UtilityFactory; |
7 | - |
|
8 | 7 | use SMW\DataValueFactory; |
9 | - |
|
10 | -use SMWQueryProcessor as QueryProcessor; |
|
8 | +use SMWQueryProcessor as QueryProcessor; |
|
11 | 9 | use SMWQuery as Query; |
12 | 10 | use SMWQueryParser as QueryParser; |
13 | 11 |
@@ -3,17 +3,11 @@ |
||
3 | 3 | namespace SMW\Tests\Integration; |
4 | 4 | |
5 | 5 | use SMW\Tests\MwDBaseUnitTestCase; |
6 | -use SMW\Tests\Utils\Validators\SemanticDataValidator; |
|
7 | - |
|
8 | 6 | use SMW\DIWikiPage; |
9 | -use SMW\DIProperty; |
|
10 | 7 | use SMW\SemanticData; |
11 | 8 | use SMW\DataValueFactory; |
12 | 9 | use SMW\Subobject; |
13 | 10 | use SMW\SerializerFactory; |
14 | - |
|
15 | -use SMWDIBlob as DIBlob; |
|
16 | - |
|
17 | 11 | use Title; |
18 | 12 | |
19 | 13 | /** |
@@ -4,9 +4,7 @@ |
||
4 | 4 | |
5 | 5 | use SMW\Tests\Utils\UtilityFactory; |
6 | 6 | use SMW\ApplicationFactory; |
7 | -use SMW\ConnectionManager; |
|
8 | 7 | use SMW\DIWikiPage; |
9 | - |
|
10 | 8 | use RuntimeException; |
11 | 9 | |
12 | 10 | /** |
@@ -4,22 +4,16 @@ |
||
4 | 4 | |
5 | 5 | use SMW\Tests\Utils\Validators\QueryResultValidator; |
6 | 6 | use SMW\Tests\Utils\SemanticDataFactory; |
7 | - |
|
8 | 7 | use SMW\SPARQLStore\SPARQLStore; |
9 | -use SMW\SemanticData; |
|
10 | 8 | use SMW\DIWikiPage; |
11 | 9 | use SMW\DIProperty; |
12 | 10 | use SMW\StoreFactory; |
13 | 11 | use SMW\DataValueFactory; |
14 | 12 | use SMW\Subobject; |
15 | - |
|
16 | 13 | use SMW\Query\Language\ValueDescription as ValueDescription; |
17 | 14 | use SMW\Query\Language\SomeProperty as SomeProperty; |
18 | -use SMW\Query\PrintRequest as PrintRequest; |
|
19 | -use SMWPropertyValue as PropertyValue; |
|
20 | 15 | use SMW\Query\Language\ThingDescription as ThingDescription; |
21 | 16 | use SMW\Query\Language\NamespaceDescription as NamespaceDescription; |
22 | - |
|
23 | 17 | use SMWDINumber as DINumber; |
24 | 18 | use SMWQuery as Query; |
25 | 19 |
@@ -78,6 +78,9 @@ |
||
78 | 78 | $this->assertStoreHasDataToRefresh( true ); |
79 | 79 | } |
80 | 80 | |
81 | + /** |
|
82 | + * @param boolean $useJobs |
|
83 | + */ |
|
81 | 84 | protected function assertStoreHasDataToRefresh( $useJobs ) { |
82 | 85 | $refreshPosition = $this->title->getArticleID(); |
83 | 86 |
@@ -5,10 +5,7 @@ |
||
5 | 5 | use SMW\Tests\Utils\PageDeleter; |
6 | 6 | use SMW\Tests\Utils\PageCreator; |
7 | 7 | use SMW\Tests\Utils\MwHooksHandler; |
8 | - |
|
9 | 8 | use SMW\Tests\MwDBaseUnitTestCase; |
10 | - |
|
11 | -use WikiPage; |
|
12 | 9 | use Title; |
13 | 10 | |
14 | 11 | /** |
@@ -136,6 +136,7 @@ discard block |
||
136 | 136 | /** |
137 | 137 | * @since 2.2 |
138 | 138 | * |
139 | + * @param string $key |
|
139 | 140 | * @return array|integer|string|boolean |
140 | 141 | * @throws RuntimeException |
141 | 142 | */ |
@@ -223,6 +224,11 @@ discard block |
||
223 | 224 | return $this->getContentsFor( $key ); |
224 | 225 | } |
225 | 226 | |
227 | + /** |
|
228 | + * @param string $index |
|
229 | + * |
|
230 | + * @return string |
|
231 | + */ |
|
226 | 232 | private function getFileContentsFor( $index ) { |
227 | 233 | |
228 | 234 | $contents = $this->fileReader->read(); |
@@ -144,7 +144,6 @@ |
||
144 | 144 | /** |
145 | 145 | * Returns RequestContext object |
146 | 146 | * |
147 | - * @param array $params |
|
148 | 147 | * |
149 | 148 | * @return RequestContext |
150 | 149 | */ |
@@ -6,26 +6,18 @@ |
||
6 | 6 | use SMW\Tests\Utils\Mock\MockObjectBuilder; |
7 | 7 | use SMW\Tests\Utils\Mock\CoreMockObjectRepository; |
8 | 8 | use SMW\Tests\Utils\Mock\MediaWikiMockObjectRepository; |
9 | - |
|
10 | 9 | use SMW\SimpleDependencyBuilder; |
11 | 10 | use SMW\DependencyContainer; |
12 | -use SMW\DataValueFactory; |
|
13 | 11 | use SMW\StoreFactory; |
14 | -use SMW\SemanticData; |
|
15 | 12 | use SMW\DIWikiPage; |
16 | -use SMW\DIProperty; |
|
17 | 13 | use SMW\Settings; |
18 | - |
|
19 | 14 | use RequestContext; |
20 | 15 | use FauxRequest; |
21 | 16 | use WebRequest; |
22 | 17 | use Language; |
23 | 18 | use Title; |
24 | - |
|
25 | 19 | use ReflectionClass; |
26 | 20 | |
27 | -use SMWDataItem; |
|
28 | - |
|
29 | 21 | /** |
30 | 22 | * @codeCoverageIgnore |
31 | 23 | * |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace SMW\Tests; |
4 | 4 | |
5 | 5 | use SMW\CacheFactory; |
6 | -use SMW\ApplicationFactory; |
|
7 | 6 | |
8 | 7 | /** |
9 | 8 | * @covers \SMW\CacheFactory |