summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2014-10-22 15:08:39 +0100
committerGreg Roach <fisharebest@gmail.com>2014-10-22 15:08:39 +0100
commitb8b18a48175a555520093aac42954d8fd7b90356 (patch)
treeabee503257bf9e311a52fffda19141c0d0c574b9 /tests
parent2ac40a9970abf2db6c4828e892a4a5bc27c68a31 (diff)
downloadwebtrees-b8b18a48175a555520093aac42954d8fd7b90356.tar.gz
webtrees-b8b18a48175a555520093aac42954d8fd7b90356.tar.bz2
webtrees-b8b18a48175a555520093aac42954d8fd7b90356.zip
Basic tests for classes (simply check that they can be loaded/parsed).
Diffstat (limited to 'tests')
-rw-r--r--tests/library/WT/AuthTest.php5
-rw-r--r--tests/library/WT/Controller/ControllerAdvancedSearchTest.php5
-rw-r--r--tests/library/WT/Controller/ControllerAjaxTest.php5
-rw-r--r--tests/library/WT/Controller/ControllerAncestryTest.php5
-rw-r--r--tests/library/WT/Controller/ControllerBaseTest.php5
-rw-r--r--tests/library/WT/Controller/ControllerBranchesTest.php6
-rw-r--r--tests/library/WT/Controller/ControllerChartTest.php5
-rw-r--r--tests/library/WT/Controller/ControllerCompactTest.php5
-rw-r--r--tests/library/WT/Controller/ControllerDescendancyTest.php5
-rw-r--r--tests/library/WT/Controller/ControllerFamilyTest.php5
-rw-r--r--tests/library/WT/Controller/ControllerFamilybookTest.php5
-rw-r--r--tests/library/WT/Controller/ControllerFanchartTest.php5
-rw-r--r--tests/library/WT/Controller/ControllerGedcomRecordTest.php5
-rw-r--r--tests/library/WT/Controller/ControllerHourglassTest.php5
-rw-r--r--tests/library/WT/Controller/ControllerIndividualTest.php5
-rw-r--r--tests/library/WT/Controller/ControllerLifespanTest.php5
-rw-r--r--tests/library/WT/Controller/ControllerMediaTest.php5
-rw-r--r--tests/library/WT/Controller/ControllerNoteTest.php5
-rw-r--r--tests/library/WT/Controller/ControllerPageTest.php5
-rw-r--r--tests/library/WT/Controller/ControllerPedigreeTest.php5
-rw-r--r--tests/library/WT/Controller/ControllerRepositoryTest.php5
-rw-r--r--tests/library/WT/Controller/ControllerSearchTest.php5
-rw-r--r--tests/library/WT/Controller/ControllerSimpleTest.php5
-rw-r--r--tests/library/WT/Controller/ControllerSourceTest.php5
-rw-r--r--tests/library/WT/Controller/ControllerTimelineTest.php5
-rw-r--r--tests/library/WT/DBStatementTest.php5
-rw-r--r--tests/library/WT/DBTest.php5
-rw-r--r--tests/library/WT/Date/DateCalendarTest.php5
-rw-r--r--tests/library/WT/Date/DateFrenchTest.php5
-rw-r--r--tests/library/WT/Date/DateGregorianTest.php5
-rw-r--r--tests/library/WT/Date/DateHijriTest.php5
-rw-r--r--tests/library/WT/Date/DateJalaliTest.php5
-rw-r--r--tests/library/WT/Date/DateJewishTest.php5
-rw-r--r--tests/library/WT/Date/DateJulianTest.php5
-rw-r--r--tests/library/WT/Date/DateRomanTest.php5
-rw-r--r--tests/library/WT/DateTest.php5
-rw-r--r--tests/library/WT/FactTest.php5
-rw-r--r--tests/library/WT/FamilyTest.php5
-rw-r--r--tests/library/WT/FileTest.php5
-rw-r--r--tests/library/WT/FilterTest.php5
-rw-r--r--tests/library/WT/FlashMessagesTest.php5
-rw-r--r--tests/library/WT/Gedcom/Code/GedcomCodeAdopTest.php5
-rw-r--r--tests/library/WT/Gedcom/Code/GedcomCodeNameTest.php5
-rw-r--r--tests/library/WT/Gedcom/Code/GedcomCodePediTest.php5
-rw-r--r--tests/library/WT/Gedcom/Code/GedcomCodeQuayTest.php5
-rw-r--r--tests/library/WT/Gedcom/Code/GedcomCodeRelaTest.php5
-rw-r--r--tests/library/WT/Gedcom/Code/GedcomCodeStatTest.php5
-rw-r--r--tests/library/WT/Gedcom/Code/GedcomCodeTempTest.php5
-rw-r--r--tests/library/WT/Gedcom/GedcomTagTest.php5
-rw-r--r--tests/library/WT/GedcomRecordTest.php6
-rw-r--r--tests/library/WT/I18NTest.php7
-rw-r--r--tests/library/WT/IndividualTest.php5
-rw-r--r--tests/library/WT/LogTest.php5
-rw-r--r--tests/library/WT/MailTest.php5
-rw-r--r--tests/library/WT/MediaTest.php5
-rw-r--r--tests/library/WT/MenuBarTest.php5
-rw-r--r--tests/library/WT/MenuTest.php5
-rw-r--r--tests/library/WT/Module/ModuleBlockTest.php5
-rw-r--r--tests/library/WT/Module/ModuleChartTest.php5
-rw-r--r--tests/library/WT/Module/ModuleConfigTest.php5
-rw-r--r--tests/library/WT/Module/ModuleMenuTest.php5
-rw-r--r--tests/library/WT/Module/ModuleReportTest.php5
-rw-r--r--tests/library/WT/Module/ModuleSidebarTest.php5
-rw-r--r--tests/library/WT/Module/ModuleTabTest.php5
-rw-r--r--tests/library/WT/Module/ModuleThemeTest.php5
-rw-r--r--tests/library/WT/ModuleTest.php5
-rw-r--r--tests/library/WT/NoteTest.php5
-rw-r--r--tests/library/WT/PlaceTest.php5
-rw-r--r--tests/library/WT/Query/QueryAdminTest.php5
-rw-r--r--tests/library/WT/Query/QueryMediaTest.php5
-rw-r--r--tests/library/WT/Query/QueryNameTest.php5
-rw-r--r--tests/library/WT/Report/ReportBaseTest.php5
-rw-r--r--tests/library/WT/Report/ReportHTMLTest.php5
-rw-r--r--tests/library/WT/Report/ReportPDFTest.php5
-rw-r--r--tests/library/WT/RepositoryTest.php5
-rw-r--r--tests/library/WT/SiteTest.php5
-rw-r--r--tests/library/WT/SoundexTest.php5
-rw-r--r--tests/library/WT/SourceTest.php5
-rw-r--r--tests/library/WT/StatsTest.php5
-rw-r--r--tests/library/WT/TreeTest.php5
-rw-r--r--tests/library/WT/UserTest.php5
81 files changed, 248 insertions, 161 deletions
diff --git a/tests/library/WT/AuthTest.php b/tests/library/WT/AuthTest.php
index 4a276e9e20..0389e8a63d 100644
--- a/tests/library/WT/AuthTest.php
+++ b/tests/library/WT/AuthTest.php
@@ -22,10 +22,11 @@ class AuthTest extends PHPUnit_Framework_TestCase {
}
/**
- * Test FooBar
+ * Test that the class exists
*
* @return void
*/
- public function testFooBar() {
+ public function testClassExists() {
+ $this->assertTrue(class_exists('\WT\Auth'));
}
}
diff --git a/tests/library/WT/Controller/ControllerAdvancedSearchTest.php b/tests/library/WT/Controller/ControllerAdvancedSearchTest.php
index 9dad56f74a..4587984da7 100644
--- a/tests/library/WT/Controller/ControllerAdvancedSearchTest.php
+++ b/tests/library/WT/Controller/ControllerAdvancedSearchTest.php
@@ -22,10 +22,11 @@ class ControllerAdvancedSearchTest extends PHPUnit_Framework_TestCase {
}
/**
- * Test FooBar
+ * Test that the class exists
*
* @return void
*/
- public function testFooBar() {
+ public function testClassExists() {
+ $this->assertTrue(class_exists('\WT_Controller_AdvancedSearch'));
}
}
diff --git a/tests/library/WT/Controller/ControllerAjaxTest.php b/tests/library/WT/Controller/ControllerAjaxTest.php
index cc03ac17f5..f605637127 100644
--- a/tests/library/WT/Controller/ControllerAjaxTest.php
+++ b/tests/library/WT/Controller/ControllerAjaxTest.php
@@ -22,10 +22,11 @@ class ControllerAjaxTest extends PHPUnit_Framework_TestCase {
}
/**
- * Test FooBar
+ * Test that the class exists
*
* @return void
*/
- public function testFooBar() {
+ public function testClassExists() {
+ $this->assertTrue(class_exists('\WT_Controller_Ajax'));
}
}
diff --git a/tests/library/WT/Controller/ControllerAncestryTest.php b/tests/library/WT/Controller/ControllerAncestryTest.php
index 1b83df1e1f..20b0dc0918 100644
--- a/tests/library/WT/Controller/ControllerAncestryTest.php
+++ b/tests/library/WT/Controller/ControllerAncestryTest.php
@@ -22,10 +22,11 @@ class ControllerAncestryTest extends PHPUnit_Framework_TestCase {
}
/**
- * Test FooBar
+ * Test that the class exists
*
* @return void
*/
- public function testFooBar() {
+ public function testClassExists() {
+ $this->assertTrue(class_exists('\WT_Controller_Ancestry'));
}
}
diff --git a/tests/library/WT/Controller/ControllerBaseTest.php b/tests/library/WT/Controller/ControllerBaseTest.php
index d2d2003774..10bbc8abe5 100644
--- a/tests/library/WT/Controller/ControllerBaseTest.php
+++ b/tests/library/WT/Controller/ControllerBaseTest.php
@@ -22,10 +22,11 @@ class ControllerBaseTest extends PHPUnit_Framework_TestCase {
}
/**
- * Test FooBar
+ * Test that the class exists
*
* @return void
*/
- public function testFooBar() {
+ public function testClassExists() {
+ $this->assertTrue(class_exists('\WT_Controller_Base'));
}
}
diff --git a/tests/library/WT/Controller/ControllerBranchesTest.php b/tests/library/WT/Controller/ControllerBranchesTest.php
index 3f0d73dcb9..b58656cbe6 100644
--- a/tests/library/WT/Controller/ControllerBranchesTest.php
+++ b/tests/library/WT/Controller/ControllerBranchesTest.php
@@ -20,12 +20,12 @@ class ControllerBranchesTest extends PHPUnit_Framework_TestCase {
*/
public function setUp() {
}
-
/**
- * Test FooBar
+ * Test that the class exists
*
* @return void
*/
- public function testFooBar() {
+ public function testClassExists() {
+ $this->assertTrue(class_exists('\WT_Controller_Branches'));
}
}
diff --git a/tests/library/WT/Controller/ControllerChartTest.php b/tests/library/WT/Controller/ControllerChartTest.php
index 895cfd0513..a2b64b2712 100644
--- a/tests/library/WT/Controller/ControllerChartTest.php
+++ b/tests/library/WT/Controller/ControllerChartTest.php
@@ -22,10 +22,11 @@ class ControllerChartTest extends PHPUnit_Framework_TestCase {
}
/**
- * Test FooBar
+ * Test that the class exists
*
* @return void
*/
- public function testFooBar() {
+ public function testClassExists() {
+ $this->assertTrue(class_exists('\WT_Controller_Chart'));
}
}
diff --git a/tests/library/WT/Controller/ControllerCompactTest.php b/tests/library/WT/Controller/ControllerCompactTest.php
index 14d3d77ae5..3ac6a02fad 100644
--- a/tests/library/WT/Controller/ControllerCompactTest.php
+++ b/tests/library/WT/Controller/ControllerCompactTest.php
@@ -22,10 +22,11 @@ class ControllerCompactTest extends PHPUnit_Framework_TestCase {
}
/**
- * Test FooBar
+ * Test that the class exists
*
* @return void
*/
- public function testFooBar() {
+ public function testClassExists() {
+ $this->assertTrue(class_exists('\WT_Controller_Compact'));
}
}
diff --git a/tests/library/WT/Controller/ControllerDescendancyTest.php b/tests/library/WT/Controller/ControllerDescendancyTest.php
index e2db4153df..cbdaeb6ed5 100644
--- a/tests/library/WT/Controller/ControllerDescendancyTest.php
+++ b/tests/library/WT/Controller/ControllerDescendancyTest.php
@@ -22,10 +22,11 @@ class ControllerDescendancyTest extends PHPUnit_Framework_TestCase {
}
/**
- * Test FooBar
+ * Test that the class exists
*
* @return void
*/
- public function testFooBar() {
+ public function testClassExists() {
+ $this->assertTrue(class_exists('\WT_Controller_Descendancy'));
}
}
diff --git a/tests/library/WT/Controller/ControllerFamilyTest.php b/tests/library/WT/Controller/ControllerFamilyTest.php
index 6a5d1be833..d1b61acde1 100644
--- a/tests/library/WT/Controller/ControllerFamilyTest.php
+++ b/tests/library/WT/Controller/ControllerFamilyTest.php
@@ -22,10 +22,11 @@ class ControllerFamilyTest extends PHPUnit_Framework_TestCase {
}
/**
- * Test FooBar
+ * Test that the class exists
*
* @return void
*/
- public function testFooBar() {
+ public function testClassExists() {
+ $this->assertTrue(class_exists('\WT_Controller_Family'));
}
}
diff --git a/tests/library/WT/Controller/ControllerFamilybookTest.php b/tests/library/WT/Controller/ControllerFamilybookTest.php
index 37cf423a6b..e9efd440b2 100644
--- a/tests/library/WT/Controller/ControllerFamilybookTest.php
+++ b/tests/library/WT/Controller/ControllerFamilybookTest.php
@@ -22,10 +22,11 @@ class ControllerFamilybookTest extends PHPUnit_Framework_TestCase {
}
/**
- * Test FooBar
+ * Test that the class exists
*
* @return void
*/
- public function testFooBar() {
+ public function testClassExists() {
+ $this->assertTrue(class_exists('\WT_Controller_Familybook'));
}
}
diff --git a/tests/library/WT/Controller/ControllerFanchartTest.php b/tests/library/WT/Controller/ControllerFanchartTest.php
index d8d58a0033..97ce9652ee 100644
--- a/tests/library/WT/Controller/ControllerFanchartTest.php
+++ b/tests/library/WT/Controller/ControllerFanchartTest.php
@@ -22,10 +22,11 @@ class ControllerFanchartTest extends PHPUnit_Framework_TestCase {
}
/**
- * Test FooBar
+ * Test that the class exists
*
* @return void
*/
- public function testFooBar() {
+ public function testClassExists() {
+ $this->assertTrue(class_exists('\WT_Controller_Fanchart'));
}
}
diff --git a/tests/library/WT/Controller/ControllerGedcomRecordTest.php b/tests/library/WT/Controller/ControllerGedcomRecordTest.php
index de7b2aa0fc..4034aecd13 100644
--- a/tests/library/WT/Controller/ControllerGedcomRecordTest.php
+++ b/tests/library/WT/Controller/ControllerGedcomRecordTest.php
@@ -22,10 +22,11 @@ class ControllerGedcomRecordTest extends PHPUnit_Framework_TestCase {
}
/**
- * Test FooBar
+ * Test that the class exists
*
* @return void
*/
- public function testFooBar() {
+ public function testClassExists() {
+ $this->assertTrue(class_exists('\WT_Controller_GedcomRecord'));
}
}
diff --git a/tests/library/WT/Controller/ControllerHourglassTest.php b/tests/library/WT/Controller/ControllerHourglassTest.php
index bbbb74d5c4..2062bc5b71 100644
--- a/tests/library/WT/Controller/ControllerHourglassTest.php
+++ b/tests/library/WT/Controller/ControllerHourglassTest.php
@@ -22,10 +22,11 @@ class ControllerHourglassTest extends PHPUnit_Framework_TestCase {
}
/**
- * Test FooBar
+ * Test that the class exists
*
* @return void
*/
- public function testFooBar() {
+ public function testClassExists() {
+ $this->assertTrue(class_exists('\WT_Controller_Hourglass'));
}
}
diff --git a/tests/library/WT/Controller/ControllerIndividualTest.php b/tests/library/WT/Controller/ControllerIndividualTest.php
index 820dc3bf9b..e6bb9db0cc 100644
--- a/tests/library/WT/Controller/ControllerIndividualTest.php
+++ b/tests/library/WT/Controller/ControllerIndividualTest.php
@@ -22,10 +22,11 @@ class ControllerIndividualTest extends PHPUnit_Framework_TestCase {
}
/**
- * Test FooBar
+ * Test that the class exists
*
* @return void
*/
- public function testFooBar() {
+ public function testClassExists() {
+ $this->assertTrue(class_exists('\WT_Controller_Individual'));
}
}
diff --git a/tests/library/WT/Controller/ControllerLifespanTest.php b/tests/library/WT/Controller/ControllerLifespanTest.php
index 8cd51207ab..bb84368a10 100644
--- a/tests/library/WT/Controller/ControllerLifespanTest.php
+++ b/tests/library/WT/Controller/ControllerLifespanTest.php
@@ -22,10 +22,11 @@ class ControllerLifespanTest extends PHPUnit_Framework_TestCase {
}
/**
- * Test FooBar
+ * Test that the class exists
*
* @return void
*/
- public function testFooBar() {
+ public function testClassExists() {
+ $this->assertTrue(class_exists('\WT_Controller_Lifespan'));
}
}
diff --git a/tests/library/WT/Controller/ControllerMediaTest.php b/tests/library/WT/Controller/ControllerMediaTest.php
index 6098871a1e..e4483aa539 100644
--- a/tests/library/WT/Controller/ControllerMediaTest.php
+++ b/tests/library/WT/Controller/ControllerMediaTest.php
@@ -22,10 +22,11 @@ class ControllerMediaTest extends PHPUnit_Framework_TestCase {
}
/**
- * Test FooBar
+ * Test that the class exists
*
* @return void
*/
- public function testFooBar() {
+ public function testClassExists() {
+ $this->assertTrue(class_exists('\WT_Controller_Media'));
}
}
diff --git a/tests/library/WT/Controller/ControllerNoteTest.php b/tests/library/WT/Controller/ControllerNoteTest.php
index 3fc4bcafb3..0ac83c2feb 100644
--- a/tests/library/WT/Controller/ControllerNoteTest.php
+++ b/tests/library/WT/Controller/ControllerNoteTest.php
@@ -22,10 +22,11 @@ class ControllerNoteTest extends PHPUnit_Framework_TestCase {
}
/**
- * Test FooBar
+ * Test that the class exists
*
* @return void
*/
- public function testFooBar() {
+ public function testClassExists() {
+ $this->assertTrue(class_exists('\WT_Controller_Note'));
}
}
diff --git a/tests/library/WT/Controller/ControllerPageTest.php b/tests/library/WT/Controller/ControllerPageTest.php
index c81027c020..a4016de66b 100644
--- a/tests/library/WT/Controller/ControllerPageTest.php
+++ b/tests/library/WT/Controller/ControllerPageTest.php
@@ -22,10 +22,11 @@ class ControllerPageTest extends PHPUnit_Framework_TestCase {
}
/**
- * Test FooBar
+ * Test that the class exists
*
* @return void
*/
- public function testFooBar() {
+ public function testClassExists() {
+ $this->assertTrue(class_exists('\WT_Controller_Page'));
}
}
diff --git a/tests/library/WT/Controller/ControllerPedigreeTest.php b/tests/library/WT/Controller/ControllerPedigreeTest.php
index a00d9460ba..a137dde88b 100644
--- a/tests/library/WT/Controller/ControllerPedigreeTest.php
+++ b/tests/library/WT/Controller/ControllerPedigreeTest.php
@@ -22,10 +22,11 @@ class ControllerPedigreeTest extends PHPUnit_Framework_TestCase {
}
/**
- * Test FooBar
+ * Test that the class exists
*
* @return void
*/
- public function testFooBar() {
+ public function testClassExists() {
+ $this->assertTrue(class_exists('\WT_Controller_Pedigree'));
}
}
diff --git a/tests/library/WT/Controller/ControllerRepositoryTest.php b/tests/library/WT/Controller/ControllerRepositoryTest.php
index f7b16052c9..72d4eaa3c4 100644
--- a/tests/library/WT/Controller/ControllerRepositoryTest.php
+++ b/tests/library/WT/Controller/ControllerRepositoryTest.php
@@ -22,10 +22,11 @@ class ControllerRepositoryTest extends PHPUnit_Framework_TestCase {
}
/**
- * Test FooBar
+ * Test that the class exists
*
* @return void
*/
- public function testFooBar() {
+ public function testClassExists() {
+ $this->assertTrue(class_exists('\WT_Controller_Repository'));
}
}
diff --git a/tests/library/WT/Controller/ControllerSearchTest.php b/tests/library/WT/Controller/ControllerSearchTest.php
index fea173bbc3..b78d85fdb4 100644
--- a/tests/library/WT/Controller/ControllerSearchTest.php
+++ b/tests/library/WT/Controller/ControllerSearchTest.php
@@ -22,10 +22,11 @@ class ControllerSearchTest extends PHPUnit_Framework_TestCase {
}
/**
- * Test FooBar
+ * Test that the class exists
*
* @return void
*/
- public function testFooBar() {
+ public function testClassExists() {
+ $this->assertTrue(class_exists('\WT_Controller_Search'));
}
}
diff --git a/tests/library/WT/Controller/ControllerSimpleTest.php b/tests/library/WT/Controller/ControllerSimpleTest.php
index 125724152b..7e94b4e59b 100644
--- a/tests/library/WT/Controller/ControllerSimpleTest.php
+++ b/tests/library/WT/Controller/ControllerSimpleTest.php
@@ -22,10 +22,11 @@ class ControllerSimpleTest extends PHPUnit_Framework_TestCase {
}
/**
- * Test FooBar
+ * Test that the class exists
*
* @return void
*/
- public function testFooBar() {
+ public function testClassExists() {
+ $this->assertTrue(class_exists('\WT_Controller_Simple'));
}
}
diff --git a/tests/library/WT/Controller/ControllerSourceTest.php b/tests/library/WT/Controller/ControllerSourceTest.php
index 18ea058d94..00be0a1296 100644
--- a/tests/library/WT/Controller/ControllerSourceTest.php
+++ b/tests/library/WT/Controller/ControllerSourceTest.php
@@ -22,10 +22,11 @@ class ControllerSourceTest extends PHPUnit_Framework_TestCase {
}
/**
- * Test FooBar
+ * Test that the class exists
*
* @return void
*/
- public function testFooBar() {
+ public function testClassExists() {
+ $this->assertTrue(class_exists('\WT_Controller_Source'));
}
}
diff --git a/tests/library/WT/Controller/ControllerTimelineTest.php b/tests/library/WT/Controller/ControllerTimelineTest.php
index 5d3001a747..b6f19476a7 100644
--- a/tests/library/WT/Controller/ControllerTimelineTest.php
+++ b/tests/library/WT/Controller/ControllerTimelineTest.php
@@ -22,10 +22,11 @@ class ControllerTimelineTest extends PHPUnit_Framework_TestCase {
}
/**
- * Test FooBar
+ * Test that the class exists
*
* @return void
*/
- public function testFooBar() {
+ public function testClassExists() {
+ $this->assertTrue(class_exists('\WT_Controller_Timeline'));
}
}
diff --git a/tests/library/WT/DBStatementTest.php b/tests/library/WT/DBStatementTest.php
index 1cec2b45a0..890b8f175e 100644
--- a/tests/library/WT/DBStatementTest.php
+++ b/tests/library/WT/DBStatementTest.php
@@ -22,10 +22,11 @@ class DBTest extends PHPUnit_Framework_TestCase {
}
/**
- * Test FooBar
+ * Test that the class exists
*
* @return void
*/
- public function testFooBar() {
+ public function testClassExists() {
+ $this->assertTrue(class_exists('\WT_DBStatement'));
}
}
diff --git a/tests/library/WT/DBTest.php b/tests/library/WT/DBTest.php
index e90274da31..1e93ab0ace 100644
--- a/tests/library/WT/DBTest.php
+++ b/tests/library/WT/DBTest.php
@@ -22,10 +22,11 @@ class DBStatementTest extends PHPUnit_Framework_TestCase {
}
/**
- * Test FooBar
+ * Test that the class exists
*
* @return void
*/
- public function testFooBar() {
+ public function testClassExists() {
+ $this->assertTrue(class_exists('\WT_DB'));
}
}
diff --git a/tests/library/WT/Date/DateCalendarTest.php b/tests/library/WT/Date/DateCalendarTest.php
index c3cf537c1f..f61d62750f 100644
--- a/tests/library/WT/Date/DateCalendarTest.php
+++ b/tests/library/WT/Date/DateCalendarTest.php
@@ -22,10 +22,11 @@ class DateCalendarTest extends PHPUnit_Framework_TestCase {
}
/**
- * Test FooBar
+ * Test that the class exists
*
* @return void
*/
- public function testFooBar() {
+ public function testClassExists() {
+ $this->assertTrue(class_exists('\WT_Date_Calendar'));
}
}
diff --git a/tests/library/WT/Date/DateFrenchTest.php b/tests/library/WT/Date/DateFrenchTest.php
index abc1b08075..8e6451adde 100644
--- a/tests/library/WT/Date/DateFrenchTest.php
+++ b/tests/library/WT/Date/DateFrenchTest.php
@@ -22,10 +22,11 @@ class DateFrenchTest extends PHPUnit_Framework_TestCase {
}
/**
- * Test FooBar
+ * Test that the class exists
*
* @return void
*/
- public function testFooBar() {
+ public function testClassExists() {
+ $this->assertTrue(class_exists('\WT_Date_French'));
}
}
diff --git a/tests/library/WT/Date/DateGregorianTest.php b/tests/library/WT/Date/DateGregorianTest.php
index bc7b2b062b..a57ab460b6 100644
--- a/tests/library/WT/Date/DateGregorianTest.php
+++ b/tests/library/WT/Date/DateGregorianTest.php
@@ -22,10 +22,11 @@ class DateGregorianTest extends PHPUnit_Framework_TestCase {
}
/**
- * Test FooBar
+ * Test that the class exists
*
* @return void
*/
- public function testFooBar() {
+ public function testClassExists() {
+ $this->assertTrue(class_exists('\WT_Date_Gregorian'));
}
}
diff --git a/tests/library/WT/Date/DateHijriTest.php b/tests/library/WT/Date/DateHijriTest.php
index 581b5f8dc3..3257f23f90 100644
--- a/tests/library/WT/Date/DateHijriTest.php
+++ b/tests/library/WT/Date/DateHijriTest.php
@@ -22,10 +22,11 @@ class DateHijriTest extends PHPUnit_Framework_TestCase {
}
/**
- * Test FooBar
+ * Test that the class exists
*
* @return void
*/
- public function testFooBar() {
+ public function testClassExists() {
+ $this->assertTrue(class_exists('\WT_Date_Hijri'));
}
}
diff --git a/tests/library/WT/Date/DateJalaliTest.php b/tests/library/WT/Date/DateJalaliTest.php
index 82afa03589..217b7f9e87 100644
--- a/tests/library/WT/Date/DateJalaliTest.php
+++ b/tests/library/WT/Date/DateJalaliTest.php
@@ -22,10 +22,11 @@ class DateJalaliTest extends PHPUnit_Framework_TestCase {
}
/**
- * Test FooBar
+ * Test that the class exists
*
* @return void
*/
- public function testFooBar() {
+ public function testClassExists() {
+ $this->assertTrue(class_exists('\WT_Date_Jalali'));
}
}
diff --git a/tests/library/WT/Date/DateJewishTest.php b/tests/library/WT/Date/DateJewishTest.php
index 23cc6755ba..25b01a3d36 100644
--- a/tests/library/WT/Date/DateJewishTest.php
+++ b/tests/library/WT/Date/DateJewishTest.php
@@ -22,10 +22,11 @@ class DateJewishTest extends PHPUnit_Framework_TestCase {
}
/**
- * Test FooBar
+ * Test that the class exists
*
* @return void
*/
- public function testFooBar() {
+ public function testClassExists() {
+ $this->assertTrue(class_exists('\WT_Date_Jewish'));
}
}
diff --git a/tests/library/WT/Date/DateJulianTest.php b/tests/library/WT/Date/DateJulianTest.php
index 852d46f9a0..e6cf9c8f51 100644
--- a/tests/library/WT/Date/DateJulianTest.php
+++ b/tests/library/WT/Date/DateJulianTest.php
@@ -22,10 +22,11 @@ class DateJulianTest extends PHPUnit_Framework_TestCase {
}
/**
- * Test FooBar
+ * Test that the class exists
*
* @return void
*/
- public function testFooBar() {
+ public function testClassExists() {
+ $this->assertTrue(class_exists('\WT_Date_Julian'));
}
}
diff --git a/tests/library/WT/Date/DateRomanTest.php b/tests/library/WT/Date/DateRomanTest.php
index 5bce548567..dd585a9ff9 100644
--- a/tests/library/WT/Date/DateRomanTest.php
+++ b/tests/library/WT/Date/DateRomanTest.php
@@ -22,10 +22,11 @@ class DateRomanTest extends PHPUnit_Framework_TestCase {
}
/**
- * Test FooBar
+ * Test that the class exists
*
* @return void
*/
- public function testFooBar() {
+ public function testClassExists() {
+ $this->assertTrue(class_exists('\WT_Date_Roman'));
}
}
diff --git a/tests/library/WT/DateTest.php b/tests/library/WT/DateTest.php
index 0f6e7eac3e..1f24b37bfa 100644
--- a/tests/library/WT/DateTest.php
+++ b/tests/library/WT/DateTest.php
@@ -22,10 +22,11 @@ class DateTest extends PHPUnit_Framework_TestCase {
}
/**
- * Test FooBar
+ * Test that the class exists
*
* @return void
*/
- public function testFooBar() {
+ public function testClassExists() {
+ $this->assertTrue(class_exists('\WT_Date'));
}
}
diff --git a/tests/library/WT/FactTest.php b/tests/library/WT/FactTest.php
index 67bd5eba74..25942558d6 100644
--- a/tests/library/WT/FactTest.php
+++ b/tests/library/WT/FactTest.php
@@ -22,10 +22,11 @@ class FactTest extends PHPUnit_Framework_TestCase {
}
/**
- * Test FooBar
+ * Test that the class exists
*
* @return void
*/
- public function testFooBar() {
+ public function testClassExists() {
+ $this->assertTrue(class_exists('\WT_Fact'));
}
}
diff --git a/tests/library/WT/FamilyTest.php b/tests/library/WT/FamilyTest.php
index 66b333841a..adf4e4ba56 100644
--- a/tests/library/WT/FamilyTest.php
+++ b/tests/library/WT/FamilyTest.php
@@ -22,10 +22,11 @@ class FamilyTest extends PHPUnit_Framework_TestCase {
}
/**
- * Test FooBar
+ * Test that the class exists
*
* @return void
*/
- public function testFooBar() {
+ public function testClassExists() {
+ $this->assertTrue(class_exists('\WT_Family'));
}
}
diff --git a/tests/library/WT/FileTest.php b/tests/library/WT/FileTest.php
index 8691684d47..ba1a08fd68 100644
--- a/tests/library/WT/FileTest.php
+++ b/tests/library/WT/FileTest.php
@@ -22,10 +22,11 @@ class FileTest extends PHPUnit_Framework_TestCase {
}
/**
- * Test FooBar
+ * Test that the class exists
*
* @return void
*/
- public function testFooBar() {
+ public function testClassExists() {
+ $this->assertTrue(class_exists('\WT_File'));
}
}
diff --git a/tests/library/WT/FilterTest.php b/tests/library/WT/FilterTest.php
index b0007adec4..90526fcefa 100644
--- a/tests/library/WT/FilterTest.php
+++ b/tests/library/WT/FilterTest.php
@@ -22,10 +22,11 @@ class FilterTest extends PHPUnit_Framework_TestCase {
}
/**
- * Test FooBar
+ * Test that the class exists
*
* @return void
*/
- public function testFooBar() {
+ public function testClassExists() {
+ $this->assertTrue(class_exists('\WT_Filter'));
}
}
diff --git a/tests/library/WT/FlashMessagesTest.php b/tests/library/WT/FlashMessagesTest.php
index 5759b6cff0..15850a528f 100644
--- a/tests/library/WT/FlashMessagesTest.php
+++ b/tests/library/WT/FlashMessagesTest.php
@@ -22,10 +22,11 @@ class FlashMessagesTest extends PHPUnit_Framework_TestCase {
}
/**
- * Test FooBar
+ * Test that the class exists
*
* @return void
*/
- public function testFooBar() {
+ public function testClassExists() {
+ $this->assertTrue(class_exists('\WT_FlashMessages'));
}
}
diff --git a/tests/library/WT/Gedcom/Code/GedcomCodeAdopTest.php b/tests/library/WT/Gedcom/Code/GedcomCodeAdopTest.php
index e0f5f344d2..4a7c1ebcc8 100644
--- a/tests/library/WT/Gedcom/Code/GedcomCodeAdopTest.php
+++ b/tests/library/WT/Gedcom/Code/GedcomCodeAdopTest.php
@@ -22,10 +22,11 @@ class GedcomCodeAdopTest extends PHPUnit_Framework_TestCase {
}
/**
- * Test FooBar
+ * Test that the class exists
*
* @return void
*/
- public function testFooBar() {
+ public function testClassExists() {
+ $this->assertTrue(class_exists('\WT_Gedcom_Code_Adop'));
}
}
diff --git a/tests/library/WT/Gedcom/Code/GedcomCodeNameTest.php b/tests/library/WT/Gedcom/Code/GedcomCodeNameTest.php
index 13ad3bfca3..df42643a11 100644
--- a/tests/library/WT/Gedcom/Code/GedcomCodeNameTest.php
+++ b/tests/library/WT/Gedcom/Code/GedcomCodeNameTest.php
@@ -22,10 +22,11 @@ class GedcomCodeNameTest extends PHPUnit_Framework_TestCase {
}
/**
- * Test FooBar
+ * Test that the class exists
*
* @return void
*/
- public function testFooBar() {
+ public function testClassExists() {
+ $this->assertTrue(class_exists('\WT_Gedcom_Code_Pedi'));
}
}
diff --git a/tests/library/WT/Gedcom/Code/GedcomCodePediTest.php b/tests/library/WT/Gedcom/Code/GedcomCodePediTest.php
index 5abc10a70a..b464a897c5 100644
--- a/tests/library/WT/Gedcom/Code/GedcomCodePediTest.php
+++ b/tests/library/WT/Gedcom/Code/GedcomCodePediTest.php
@@ -22,10 +22,11 @@ class GedcomCodePediTest extends PHPUnit_Framework_TestCase {
}
/**
- * Test FooBar
+ * Test that the class exists
*
* @return void
*/
- public function testFooBar() {
+ public function testClassExists() {
+ $this->assertTrue(class_exists('\WT_Gedcom_Code_Pedi'));
}
}
diff --git a/tests/library/WT/Gedcom/Code/GedcomCodeQuayTest.php b/tests/library/WT/Gedcom/Code/GedcomCodeQuayTest.php
index 3834654a51..7ed5aea3e8 100644
--- a/tests/library/WT/Gedcom/Code/GedcomCodeQuayTest.php
+++ b/tests/library/WT/Gedcom/Code/GedcomCodeQuayTest.php
@@ -22,10 +22,11 @@ class GedcomCodeQuayTest extends PHPUnit_Framework_TestCase {
}
/**
- * Test FooBar
+ * Test that the class exists
*
* @return void
*/
- public function testFooBar() {
+ public function testClassExists() {
+ $this->assertTrue(class_exists('\WT_Gedcom_Code_Quay'));
}
}
diff --git a/tests/library/WT/Gedcom/Code/GedcomCodeRelaTest.php b/tests/library/WT/Gedcom/Code/GedcomCodeRelaTest.php
index 10a86c0a82..2776ad0ed3 100644
--- a/tests/library/WT/Gedcom/Code/GedcomCodeRelaTest.php
+++ b/tests/library/WT/Gedcom/Code/GedcomCodeRelaTest.php
@@ -22,10 +22,11 @@ class GedcomCodeRelaTest extends PHPUnit_Framework_TestCase {
}
/**
- * Test FooBar
+ * Test that the class exists
*
* @return void
*/
- public function testFooBar() {
+ public function testClassExists() {
+ $this->assertTrue(class_exists('\WT_Gedcom_Code_Rela'));
}
}
diff --git a/tests/library/WT/Gedcom/Code/GedcomCodeStatTest.php b/tests/library/WT/Gedcom/Code/GedcomCodeStatTest.php
index 0b01000691..048e4a683e 100644
--- a/tests/library/WT/Gedcom/Code/GedcomCodeStatTest.php
+++ b/tests/library/WT/Gedcom/Code/GedcomCodeStatTest.php
@@ -22,10 +22,11 @@ class GedcomCodeStatTest extends PHPUnit_Framework_TestCase {
}
/**
- * Test FooBar
+ * Test that the class exists
*
* @return void
*/
- public function testFooBar() {
+ public function testClassExists() {
+ $this->assertTrue(class_exists('\WT_Gedcom_Code_Stat'));
}
}
diff --git a/tests/library/WT/Gedcom/Code/GedcomCodeTempTest.php b/tests/library/WT/Gedcom/Code/GedcomCodeTempTest.php
index 3621827b8d..9c1a978c4b 100644
--- a/tests/library/WT/Gedcom/Code/GedcomCodeTempTest.php
+++ b/tests/library/WT/Gedcom/Code/GedcomCodeTempTest.php
@@ -22,10 +22,11 @@ class GedcomCodeTempTest extends PHPUnit_Framework_TestCase {
}
/**
- * Test FooBar
+ * Test that the class exists
*
* @return void
*/
- public function testFooBar() {
+ public function testClassExists() {
+ $this->assertTrue(class_exists('\WT_Gedcom_Code_Temp'));
}
}
diff --git a/tests/library/WT/Gedcom/GedcomTagTest.php b/tests/library/WT/Gedcom/GedcomTagTest.php
index 09a21903f8..4d329de603 100644
--- a/tests/library/WT/Gedcom/GedcomTagTest.php
+++ b/tests/library/WT/Gedcom/GedcomTagTest.php
@@ -22,10 +22,11 @@ class GedcomTagTest extends PHPUnit_Framework_TestCase {
}
/**
- * Test FooBar
+ * Test that the class exists
*
* @return void
*/
- public function testFooBar() {
+ public function testClassExists() {
+ $this->assertTrue(class_exists('\WT_Gedcom_Tag'));
}
}
diff --git a/tests/library/WT/GedcomRecordTest.php b/tests/library/WT/GedcomRecordTest.php
index 52581a9456..3c6f97b013 100644
--- a/tests/library/WT/GedcomRecordTest.php
+++ b/tests/library/WT/GedcomRecordTest.php
@@ -22,10 +22,12 @@ class GedcomRecordTest extends PHPUnit_Framework_TestCase {
}
/**
- * Test FooBar
+ /**
+ * Test that the class exists
*
* @return void
*/
- public function testFooBar() {
+ public function testClassExists() {
+ $this->assertTrue(class_exists('\WT_GedcomRecord'));
}
}
diff --git a/tests/library/WT/I18NTest.php b/tests/library/WT/I18NTest.php
index e0c5dc6d63..d647e22ae9 100644
--- a/tests/library/WT/I18NTest.php
+++ b/tests/library/WT/I18NTest.php
@@ -26,6 +26,13 @@ class I18NTest extends PHPUnit_Framework_TestCase {
}
/**
+ * Test that the class exists
+ *
+ * @return void
+ */
+ public function testClassExists() {
+ $this->assertTrue(class_exists('\WT_I18N'));
+ } /**
* Test WT_I18N::strtoupper()
*
* @todo test all locales
diff --git a/tests/library/WT/IndividualTest.php b/tests/library/WT/IndividualTest.php
index f30d0c2bb3..fd58e9d0a7 100644
--- a/tests/library/WT/IndividualTest.php
+++ b/tests/library/WT/IndividualTest.php
@@ -22,10 +22,11 @@ class IndividualTest extends PHPUnit_Framework_TestCase {
}
/**
- * Test FooBar
+ * Test that the class exists
*
* @return void
*/
- public function testFooBar() {
+ public function testClassExists() {
+ $this->assertTrue(class_exists('\WT_Individual'));
}
}
diff --git a/tests/library/WT/LogTest.php b/tests/library/WT/LogTest.php
index 78bbd06ae3..96bc46f6f0 100644
--- a/tests/library/WT/LogTest.php
+++ b/tests/library/WT/LogTest.php
@@ -22,10 +22,11 @@ class LogTest extends PHPUnit_Framework_TestCase {
}
/**
- * Test FooBar
+ * Test that the class exists
*
* @return void
*/
- public function testFooBar() {
+ public function testClassExists() {
+ $this->assertTrue(class_exists('\WT\Log'));
}
}
diff --git a/tests/library/WT/MailTest.php b/tests/library/WT/MailTest.php
index 057f8df40d..5cb985ebef 100644
--- a/tests/library/WT/MailTest.php
+++ b/tests/library/WT/MailTest.php
@@ -22,10 +22,11 @@ class MailTest extends PHPUnit_Framework_TestCase {
}
/**
- * Test FooBar
+ * Test that the class exists
*
* @return void
*/
- public function testFooBar() {
+ public function testClassExists() {
+ $this->assertTrue(class_exists('\WT_Mail'));
}
}
diff --git a/tests/library/WT/MediaTest.php b/tests/library/WT/MediaTest.php
index 3152d0d3c6..aea7b8f225 100644
--- a/tests/library/WT/MediaTest.php
+++ b/tests/library/WT/MediaTest.php
@@ -22,10 +22,11 @@ class MediaTest extends PHPUnit_Framework_TestCase {
}
/**
- * Test FooBar
+ * Test that the class exists
*
* @return void
*/
- public function testFooBar() {
+ public function testClassExists() {
+ $this->assertTrue(class_exists('\WT_Media'));
}
}
diff --git a/tests/library/WT/MenuBarTest.php b/tests/library/WT/MenuBarTest.php
index 8f7a0bedd3..4fd5f9c16c 100644
--- a/tests/library/WT/MenuBarTest.php
+++ b/tests/library/WT/MenuBarTest.php
@@ -22,10 +22,11 @@ class MenuBarTest extends PHPUnit_Framework_TestCase {
}
/**
- * Test FooBar
+ * Test that the class exists
*
* @return void
*/
- public function testFooBar() {
+ public function testClassExists() {
+ $this->assertTrue(class_exists('\WT_MenuBar'));
}
}
diff --git a/tests/library/WT/MenuTest.php b/tests/library/WT/MenuTest.php
index e978581db6..58a0055078 100644
--- a/tests/library/WT/MenuTest.php
+++ b/tests/library/WT/MenuTest.php
@@ -22,10 +22,11 @@ class MenuTest extends PHPUnit_Framework_TestCase {
}
/**
- * Test FooBar
+ * Test that the class exists
*
* @return void
*/
- public function testFooBar() {
+ public function testClassExists() {
+ $this->assertTrue(class_exists('\WT_Menu'));
}
}
diff --git a/tests/library/WT/Module/ModuleBlockTest.php b/tests/library/WT/Module/ModuleBlockTest.php
index 2ec1ef71b2..3888e2a71d 100644
--- a/tests/library/WT/Module/ModuleBlockTest.php
+++ b/tests/library/WT/Module/ModuleBlockTest.php
@@ -22,10 +22,11 @@ class ModuleBlockTest extends PHPUnit_Framework_TestCase {
}
/**
- * Test FooBar
+ * Test that the class exists
*
* @return void
*/
- public function testFooBar() {
+ public function testClassExists() {
+ $this->assertTrue(interface_exists('\WT_Module_Block'));
}
}
diff --git a/tests/library/WT/Module/ModuleChartTest.php b/tests/library/WT/Module/ModuleChartTest.php
index d373da9c31..6765737c05 100644
--- a/tests/library/WT/Module/ModuleChartTest.php
+++ b/tests/library/WT/Module/ModuleChartTest.php
@@ -22,10 +22,11 @@ class ModuleChartTest extends PHPUnit_Framework_TestCase {
}
/**
- * Test FooBar
+ * Test that the class exists
*
* @return void
*/
- public function testFooBar() {
+ public function testClassExists() {
+ $this->assertTrue(interface_exists('\WT_Module_Chart'));
}
}
diff --git a/tests/library/WT/Module/ModuleConfigTest.php b/tests/library/WT/Module/ModuleConfigTest.php
index 16a8006600..3615ba0b8b 100644
--- a/tests/library/WT/Module/ModuleConfigTest.php
+++ b/tests/library/WT/Module/ModuleConfigTest.php
@@ -22,10 +22,11 @@ class ModuleConfigTest extends PHPUnit_Framework_TestCase {
}
/**
- * Test FooBar
+ * Test that the class exists
*
* @return void
*/
- public function testFooBar() {
+ public function testClassExists() {
+ $this->assertTrue(interface_exists('\WT_Module_Config'));
}
}
diff --git a/tests/library/WT/Module/ModuleMenuTest.php b/tests/library/WT/Module/ModuleMenuTest.php
index 7afaec7a84..784e8f9ca4 100644
--- a/tests/library/WT/Module/ModuleMenuTest.php
+++ b/tests/library/WT/Module/ModuleMenuTest.php
@@ -22,10 +22,11 @@ class ModuleMenuTest extends PHPUnit_Framework_TestCase {
}
/**
- * Test FooBar
+ * Test that the class exists
*
* @return void
*/
- public function testFooBar() {
+ public function testClassExists() {
+ $this->assertTrue(interface_exists('\WT_Module_Menu'));
}
}
diff --git a/tests/library/WT/Module/ModuleReportTest.php b/tests/library/WT/Module/ModuleReportTest.php
index edfa8b4e24..8b0ea1f13a 100644
--- a/tests/library/WT/Module/ModuleReportTest.php
+++ b/tests/library/WT/Module/ModuleReportTest.php
@@ -22,10 +22,11 @@ class ModuleReportTest extends PHPUnit_Framework_TestCase {
}
/**
- * Test FooBar
+ * Test that the class exists
*
* @return void
*/
- public function testFooBar() {
+ public function testClassExists() {
+ $this->assertTrue(interface_exists('\WT_Module_Report'));
}
}
diff --git a/tests/library/WT/Module/ModuleSidebarTest.php b/tests/library/WT/Module/ModuleSidebarTest.php
index fa369504df..dd011fe1da 100644
--- a/tests/library/WT/Module/ModuleSidebarTest.php
+++ b/tests/library/WT/Module/ModuleSidebarTest.php
@@ -22,10 +22,11 @@ class ModuleSidebarTest extends PHPUnit_Framework_TestCase {
}
/**
- * Test FooBar
+ * Test that the class exists
*
* @return void
*/
- public function testFooBar() {
+ public function testClassExists() {
+ $this->assertTrue(interface_exists('\WT_Module_Sidebar'));
}
}
diff --git a/tests/library/WT/Module/ModuleTabTest.php b/tests/library/WT/Module/ModuleTabTest.php
index cfb6449da2..f292f6aff6 100644
--- a/tests/library/WT/Module/ModuleTabTest.php
+++ b/tests/library/WT/Module/ModuleTabTest.php
@@ -22,10 +22,11 @@ class ModuleTabTest extends PHPUnit_Framework_TestCase {
}
/**
- * Test FooBar
+ * Test that the class exists
*
* @return void
*/
- public function testFooBar() {
+ public function testClassExists() {
+ $this->assertTrue(interface_exists('\WT_Module_Tab'));
}
}
diff --git a/tests/library/WT/Module/ModuleThemeTest.php b/tests/library/WT/Module/ModuleThemeTest.php
index f32dd7c12b..91f91d8df7 100644
--- a/tests/library/WT/Module/ModuleThemeTest.php
+++ b/tests/library/WT/Module/ModuleThemeTest.php
@@ -22,10 +22,11 @@ class ModuleThemeTest extends PHPUnit_Framework_TestCase {
}
/**
- * Test FooBar
+ * Test that the class exists
*
* @return void
*/
- public function testFooBar() {
+ public function testClassExists() {
+ $this->assertTrue(interface_exists('\WT_Module_Theme'));
}
}
diff --git a/tests/library/WT/ModuleTest.php b/tests/library/WT/ModuleTest.php
index 7171855076..af9291df3f 100644
--- a/tests/library/WT/ModuleTest.php
+++ b/tests/library/WT/ModuleTest.php
@@ -22,10 +22,11 @@ class ModuleTest extends PHPUnit_Framework_TestCase {
}
/**
- * Test FooBar
+ * Test that the class exists
*
* @return void
*/
- public function testFooBar() {
+ public function testClassExists() {
+ $this->assertTrue(class_exists('\WT_Module'));
}
}
diff --git a/tests/library/WT/NoteTest.php b/tests/library/WT/NoteTest.php
index d9e2c6a682..966c1fbe25 100644
--- a/tests/library/WT/NoteTest.php
+++ b/tests/library/WT/NoteTest.php
@@ -22,10 +22,11 @@ class NoteTest extends PHPUnit_Framework_TestCase {
}
/**
- * Test FooBar
+ * Test that the class exists
*
* @return void
*/
- public function testFooBar() {
+ public function testClassExists() {
+ $this->assertTrue(class_exists('\WT_Note'));
}
}
diff --git a/tests/library/WT/PlaceTest.php b/tests/library/WT/PlaceTest.php
index 9b41ec1cc9..beb251101e 100644
--- a/tests/library/WT/PlaceTest.php
+++ b/tests/library/WT/PlaceTest.php
@@ -22,10 +22,11 @@ class PlaceTest extends PHPUnit_Framework_TestCase {
}
/**
- * Test FooBar
+ * Test that the class exists
*
* @return void
*/
- public function testFooBar() {
+ public function testClassExists() {
+ $this->assertTrue(class_exists('\WT_Place'));
}
}
diff --git a/tests/library/WT/Query/QueryAdminTest.php b/tests/library/WT/Query/QueryAdminTest.php
index c5ea114731..6a837a10bd 100644
--- a/tests/library/WT/Query/QueryAdminTest.php
+++ b/tests/library/WT/Query/QueryAdminTest.php
@@ -22,10 +22,11 @@ class QueryAdminTest extends PHPUnit_Framework_TestCase {
}
/**
- * Test FooBar
+ * Test that the class exists
*
* @return void
*/
- public function testFooBar() {
+ public function testClassExists() {
+ $this->assertTrue(class_exists('\WT_Query_Admin'));
}
}
diff --git a/tests/library/WT/Query/QueryMediaTest.php b/tests/library/WT/Query/QueryMediaTest.php
index f19095dc02..27f58d400d 100644
--- a/tests/library/WT/Query/QueryMediaTest.php
+++ b/tests/library/WT/Query/QueryMediaTest.php
@@ -22,10 +22,11 @@ class QueryMediaTest extends PHPUnit_Framework_TestCase {
}
/**
- * Test FooBar
+ * Test that the class exists
*
* @return void
*/
- public function testFooBar() {
+ public function testClassExists() {
+ $this->assertTrue(class_exists('\WT_Query_Media'));
}
}
diff --git a/tests/library/WT/Query/QueryNameTest.php b/tests/library/WT/Query/QueryNameTest.php
index e0085905b9..41d3b8bf40 100644
--- a/tests/library/WT/Query/QueryNameTest.php
+++ b/tests/library/WT/Query/QueryNameTest.php
@@ -22,10 +22,11 @@ class QueryNameTest extends PHPUnit_Framework_TestCase {
}
/**
- * Test FooBar
+ * Test that the class exists
*
* @return void
*/
- public function testFooBar() {
+ public function testClassExists() {
+ $this->assertTrue(class_exists('\WT_Query_Name'));
}
}
diff --git a/tests/library/WT/Report/ReportBaseTest.php b/tests/library/WT/Report/ReportBaseTest.php
index c4797b7022..0c3c470e2f 100644
--- a/tests/library/WT/Report/ReportBaseTest.php
+++ b/tests/library/WT/Report/ReportBaseTest.php
@@ -22,10 +22,11 @@ class ReportBaseTest extends PHPUnit_Framework_TestCase {
}
/**
- * Test FooBar
+ * Test that the class exists
*
* @return void
*/
- public function testFooBar() {
+ public function testClassExists() {
+ $this->assertTrue(class_exists('\WT_Report_Base'));
}
}
diff --git a/tests/library/WT/Report/ReportHTMLTest.php b/tests/library/WT/Report/ReportHTMLTest.php
index e4672fe0b5..863c1341d4 100644
--- a/tests/library/WT/Report/ReportHTMLTest.php
+++ b/tests/library/WT/Report/ReportHTMLTest.php
@@ -22,10 +22,11 @@ class ReportHTMLTest extends PHPUnit_Framework_TestCase {
}
/**
- * Test FooBar
+ * Test that the class exists
*
* @return void
*/
- public function testFooBar() {
+ public function testClassExists() {
+ $this->assertTrue(class_exists('\WT_Report_HTML'));
}
}
diff --git a/tests/library/WT/Report/ReportPDFTest.php b/tests/library/WT/Report/ReportPDFTest.php
index dfcd873fc1..2f99c128cf 100644
--- a/tests/library/WT/Report/ReportPDFTest.php
+++ b/tests/library/WT/Report/ReportPDFTest.php
@@ -22,10 +22,11 @@ class ReportPDFTest extends PHPUnit_Framework_TestCase {
}
/**
- * Test FooBar
+ * Test that the class exists
*
* @return void
*/
- public function testFooBar() {
+ public function testClassExists() {
+ $this->assertTrue(class_exists('\WT_Report_PDF'));
}
}
diff --git a/tests/library/WT/RepositoryTest.php b/tests/library/WT/RepositoryTest.php
index 84e4b5290a..6285c2a95a 100644
--- a/tests/library/WT/RepositoryTest.php
+++ b/tests/library/WT/RepositoryTest.php
@@ -22,10 +22,11 @@ class RepositoryTest extends PHPUnit_Framework_TestCase {
}
/**
- * Test FooBar
+ * Test that the class exists
*
* @return void
*/
- public function testFooBar() {
+ public function testClassExists() {
+ $this->assertTrue(class_exists('\WT_Repository'));
}
}
diff --git a/tests/library/WT/SiteTest.php b/tests/library/WT/SiteTest.php
index f9617813e5..d8e731cedb 100644
--- a/tests/library/WT/SiteTest.php
+++ b/tests/library/WT/SiteTest.php
@@ -22,10 +22,11 @@ class SiteTest extends PHPUnit_Framework_TestCase {
}
/**
- * Test FooBar
+ * Test that the class exists
*
* @return void
*/
- public function testFooBar() {
+ public function testClassExists() {
+ $this->assertTrue(class_exists('\WT_Site'));
}
}
diff --git a/tests/library/WT/SoundexTest.php b/tests/library/WT/SoundexTest.php
index f6d3b06f0e..e019a201c8 100644
--- a/tests/library/WT/SoundexTest.php
+++ b/tests/library/WT/SoundexTest.php
@@ -22,10 +22,11 @@ class SoundexTest extends PHPUnit_Framework_TestCase {
}
/**
- * Test FooBar
+ * Test that the class exists
*
* @return void
*/
- public function testFooBar() {
+ public function testClassExists() {
+ $this->assertTrue(class_exists('\WT_Soundex'));
}
}
diff --git a/tests/library/WT/SourceTest.php b/tests/library/WT/SourceTest.php
index 756806cb88..f233097efd 100644
--- a/tests/library/WT/SourceTest.php
+++ b/tests/library/WT/SourceTest.php
@@ -22,10 +22,11 @@ class SourceTest extends PHPUnit_Framework_TestCase {
}
/**
- * Test extracting the name from a source record
+ * Test that the class exists
*
* @return void
*/
- public function testExtractName() {
+ public function testClassExists() {
+ $this->assertTrue(class_exists('\WT_Source'));
}
}
diff --git a/tests/library/WT/StatsTest.php b/tests/library/WT/StatsTest.php
index 7116870c8a..61b8f55297 100644
--- a/tests/library/WT/StatsTest.php
+++ b/tests/library/WT/StatsTest.php
@@ -22,10 +22,11 @@ class StatsTest extends PHPUnit_Framework_TestCase {
}
/**
- * Test FooBar
+ * Test that the class exists
*
* @return void
*/
- public function testFooBar() {
+ public function testClassExists() {
+ $this->assertTrue(class_exists('\WT_Stats'));
}
}
diff --git a/tests/library/WT/TreeTest.php b/tests/library/WT/TreeTest.php
index 3067b38617..2decb51657 100644
--- a/tests/library/WT/TreeTest.php
+++ b/tests/library/WT/TreeTest.php
@@ -22,10 +22,11 @@ class TreeTest extends PHPUnit_Framework_TestCase {
}
/**
- * Test FooBar
+ * Test that the class exists
*
* @return void
*/
- public function testFooBar() {
+ public function testClassExists() {
+ $this->assertTrue(class_exists('\WT_Tree'));
}
}
diff --git a/tests/library/WT/UserTest.php b/tests/library/WT/UserTest.php
index 9b87e04936..0516a62291 100644
--- a/tests/library/WT/UserTest.php
+++ b/tests/library/WT/UserTest.php
@@ -22,10 +22,11 @@ class UserTest extends PHPUnit_Framework_TestCase {
}
/**
- * Test FooBar
+ * Test that the class exists
*
* @return void
*/
- public function testFooBar() {
+ public function testClassExists() {
+ $this->assertTrue(class_exists('\WT\User'));
}
}