xref: /webtrees/tests/app/Elements/GedcomElementTest.php (revision d11be7027e34e3121be11cc025421873364403f9)
190288370SGreg Roach<?php
290288370SGreg Roach
390288370SGreg Roach/**
490288370SGreg Roach * webtrees: online genealogy
5*d11be702SGreg Roach * Copyright (C) 2023 webtrees development team
690288370SGreg Roach * This program is free software: you can redistribute it and/or modify
790288370SGreg Roach * it under the terms of the GNU General Public License as published by
890288370SGreg Roach * the Free Software Foundation, either version 3 of the License, or
990288370SGreg Roach * (at your option) any later version.
1090288370SGreg Roach * This program is distributed in the hope that it will be useful,
1190288370SGreg Roach * but WITHOUT ANY WARRANTY; without even the implied warranty of
1290288370SGreg Roach * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1390288370SGreg Roach * GNU General Public License for more details.
1490288370SGreg Roach * You should have received a copy of the GNU General Public License
1590288370SGreg Roach * along with this program. If not, see <https://www.gnu.org/licenses/>.
1690288370SGreg Roach */
1790288370SGreg Roach
1890288370SGreg Roachdeclare(strict_types=1);
1990288370SGreg Roach
2090288370SGreg Roachnamespace Fisharebest\Webtrees\Elements;
2190288370SGreg Roach
2290288370SGreg Roach/**
2390288370SGreg Roach * Test harness for the class Gedcom
2490288370SGreg Roach *
2590288370SGreg Roach * @covers \Fisharebest\Webtrees\Elements\AbstractElement
2690288370SGreg Roach * @covers \Fisharebest\Webtrees\Elements\GedcomElement
2790288370SGreg Roach */
2890288370SGreg Roachclass GedcomElementTest extends AbstractElementTest
2990288370SGreg Roach{
3090288370SGreg Roach    /**
3190288370SGreg Roach     * Standard tests for all elements.
3290288370SGreg Roach     */
3390288370SGreg Roach    public static function setupBeforeClass(): void
3490288370SGreg Roach    {
3590288370SGreg Roach        parent::setUpBeforeClass();
3690288370SGreg Roach
3790288370SGreg Roach        self::$element = new GedcomElement('label');
3890288370SGreg Roach    }
3990288370SGreg Roach}
40