Jeroen De Dauw has uploaded a new change for review. https://gerrit.wikimedia.org/r/65273
Change subject: Added @covers tags to unit tests of the QueryEngine component ...................................................................... Added @covers tags to unit tests of the QueryEngine component Change-Id: Ibf73aa770919ebc1f13af831c45f35b06f8d0ef1 --- M QueryEngine/tests/phpunit/SQLStore/ClaimStore/ClaimInserterTest.php M QueryEngine/tests/phpunit/SQLStore/ClaimStore/ClaimRowBuilderTest.php M QueryEngine/tests/phpunit/SQLStore/ClaimStore/ClaimRowTest.php M QueryEngine/tests/phpunit/SQLStore/ClaimStore/ClaimsTableTest.php M QueryEngine/tests/phpunit/SQLStore/DVHandler/BooleanHandlerTest.php M QueryEngine/tests/phpunit/SQLStore/DVHandler/EntityIdHandlerTest.php M QueryEngine/tests/phpunit/SQLStore/DVHandler/GeoCoordinateHandlerTest.php M QueryEngine/tests/phpunit/SQLStore/DVHandler/IriHandlerTest.php M QueryEngine/tests/phpunit/SQLStore/DVHandler/MonolingualTextHandlerTest.php M QueryEngine/tests/phpunit/SQLStore/DVHandler/NumberHandlerTest.php M QueryEngine/tests/phpunit/SQLStore/DVHandler/StringHandlerTest.php M QueryEngine/tests/phpunit/SQLStore/DataValueHandlersTest.php M QueryEngine/tests/phpunit/SQLStore/FactoryTest.php M QueryEngine/tests/phpunit/SQLStore/SchemaTest.php M QueryEngine/tests/phpunit/SQLStore/SetupTest.php M QueryEngine/tests/phpunit/SQLStore/SnakStore/SnakInserterTest.php M QueryEngine/tests/phpunit/SQLStore/SnakStore/SnakRowBuilderTest.php M QueryEngine/tests/phpunit/SQLStore/SnakStore/SnakStoreTest.php M QueryEngine/tests/phpunit/SQLStore/SnakStore/ValueSnakRowTest.php M QueryEngine/tests/phpunit/SQLStore/SnakStore/ValueSnakStoreTest.php M QueryEngine/tests/phpunit/SQLStore/SnakStore/ValuelessSnakRowTest.php M QueryEngine/tests/phpunit/SQLStore/SnakStore/ValuelessSnakStoreTest.php M QueryEngine/tests/phpunit/SQLStore/StoreConfigTest.php M QueryEngine/tests/phpunit/SQLStore/StoreTest.php M QueryEngine/tests/phpunit/SQLStore/WriterTest.php 25 files changed, 27 insertions(+), 23 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase refs/changes/73/65273/1 diff --git a/QueryEngine/tests/phpunit/SQLStore/ClaimStore/ClaimInserterTest.php b/QueryEngine/tests/phpunit/SQLStore/ClaimStore/ClaimInserterTest.php index fc72714..b1e3ad2 100644 --- a/QueryEngine/tests/phpunit/SQLStore/ClaimStore/ClaimInserterTest.php +++ b/QueryEngine/tests/phpunit/SQLStore/ClaimStore/ClaimInserterTest.php @@ -15,7 +15,7 @@ use Wikibase\Statement; /** - * Unit tests for the Wikibase\QueryEngine\SQLStore\ClaimStore\ClaimInserter class. + * @covers Wikibase\QueryEngine\SQLStore\ClaimStore\ClaimInserter * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/QueryEngine/tests/phpunit/SQLStore/ClaimStore/ClaimRowBuilderTest.php b/QueryEngine/tests/phpunit/SQLStore/ClaimStore/ClaimRowBuilderTest.php index 095d707..d9513e7 100644 --- a/QueryEngine/tests/phpunit/SQLStore/ClaimStore/ClaimRowBuilderTest.php +++ b/QueryEngine/tests/phpunit/SQLStore/ClaimStore/ClaimRowBuilderTest.php @@ -12,7 +12,7 @@ use Wikibase\Statement; /** - * Unit tests for the Wikibase\QueryEngine\SQLStore\ClaimStore\ClaimRowBuilder class. + * @covers Wikibase\QueryEngine\SQLStore\ClaimStore\ClaimRowBuilder * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/QueryEngine/tests/phpunit/SQLStore/ClaimStore/ClaimRowTest.php b/QueryEngine/tests/phpunit/SQLStore/ClaimStore/ClaimRowTest.php index c26c903..9247627 100644 --- a/QueryEngine/tests/phpunit/SQLStore/ClaimStore/ClaimRowTest.php +++ b/QueryEngine/tests/phpunit/SQLStore/ClaimStore/ClaimRowTest.php @@ -6,7 +6,7 @@ use Wikibase\Statement; /** - * Unit tests for the Wikibase\QueryEngine\SQLStore\ClaimStore\ClaimRow class. + * @covers Wikibase\QueryEngine\SQLStore\ClaimStore\ClaimRow * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/QueryEngine/tests/phpunit/SQLStore/ClaimStore/ClaimsTableTest.php b/QueryEngine/tests/phpunit/SQLStore/ClaimStore/ClaimsTableTest.php index 4d658f6..883403e 100644 --- a/QueryEngine/tests/phpunit/SQLStore/ClaimStore/ClaimsTableTest.php +++ b/QueryEngine/tests/phpunit/SQLStore/ClaimStore/ClaimsTableTest.php @@ -8,7 +8,7 @@ use Wikibase\Statement; /** - * Unit tests for the Wikibase\QueryEngine\SQLStore\ClaimStore\ClaimsTable class. + * @covers Wikibase\QueryEngine\SQLStore\ClaimStore\ClaimsTable * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/QueryEngine/tests/phpunit/SQLStore/DVHandler/BooleanHandlerTest.php b/QueryEngine/tests/phpunit/SQLStore/DVHandler/BooleanHandlerTest.php index 8059ac3..cc12060 100644 --- a/QueryEngine/tests/phpunit/SQLStore/DVHandler/BooleanHandlerTest.php +++ b/QueryEngine/tests/phpunit/SQLStore/DVHandler/BooleanHandlerTest.php @@ -8,7 +8,7 @@ use Wikibase\QueryEngine\Tests\SQLStore\DataValueHandlerTest; /** - * Unit tests for the Wikibase\QueryEngine\SQLStore\DVHandler\BooleanHandler class. + * @covers Wikibase\QueryEngine\SQLStore\DVHandler\BooleanHandler * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/QueryEngine/tests/phpunit/SQLStore/DVHandler/EntityIdHandlerTest.php b/QueryEngine/tests/phpunit/SQLStore/DVHandler/EntityIdHandlerTest.php index f8d4107..7b8d479 100644 --- a/QueryEngine/tests/phpunit/SQLStore/DVHandler/EntityIdHandlerTest.php +++ b/QueryEngine/tests/phpunit/SQLStore/DVHandler/EntityIdHandlerTest.php @@ -8,7 +8,7 @@ use Wikibase\QueryEngine\Tests\SQLStore\DataValueHandlerTest; /** - * Unit tests for the Wikibase\QueryEngine\SQLStore\DVHandler\EntityIdHandler class. + * @covers Wikibase\QueryEngine\SQLStore\DVHandler\EntityIdHandler * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/QueryEngine/tests/phpunit/SQLStore/DVHandler/GeoCoordinateHandlerTest.php b/QueryEngine/tests/phpunit/SQLStore/DVHandler/GeoCoordinateHandlerTest.php index 7943e6e..330e672 100644 --- a/QueryEngine/tests/phpunit/SQLStore/DVHandler/GeoCoordinateHandlerTest.php +++ b/QueryEngine/tests/phpunit/SQLStore/DVHandler/GeoCoordinateHandlerTest.php @@ -8,7 +8,7 @@ use Wikibase\QueryEngine\Tests\SQLStore\DataValueHandlerTest; /** - * Unit tests for the Wikibase\QueryEngine\SQLStore\DVHandler\GeoCoordinateHandler class. + * @covers Wikibase\QueryEngine\SQLStore\DVHandler\GeoCoordinateHandler * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/QueryEngine/tests/phpunit/SQLStore/DVHandler/IriHandlerTest.php b/QueryEngine/tests/phpunit/SQLStore/DVHandler/IriHandlerTest.php index 5d2cafa..363baa8 100644 --- a/QueryEngine/tests/phpunit/SQLStore/DVHandler/IriHandlerTest.php +++ b/QueryEngine/tests/phpunit/SQLStore/DVHandler/IriHandlerTest.php @@ -8,7 +8,7 @@ use Wikibase\QueryEngine\Tests\SQLStore\DataValueHandlerTest; /** - * Unit tests for the Wikibase\QueryEngine\SQLStore\DVHandler\IriHandler class. + * @covers Wikibase\QueryEngine\SQLStore\DVHandler\IriHandler * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/QueryEngine/tests/phpunit/SQLStore/DVHandler/MonolingualTextHandlerTest.php b/QueryEngine/tests/phpunit/SQLStore/DVHandler/MonolingualTextHandlerTest.php index 6d1fc27..b501204 100644 --- a/QueryEngine/tests/phpunit/SQLStore/DVHandler/MonolingualTextHandlerTest.php +++ b/QueryEngine/tests/phpunit/SQLStore/DVHandler/MonolingualTextHandlerTest.php @@ -8,7 +8,7 @@ use Wikibase\QueryEngine\Tests\SQLStore\DataValueHandlerTest; /** - * Unit tests for the Wikibase\QueryEngine\SQLStore\DVHandler\MonolingualTextHandler class. + * @covers Wikibase\QueryEngine\SQLStore\DVHandler\MonolingualTextHandler * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/QueryEngine/tests/phpunit/SQLStore/DVHandler/NumberHandlerTest.php b/QueryEngine/tests/phpunit/SQLStore/DVHandler/NumberHandlerTest.php index 3495a92..522d851 100644 --- a/QueryEngine/tests/phpunit/SQLStore/DVHandler/NumberHandlerTest.php +++ b/QueryEngine/tests/phpunit/SQLStore/DVHandler/NumberHandlerTest.php @@ -8,7 +8,7 @@ use Wikibase\QueryEngine\Tests\SQLStore\DataValueHandlerTest; /** - * Unit tests for the Wikibase\QueryEngine\SQLStore\DVHandler\NumberHandler class. + * @covers Wikibase\QueryEngine\SQLStore\DVHandler\NumberHandler * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/QueryEngine/tests/phpunit/SQLStore/DVHandler/StringHandlerTest.php b/QueryEngine/tests/phpunit/SQLStore/DVHandler/StringHandlerTest.php index b0bb1e8..4b8313c 100644 --- a/QueryEngine/tests/phpunit/SQLStore/DVHandler/StringHandlerTest.php +++ b/QueryEngine/tests/phpunit/SQLStore/DVHandler/StringHandlerTest.php @@ -8,7 +8,7 @@ use Wikibase\QueryEngine\Tests\SQLStore\DataValueHandlerTest; /** - * Unit tests for the Wikibase\QueryEngine\SQLStore\DVHandler\StringHandler class. + * @covers Wikibase\QueryEngine\SQLStore\DVHandler\StringHandler * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/QueryEngine/tests/phpunit/SQLStore/DataValueHandlersTest.php b/QueryEngine/tests/phpunit/SQLStore/DataValueHandlersTest.php index 4be4473..f3bf9ce 100644 --- a/QueryEngine/tests/phpunit/SQLStore/DataValueHandlersTest.php +++ b/QueryEngine/tests/phpunit/SQLStore/DataValueHandlersTest.php @@ -5,7 +5,7 @@ use Wikibase\QueryEngine\SQLStore\DataValueHandlers; /** - * Unit tests for the Wikibase\QueryEngine\SQLStore\DataValueHandlers class. + * @covers Wikibase\QueryEngine\SQLStore\DataValueHandlers * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/QueryEngine/tests/phpunit/SQLStore/FactoryTest.php b/QueryEngine/tests/phpunit/SQLStore/FactoryTest.php index 72cbb59..c3f1f67 100644 --- a/QueryEngine/tests/phpunit/SQLStore/FactoryTest.php +++ b/QueryEngine/tests/phpunit/SQLStore/FactoryTest.php @@ -6,6 +6,8 @@ use Wikibase\QueryEngine\SQLStore\StoreConfig; /** + * @covers Wikibase\QueryEngine\SQLStore\Factory + * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or diff --git a/QueryEngine/tests/phpunit/SQLStore/SchemaTest.php b/QueryEngine/tests/phpunit/SQLStore/SchemaTest.php index cbf6708..faa12aa 100644 --- a/QueryEngine/tests/phpunit/SQLStore/SchemaTest.php +++ b/QueryEngine/tests/phpunit/SQLStore/SchemaTest.php @@ -9,7 +9,7 @@ use Wikibase\SnakRole; /** - * Unit tests for the Wikibase\QueryEngine\SQLStore\Schema class. + * @covers Wikibase\QueryEngine\SQLStore\Schema * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/QueryEngine/tests/phpunit/SQLStore/SetupTest.php b/QueryEngine/tests/phpunit/SQLStore/SetupTest.php index 97c7059..057c3c6 100644 --- a/QueryEngine/tests/phpunit/SQLStore/SetupTest.php +++ b/QueryEngine/tests/phpunit/SQLStore/SetupTest.php @@ -9,7 +9,7 @@ use Wikibase\QueryEngine\SQLStore\StoreConfig; /** - * Unit tests for the Wikibase\QueryEngine\SQLStore\Setup class. + * @covers Wikibase\QueryEngine\SQLStore\Setup * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/QueryEngine/tests/phpunit/SQLStore/SnakStore/SnakInserterTest.php b/QueryEngine/tests/phpunit/SQLStore/SnakStore/SnakInserterTest.php index 2dab027..0a8284e 100644 --- a/QueryEngine/tests/phpunit/SQLStore/SnakStore/SnakInserterTest.php +++ b/QueryEngine/tests/phpunit/SQLStore/SnakStore/SnakInserterTest.php @@ -19,7 +19,7 @@ use Wikibase\SnakRole; /** - * Unit tests for the Wikibase\QueryEngine\SQLStore\SnakInserter class. + * @covers Wikibase\QueryEngine\SQLStore\SnakInserter * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/QueryEngine/tests/phpunit/SQLStore/SnakStore/SnakRowBuilderTest.php b/QueryEngine/tests/phpunit/SQLStore/SnakStore/SnakRowBuilderTest.php index 8fdcc7a..d47da64 100644 --- a/QueryEngine/tests/phpunit/SQLStore/SnakStore/SnakRowBuilderTest.php +++ b/QueryEngine/tests/phpunit/SQLStore/SnakStore/SnakRowBuilderTest.php @@ -11,7 +11,7 @@ use Wikibase\SnakRole; /** - * Unit tests for the Wikibase\QueryEngine\SQLStore\SnakStore\SnakRowBuilder class. + * @covers Wikibase\QueryEngine\SQLStore\SnakStore\SnakRowBuilder * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/QueryEngine/tests/phpunit/SQLStore/SnakStore/SnakStoreTest.php b/QueryEngine/tests/phpunit/SQLStore/SnakStore/SnakStoreTest.php index 740b2a3..c07ebd7 100644 --- a/QueryEngine/tests/phpunit/SQLStore/SnakStore/SnakStoreTest.php +++ b/QueryEngine/tests/phpunit/SQLStore/SnakStore/SnakStoreTest.php @@ -12,7 +12,7 @@ use Wikibase\SnakRole; /** - * Unit tests for the Wikibase\QueryEngine\SQLStore\SnakStore\SnakStore implementing classes. + * @covers Wikibase\QueryEngine\SQLStore\SnakStore\SnakStore * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/QueryEngine/tests/phpunit/SQLStore/SnakStore/ValueSnakRowTest.php b/QueryEngine/tests/phpunit/SQLStore/SnakStore/ValueSnakRowTest.php index b86f1c2..1f7b82c 100644 --- a/QueryEngine/tests/phpunit/SQLStore/SnakStore/ValueSnakRowTest.php +++ b/QueryEngine/tests/phpunit/SQLStore/SnakStore/ValueSnakRowTest.php @@ -9,7 +9,7 @@ use Wikibase\SnakRole; /** - * Unit tests for the Wikibase\QueryEngine\SQLStore\ValueSnakRow class. + * @covers Wikibase\QueryEngine\SQLStore\ValueSnakRow * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/QueryEngine/tests/phpunit/SQLStore/SnakStore/ValueSnakStoreTest.php b/QueryEngine/tests/phpunit/SQLStore/SnakStore/ValueSnakStoreTest.php index ae45c95..61d3046 100644 --- a/QueryEngine/tests/phpunit/SQLStore/SnakStore/ValueSnakStoreTest.php +++ b/QueryEngine/tests/phpunit/SQLStore/SnakStore/ValueSnakStoreTest.php @@ -13,7 +13,7 @@ use Wikibase\SnakRole; /** - * Unit tests for the Wikibase\QueryEngine\SQLStore\SnakStore\ValueSnakStore class. + * @covers Wikibase\QueryEngine\SQLStore\SnakStore\ValueSnakStore * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/QueryEngine/tests/phpunit/SQLStore/SnakStore/ValuelessSnakRowTest.php b/QueryEngine/tests/phpunit/SQLStore/SnakStore/ValuelessSnakRowTest.php index e5e5a8c..2583c6b 100644 --- a/QueryEngine/tests/phpunit/SQLStore/SnakStore/ValuelessSnakRowTest.php +++ b/QueryEngine/tests/phpunit/SQLStore/SnakStore/ValuelessSnakRowTest.php @@ -6,7 +6,7 @@ use Wikibase\SnakRole; /** - * Unit tests for the Wikibase\QueryEngine\SQLStore\ValuelessSnakRow class. + * @covers Wikibase\QueryEngine\SQLStore\ValuelessSnakRow * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/QueryEngine/tests/phpunit/SQLStore/SnakStore/ValuelessSnakStoreTest.php b/QueryEngine/tests/phpunit/SQLStore/SnakStore/ValuelessSnakStoreTest.php index 6a76c4f..10f0f46 100644 --- a/QueryEngine/tests/phpunit/SQLStore/SnakStore/ValuelessSnakStoreTest.php +++ b/QueryEngine/tests/phpunit/SQLStore/SnakStore/ValuelessSnakStoreTest.php @@ -10,7 +10,7 @@ use Wikibase\SnakRole; /** - * Unit tests for the Wikibase\QueryEngine\SQLStore\SnakStore\NoValueSnakStore class. + * @covers Wikibase\QueryEngine\SQLStore\SnakStore\NoValueSnakStore * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/QueryEngine/tests/phpunit/SQLStore/StoreConfigTest.php b/QueryEngine/tests/phpunit/SQLStore/StoreConfigTest.php index 77f34da..08aecf0 100644 --- a/QueryEngine/tests/phpunit/SQLStore/StoreConfigTest.php +++ b/QueryEngine/tests/phpunit/SQLStore/StoreConfigTest.php @@ -7,7 +7,7 @@ use Wikibase\QueryEngine\SQLStore\StoreConfig; /** - * Unit tests for the Wikibase\QueryEngine\SQLStore\StoreConfig class. + * @covers Wikibase\QueryEngine\SQLStore\StoreConfig * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/QueryEngine/tests/phpunit/SQLStore/StoreTest.php b/QueryEngine/tests/phpunit/SQLStore/StoreTest.php index b39f0ce..df0aa57 100644 --- a/QueryEngine/tests/phpunit/SQLStore/StoreTest.php +++ b/QueryEngine/tests/phpunit/SQLStore/StoreTest.php @@ -9,7 +9,7 @@ use Wikibase\QueryEngine\Tests\QueryStoreTest; /** - * Unit tests for the Wikibase\QueryEngine\SQLStore\Store class. + * @covers Wikibase\QueryEngine\SQLStore\Store * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/QueryEngine/tests/phpunit/SQLStore/WriterTest.php b/QueryEngine/tests/phpunit/SQLStore/WriterTest.php index 4d752c8..f93cf34 100644 --- a/QueryEngine/tests/phpunit/SQLStore/WriterTest.php +++ b/QueryEngine/tests/phpunit/SQLStore/WriterTest.php @@ -16,6 +16,8 @@ use Wikibase\QueryEngine\Tests\QueryStoreUpdaterTest; /** + * @covers Wikibase\QueryEngine\SQLStore\Writer + * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or -- To view, visit https://gerrit.wikimedia.org/r/65273 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ibf73aa770919ebc1f13af831c45f35b06f8d0ef1 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Wikibase Gerrit-Branch: master Gerrit-Owner: Jeroen De Dauw <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
