@@ -3,12 +3,8 @@ |
||
3 | 3 | namespace SMW\Tests\Query\Language; |
4 | 4 | |
5 | 5 | use SMW\Query\Language\ValueDescription; |
6 | -use SMW\Query\Language\ThingDescription; |
|
7 | - |
|
8 | 6 | use SMW\DIWikiPage; |
9 | 7 | use SMW\DIProperty; |
10 | -use SMW\Localizer; |
|
11 | - |
|
12 | 8 | use SMWDINumber as DINumber; |
13 | 9 | |
14 | 10 | /** |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace SMW\Tests\Serializers; |
4 | 4 | |
5 | 5 | use SMW\Serializers\ExpDataSerializer; |
6 | -use SMW\Exporter\Element\ExpResource; |
|
7 | 6 | use SMW\Exporter\Element\ExpNsResource; |
8 | 7 | use SMW\Exporter\Element\ExpLiteral; |
9 | 8 | use SMWExpData as ExpData; |
@@ -5,10 +5,8 @@ |
||
5 | 5 | use SMW\Serializers\SemanticDataSerializer; |
6 | 6 | use SMW\Tests\Utils\UtilityFactory; |
7 | 7 | use SMW\DataValueFactory; |
8 | -use SMw\SemanticData; |
|
9 | 8 | use SMW\DIWikiPage; |
10 | 9 | use SMW\Subobject; |
11 | - |
|
12 | 10 | use Title; |
13 | 11 | |
14 | 12 | /** |
@@ -3,9 +3,7 @@ discard block |
||
3 | 3 | namespace SMW\Tests\SPARQLStore\QueryEngine; |
4 | 4 | |
5 | 5 | use SMW\Tests\Utils\UtilityFactory; |
6 | - |
|
7 | 6 | use SMW\SPARQLStore\QueryEngine\CompoundConditionBuilder; |
8 | - |
|
9 | 7 | use SMW\Query\Language\ThingDescription; |
10 | 8 | use SMW\Query\Language\Conjunction; |
11 | 9 | use SMW\Query\Language\Disjunction; |
@@ -13,17 +11,12 @@ discard block |
||
13 | 11 | use SMW\Query\Language\NamespaceDescription; |
14 | 12 | use SMW\Query\Language\ValueDescription; |
15 | 13 | use SMW\Query\Language\SomeProperty; |
16 | - |
|
17 | 14 | use SMW\DIProperty; |
18 | 15 | use SMW\DIWikiPage; |
19 | -use SMW\Localizer; |
|
20 | - |
|
21 | 16 | use SMWDataItem as DataItem; |
22 | 17 | use SMWDINumber as DINumber; |
23 | 18 | use SMWDIBlob as DIBlob; |
24 | 19 | use SMWDITime as DITime; |
25 | -use SMW\Query\PrintRequest as PrintRequest; |
|
26 | -use SMWPropertyValue as PropertyValue; |
|
27 | 20 | |
28 | 21 | /** |
29 | 22 | * @covers \SMW\SPARQLStore\QueryEngine\CompoundConditionBuilder |
@@ -6,8 +6,6 @@ |
||
6 | 6 | use SMW\SPARQLStore\QueryEngine\CompoundConditionBuilder; |
7 | 7 | use SMW\Tests\Utils\UtilityFactory; |
8 | 8 | use SMW\Query\Language\NamespaceDescription; |
9 | -use SMW\DIWikiPage; |
|
10 | -use SMW\DIProperty; |
|
11 | 9 | |
12 | 10 | /** |
13 | 11 | * @covers \SMW\SPARQLStore\QueryEngine\Interpreter\NamespaceDescriptionInterpreter |
@@ -6,7 +6,6 @@ |
||
6 | 6 | use SMW\SPARQLStore\QueryEngine\Interpreter\ThingDescriptionInterpreter; |
7 | 7 | use SMW\SPARQLStore\QueryEngine\CompoundConditionBuilder; |
8 | 8 | use SMW\Query\Language\ThingDescription; |
9 | -use SMW\DIWikiPage; |
|
10 | 9 | use SMW\DIProperty; |
11 | 10 | |
12 | 11 | /** |
@@ -4,14 +4,10 @@ |
||
4 | 4 | |
5 | 5 | use SMW\SPARQLStore\QueryEngine\Interpreter\ValueDescriptionInterpreter; |
6 | 6 | use SMW\SPARQLStore\QueryEngine\CompoundConditionBuilder; |
7 | - |
|
8 | 7 | use SMW\Tests\Utils\UtilityFactory; |
9 | - |
|
10 | 8 | use SMW\Query\Language\ValueDescription; |
11 | - |
|
12 | 9 | use SMW\DIProperty; |
13 | 10 | use SMW\DIWikiPage; |
14 | - |
|
15 | 11 | use SMWDIBlob as DIBlob; |
16 | 12 | use SMWDIUri as DIUri; |
17 | 13 | use SMWDINumber as DINumber; |
@@ -5,7 +5,6 @@ |
||
5 | 5 | use SMW\SPARQLStore\QueryEngine\QueryEngine; |
6 | 6 | use SMW\SPARQLStore\QueryEngine\EngineOptions; |
7 | 7 | use SMW\SPARQLStore\QueryEngine\QueryResultFactory; |
8 | -use SMW\DIProperty; |
|
9 | 8 | use SMWQuery as Query; |
10 | 9 | |
11 | 10 | /** |
@@ -55,6 +55,9 @@ |
||
55 | 55 | $instance->parse( $rawResultProvider->getInvalidSparqlResultXml() ); |
56 | 56 | } |
57 | 57 | |
58 | + /** |
|
59 | + * @param \SMW\SPARQLStore\QueryEngine\RepositoryResult $results |
|
60 | + */ |
|
58 | 61 | protected function assertResultFormat( $expectedResultRowItemInstance, $results ) { |
59 | 62 | |
60 | 63 | if ( !is_array( $expectedResultRowItemInstance ) ) { |
@@ -6,7 +6,6 @@ |
||
6 | 6 | use ImportReporter; |
7 | 7 | use WikiImporter; |
8 | 8 | use RequestContext; |
9 | - |
|
10 | 9 | use RuntimeException; |
11 | 10 | |
12 | 11 | /** |