diff options
Diffstat (limited to 'tests/app/Statistics/Repository')
16 files changed, 560 insertions, 0 deletions
diff --git a/tests/app/Statistics/Repository/BrowserRepositoryTest.php b/tests/app/Statistics/Repository/BrowserRepositoryTest.php new file mode 100644 index 0000000000..1559900bc9 --- /dev/null +++ b/tests/app/Statistics/Repository/BrowserRepositoryTest.php @@ -0,0 +1,35 @@ +<?php + +/** + * webtrees: online genealogy + * Copyright (C) 2022 webtrees development team + * 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 3 of the License, or + * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <https://www.gnu.org/licenses/>. + */ + +declare(strict_types=1); + +namespace Fisharebest\Webtrees\Statistics\Repository; + +use Fisharebest\Webtrees\TestCase; + +/** + * Test harness for the class BrowserRepository + * + * @covers Fisharebest\Webtrees\Statistics\Repository\BrowserRepository + */ +class BrowserRepositoryTest extends TestCase +{ + public function testClass(): void + { + $this->assertTrue(class_exists(\Fisharebest\Webtrees\Statistics\Repository\BrowserRepository::class)); + } +} diff --git a/tests/app/Statistics/Repository/ContactRepositoryTest.php b/tests/app/Statistics/Repository/ContactRepositoryTest.php new file mode 100644 index 0000000000..fb4e753996 --- /dev/null +++ b/tests/app/Statistics/Repository/ContactRepositoryTest.php @@ -0,0 +1,35 @@ +<?php + +/** + * webtrees: online genealogy + * Copyright (C) 2022 webtrees development team + * 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 3 of the License, or + * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <https://www.gnu.org/licenses/>. + */ + +declare(strict_types=1); + +namespace Fisharebest\Webtrees\Statistics\Repository; + +use Fisharebest\Webtrees\TestCase; + +/** + * Test harness for the class ContactRepository + * + * @covers Fisharebest\Webtrees\Statistics\Repository\ContactRepository + */ +class ContactRepositoryTest extends TestCase +{ + public function testClass(): void + { + $this->assertTrue(class_exists(\Fisharebest\Webtrees\Statistics\Repository\ContactRepository::class)); + } +} diff --git a/tests/app/Statistics/Repository/EventRepositoryTest.php b/tests/app/Statistics/Repository/EventRepositoryTest.php new file mode 100644 index 0000000000..973db72481 --- /dev/null +++ b/tests/app/Statistics/Repository/EventRepositoryTest.php @@ -0,0 +1,35 @@ +<?php + +/** + * webtrees: online genealogy + * Copyright (C) 2022 webtrees development team + * 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 3 of the License, or + * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <https://www.gnu.org/licenses/>. + */ + +declare(strict_types=1); + +namespace Fisharebest\Webtrees\Statistics\Repository; + +use Fisharebest\Webtrees\TestCase; + +/** + * Test harness for the class EventRepository + * + * @covers Fisharebest\Webtrees\Statistics\Repository\EventRepository + */ +class EventRepositoryTest extends TestCase +{ + public function testClass(): void + { + $this->assertTrue(class_exists(\Fisharebest\Webtrees\Statistics\Repository\EventRepository::class)); + } +} diff --git a/tests/app/Statistics/Repository/FamilyDatesRepositoryTest.php b/tests/app/Statistics/Repository/FamilyDatesRepositoryTest.php new file mode 100644 index 0000000000..13f1cecab3 --- /dev/null +++ b/tests/app/Statistics/Repository/FamilyDatesRepositoryTest.php @@ -0,0 +1,35 @@ +<?php + +/** + * webtrees: online genealogy + * Copyright (C) 2022 webtrees development team + * 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 3 of the License, or + * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <https://www.gnu.org/licenses/>. + */ + +declare(strict_types=1); + +namespace Fisharebest\Webtrees\Statistics\Repository; + +use Fisharebest\Webtrees\TestCase; + +/** + * Test harness for the class FamilyDatesRepository + * + * @covers Fisharebest\Webtrees\Statistics\Repository\FamilyDatesRepository + */ +class FamilyDatesRepositoryTest extends TestCase +{ + public function testClass(): void + { + $this->assertTrue(class_exists(\Fisharebest\Webtrees\Statistics\Repository\FamilyDatesRepository::class)); + } +} diff --git a/tests/app/Statistics/Repository/FamilyRepositoryTest.php b/tests/app/Statistics/Repository/FamilyRepositoryTest.php new file mode 100644 index 0000000000..cfe6597398 --- /dev/null +++ b/tests/app/Statistics/Repository/FamilyRepositoryTest.php @@ -0,0 +1,35 @@ +<?php + +/** + * webtrees: online genealogy + * Copyright (C) 2022 webtrees development team + * 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 3 of the License, or + * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <https://www.gnu.org/licenses/>. + */ + +declare(strict_types=1); + +namespace Fisharebest\Webtrees\Statistics\Repository; + +use Fisharebest\Webtrees\TestCase; + +/** + * Test harness for the class FamilyRepository + * + * @covers Fisharebest\Webtrees\Statistics\Repository\FamilyRepository + */ +class FamilyRepositoryTest extends TestCase +{ + public function testClass(): void + { + $this->assertTrue(class_exists(\Fisharebest\Webtrees\Statistics\Repository\FamilyRepository::class)); + } +} diff --git a/tests/app/Statistics/Repository/FavoritesRepositoryTest.php b/tests/app/Statistics/Repository/FavoritesRepositoryTest.php new file mode 100644 index 0000000000..33ade50e7d --- /dev/null +++ b/tests/app/Statistics/Repository/FavoritesRepositoryTest.php @@ -0,0 +1,35 @@ +<?php + +/** + * webtrees: online genealogy + * Copyright (C) 2022 webtrees development team + * 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 3 of the License, or + * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <https://www.gnu.org/licenses/>. + */ + +declare(strict_types=1); + +namespace Fisharebest\Webtrees\Statistics\Repository; + +use Fisharebest\Webtrees\TestCase; + +/** + * Test harness for the class FavoritesRepository + * + * @covers Fisharebest\Webtrees\Statistics\Repository\FavoritesRepository + */ +class FavoritesRepositoryTest extends TestCase +{ + public function testClass(): void + { + $this->assertTrue(class_exists(\Fisharebest\Webtrees\Statistics\Repository\FavoritesRepository::class)); + } +} diff --git a/tests/app/Statistics/Repository/GedcomRepositoryTest.php b/tests/app/Statistics/Repository/GedcomRepositoryTest.php new file mode 100644 index 0000000000..2bc3a0fb06 --- /dev/null +++ b/tests/app/Statistics/Repository/GedcomRepositoryTest.php @@ -0,0 +1,35 @@ +<?php + +/** + * webtrees: online genealogy + * Copyright (C) 2022 webtrees development team + * 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 3 of the License, or + * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <https://www.gnu.org/licenses/>. + */ + +declare(strict_types=1); + +namespace Fisharebest\Webtrees\Statistics\Repository; + +use Fisharebest\Webtrees\TestCase; + +/** + * Test harness for the class GedcomRepository + * + * @covers Fisharebest\Webtrees\Statistics\Repository\GedcomRepository + */ +class GedcomRepositoryTest extends TestCase +{ + public function testClass(): void + { + $this->assertTrue(class_exists(\Fisharebest\Webtrees\Statistics\Repository\GedcomRepository::class)); + } +} diff --git a/tests/app/Statistics/Repository/HitCountRepositoryTest.php b/tests/app/Statistics/Repository/HitCountRepositoryTest.php new file mode 100644 index 0000000000..9115f6a2ff --- /dev/null +++ b/tests/app/Statistics/Repository/HitCountRepositoryTest.php @@ -0,0 +1,35 @@ +<?php + +/** + * webtrees: online genealogy + * Copyright (C) 2022 webtrees development team + * 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 3 of the License, or + * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <https://www.gnu.org/licenses/>. + */ + +declare(strict_types=1); + +namespace Fisharebest\Webtrees\Statistics\Repository; + +use Fisharebest\Webtrees\TestCase; + +/** + * Test harness for the class HitCountRepository + * + * @covers Fisharebest\Webtrees\Statistics\Repository\HitCountRepository + */ +class HitCountRepositoryTest extends TestCase +{ + public function testClass(): void + { + $this->assertTrue(class_exists(\Fisharebest\Webtrees\Statistics\Repository\HitCountRepository::class)); + } +} diff --git a/tests/app/Statistics/Repository/IndividualRepositoryTest.php b/tests/app/Statistics/Repository/IndividualRepositoryTest.php new file mode 100644 index 0000000000..49f2c2da4e --- /dev/null +++ b/tests/app/Statistics/Repository/IndividualRepositoryTest.php @@ -0,0 +1,35 @@ +<?php + +/** + * webtrees: online genealogy + * Copyright (C) 2022 webtrees development team + * 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 3 of the License, or + * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <https://www.gnu.org/licenses/>. + */ + +declare(strict_types=1); + +namespace Fisharebest\Webtrees\Statistics\Repository; + +use Fisharebest\Webtrees\TestCase; + +/** + * Test harness for the class IndividualRepository + * + * @covers Fisharebest\Webtrees\Statistics\Repository\IndividualRepository + */ +class IndividualRepositoryTest extends TestCase +{ + public function testClass(): void + { + $this->assertTrue(class_exists(\Fisharebest\Webtrees\Statistics\Repository\IndividualRepository::class)); + } +} diff --git a/tests/app/Statistics/Repository/LatestUserRepositoryTest.php b/tests/app/Statistics/Repository/LatestUserRepositoryTest.php new file mode 100644 index 0000000000..c8366d9f3c --- /dev/null +++ b/tests/app/Statistics/Repository/LatestUserRepositoryTest.php @@ -0,0 +1,35 @@ +<?php + +/** + * webtrees: online genealogy + * Copyright (C) 2022 webtrees development team + * 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 3 of the License, or + * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <https://www.gnu.org/licenses/>. + */ + +declare(strict_types=1); + +namespace Fisharebest\Webtrees\Statistics\Repository; + +use Fisharebest\Webtrees\TestCase; + +/** + * Test harness for the class LatestUserRepository + * + * @covers Fisharebest\Webtrees\Statistics\Repository\LatestUserRepository + */ +class LatestUserRepositoryTest extends TestCase +{ + public function testClass(): void + { + $this->assertTrue(class_exists(\Fisharebest\Webtrees\Statistics\Repository\LatestUserRepository::class)); + } +} diff --git a/tests/app/Statistics/Repository/MediaRepositoryTest.php b/tests/app/Statistics/Repository/MediaRepositoryTest.php new file mode 100644 index 0000000000..b750ab5b9b --- /dev/null +++ b/tests/app/Statistics/Repository/MediaRepositoryTest.php @@ -0,0 +1,35 @@ +<?php + +/** + * webtrees: online genealogy + * Copyright (C) 2022 webtrees development team + * 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 3 of the License, or + * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <https://www.gnu.org/licenses/>. + */ + +declare(strict_types=1); + +namespace Fisharebest\Webtrees\Statistics\Repository; + +use Fisharebest\Webtrees\TestCase; + +/** + * Test harness for the class MediaRepository + * + * @covers Fisharebest\Webtrees\Statistics\Repository\MediaRepository + */ +class MediaRepositoryTest extends TestCase +{ + public function testClass(): void + { + $this->assertTrue(class_exists(\Fisharebest\Webtrees\Statistics\Repository\MediaRepository::class)); + } +} diff --git a/tests/app/Statistics/Repository/MessageRepositoryTest.php b/tests/app/Statistics/Repository/MessageRepositoryTest.php new file mode 100644 index 0000000000..84ae191ae3 --- /dev/null +++ b/tests/app/Statistics/Repository/MessageRepositoryTest.php @@ -0,0 +1,35 @@ +<?php + +/** + * webtrees: online genealogy + * Copyright (C) 2022 webtrees development team + * 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 3 of the License, or + * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <https://www.gnu.org/licenses/>. + */ + +declare(strict_types=1); + +namespace Fisharebest\Webtrees\Statistics\Repository; + +use Fisharebest\Webtrees\TestCase; + +/** + * Test harness for the class MessageRepository + * + * @covers Fisharebest\Webtrees\Statistics\Repository\MessageRepository + */ +class MessageRepositoryTest extends TestCase +{ + public function testClass(): void + { + $this->assertTrue(class_exists(\Fisharebest\Webtrees\Statistics\Repository\MessageRepository::class)); + } +} diff --git a/tests/app/Statistics/Repository/NewsRepositoryTest.php b/tests/app/Statistics/Repository/NewsRepositoryTest.php new file mode 100644 index 0000000000..95ee7ec2a8 --- /dev/null +++ b/tests/app/Statistics/Repository/NewsRepositoryTest.php @@ -0,0 +1,35 @@ +<?php + +/** + * webtrees: online genealogy + * Copyright (C) 2022 webtrees development team + * 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 3 of the License, or + * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <https://www.gnu.org/licenses/>. + */ + +declare(strict_types=1); + +namespace Fisharebest\Webtrees\Statistics\Repository; + +use Fisharebest\Webtrees\TestCase; + +/** + * Test harness for the class NewsRepository + * + * @covers Fisharebest\Webtrees\Statistics\Repository\NewsRepository + */ +class NewsRepositoryTest extends TestCase +{ + public function testClass(): void + { + $this->assertTrue(class_exists(\Fisharebest\Webtrees\Statistics\Repository\NewsRepository::class)); + } +} diff --git a/tests/app/Statistics/Repository/PlaceRepositoryTest.php b/tests/app/Statistics/Repository/PlaceRepositoryTest.php new file mode 100644 index 0000000000..d881077b87 --- /dev/null +++ b/tests/app/Statistics/Repository/PlaceRepositoryTest.php @@ -0,0 +1,35 @@ +<?php + +/** + * webtrees: online genealogy + * Copyright (C) 2022 webtrees development team + * 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 3 of the License, or + * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <https://www.gnu.org/licenses/>. + */ + +declare(strict_types=1); + +namespace Fisharebest\Webtrees\Statistics\Repository; + +use Fisharebest\Webtrees\TestCase; + +/** + * Test harness for the class PlaceRepository + * + * @covers Fisharebest\Webtrees\Statistics\Repository\PlaceRepository + */ +class PlaceRepositoryTest extends TestCase +{ + public function testClass(): void + { + $this->assertTrue(class_exists(\Fisharebest\Webtrees\Statistics\Repository\PlaceRepository::class)); + } +} diff --git a/tests/app/Statistics/Repository/ServerRepositoryTest.php b/tests/app/Statistics/Repository/ServerRepositoryTest.php new file mode 100644 index 0000000000..c47c568f49 --- /dev/null +++ b/tests/app/Statistics/Repository/ServerRepositoryTest.php @@ -0,0 +1,35 @@ +<?php + +/** + * webtrees: online genealogy + * Copyright (C) 2022 webtrees development team + * 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 3 of the License, or + * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <https://www.gnu.org/licenses/>. + */ + +declare(strict_types=1); + +namespace Fisharebest\Webtrees\Statistics\Repository; + +use Fisharebest\Webtrees\TestCase; + +/** + * Test harness for the class ServerRepository + * + * @covers Fisharebest\Webtrees\Statistics\Repository\ServerRepository + */ +class ServerRepositoryTest extends TestCase +{ + public function testClass(): void + { + $this->assertTrue(class_exists(\Fisharebest\Webtrees\Statistics\Repository\ServerRepository::class)); + } +} diff --git a/tests/app/Statistics/Repository/UserRepositoryTest.php b/tests/app/Statistics/Repository/UserRepositoryTest.php new file mode 100644 index 0000000000..b0e653d801 --- /dev/null +++ b/tests/app/Statistics/Repository/UserRepositoryTest.php @@ -0,0 +1,35 @@ +<?php + +/** + * webtrees: online genealogy + * Copyright (C) 2022 webtrees development team + * 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 3 of the License, or + * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <https://www.gnu.org/licenses/>. + */ + +declare(strict_types=1); + +namespace Fisharebest\Webtrees\Statistics\Repository; + +use Fisharebest\Webtrees\TestCase; + +/** + * Test harness for the class UserRepository + * + * @covers Fisharebest\Webtrees\Statistics\Repository\UserRepository + */ +class UserRepositoryTest extends TestCase +{ + public function testClass(): void + { + $this->assertTrue(class_exists(\Fisharebest\Webtrees\Statistics\Repository\UserRepository::class)); + } +} |
