@@ -122,6 +122,9 @@ discard block |
||
122 | 122 | ); |
123 | 123 | } |
124 | 124 | |
125 | + /** |
|
126 | + * @param CachedFactbox $instance |
|
127 | + */ |
|
125 | 128 | public function assertPreProcess( $expected, $result, $outputPage, $instance ) { |
126 | 129 | |
127 | 130 | if ( $expected['text'] ) { |
@@ -150,6 +153,9 @@ discard block |
||
150 | 153 | } |
151 | 154 | } |
152 | 155 | |
156 | + /** |
|
157 | + * @param CachedFactbox $instance |
|
158 | + */ |
|
153 | 159 | public function assertPostProcess( $expected, $result, $outputPage, $instance ) { |
154 | 160 | |
155 | 161 | $this->assertEquals( |
@@ -164,6 +164,11 @@ |
||
164 | 164 | } ); |
165 | 165 | } |
166 | 166 | |
167 | + /** |
|
168 | + * @param string $field |
|
169 | + * @param string $internalType |
|
170 | + * @param \Closure $definition |
|
171 | + */ |
|
167 | 172 | protected function assertInternalArrayStructure( $setup, $result, $field, $internalType, $definition ) { |
168 | 173 | |
169 | 174 | if ( isset( $setup[$field] ) && $setup[$field] ) { |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace SMW\Tests\SQLStore; |
4 | 4 | |
5 | 5 | use SMW\SQLStore\PropertyTableOutdatedReferenceDisposer; |
6 | -use Title; |
|
7 | 6 | |
8 | 7 | /** |
9 | 8 | * @covers \SMW\SQLStore\PropertyTableOutdatedReferenceDisposer |
@@ -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 ) ) { |
@@ -243,6 +243,9 @@ |
||
243 | 243 | $this->assertFalse( $exists ); |
244 | 244 | } |
245 | 245 | |
246 | + /** |
|
247 | + * @return \SMW\SPARQLStore\RepositoryConnection |
|
248 | + */ |
|
246 | 249 | private function createRepositoryConnectionMockToUse( $listReturnValue ) { |
247 | 250 | |
248 | 251 | $repositoryResult = $this->getMockBuilder( '\SMW\SPARQLStore\QueryEngine\RepositoryResult' ) |
@@ -9,7 +9,6 @@ |
||
9 | 9 | use SMWExpLiteral as ExpLiteral; |
10 | 10 | use SMWExpNsResource as ExpNsResource; |
11 | 11 | use SMWExporter as Exporter; |
12 | -use SMWExpResource as ExpResource; |
|
13 | 12 | |
14 | 13 | /** |
15 | 14 | * @covers \SMW\SPARQLStore\RedirectLookup |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace SMW\Tests\SQLStore; |
4 | 4 | |
5 | 5 | use SMW\SQLStore\SQLStoreFactory; |
6 | -use SMW\Store; |
|
7 | 6 | use SMWSQLStore3; |
8 | 7 | |
9 | 8 | /** |
@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | * |
34 | 34 | * @param Store $store |
35 | 35 | * |
36 | - * @return PageDataFetcher |
|
36 | + * @return ByPageSemanticDataFinder |
|
37 | 37 | */ |
38 | 38 | public function setStore( Store $store ) { |
39 | 39 | $this->store = $store; |
@@ -45,7 +45,7 @@ discard block |
||
45 | 45 | * |
46 | 46 | * @param Title $title |
47 | 47 | * |
48 | - * @return PageDataFetcher |
|
48 | + * @return ByPageSemanticDataFinder |
|
49 | 49 | */ |
50 | 50 | public function setTitle( Title $title ) { |
51 | 51 | $this->title = $title; |
@@ -97,7 +97,7 @@ discard block |
||
97 | 97 | /** |
98 | 98 | * @since 2.1 |
99 | 99 | * |
100 | - * @return DataValue |
|
100 | + * @return \SMWDataValue |
|
101 | 101 | */ |
102 | 102 | public function getLocatedInValue() { |
103 | 103 | |
@@ -114,7 +114,7 @@ discard block |
||
114 | 114 | * |
115 | 115 | * @see https://en.wikipedia.org/wiki/Berlin |
116 | 116 | * |
117 | - * @return DataValue |
|
117 | + * @return \SMWDataValue |
|
118 | 118 | */ |
119 | 119 | public function getAreaValue() { |
120 | 120 | |
@@ -131,7 +131,7 @@ discard block |
||
131 | 131 | * |
132 | 132 | * @see https://en.wikipedia.org/wiki/Berlin |
133 | 133 | * |
134 | - * @return DataValue |
|
134 | + * @return \SMWDataValue |
|
135 | 135 | */ |
136 | 136 | public function getFoundedValue() { |
137 | 137 | |
@@ -148,7 +148,7 @@ discard block |
||
148 | 148 | * |
149 | 149 | * @see https://en.wikipedia.org/wiki/Berlin |
150 | 150 | * |
151 | - * @return DataValue |
|
151 | + * @return \SMWDataValue |
|
152 | 152 | */ |
153 | 153 | public function getAverageHighTemperatureValue() { |
154 | 154 | |
@@ -166,7 +166,7 @@ discard block |
||
166 | 166 | * |
167 | 167 | * @see https://en.wikipedia.org/wiki/Berlin |
168 | 168 | * |
169 | - * @return DataValue |
|
169 | + * @return \SMWDataValue |
|
170 | 170 | */ |
171 | 171 | public function getPopulationValue() { |
172 | 172 | |
@@ -183,7 +183,7 @@ discard block |
||
183 | 183 | * |
184 | 184 | * @see https://en.wikipedia.org/wiki/Demographics_of_Berlin |
185 | 185 | * |
186 | - * @return DataValue |
|
186 | + * @return \SMWDataValue |
|
187 | 187 | */ |
188 | 188 | public function getPopulationDensityValue() { |
189 | 189 |
@@ -85,7 +85,7 @@ |
||
85 | 85 | /** |
86 | 86 | * @since 2.1 |
87 | 87 | * |
88 | - * @return DataValue |
|
88 | + * @return \SMWDataValue |
|
89 | 89 | */ |
90 | 90 | public function getLocatedInValue() { |
91 | 91 |
@@ -95,7 +95,7 @@ discard block |
||
95 | 95 | /** |
96 | 96 | * @since 2.1 |
97 | 97 | * |
98 | - * @return DataValue |
|
98 | + * @return \SMWDataValue |
|
99 | 99 | */ |
100 | 100 | public function getLocatedInValue() { |
101 | 101 | |
@@ -112,7 +112,7 @@ discard block |
||
112 | 112 | * |
113 | 113 | * @see https://en.wikipedia.org/wiki/Berlin |
114 | 114 | * |
115 | - * @return DataValue |
|
115 | + * @return \SMWDataValue |
|
116 | 116 | */ |
117 | 117 | public function getAreaValue() { |
118 | 118 | |
@@ -130,7 +130,7 @@ discard block |
||
130 | 130 | * |
131 | 131 | * @see https://en.wikipedia.org/wiki/Berlin |
132 | 132 | * |
133 | - * @return DataValue |
|
133 | + * @return \SMWDataValue |
|
134 | 134 | */ |
135 | 135 | public function getAverageHighTemperatureValue() { |
136 | 136 | |
@@ -148,7 +148,7 @@ discard block |
||
148 | 148 | * |
149 | 149 | * @see https://en.wikipedia.org/wiki/Demographics_of_Paris |
150 | 150 | * |
151 | - * @return DataValue |
|
151 | + * @return \SMWDataValue |
|
152 | 152 | */ |
153 | 153 | public function getPopulationValue() { |
154 | 154 | |
@@ -165,7 +165,7 @@ discard block |
||
165 | 165 | * |
166 | 166 | * @see https://en.wikipedia.org/wiki/Demographics_of_Paris |
167 | 167 | * |
168 | - * @return DataValue |
|
168 | + * @return \SMWDataValue |
|
169 | 169 | */ |
170 | 170 | public function getPopulationDensityValue() { |
171 | 171 |