diff options
| author | Greg Roach <greg@subaqua.co.uk> | 2022-12-06 13:36:20 +0000 |
|---|---|---|
| committer | Greg Roach <greg@subaqua.co.uk> | 2022-12-06 13:48:20 +0000 |
| commit | a81396241f8b2caf70988b1979e1927e5c8e9398 (patch) | |
| tree | af35cd2dc8df7eb30dac755805d0c57dfd5f2fe9 /tests/app/CommonMark | |
| parent | 2699d89cd4ccb4ed42d54b35c9266a62446e456a (diff) | |
| download | webtrees-a81396241f8b2caf70988b1979e1927e5c8e9398.tar.gz webtrees-a81396241f8b2caf70988b1979e1927e5c8e9398.tar.bz2 webtrees-a81396241f8b2caf70988b1979e1927e5c8e9398.zip | |
Add minimal test scripts for every class, to pick up PHP version issues
Diffstat (limited to 'tests/app/CommonMark')
| -rw-r--r-- | tests/app/CommonMark/CensusTableContinueParserTest.php | 35 | ||||
| -rw-r--r-- | tests/app/CommonMark/CensusTableExtensionTest.php | 35 | ||||
| -rw-r--r-- | tests/app/CommonMark/CensusTableStartParserTest.php | 35 | ||||
| -rw-r--r-- | tests/app/CommonMark/XrefExtensionTest.php | 35 | ||||
| -rw-r--r-- | tests/app/CommonMark/XrefNodeTest.php | 35 | ||||
| -rw-r--r-- | tests/app/CommonMark/XrefParserTest.php | 35 | ||||
| -rw-r--r-- | tests/app/CommonMark/XrefRendererTest.php | 35 |
7 files changed, 245 insertions, 0 deletions
diff --git a/tests/app/CommonMark/CensusTableContinueParserTest.php b/tests/app/CommonMark/CensusTableContinueParserTest.php new file mode 100644 index 0000000000..3208c8895d --- /dev/null +++ b/tests/app/CommonMark/CensusTableContinueParserTest.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\CommonMark; + +use Fisharebest\Webtrees\TestCase; + +/** + * Test harness for the class CensusTableContinueParser + * + * @covers Fisharebest\Webtrees\CommonMark\CensusTableContinueParser + */ +class CensusTableContinueParserTest extends TestCase +{ + public function testClass(): void + { + $this->assertTrue(class_exists(\Fisharebest\Webtrees\CommonMark\CensusTableContinueParser::class)); + } +} diff --git a/tests/app/CommonMark/CensusTableExtensionTest.php b/tests/app/CommonMark/CensusTableExtensionTest.php new file mode 100644 index 0000000000..34d74db29e --- /dev/null +++ b/tests/app/CommonMark/CensusTableExtensionTest.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\CommonMark; + +use Fisharebest\Webtrees\TestCase; + +/** + * Test harness for the class CensusTableExtension + * + * @covers Fisharebest\Webtrees\CommonMark\CensusTableExtension + */ +class CensusTableExtensionTest extends TestCase +{ + public function testClass(): void + { + $this->assertTrue(class_exists(\Fisharebest\Webtrees\CommonMark\CensusTableExtension::class)); + } +} diff --git a/tests/app/CommonMark/CensusTableStartParserTest.php b/tests/app/CommonMark/CensusTableStartParserTest.php new file mode 100644 index 0000000000..3cfcf491cb --- /dev/null +++ b/tests/app/CommonMark/CensusTableStartParserTest.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\CommonMark; + +use Fisharebest\Webtrees\TestCase; + +/** + * Test harness for the class CensusTableStartParser + * + * @covers Fisharebest\Webtrees\CommonMark\CensusTableStartParser + */ +class CensusTableStartParserTest extends TestCase +{ + public function testClass(): void + { + $this->assertTrue(class_exists(\Fisharebest\Webtrees\CommonMark\CensusTableStartParser::class)); + } +} diff --git a/tests/app/CommonMark/XrefExtensionTest.php b/tests/app/CommonMark/XrefExtensionTest.php new file mode 100644 index 0000000000..9e7c766711 --- /dev/null +++ b/tests/app/CommonMark/XrefExtensionTest.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\CommonMark; + +use Fisharebest\Webtrees\TestCase; + +/** + * Test harness for the class XrefExtension + * + * @covers Fisharebest\Webtrees\CommonMark\XrefExtension + */ +class XrefExtensionTest extends TestCase +{ + public function testClass(): void + { + $this->assertTrue(class_exists(\Fisharebest\Webtrees\CommonMark\XrefExtension::class)); + } +} diff --git a/tests/app/CommonMark/XrefNodeTest.php b/tests/app/CommonMark/XrefNodeTest.php new file mode 100644 index 0000000000..2ccfe814f7 --- /dev/null +++ b/tests/app/CommonMark/XrefNodeTest.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\CommonMark; + +use Fisharebest\Webtrees\TestCase; + +/** + * Test harness for the class XrefNode + * + * @covers Fisharebest\Webtrees\CommonMark\XrefNode + */ +class XrefNodeTest extends TestCase +{ + public function testClass(): void + { + $this->assertTrue(class_exists(\Fisharebest\Webtrees\CommonMark\XrefNode::class)); + } +} diff --git a/tests/app/CommonMark/XrefParserTest.php b/tests/app/CommonMark/XrefParserTest.php new file mode 100644 index 0000000000..1996d10950 --- /dev/null +++ b/tests/app/CommonMark/XrefParserTest.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\CommonMark; + +use Fisharebest\Webtrees\TestCase; + +/** + * Test harness for the class XrefParser + * + * @covers Fisharebest\Webtrees\CommonMark\XrefParser + */ +class XrefParserTest extends TestCase +{ + public function testClass(): void + { + $this->assertTrue(class_exists(\Fisharebest\Webtrees\CommonMark\XrefParser::class)); + } +} diff --git a/tests/app/CommonMark/XrefRendererTest.php b/tests/app/CommonMark/XrefRendererTest.php new file mode 100644 index 0000000000..d6320edcdb --- /dev/null +++ b/tests/app/CommonMark/XrefRendererTest.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\CommonMark; + +use Fisharebest\Webtrees\TestCase; + +/** + * Test harness for the class XrefRenderer + * + * @covers Fisharebest\Webtrees\CommonMark\XrefRenderer + */ +class XrefRendererTest extends TestCase +{ + public function testClass(): void + { + $this->assertTrue(class_exists(\Fisharebest\Webtrees\CommonMark\XrefRenderer::class)); + } +} |
