summaryrefslogtreecommitdiff
path: root/tests/app/Report
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2015-02-01 00:01:36 +0000
committerGreg Roach <fisharebest@gmail.com>2015-02-02 17:34:31 +0000
commita25f0a04682c4c39c1947220c90af4118c713952 (patch)
treef7e9c2c630a50dd3e5dd76ce501dff4b1d8d4c26 /tests/app/Report
parent4d2a5476ceb1c11dc1fd146bfb0be077baa5fb01 (diff)
downloadwebtrees-a25f0a04682c4c39c1947220c90af4118c713952.tar.gz
webtrees-a25f0a04682c4c39c1947220c90af4118c713952.tar.bz2
webtrees-a25f0a04682c4c39c1947220c90af4118c713952.zip
Refactor classes to use namespaces, as per PSR-4. Replace GPL2 with GPL3.
Diffstat (limited to 'tests/app/Report')
-rw-r--r--tests/app/Report/ReportBaseTest.php41
-rw-r--r--tests/app/Report/ReportHTMLTest.php41
-rw-r--r--tests/app/Report/ReportPDFTest.php41
3 files changed, 123 insertions, 0 deletions
diff --git a/tests/app/Report/ReportBaseTest.php b/tests/app/Report/ReportBaseTest.php
new file mode 100644
index 0000000000..7e376cdc66
--- /dev/null
+++ b/tests/app/Report/ReportBaseTest.php
@@ -0,0 +1,41 @@
+<?php
+namespace Webtrees;
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 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 <http://www.gnu.org/licenses/>.
+ */
+
+use PHPUnit_Framework_TestCase;
+
+/**
+ * Test harness for the class ReportBase
+ */
+class ReportBaseTest extends PHPUnit_Framework_TestCase {
+ /**
+ * Prepare the environment for these tests
+ *
+ * @return void
+ */
+ public function setUp() {
+ }
+
+ /**
+ * Test that the class exists
+ *
+ * @return void
+ */
+ public function testClassExists() {
+ $this->assertTrue(class_exists('\Webtrees\ReportBase'));
+ }
+}
diff --git a/tests/app/Report/ReportHTMLTest.php b/tests/app/Report/ReportHTMLTest.php
new file mode 100644
index 0000000000..0942bd229e
--- /dev/null
+++ b/tests/app/Report/ReportHTMLTest.php
@@ -0,0 +1,41 @@
+<?php
+namespace Webtrees;
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 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 <http://www.gnu.org/licenses/>.
+ */
+
+use PHPUnit_Framework_TestCase;
+
+/**
+ * Test harness for the class ReportHtml
+ */
+class ReportHtmlTest extends PHPUnit_Framework_TestCase {
+ /**
+ * Prepare the environment for these tests
+ *
+ * @return void
+ */
+ public function setUp() {
+ }
+
+ /**
+ * Test that the class exists
+ *
+ * @return void
+ */
+ public function testClassExists() {
+ $this->assertTrue(class_exists('\Webtrees\ReportHtml'));
+ }
+}
diff --git a/tests/app/Report/ReportPDFTest.php b/tests/app/Report/ReportPDFTest.php
new file mode 100644
index 0000000000..0cf9e17387
--- /dev/null
+++ b/tests/app/Report/ReportPDFTest.php
@@ -0,0 +1,41 @@
+<?php
+namespace Webtrees;
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 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 <http://www.gnu.org/licenses/>.
+ */
+
+use PHPUnit_Framework_TestCase;
+
+/**
+ * Test harness for the class ReportPdf
+ */
+class ReportPdfTest extends PHPUnit_Framework_TestCase {
+ /**
+ * Prepare the environment for these tests
+ *
+ * @return void
+ */
+ public function setUp() {
+ }
+
+ /**
+ * Test that the class exists
+ *
+ * @return void
+ */
+ public function testClassExists() {
+ $this->assertTrue(class_exists('\Webtrees\ReportPdf'));
+ }
+}