diff options
| author | Greg Roach <fisharebest@gmail.com> | 2014-08-25 19:17:13 +0100 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2014-08-26 15:12:34 +0100 |
| commit | 3344c7f9d5916db002d54f3565cc61f74a94b2be (patch) | |
| tree | 29618b643761e1c65dfce8e95cf05876cc8a00e2 /tests | |
| parent | 6257370d0a72962f1dacf4fa8e1c633028405b67 (diff) | |
| download | webtrees-3344c7f9d5916db002d54f3565cc61f74a94b2be.tar.gz webtrees-3344c7f9d5916db002d54f3565cc61f74a94b2be.tar.bz2 webtrees-3344c7f9d5916db002d54f3565cc61f74a94b2be.zip | |
Initial framework for unit tests
Diffstat (limited to 'tests')
95 files changed, 4675 insertions, 0 deletions
diff --git a/tests/includes/AuthenticationTest.php b/tests/includes/AuthenticationTest.php new file mode 100644 index 0000000000..b4180ad71e --- /dev/null +++ b/tests/includes/AuthenticationTest.php @@ -0,0 +1,114 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Unit tests for the global functions in the file includes/authentication.php + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class AuthenticationTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + require_once 'includes/authentication.php'; + } + + /** + * Test that function getUserFullName() exists in the global namespace. + * + * @return void + */ + public function testFunctionGetUserFullNameExists() { + $this->assertEquals(function_exists('\\getUserFullName'), true); + } + + /** + * Test that function AddToSearchLog() exists in the global namespace. + * + * @return void + */ + public function testFunctionAddToSearchLogExists() { + $this->assertEquals(function_exists('\\AddToSearchLog'), true); + } + + /** + * Test that function addMessage() exists in the global namespace. + * + * @return void + */ + public function testFunctionAddMessageExists() { + $this->assertEquals(function_exists('\\addMessage'), true); + } + + /** + * Test that function deleteMessage() exists in the global namespace. + * + * @return void + */ + public function testFunctionDeleteMessageExists() { + $this->assertEquals(function_exists('\\deleteMessage'), true); + } + + /** + * Test that function getUserMessages() exists in the global namespace. + * + * @return void + */ + public function testFunctionGetUserMessagesExists() { + $this->assertEquals(function_exists('\\getUserMessages'), true); + } + + /** + * Test that function addNews() exists in the global namespace. + * + * @return void + */ + public function testFunctionAddNewsExists() { + $this->assertEquals(function_exists('\\addNews'), true); + } + + /** + * Test that function deleteNews() exists in the global namespace. + * + * @return void + */ + public function testFunctionDeleteNewsExists() { + $this->assertEquals(function_exists('\\deleteNews'), true); + } + + /** + * Test that function getUserNews() exists in the global namespace. + * + * @return void + */ + public function testFunctionGetUserNewsExists() { + $this->assertEquals(function_exists('\\getUserNews'), true); + } + + /** + * Test that function getGedcomNews() exists in the global namespace. + * + * @return void + */ + public function testFunctionGetGedcomNewsExists() { + $this->assertEquals(function_exists('\\getGedcomNews'), true); + } + + /** + * Test that function getNewsItem() exists in the global namespace. + * + * @return void + */ + public function testFunctionGetNewsItemExists() { + $this->assertEquals(function_exists('\\getNewsItem'), true); + } +} diff --git a/tests/includes/functions/FunctionsChartsTest.php b/tests/includes/functions/FunctionsChartsTest.php new file mode 100644 index 0000000000..2e32e612c0 --- /dev/null +++ b/tests/includes/functions/FunctionsChartsTest.php @@ -0,0 +1,96 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Unit tests for the global functions in the file includes/functions/functions_charts.php + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class FunctionsChartsTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + require_once 'includes/functions/functions_charts.php'; + } + + /** + * Test that function print_sosa_number() exists in the global namespace. + * + * @return void + */ + public function testFunctionPrintSosaNumberExists() { + $this->assertEquals(function_exists('\\print_sosa_number'), true); + } + + /** + * Test that function print_family_children() exists in the global namespace. + * + * @return void + */ + public function testFunctionPrintFamilyParentsExists() { + $this->assertEquals(function_exists('\\print_family_children'), true); + } + + /** + * Test that function print_family_children() exists in the global namespace. + * + * @return void + */ + public function testFunctionPrintFamilyChildrenExists() { + $this->assertEquals(function_exists('\\print_family_children'), true); + } + + /** + * Test that function print_sosa_family() exists in the global namespace. + * + * @return void + */ + public function testFunctionPrintSosaFamilyExists() { + $this->assertEquals(function_exists('\\print_sosa_family'), true); + } + + /** + * Test that function ancestry_array() exists in the global namespace. + * + * @return void + */ + public function testFunctionAncestryArrayExists() { + $this->assertEquals(function_exists('\\ancestry_array'), true); + } + + /** + * Test that function print_url_arrow() exists in the global namespace. + * + * @return void + */ + public function testFunctionPrintUrlArrowExists() { + $this->assertEquals(function_exists('\\print_url_arrow'), true); + } + + /** + * Test that function get_sosa_name() exists in the global namespace. + * + * @return void + */ + public function testFunctionGetSosaNameExists() { + $this->assertEquals(function_exists('\\get_sosa_name'), true); + } + + /** + * Test that function print_cousins() exists in the global namespace. + * + * @return void + */ + public function testFunctionPrintCousinsExists() { + $this->assertEquals(function_exists('\\print_cousins'), true); + } +} diff --git a/tests/includes/functions/FunctionsDateTest.php b/tests/includes/functions/FunctionsDateTest.php new file mode 100644 index 0000000000..c603808e93 --- /dev/null +++ b/tests/includes/functions/FunctionsDateTest.php @@ -0,0 +1,60 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Unit tests for the global functions in the file includes/functions/functions_date.php + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class FunctionsDateTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + require_once 'includes/functions/functions_date.php'; + } + + /** + * Test that function get_age_at_event() exists in the global namespace. + * + * @return void + */ + public function testFunctionGetAgeAtEventExists() { + $this->assertEquals(function_exists('\\get_age_at_event'), true); + } + + /** + * Test that function parse_time() exists in the global namespace. + * + * @return void + */ + public function testFunctionParseTimeExists() { + $this->assertEquals(function_exists('\\parse_time'), true); + } + + /** + * Test that function format_timestamp() exists in the global namespace. + * + * @return void + */ + public function testFunctionFormatTimestampExists() { + $this->assertEquals(function_exists('\\format_timestamp'), true); + } + + /** + * Test that function timestamp_to_gedcom_date() exists in the global namespace. + * + * @return void + */ + public function testFunctionTimestampToGedcomDateExists() { + $this->assertEquals(function_exists('\\timestamp_to_gedcom_date'), true); + } +} diff --git a/tests/includes/functions/FunctionsDbTest.php b/tests/includes/functions/FunctionsDbTest.php new file mode 100644 index 0000000000..93a2ef0069 --- /dev/null +++ b/tests/includes/functions/FunctionsDbTest.php @@ -0,0 +1,339 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Unit tests for the global functions in the file includes/functions/functions_db.php + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class FunctionsDbTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + require_once 'includes/functions/functions_db.php'; + } + + /** + * Test that function fetch_all_links() exists in the global namespace. + * + * @return void + */ + public function testFunctionFetchAllLinksExists() { + $this->assertEquals(function_exists('\\fetch_all_links'), true); + } + + /** + * Test that function exists_pending_change() exists in the global namespace. + * + * @return void + */ + public function testFunctionExistsPendingChangeExists() { + $this->assertEquals(function_exists('\\exists_pending_change'), true); + } + + /** + * Test that function get_source_list() exists in the global namespace. + * + * @return void + */ + public function testFunctionGetSourceListExists() { + $this->assertEquals(function_exists('\\get_source_list'), true); + } + + /** + * Test that function get_repo_list() exists in the global namespace. + * + * @return void + */ + public function testFunctionGetRepoListExists() { + $this->assertEquals(function_exists('\\get_repo_list'), true); + } + + /** + * Test that function get_note_list() exists in the global namespace. + * + * @return void + */ + public function testFunctionGetNoteListExists() { + $this->assertEquals(function_exists('\\get_note_list'), true); + } + + /** + * Test that function search_indis_custom() exists in the global namespace. + * + * @return void + */ + public function testFunctionSearchIndisCustomExists() { + $this->assertEquals(function_exists('\\search_indis_custom'), true); + } + + /** + * Test that function search_fams_custom() exists in the global namespace. + * + * @return void + */ + public function testFunctionSearchFamsCustomExists() { + $this->assertEquals(function_exists('\\search_fams_custom'), true); + } + + /** + * Test that function search_indis() exists in the global namespace. + * + * @return void + */ + public function testFunctionSearchIndisExists() { + $this->assertEquals(function_exists('\\search_indis'), true); + } + + /** + * Test that function search_indis_names() exists in the global namespace. + * + * @return void + */ + public function testFunctionSearchIndisNamesExists() { + $this->assertEquals(function_exists('\\search_indis_names'), true); + } + + /** + * Test that function search_indis_soundex() exists in the global namespace. + * + * @return void + */ + public function testFunctionSearchIndisSoundexExists() { + $this->assertEquals(function_exists('\\search_indis_soundex'), true); + } + + /** + * Test that function get_recent_changes() exists in the global namespace. + * + * @return void + */ + public function testFunctionGetRecentChangesExists() { + $this->assertEquals(function_exists('\\get_recent_changes'), true); + } + + /** + * Test that function search_indis_dates() exists in the global namespace. + * + * @return void + */ + public function testFunctionSearchIndisDatesExists() { + $this->assertEquals(function_exists('\\search_indis_dates'), true); + } + + /** + * Test that function search_fams() exists in the global namespace. + * + * @return void + */ + public function testFunctionSearchFamsExists() { + $this->assertEquals(function_exists('\\search_fams'), true); + } + + /** + * Test that function search_fams_names() exists in the global namespace. + * + * @return void + */ + public function testFunctionSearchFamsNamesExists() { + $this->assertEquals(function_exists('\\search_fams_names'), true); + } + + /** + * Test that function search_sources() exists in the global namespace. + * + * @return void + */ + public function testFunctionSearchSourcesExists() { + $this->assertEquals(function_exists('\\search_sources'), true); + } + + /** + * Test that function search_notes() exists in the global namespace. + * + * @return void + */ + public function testFunctionSearchNotesExists() { + $this->assertEquals(function_exists('\\search_notes'), true); + } + + /** + * Test that function search_repos() exists in the global namespace. + * + * @return void + */ + public function testFunctionSearchReposExists() { + $this->assertEquals(function_exists('\\search_repos'), true); + } + + /** + * Test that function find_rin_id() exists in the global namespace. + * + * @return void + */ + public function testFunctionFindRinIdExists() { + $this->assertEquals(function_exists('\\find_rin_id'), true); + } + + /** + * Test that function get_common_surnames() exists in the global namespace. + * + * @return void + */ + public function testFunctionGetCommonSurnamesExists() { + $this->assertEquals(function_exists('\\get_common_surnames'), true); + } + + /** + * Test that function get_top_surnames() exists in the global namespace. + * + * @return void + */ + public function testFunctionGetTopSurnamesExists() { + $this->assertEquals(function_exists('\\get_top_surnames'), true); + } + + /** + * Test that function get_anniversary_events() exists in the global namespace. + * + * @return void + */ + public function testFunctionGetAnniversaryEventsExists() { + $this->assertEquals(function_exists('\\get_anniversary_events'), true); + } + + /** + * Test that function get_calendar_events() exists in the global namespace. + * + * @return void + */ + public function testFunctionGetCalendarEventsExists() { + $this->assertEquals(function_exists('\\get_calendar_events'), true); + } + + /** + * Test that function is_media_used_in_other_gedcom() exists in the global namespace. + * + * @return void + */ + public function testFunctionIsMediaUsedInOtherGedcomExists() { + $this->assertEquals(function_exists('\\is_media_used_in_other_gedcom'), true); + } + + /** + * Test that function get_gedcom_from_id() exists in the global namespace. + * + * @return void + */ + public function testFunctionGetGedcomFromIdExists() { + $this->assertEquals(function_exists('\\get_gedcom_from_id'), true); + } + + /** + * Test that function get_id_from_gedcom() exists in the global namespace. + * + * @return void + */ + public function testFunctionGetIdFromGedcomExists() { + $this->assertEquals(function_exists('\\get_id_from_gedcom'), true); + } + + /** + * Test that function get_gedcom_setting() exists in the global namespace. + * + * @return void + */ + public function testFunctionGetGedcomSettingExists() { + $this->assertEquals(function_exists('\\get_gedcom_setting'), true); + } + + /** + * Test that function set_gedcom_setting() exists in the global namespace. + * + * @return void + */ + public function testFunctionSetGedcomSettingExists() { + $this->assertEquals(function_exists('\\set_gedcom_setting'), true); + } + + /** + * Test that function get_user_blocks() exists in the global namespace. + * + * @return void + */ + public function testFunctionGetUserBlocksExists() { + $this->assertEquals(function_exists('\\get_user_blocks'), true); + } + + /** + * Test that function get_gedcom_blocks() exists in the global namespace. + * + * @return void + */ + public function testFunctionGetGedcomBlocksExists() { + $this->assertEquals(function_exists('\\get_gedcom_blocks'), true); + } + + /** + * Test that function get_block_setting() exists in the global namespace. + * + * @return void + */ + public function testFunctionGetBlockSettingExists() { + $this->assertEquals(function_exists('\\get_block_setting'), true); + } + + /** + * Test that function set_block_setting() exists in the global namespace. + * + * @return void + */ + public function testFunctionSetBlockSettingExists() { + $this->assertEquals(function_exists('\\set_block_setting'), true); + } + + /** + * Test that function get_module_setting() exists in the global namespace. + * + * @return void + */ + public function testFunctionGetModuleSettingExists() { + $this->assertEquals(function_exists('\\get_module_setting'), true); + } + + /** + * Test that function set_module_setting() exists in the global namespace. + * + * @return void + */ + public function testFunctionSetModuleSettingExists() { + $this->assertEquals(function_exists('\\set_module_setting'), true); + } + + /** + * Test that function update_favorites() exists in the global namespace. + * + * @return void + */ + public function testFunctionUpdateFavoritesExists() { + $this->assertEquals(function_exists('\\update_favorites'), true); + } + + /** + * Test that function get_events_list() exists in the global namespace. + * + * @return void + */ + public function testFunctionGetEventsListExists() { + $this->assertEquals(function_exists('\\get_events_list'), true); + } +} diff --git a/tests/includes/functions/FunctionsEditTest.php b/tests/includes/functions/FunctionsEditTest.php new file mode 100644 index 0000000000..afcc7980a3 --- /dev/null +++ b/tests/includes/functions/FunctionsEditTest.php @@ -0,0 +1,395 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Unit tests for the global functions in the file includes/functions/functions_edit.php + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class FunctionsEditTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + defined('WT_ROOT') || define('WT_ROOT', ''); + require_once 'includes/functions/functions_edit.php'; + } + + /** + * Test that function edit_field_inline() exists in the global namespace. + * + * @return void + */ + public function testFunctionEditFieldInlineExists() { + $this->assertEquals(function_exists('\\edit_field_inline'), true); + } + + /** + * Test that function edit_text_inline() exists in the global namespace. + * + * @return void + */ + public function testFunctionEditTextInlineExists() { + $this->assertEquals(function_exists('\\edit_text_inline'), true); + } + + /** + * Test that function select_edit_control() exists in the global namespace. + * + * @return void + */ + public function testFunctionSelectEditControlExists() { + $this->assertEquals(function_exists('\\select_edit_control'), true); + } + + /** + * Test that function select_edit_control_inline() exists in the global namespace. + * + * @return void + */ + public function testFunctionSelectEditControlInlineExists() { + $this->assertEquals(function_exists('\\select_edit_control_inline'), true); + } + + /** + * Test that function radio_buttons() exists in the global namespace. + * @return void + * + * @return void + */ + public function testFunctionRadioButtonsExists() { + $this->assertEquals(function_exists('\\radio_buttons'), true); + } + + /** + * Test that function edit_field_yes_no() exists in the global namespace. + * + * @return void + */ + public function testFunctionEditFieldYesNoExists() { + $this->assertEquals(function_exists('\\edit_field_yes_no'), true); + } + + /** + * Test that function checkbox() exists in the global namespace. + * + * @return void + */ + public function testFunctionCheckboxExists() { + $this->assertEquals(function_exists('\\checkbox'), true); + } + + /** + * Test that function two_state_checkbox() exists in the global namespace. + * + * @return void + */ + public function testFunctionTwoStateCheckboxExists() { + $this->assertEquals(function_exists('\\two_state_checkbox'), true); + } + + /** + * Test that function edit_language_checkboxes() exists in the global namespace. + * + * @return void + */ + public function testFunctionEditLanguageCheckboxesExists() { + $this->assertEquals(function_exists('\\edit_language_checkboxes'), true); + } + + /** + * Test that function edit_field_access_level() exists in the global namespace. + * + * @return void + */ + public function testFunctionEditFieldAccessLevelExists() { + $this->assertEquals(function_exists('\\edit_field_access_level'), true); + } + + /** + * Test that function edit_field_resn() exists in the global namespace. + * + * @return void + */ + public function testFunctionEditFieldResnExists() { + $this->assertEquals(function_exists('\\edit_field_resn'), true); + } + + /** + * Test that function edit_field_contact() exists in the global namespace. + * + * @return void + */ + public function testFunctionEditFieldContactExists() { + $this->assertEquals(function_exists('\\edit_field_contact'), true); + } + + /** + * Test that function edit_field_contact_inline() exists in the global namespace. + * + * @return void + */ + public function testFunctionEditFieldContactInlineExists() { + $this->assertEquals(function_exists('\\edit_field_contact_inline'), true); + } + + /** + * Test that function edit_field_language() exists in the global namespace. + * + * @return void + */ + public function testFunctionEditFieldLangaugeExists() { + $this->assertEquals(function_exists('\\edit_field_language'), true); + } + + /** + * Test that function edit_field_language_inline() exists in the global namespace. + * + * @return void + */ + public function testFunctionEditFieldLanguageInlineExists() { + $this->assertEquals(function_exists('\\edit_field_language_inline'), true); + } + + /** + * Test that function edit_field_integers() exists in the global namespace. + * + * @return void + */ + public function testFunctionEditFieldIntegersExists() { + $this->assertEquals(function_exists('\\edit_field_integers'), true); + } + + /** + * Test that function edit_field_username() exists in the global namespace. + * + * @return void + */ + public function testFunctionEditFieldUsernameExists() { + $this->assertEquals(function_exists('\\edit_field_username'), true); + } + + /** + * Test that function edit_field_adop() exists in the global namespace. + * + * @return void + */ + public function testFunctionEditFieldAdopExists() { + $this->assertEquals(function_exists('\\edit_field_adop'), true); + } + + /** + * Test that function edit_field_pedi() exists in the global namespace. + * + * @return void + */ + public function testFunctionEditFieldPediExists() { + $this->assertEquals(function_exists('\\edit_field_pedi'), true); + } + + /** + * Test that function edit_field_name_type() exists in the global namespace. + * + * @return void + */ + public function testFunctionEditFieldNameTypeExists() { + $this->assertEquals(function_exists('\\edit_field_name_type'), true); + } + + /** + * Test that function edit_field_rela() exists in the global namespace. + * + * @return void + */ + public function testFunctionEditFieldRelaExists() { + $this->assertEquals(function_exists('\\edit_field_rela'), true); + } + + /** + * Test that function remove_links() exists in the global namespace. + * + * @return void + */ + public function testFunctionRemoveLinksExists() { + $this->assertEquals(function_exists('\\remove_links'), true); + } + + /** + * Test that function print_calendar_popup() exists in the global namespace. + * + * @return void + */ + public function testFunctionPrintCalendarPopupExists() { + $this->assertEquals(function_exists('\\print_calendar_popup'), true); + } + + /** + * Test that function print_addnewmedia_link() exists in the global namespace. + * + * @return void + */ + public function testFunctionPrintAddnewmediaLinkExists() { + $this->assertEquals(function_exists('\\print_addnewmedia_link'), true); + } + + /** + * Test that function print_addnewrepository_link() exists in the global namespace. + * + * @return void + */ + public function testFunctionPrintAddnewrepositoryLinkExists() { + $this->assertEquals(function_exists('\\print_addnewrepository_link'), true); + } + + /** + * Test that function print_addnewnote_link() exists in the global namespace. + * + * @return void + */ + public function testFunctionPrintAddnewnoteLinkExists() { + $this->assertEquals(function_exists('\\print_addnewnote_link'), true); + } + + /** + * Test that function print_editnote_link() exists in the global namespace. + * + * @return void + */ + public function testFunctionPrintEditnoteLinkExists() { + $this->assertEquals(function_exists('\\print_editnote_link'), true); + } + + /** + * Test that function print_addnewsource_link() exists in the global namespace. + * + * @return void + */ + public function testFunctionPrintAddnewsourceLinkExists() { + $this->assertEquals(function_exists('\\print_addnewsource_link'), true); + } + + /** + * Test that function add_simple_tag() exists in the global namespace. + * + * @return void + */ + public function testFunctionAddSimpleTagExists() { + $this->assertEquals(function_exists('\\add_simple_tag'), true); + } + + /** + * Test that function print_add_layer() exists in the global namespace. + * + * @return void + */ + public function testFunctionPrintAddLayerExists() { + $this->assertEquals(function_exists('\\print_add_layer'), true); + } + + /** + * Test that function addSimpleTags() exists in the global namespace. + * + * @return void + */ + public function testFunctionAddSimpleTagsExists() { + $this->assertEquals(function_exists('\\addSimpleTags'), true); + } + + /** + * Test that function addNewName() exists in the global namespace. + * + * @return void + */ + public function testFunctionAddNewNameExists() { + $this->assertEquals(function_exists('\\addNewName'), true); + } + + /** + * Test that function addNewSex() exists in the global namespace. + * + * @return void + */ + public function testFunctionAddNewSexExists() { + $this->assertEquals(function_exists('\\addNewSex'), true); + } + + /** + * Test that function addNewFact() exists in the global namespace. + * + * @return void + */ + public function testFunctionAddNewFactExists() { + $this->assertEquals(function_exists('\\addNewFact'), true); + } + + /** + * Test that function splitSOUR() exists in the global namespace. + * + * @return void + */ + public function testFunctionSplitSourExists() { + $this->assertEquals(function_exists('\\splitSOUR'), true); + } + + /** + * Test that function updateSOUR() exists in the global namespace. + * + * @return void + */ + public function testFunctionUpdateSourExists() { + $this->assertEquals(function_exists('\\updateSOUR'), true); + } + + /** + * Test that function updateRest() exists in the global namespace. + * + * @return void + */ + public function testFunctionUpdateRestExists() { + $this->assertEquals(function_exists('\\updateRest'), true); + } + + /** + * Test that function handle_updates() exists in the global namespace. + * + * @return void + */ + public function testFunctionHandleUpdatesExists() { + $this->assertEquals(function_exists('\\handle_updates'), true); + } + + /** + * Test that function create_add_form() exists in the global namespace. + * + * @return void + */ + public function testFunctionCreateAddFromExists() { + $this->assertEquals(function_exists('\\create_add_form'), true); + } + + /** + * Test that function create_edit_form() exists in the global namespace. + * + * @return void + */ + public function testFunctionCreateEditFromExists() { + $this->assertEquals(function_exists('\\create_edit_form'), true); + } + + /** + * Test that function insert_missing_subtags() exists in the global namespace. + * + * @return void + */ + public function testFunctionInsertMissingSubtagsExists() { + $this->assertEquals(function_exists('\\insert_missing_subtags'), true); + } +} diff --git a/tests/includes/functions/FunctionsExportTest.php b/tests/includes/functions/FunctionsExportTest.php new file mode 100644 index 0000000000..8b07e2edf4 --- /dev/null +++ b/tests/includes/functions/FunctionsExportTest.php @@ -0,0 +1,60 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Unit tests for the global functions in the file includes/functions/functions_export.php + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class FunctionsExportTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + require_once 'includes/functions/functions_export.php'; + } + + /** + * Test that function reformat_record_export() exists in the global namespace. + * + * @return void + */ + public function testFunctionReformatRecordExportExists() { + $this->assertEquals(function_exists('\\reformat_record_export'), true); + } + + /** + * Test that function gedcom_header() exists in the global namespace. + * + * @return void + */ + public function testFunctionGedcomHeaderExists() { + $this->assertEquals(function_exists('\\gedcom_header'), true); + } + + /** + * Test that function convert_media_path() exists in the global namespace. + * + * @return void + */ + public function testFunctionConvertMediaPathExists() { + $this->assertEquals(function_exists('\\convert_media_path'), true); + } + + /** + * Test that function export_gedcom() exists in the global namespace. + * + * @return void + */ + public function testFunctionExportGedcomExists() { + $this->assertEquals(function_exists('\\export_gedcom'), true); + } +} diff --git a/tests/includes/functions/FunctionsImportTest.php b/tests/includes/functions/FunctionsImportTest.php new file mode 100644 index 0000000000..87aa20ed5e --- /dev/null +++ b/tests/includes/functions/FunctionsImportTest.php @@ -0,0 +1,114 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Unit tests for the global functions in the file includes/functions/functions_import.php + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class FunctionsImportTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + require_once 'includes/functions/functions_import.php'; + } + + /** + * Test that function reformat_record_import() exists in the global namespace. + * + * @return void + */ + public function testFunctionReformatRecordImportExists() { + $this->assertEquals(function_exists('\\reformat_record_import'), true); + } + + /** + * Test that function update_dates() exists in the global namespace. + * + * @return void + */ + public function testFunctionUpdateDatesExists() { + $this->assertEquals(function_exists('\\update_dates'), true); + } + + /** + * Test that function update_links() exists in the global namespace. + * + * @return void + */ + public function testFunctionUpdateLinksExists() { + $this->assertEquals(function_exists('\\update_links'), true); + } + + /** + * Test that function update_names() exists in the global namespace. + * + * @return void + */ + public function testFunctionUpdateNamesExists() { + $this->assertEquals(function_exists('\\update_names'), true); + } + + /** + * Test that function convert_inline_media() exists in the global namespace. + * + * @return void + */ + public function testFunctionConvertInlineMediaExists() { + $this->assertEquals(function_exists('\\convert_inline_media'), true); + } + + /** + * Test that function create_media_object() exists in the global namespace. + * + * @return void + */ + public function testFunctionCreateMediaObjectExists() { + $this->assertEquals(function_exists('\\create_media_object'), true); + } + + /** + * Test that function empty_database() exists in the global namespace. + * + * @return void + */ + public function testFunctionEmptyDatabaseExists() { + $this->assertEquals(function_exists('\\empty_database'), true); + } + + /** + * Test that function accept_all_changes() exists in the global namespace. + * + * @return void + */ + public function testFunctionAcceptAllChangesExists() { + $this->assertEquals(function_exists('\\accept_all_changes'), true); + } + + /** + * Test that function reject_all_changes() exists in the global namespace. + * + * @return void + */ + public function testFunctionRejectAllChangesExists() { + $this->assertEquals(function_exists('\\reject_all_changes'), true); + } + + /** + * Test that function update_record() exists in the global namespace. + * + * @return void + */ + public function testFunctionUpdateRecordExists() { + $this->assertEquals(function_exists('\\update_record'), true); + } +} diff --git a/tests/includes/functions/FunctionsMediaDbTest.php b/tests/includes/functions/FunctionsMediaDbTest.php new file mode 100644 index 0000000000..2297e55f90 --- /dev/null +++ b/tests/includes/functions/FunctionsMediaDbTest.php @@ -0,0 +1,42 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Unit tests for the global functions in the file includes/functions/functions_mediadb.php + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class FunctionsMediaDbTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + require_once 'includes/functions/functions_mediadb.php'; + } + + /** + * Test that function return_bytes() exists in the global namespace. + * + * @return void + */ + public function testFunctionReturnBytesExists() { + $this->assertEquals(function_exists('\\return_bytes'), true); + } + + /** + * Test that function hasMemoryForImage() exists in the global namespace. + * + * @return void + */ + public function testFunctionHasMemoryForImageExists() { + $this->assertEquals(function_exists('\\hasMemoryForImage'), true); + } +} diff --git a/tests/includes/functions/FunctionsPrintFactsTest.php b/tests/includes/functions/FunctionsPrintFactsTest.php new file mode 100644 index 0000000000..bdba2bfdd4 --- /dev/null +++ b/tests/includes/functions/FunctionsPrintFactsTest.php @@ -0,0 +1,105 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Unit tests for the global functions in the file includes/functions/functions_print_facts.php + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class FunctionsPrintFactsTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + require_once 'includes/functions/functions_print_facts.php'; + } + + /** + * Test that function print_fact() exists in the global namespace. + * + * @return void + */ + public function testFunctionPrintFactExists() { + $this->assertEquals(function_exists('\\print_fact'), true); + } + + /** + * Test that function print_repository_record() exists in the global namespace. + * + * @return void + */ + public function testFunctionPrintRepositoryRecordExists() { + $this->assertEquals(function_exists('\\print_repository_record'), true); + } + + /** + * Test that function print_fact_sources() exists in the global namespace. + * + * @return void + */ + public function testFunctionPrintFactSourcesExists() { + $this->assertEquals(function_exists('\\print_fact_sources'), true); + } + + /** + * Test that function print_media_links() exists in the global namespace. + * + * @return void + */ + public function testFunctionPrintMediaLinksExists() { + $this->assertEquals(function_exists('\\print_media_links'), true); + } + + /** + * Test that function print_main_sources() exists in the global namespace. + * + * @return void + */ + public function testFunctionPrintMainSourcesExists() { + $this->assertEquals(function_exists('\\print_main_sources'), true); + } + + /** + * Test that function printSourceStructure() exists in the global namespace. + * + * @return void + */ + public function testFunctionPrintSourceStructureExists() { + $this->assertEquals(function_exists('\\printSourceStructure'), true); + } + + /** + * Test that function getSourceStructure() exists in the global namespace. + * + * @return void + */ + public function testFunctionGetSourceStructureExists() { + $this->assertEquals(function_exists('\\getSourceStructure'), true); + } + + /** + * Test that function print_main_notes() exists in the global namespace. + * + * @return void + */ + public function testFunctionPrintMainNotesExists() { + $this->assertEquals(function_exists('\\print_main_notes'), true); + } + + /** + * Test that function print_main_media() exists in the global namespace. + * + * @return void + */ + public function testFunctionPrintMainMediaExists() { + $this->assertEquals(function_exists('\\print_main_media'), true); + } +} diff --git a/tests/includes/functions/FunctionsPrintListsTest.php b/tests/includes/functions/FunctionsPrintListsTest.php new file mode 100644 index 0000000000..8e1ae95557 --- /dev/null +++ b/tests/includes/functions/FunctionsPrintListsTest.php @@ -0,0 +1,159 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Unit tests for the global functions in the file includes/functions/functions_print_lists.php + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class FunctionsPrintListsTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + require_once 'includes/functions/functions_print_lists.php'; + } + + /** + * Test that function format_indi_table() exists in the global namespace. + * + * @return void + */ + public function testFunctionFormatIndiTableExists() { + $this->assertEquals(function_exists('\\format_indi_table'), true); + } + + /** + * Test that function format_fam_table() exists in the global namespace. + * + * @return void + */ + public function testFunctionFormatFamTableExists() { + $this->assertEquals(function_exists('\\format_fam_table'), true); + } + + /** + * Test that function format_sour_table() exists in the global namespace. + * + * @return void + */ + public function testFunctionFormatSourTableExists() { + $this->assertEquals(function_exists('\\format_sour_table'), true); + } + + /** + * Test that function format_note_table() exists in the global namespace. + * + * @return void + */ + public function testFunctionFormatNoteTableExists() { + $this->assertEquals(function_exists('\\format_note_table'), true); + } + + /** + * Test that function format_repo_table() exists in the global namespace. + * + * @return void + */ + public function testFunctionFormatRepoTableExists() { + $this->assertEquals(function_exists('\\format_repo_table'), true); + } + + /** + * Test that function format_media_table() exists in the global namespace. + * + * @return void + */ + public function testFunctionFormatMediaTableExists() { + $this->assertEquals(function_exists('\\format_media_table'), true); + } + + /** + * Test that function format_surname_table() exists in the global namespace. + * + * @return void + */ + public function testFunctionFormatSurnameTableExists() { + $this->assertEquals(function_exists('\\format_surname_table'), true); + } + + /** + * Test that function format_surname_tagcloud() exists in the global namespace. + * + * @return void + */ + public function testFunctionFormatSurnameTagcloudExists() { + $this->assertEquals(function_exists('\\format_surname_tagcloud'), true); + } + + /** + * Test that function format_surname_list() exists in the global namespace. + * + * @return void + */ + public function testFunctionFormatSurnameListExists() { + $this->assertEquals(function_exists('\\format_surname_list'), true); + } + + /** + * Test that function print_changes_list() exists in the global namespace. + * + * @return void + */ + public function testFunctionPrintChangesListExists() { + $this->assertEquals(function_exists('\\print_changes_list'), true); + } + + /** + * Test that function print_changes_table() exists in the global namespace. + * + * @return void + */ + public function testFunctionPrintChangesTableExists() { + $this->assertEquals(function_exists('\\print_changes_table'), true); + } + + /** + * Test that function print_events_table() exists in the global namespace. + * + * @return void + */ + public function testFunctionPrintEventsTableExists() { + $this->assertEquals(function_exists('\\print_events_table'), true); + } + + /** + * Test that function print_events_list() exists in the global namespace. + * + * @return void + */ + public function testFunctionPrintEventsListExists() { + $this->assertEquals(function_exists('\\print_events_list'), true); + } + + /** + * Test that function print_chart_by_age() exists in the global namespace. + * + * @return void + */ + public function testFunctionPrintChartByAgeExists() { + $this->assertEquals(function_exists('\\print_chart_by_age'), true); + } + + /** + * Test that function print_chart_by_decade() exists in the global namespace. + * + * @return void + */ + public function testFunctionPrintChartByDecadeExists() { + $this->assertEquals(function_exists('\\print_chart_by_decade'), true); + } +} diff --git a/tests/includes/functions/FunctionsPrintTest.php b/tests/includes/functions/FunctionsPrintTest.php new file mode 100644 index 0000000000..ebd09846ba --- /dev/null +++ b/tests/includes/functions/FunctionsPrintTest.php @@ -0,0 +1,303 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Unit tests for the global functions in the file includes/functions/functions_print.php + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class FunctionsPrintTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + require_once 'includes/functions/functions_print.php'; + } + + /** + * Test that function print_pedigree_person() exists in the global namespace. + * + * @return void + */ + public function testFunctionPrintPedigreePersonExists() { + $this->assertEquals(function_exists('\\print_pedigree_person'), true); + } + + /** + * Test that function header_links() exists in the global namespace. + * + * @return void + */ + public function testFunctionHeaderLinksExists() { + $this->assertEquals(function_exists('\\header_links'), true); + } + + /** + * Test that function execution_statistics() exists in the global namespace. + * + * @return void + */ + public function testFunctionExecutionStatsExists() { + $this->assertEquals(function_exists('\\execution_stats'), true); + } + + /** + * Test that function login_link() exists in the global namespace. + * + * @return void + */ + public function testFunctionLoginLinkExists() { + $this->assertEquals(function_exists('\\login_link'), true); + } + + /** + * Test that function logout_link() exists in the global namespace. + * + * @return void + */ + public function testFunctionLogoutLinkExists() { + $this->assertEquals(function_exists('\\logout_link'), true); + } + + /** + * Test that function whoisonline() exists in the global namespace. + * + * @return void + */ + public function testFunctionWhoisonlineExists() { + $this->assertEquals(function_exists('\\whoisonline'), true); + } + + /** + * Test that function user_contact_link() exists in the global namespace. + * + * @return void + */ + public function testFunctionUserContactLinkExists() { + $this->assertEquals(function_exists('\\user_contact_link'), true); + } + + /** + * Test that function contact_links() exists in the global namespace. + * + * @return void + */ + public function testFunctionContactLinksExists() { + $this->assertEquals(function_exists('\\contact_links'), true); + } + + /** + * Test that function print_note_record() exists in the global namespace. + * + * @return void + */ + public function testFunctionPrintNoteRecordExists() { + $this->assertEquals(function_exists('\\print_note_record'), true); + } + + /** + * Test that function print_fact_notes() exists in the global namespace. + * + * @return void + */ + public function testFunctionPrintFactNotesExists() { + $this->assertEquals(function_exists('\\print_fact_notes'), true); + } + + /** + * Test that function help_link() exists in the global namespace. + * + * @return void + */ + public function testFunctionHelpLinkExists() { + $this->assertEquals(function_exists('\\help_link'), true); + } + + /** + * Test that function wiki_help_link() exists in the global namespace. + * + * @return void + */ + public function testFunctionWikiHelpLinkExists() { + $this->assertEquals(function_exists('\\wiki_help_link'), true); + } + + /** + * Test that function highlight_search_hits() exists in the global namespace. + * + * @return void + */ + public function testFunctionHighlightSearchHitsExists() { + $this->assertEquals(function_exists('\\highlight_search_hits'), true); + } + + /** + * Test that function format_asso_rela_record() exists in the global namespace. + * + * @return void + */ + public function testFunctionFormatAssoRelaRecordExists() { + $this->assertEquals(function_exists('\\format_asso_rela_record'), true); + } + + /** + * Test that function format_parents_age() exists in the global namespace. + * + * @return void + */ + public function testFunctionFormatParentsAgeExists() { + $this->assertEquals(function_exists('\\format_parents_age'), true); + } + + /** + * Test that function format_fact_date() exists in the global namespace. + * + * @return void + */ + public function testFunctionFormatFactDateExists() { + $this->assertEquals(function_exists('\\format_fact_date'), true); + } + + /** + * Test that function format_fact_place() exists in the global namespace. + * + * @return void + */ + public function testFunctionFormatFactPlaceExists() { + $this->assertEquals(function_exists('\\format_fact_place'), true); + } + + /** + * Test that function CheckFactUnique() exists in the global namespace. + * + * @return void + */ + public function testFunctionCheckFactUniqueExists() { + $this->assertEquals(function_exists('\\CheckFactUnique'), true); + } + + /** + * Test that function print_add_new_fact() exists in the global namespace. + * + * @return void + */ + public function testFunctionPrintAddNewFactExists() { + $this->assertEquals(function_exists('\\print_add_new_fact'), true); + } + + /** + * Test that function init_calendar_popup() exists in the global namespace. + * + * @return void + */ + public function testFunctionInitCalendarPopupExists() { + $this->assertEquals(function_exists('\\init_calendar_popup'), true); + } + + /** + * Test that function print_findindi_link() exists in the global namespace. + * + * @return void + */ + public function testFunctionPrintFindindiLinkExists() { + $this->assertEquals(function_exists('\\print_findindi_link'), true); + } + + /** + * Test that function print_findplace_link() exists in the global namespace. + * + * @return void + */ + public function testFunctionPrintFindplaceLinkExists() { + $this->assertEquals(function_exists('\\print_findplace_link'), true); + } + + /** + * Test that function print_findfamily_link() exists in the global namespace. + * + * @return void + */ + public function testFunctionPrintFindfamilyLinkExists() { + $this->assertEquals(function_exists('\\print_findfamily_link'), true); + } + + /** + * Test that function print_specialchar_link() exists in the global namespace. + * + * @return void + */ + public function testFunctionPrintSpecialcharLinkExists() { + $this->assertEquals(function_exists('\\print_specialchar_link'), true); + } + + /** + * Test that function print_autopaste_link() exists in the global namespace. + * + * @return void + */ + public function testFunctionPrintAutopasteLinkExists() { + $this->assertEquals(function_exists('\\print_autopaste_link'), true); + } + + /** + * Test that function print_findsource_link() exists in the global namespace. + * + * @return void + */ + public function testFunctionPrintFindsourceLinkExists() { + $this->assertEquals(function_exists('\\print_findsource_link'), true); + } + + /** + * Test that function print_findnote_link() exists in the global namespace. + * + * @return void + */ + public function testFunctionPrintFindnoteLinkExists() { + $this->assertEquals(function_exists('\\print_findnote_link'), true); + } + + /** + * Test that function print_findrepository_link() exists in the global namespace. + * + * @return void + */ + public function testFunctionPrintFindrepositoryLinkExists() { + $this->assertEquals(function_exists('\\print_findrepository_link'), true); + } + + /** + * Test that function print_findmedia_link() exists in the global namespace. + * + * @return void + */ + public function testFunctionPrintFindmediaLinkExists() { + $this->assertEquals(function_exists('\\print_findmedia_link'), true); + } + + /** + * Test that function print_findfact_link() exists in the global namespace. + * + * @return void + */ + public function testFunctionPrintFindfactLinkExists() { + $this->assertEquals(function_exists('\\print_findfact_link'), true); + } + + /** + * Test that function get_lds_glance() exists in the global namespace. + * + * @return void + */ + public function testFunctionGetLdsGlanceExists() { + $this->assertEquals(function_exists('\\get_lds_glance'), true); + } +} diff --git a/tests/includes/functions/FunctionsRtlTest.php b/tests/includes/functions/FunctionsRtlTest.php new file mode 100644 index 0000000000..db4a585af7 --- /dev/null +++ b/tests/includes/functions/FunctionsRtlTest.php @@ -0,0 +1,96 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Unit tests for the global functions in the file includes/functions/functions_rtl.php + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class FunctionsRtlTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + require_once 'includes/functions/functions_rtl.php'; + } + + /** + * Test that function stripLRMRLM() exists in the global namespace. + * + * @return void + */ + public function testFunctionStripLRMRLMExists() { + $this->assertEquals(function_exists('\\stripLRMRLM'), true); + } + + /** + * Test that function spanLTRRTL() exists in the global namespace. + * + * @return void + */ + public function testFunctionSpanLTRRTLExists() { + $this->assertEquals(function_exists('\\spanLTRRTL'), true); + } + + /** + * Test that function starredName() exists in the global namespace. + * + * @return void + */ + public function testFunctionStarredNameExists() { + $this->assertEquals(function_exists('\\starredName'), true); + } + + /** + * Test that function getChar() exists in the global namespace. + * + * @return void + */ + public function testFunctionGetCharExists() { + $this->assertEquals(function_exists('\\getChar'), true); + } + + /** + * Test that function breakCurrentSpan() exists in the global namespace. + * + * @return void + */ + public function testFunctionBreakCurrentSpanExists() { + $this->assertEquals(function_exists('\\breakCurrentSpan'), true); + } + + /** + * Test that function beginCurrentSpan() exists in the global namespace. + * + * @return void + */ + public function testFunctionBeginCurrentSpanExists() { + $this->assertEquals(function_exists('\\beginCurrentSpan'), true); + } + + /** + * Test that function finishCurrentSpan() exists in the global namespace. + * + * @return void + */ + public function testFunctionFinishCurrentSpanExists() { + $this->assertEquals(function_exists('\\finishCurrentSpan'), true); + } + + /** + * Test that function utf8_wordwrap() exists in the global namespace. + * + * @return void + */ + public function testFunctionUtf8WordwrapExists() { + $this->assertEquals(function_exists('\\utf8_wordwrap'), true); + } +} diff --git a/tests/includes/functions/FunctionsTest.php b/tests/includes/functions/FunctionsTest.php new file mode 100644 index 0000000000..077af4459a --- /dev/null +++ b/tests/includes/functions/FunctionsTest.php @@ -0,0 +1,210 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Unit tests for the global functions in the file includes/functions/functions.php + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class FunctionsTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + require_once 'includes/functions/functions.php'; + } + + /** + * Test that function fetch_latest_version() exists in the global namespace. + * + * @return void + */ + public function testFunctionFetchLatestVersionExists() { + $this->assertEquals(function_exists('\\fetch_latest_version'), true); + } + + /** + * Test that function file_upload_error_text() exists in the global namespace. + * + * @return void + */ + public function testFunctionFileUploadErrorTextExists() { + $this->assertEquals(function_exists('\\file_upload_error_text'), true); + } + + /** + * Test that function load_gedcom_settings() exists in the global namespace. + * + * @return void + */ + public function testFunctionLoadGedcomSettingsExists() { + $this->assertEquals(function_exists('\\load_gedcom_settings'), true); + } + + /** + * Test that function get_sub_record() exists in the global namespace. + * + * @return void + */ + public function testFunctionGetSubRecordExists() { + $this->assertEquals(function_exists('\\get_sub_record'), true); + } + + /** + * Test that function get_cont() exists in the global namespace. + * + * @return void + */ + public function testFunctionGetContExists() { + $this->assertEquals(function_exists('\\get_cont'), true); + } + + /** + * Test that function event_sort() exists in the global namespace. + * + * @return void + */ + public function testFunctionEventSortExists() { + $this->assertEquals(function_exists('\\event_sort'), true); + } + + /** + * Test that function event_sort_name() exists in the global namespace. + * + * @return void + */ + public function testFunctionEventSortNameExists() { + $this->assertEquals(function_exists('\\event_sort_name'), true); + } + + /** + * Test that function sort_facts() exists in the global namespace. + * + * @return void + */ + public function testFunctionSortFactsExists() { + $this->assertEquals(function_exists('\\sort_facts'), true); + } + + /** + * Test that function get_close_relationship_name() exists in the global namespace. + * + * @return void + */ + public function testFunctionGetCloseRelationshipNameExists() { + $this->assertEquals(function_exists('\\get_close_relationship_name'), true); + } + + /** + * Test that function get_associate_relationship_name() exists in the global namespace. + * + * @return void + */ + public function testFunctionGetAssociateRelationshipNameExists() { + $this->assertEquals(function_exists('\\get_associate_relationship_name'), true); + } + + /** + * Test that function get_relationship() exists in the global namespace. + * + * @return void + */ + public function testFunctionGetRelationshipExists() { + $this->assertEquals(function_exists('\\get_relationship'), true); + } + + /** + * Test that function get_relationship_name() exists in the global namespace. + * + * @return void + */ + public function testFunctionGetRelationshipNameExists() { + $this->assertEquals(function_exists('\\get_relationship_name'), true); + } + + /** + * Test that function cousin_name() exists in the global namespace. + * + * @return void + */ + public function testFunctionCousinNameExists() { + $this->assertEquals(function_exists('\\cousin_name'), true); + } + + /** + * Test that function cousin_name2() exists in the global namespace. + * + * @return void + */ + public function testFunctionCousinName2Exists() { + $this->assertEquals(function_exists('\\cousin_name2'), true); + } + + /** + * Test that function get_relationship_name_from_path() exists in the global namespace. + * + * @return void + */ + public function testFunctionGetRelationshipNameFromPathExists() { + $this->assertEquals(function_exists('\\get_relationship_name_from_path'), true); + } + + /** + * Test that function get_theme_names() exists in the global namespace. + * + * @return void + */ + public function testFunctionGetThemeNamesExists() { + $this->assertEquals(function_exists('\\get_theme_names'), true); + } + + /** + * Test that function get_query_url() exists in the global namespace. + * + * @return void + */ + public function testFunctionGetQueryUrlExists() { + $this->assertEquals(function_exists('\\get_query_url'), true); + } + + /** + * Test that function get_new_xref() exists in the global namespace. + * + * @return void + */ + public function testFunctionGetNewXrefExists() { + $this->assertEquals(function_exists('\\get_new_xref'), true); + } + + /** + * Test that function isFileExternal() exists in the global namespace. + * + * @return void + */ + public function testFunctionIsFileExternalExists() { + $this->assertEquals(function_exists('\\isFileExternal'), true); + } + + /** + * Tests for function edit_field_inline() + * + * @return void + */ + public function testFunctionIsFileExternal() { + $this->assertEquals(isFileExternal('http://www.example.com/file.txt'), true); + $this->assertEquals(isFileExternal('file.txt'), false); + $this->assertEquals(isFileExternal('folder/file.txt'), false); + $this->assertEquals(isFileExternal('folder\\file.txt'), false); + $this->assertEquals(isFileExternal('/folder/file.txt'), false); + $this->assertEquals(isFileExternal('\\folder\\file.txt'), false); + $this->assertEquals(isFileExternal('C:\\folder\\file.txt'), false); + } +} diff --git a/tests/includes/functions/FunctionsUtf8Test.php b/tests/includes/functions/FunctionsUtf8Test.php new file mode 100644 index 0000000000..c5105815d1 --- /dev/null +++ b/tests/includes/functions/FunctionsUtf8Test.php @@ -0,0 +1,71 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + *FunctionsUtf8Test + * + * Test harness for the global functions in the file includes/functions/functions_utf-8.php + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class FunctionsUtf8Test extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + require_once 'includes/functions/functions_utf-8.php'; + } + + /** + * Test that function utf8_strtoupper() exists in the global namespace. + * + * @return void + */ + public function testFunctionUtf8StrtoupperExists() { + $this->assertEquals(function_exists('\\utf8_strtoupper'), true); + } + + /** + * Test that function utf8_substr() exists in the global namespace. + * + * @return void + */ + public function testFunctionUtf8SubstrExists() { + $this->assertEquals(function_exists('\\utf8_substr'), true); + } + + /** + * Test that function utf8_strlen() exists in the global namespace. + * + * @return void + */ + public function testFunctionUtf8StrlenExists() { + $this->assertEquals(function_exists('\\utf8_strlen'), true); + } + + /** + * Test that function utf8_strcasecmp() exists in the global namespace. + * + * @return void + */ + public function testFunctionUtf8StrcasecmpExists() { + $this->assertEquals(function_exists('\\utf8_strcasecmp'), true); + } + + /** + * Test that function reverseText() exists in the global namespace. + * + * @return void + */ + public function testFunctionReverseTextExists() { + $this->assertEquals(function_exists('\\reverseText'), true); + } +} diff --git a/tests/library/WT/AuthTest.php b/tests/library/WT/AuthTest.php new file mode 100644 index 0000000000..4a276e9e20 --- /dev/null +++ b/tests/library/WT/AuthTest.php @@ -0,0 +1,31 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Test harness for the class Auth + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class AuthTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + } + + /** + * Test FooBar + * + * @return void + */ + public function testFooBar() { + } +} diff --git a/tests/library/WT/Controller/ControllerAdvancedSearchTest.php b/tests/library/WT/Controller/ControllerAdvancedSearchTest.php new file mode 100644 index 0000000000..9dad56f74a --- /dev/null +++ b/tests/library/WT/Controller/ControllerAdvancedSearchTest.php @@ -0,0 +1,31 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Test harness for the class WT_Controller_AdvancedSearch + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class ControllerAdvancedSearchTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + } + + /** + * Test FooBar + * + * @return void + */ + public function testFooBar() { + } +} diff --git a/tests/library/WT/Controller/ControllerAjaxTest.php b/tests/library/WT/Controller/ControllerAjaxTest.php new file mode 100644 index 0000000000..cc03ac17f5 --- /dev/null +++ b/tests/library/WT/Controller/ControllerAjaxTest.php @@ -0,0 +1,31 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Test harness for the class WT_Controller_Ajax + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class ControllerAjaxTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + } + + /** + * Test FooBar + * + * @return void + */ + public function testFooBar() { + } +} diff --git a/tests/library/WT/Controller/ControllerAncestryTest.php b/tests/library/WT/Controller/ControllerAncestryTest.php new file mode 100644 index 0000000000..1b83df1e1f --- /dev/null +++ b/tests/library/WT/Controller/ControllerAncestryTest.php @@ -0,0 +1,31 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Test harness for the class WT_Controller_Ancestry + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class ControllerAncestryTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + } + + /** + * Test FooBar + * + * @return void + */ + public function testFooBar() { + } +} diff --git a/tests/library/WT/Controller/ControllerBaseTest.php b/tests/library/WT/Controller/ControllerBaseTest.php new file mode 100644 index 0000000000..d2d2003774 --- /dev/null +++ b/tests/library/WT/Controller/ControllerBaseTest.php @@ -0,0 +1,31 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Test harness for the class WT_Controller_Base + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class ControllerBaseTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + } + + /** + * Test FooBar + * + * @return void + */ + public function testFooBar() { + } +} diff --git a/tests/library/WT/Controller/ControllerBranchesTest.php b/tests/library/WT/Controller/ControllerBranchesTest.php new file mode 100644 index 0000000000..3f0d73dcb9 --- /dev/null +++ b/tests/library/WT/Controller/ControllerBranchesTest.php @@ -0,0 +1,31 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Test harness for the class WT_Controller_Branches + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class ControllerBranchesTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + } + + /** + * Test FooBar + * + * @return void + */ + public function testFooBar() { + } +} diff --git a/tests/library/WT/Controller/ControllerChartTest.php b/tests/library/WT/Controller/ControllerChartTest.php new file mode 100644 index 0000000000..895cfd0513 --- /dev/null +++ b/tests/library/WT/Controller/ControllerChartTest.php @@ -0,0 +1,31 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Test harness for the class WT_Controller_Chart + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class ControllerChartTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + } + + /** + * Test FooBar + * + * @return void + */ + public function testFooBar() { + } +} diff --git a/tests/library/WT/Controller/ControllerCompactTest.php b/tests/library/WT/Controller/ControllerCompactTest.php new file mode 100644 index 0000000000..14d3d77ae5 --- /dev/null +++ b/tests/library/WT/Controller/ControllerCompactTest.php @@ -0,0 +1,31 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Test harness for the class WT_Controller_Compact + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class ControllerCompactTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + } + + /** + * Test FooBar + * + * @return void + */ + public function testFooBar() { + } +} diff --git a/tests/library/WT/Controller/ControllerDescendancyTest.php b/tests/library/WT/Controller/ControllerDescendancyTest.php new file mode 100644 index 0000000000..e2db4153df --- /dev/null +++ b/tests/library/WT/Controller/ControllerDescendancyTest.php @@ -0,0 +1,31 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Test harness for the class WT_Controller_Descendancy + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class ControllerDescendancyTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + } + + /** + * Test FooBar + * + * @return void + */ + public function testFooBar() { + } +} diff --git a/tests/library/WT/Controller/ControllerFamilyTest.php b/tests/library/WT/Controller/ControllerFamilyTest.php new file mode 100644 index 0000000000..6a5d1be833 --- /dev/null +++ b/tests/library/WT/Controller/ControllerFamilyTest.php @@ -0,0 +1,31 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Test harness for the class WT_Controller_Family + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class ControllerFamilyTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + } + + /** + * Test FooBar + * + * @return void + */ + public function testFooBar() { + } +} diff --git a/tests/library/WT/Controller/ControllerFamilybookTest.php b/tests/library/WT/Controller/ControllerFamilybookTest.php new file mode 100644 index 0000000000..37cf423a6b --- /dev/null +++ b/tests/library/WT/Controller/ControllerFamilybookTest.php @@ -0,0 +1,31 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Test harness for the class WT_Controller_Familybook + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class ControllerFamilybookTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + } + + /** + * Test FooBar + * + * @return void + */ + public function testFooBar() { + } +} diff --git a/tests/library/WT/Controller/ControllerFanchartTest.php b/tests/library/WT/Controller/ControllerFanchartTest.php new file mode 100644 index 0000000000..d8d58a0033 --- /dev/null +++ b/tests/library/WT/Controller/ControllerFanchartTest.php @@ -0,0 +1,31 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Test harness for the class WT_Controller_Fanchart + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class ControllerFanchartTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + } + + /** + * Test FooBar + * + * @return void + */ + public function testFooBar() { + } +} diff --git a/tests/library/WT/Controller/ControllerGedcomRecordTest.php b/tests/library/WT/Controller/ControllerGedcomRecordTest.php new file mode 100644 index 0000000000..de7b2aa0fc --- /dev/null +++ b/tests/library/WT/Controller/ControllerGedcomRecordTest.php @@ -0,0 +1,31 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Test harness for the class WT_Controller_GedcomRecord + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class ControllerGedcomRecordTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + } + + /** + * Test FooBar + * + * @return void + */ + public function testFooBar() { + } +} diff --git a/tests/library/WT/Controller/ControllerHourglassTest.php b/tests/library/WT/Controller/ControllerHourglassTest.php new file mode 100644 index 0000000000..bbbb74d5c4 --- /dev/null +++ b/tests/library/WT/Controller/ControllerHourglassTest.php @@ -0,0 +1,31 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Test harness for the class WT_Controller_Hourglass + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class ControllerHourglassTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + } + + /** + * Test FooBar + * + * @return void + */ + public function testFooBar() { + } +} diff --git a/tests/library/WT/Controller/ControllerIndividualTest.php b/tests/library/WT/Controller/ControllerIndividualTest.php new file mode 100644 index 0000000000..820dc3bf9b --- /dev/null +++ b/tests/library/WT/Controller/ControllerIndividualTest.php @@ -0,0 +1,31 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Test harness for the class WT_Controller_Individual + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class ControllerIndividualTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + } + + /** + * Test FooBar + * + * @return void + */ + public function testFooBar() { + } +} diff --git a/tests/library/WT/Controller/ControllerLifespanTest.php b/tests/library/WT/Controller/ControllerLifespanTest.php new file mode 100644 index 0000000000..8cd51207ab --- /dev/null +++ b/tests/library/WT/Controller/ControllerLifespanTest.php @@ -0,0 +1,31 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Test harness for the class WT_Controller_Lifespan + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class ControllerLifespanTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + } + + /** + * Test FooBar + * + * @return void + */ + public function testFooBar() { + } +} diff --git a/tests/library/WT/Controller/ControllerMediaTest.php b/tests/library/WT/Controller/ControllerMediaTest.php new file mode 100644 index 0000000000..6098871a1e --- /dev/null +++ b/tests/library/WT/Controller/ControllerMediaTest.php @@ -0,0 +1,31 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Test harness for the class WT_Controller_Media + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class ControllerMediaTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + } + + /** + * Test FooBar + * + * @return void + */ + public function testFooBar() { + } +} diff --git a/tests/library/WT/Controller/ControllerNoteTest.php b/tests/library/WT/Controller/ControllerNoteTest.php new file mode 100644 index 0000000000..3fc4bcafb3 --- /dev/null +++ b/tests/library/WT/Controller/ControllerNoteTest.php @@ -0,0 +1,31 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Test harness for the class WT_Controller_Note + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class ControllerNoteTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + } + + /** + * Test FooBar + * + * @return void + */ + public function testFooBar() { + } +} diff --git a/tests/library/WT/Controller/ControllerPageTest.php b/tests/library/WT/Controller/ControllerPageTest.php new file mode 100644 index 0000000000..c81027c020 --- /dev/null +++ b/tests/library/WT/Controller/ControllerPageTest.php @@ -0,0 +1,31 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Test harness for the class WT_Controller_Page + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class ControllerPageTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + } + + /** + * Test FooBar + * + * @return void + */ + public function testFooBar() { + } +} diff --git a/tests/library/WT/Controller/ControllerPedigreeTest.php b/tests/library/WT/Controller/ControllerPedigreeTest.php new file mode 100644 index 0000000000..a00d9460ba --- /dev/null +++ b/tests/library/WT/Controller/ControllerPedigreeTest.php @@ -0,0 +1,31 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Test harness for the class WT_Controller_Pedigree + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class ControllerPedigreeTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + } + + /** + * Test FooBar + * + * @return void + */ + public function testFooBar() { + } +} diff --git a/tests/library/WT/Controller/ControllerRepositoryTest.php b/tests/library/WT/Controller/ControllerRepositoryTest.php new file mode 100644 index 0000000000..f7b16052c9 --- /dev/null +++ b/tests/library/WT/Controller/ControllerRepositoryTest.php @@ -0,0 +1,31 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Test harness for the class WT_Controller_Repository + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class ControllerRepositoryTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + } + + /** + * Test FooBar + * + * @return void + */ + public function testFooBar() { + } +} diff --git a/tests/library/WT/Controller/ControllerSearchTest.php b/tests/library/WT/Controller/ControllerSearchTest.php new file mode 100644 index 0000000000..fea173bbc3 --- /dev/null +++ b/tests/library/WT/Controller/ControllerSearchTest.php @@ -0,0 +1,31 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Test harness for the class WT_Controller_Search + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class ControllerSearchTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + } + + /** + * Test FooBar + * + * @return void + */ + public function testFooBar() { + } +} diff --git a/tests/library/WT/Controller/ControllerSimpleTest.php b/tests/library/WT/Controller/ControllerSimpleTest.php new file mode 100644 index 0000000000..125724152b --- /dev/null +++ b/tests/library/WT/Controller/ControllerSimpleTest.php @@ -0,0 +1,31 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Test harness for the class WT_Controller_Simple + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class ControllerSimpleTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + } + + /** + * Test FooBar + * + * @return void + */ + public function testFooBar() { + } +} diff --git a/tests/library/WT/Controller/ControllerSourceTest.php b/tests/library/WT/Controller/ControllerSourceTest.php new file mode 100644 index 0000000000..18ea058d94 --- /dev/null +++ b/tests/library/WT/Controller/ControllerSourceTest.php @@ -0,0 +1,31 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Test harness for the class WT_Controller_Source + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class ControllerSourceTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + } + + /** + * Test FooBar + * + * @return void + */ + public function testFooBar() { + } +} diff --git a/tests/library/WT/Controller/ControllerTimelineTest.php b/tests/library/WT/Controller/ControllerTimelineTest.php new file mode 100644 index 0000000000..5d3001a747 --- /dev/null +++ b/tests/library/WT/Controller/ControllerTimelineTest.php @@ -0,0 +1,31 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Test harness for the class WT_Controller_Timeline + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class ControllerTimelineTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + } + + /** + * Test FooBar + * + * @return void + */ + public function testFooBar() { + } +} diff --git a/tests/library/WT/DBStatementTest.php b/tests/library/WT/DBStatementTest.php new file mode 100644 index 0000000000..1cec2b45a0 --- /dev/null +++ b/tests/library/WT/DBStatementTest.php @@ -0,0 +1,31 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Test harness for the class WT_DB + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class DBTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + } + + /** + * Test FooBar + * + * @return void + */ + public function testFooBar() { + } +} diff --git a/tests/library/WT/DBTest.php b/tests/library/WT/DBTest.php new file mode 100644 index 0000000000..e90274da31 --- /dev/null +++ b/tests/library/WT/DBTest.php @@ -0,0 +1,31 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Test harness for the class WT_DBStatement + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class DBStatementTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + } + + /** + * Test FooBar + * + * @return void + */ + public function testFooBar() { + } +} diff --git a/tests/library/WT/Date/DateCalendarTest.php b/tests/library/WT/Date/DateCalendarTest.php new file mode 100644 index 0000000000..c3cf537c1f --- /dev/null +++ b/tests/library/WT/Date/DateCalendarTest.php @@ -0,0 +1,31 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Test harness for the class WT_Date_Calendar + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class DateCalendarTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + } + + /** + * Test FooBar + * + * @return void + */ + public function testFooBar() { + } +} diff --git a/tests/library/WT/Date/DateFrenchTest.php b/tests/library/WT/Date/DateFrenchTest.php new file mode 100644 index 0000000000..abc1b08075 --- /dev/null +++ b/tests/library/WT/Date/DateFrenchTest.php @@ -0,0 +1,31 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Test harness for the class WT_Date_French + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class DateFrenchTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + } + + /** + * Test FooBar + * + * @return void + */ + public function testFooBar() { + } +} diff --git a/tests/library/WT/Date/DateGregorianTest.php b/tests/library/WT/Date/DateGregorianTest.php new file mode 100644 index 0000000000..bc7b2b062b --- /dev/null +++ b/tests/library/WT/Date/DateGregorianTest.php @@ -0,0 +1,31 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Test harness for the class WT_Date_Gregorian + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class DateGregorianTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + } + + /** + * Test FooBar + * + * @return void + */ + public function testFooBar() { + } +} diff --git a/tests/library/WT/Date/DateHijriTest.php b/tests/library/WT/Date/DateHijriTest.php new file mode 100644 index 0000000000..581b5f8dc3 --- /dev/null +++ b/tests/library/WT/Date/DateHijriTest.php @@ -0,0 +1,31 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Test harness for the class WT_Date_Hijri + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class DateHijriTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + } + + /** + * Test FooBar + * + * @return void + */ + public function testFooBar() { + } +} diff --git a/tests/library/WT/Date/DateJalaliTest.php b/tests/library/WT/Date/DateJalaliTest.php new file mode 100644 index 0000000000..82afa03589 --- /dev/null +++ b/tests/library/WT/Date/DateJalaliTest.php @@ -0,0 +1,31 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Test harness for the class WT_Date_Jalali + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class DateJalaliTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + } + + /** + * Test FooBar + * + * @return void + */ + public function testFooBar() { + } +} diff --git a/tests/library/WT/Date/DateJewishTest.php b/tests/library/WT/Date/DateJewishTest.php new file mode 100644 index 0000000000..23cc6755ba --- /dev/null +++ b/tests/library/WT/Date/DateJewishTest.php @@ -0,0 +1,31 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Test harness for the class WT_Date_Jewish + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class DateJewishTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + } + + /** + * Test FooBar + * + * @return void + */ + public function testFooBar() { + } +} diff --git a/tests/library/WT/Date/DateJulianTest.php b/tests/library/WT/Date/DateJulianTest.php new file mode 100644 index 0000000000..852d46f9a0 --- /dev/null +++ b/tests/library/WT/Date/DateJulianTest.php @@ -0,0 +1,31 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Test harness for the class WT_Date_Julian + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class DateJulianTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + } + + /** + * Test FooBar + * + * @return void + */ + public function testFooBar() { + } +} diff --git a/tests/library/WT/Date/DateRomanTest.php b/tests/library/WT/Date/DateRomanTest.php new file mode 100644 index 0000000000..5bce548567 --- /dev/null +++ b/tests/library/WT/Date/DateRomanTest.php @@ -0,0 +1,31 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Test harness for the class WT_Date_Roman + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class DateRomanTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + } + + /** + * Test FooBar + * + * @return void + */ + public function testFooBar() { + } +} diff --git a/tests/library/WT/DateTest.php b/tests/library/WT/DateTest.php new file mode 100644 index 0000000000..0f6e7eac3e --- /dev/null +++ b/tests/library/WT/DateTest.php @@ -0,0 +1,31 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Test harness for the class WT_Date + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class DateTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + } + + /** + * Test FooBar + * + * @return void + */ + public function testFooBar() { + } +} diff --git a/tests/library/WT/FactTest.php b/tests/library/WT/FactTest.php new file mode 100644 index 0000000000..67bd5eba74 --- /dev/null +++ b/tests/library/WT/FactTest.php @@ -0,0 +1,31 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Test harness for the class WT_Fact + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class FactTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + } + + /** + * Test FooBar + * + * @return void + */ + public function testFooBar() { + } +} diff --git a/tests/library/WT/FamilyTest.php b/tests/library/WT/FamilyTest.php new file mode 100644 index 0000000000..66b333841a --- /dev/null +++ b/tests/library/WT/FamilyTest.php @@ -0,0 +1,31 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Test harness for the class WT_Family + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class FamilyTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + } + + /** + * Test FooBar + * + * @return void + */ + public function testFooBar() { + } +} diff --git a/tests/library/WT/FileTest.php b/tests/library/WT/FileTest.php new file mode 100644 index 0000000000..8691684d47 --- /dev/null +++ b/tests/library/WT/FileTest.php @@ -0,0 +1,31 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Test harness for the class WT_File + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class FileTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + } + + /** + * Test FooBar + * + * @return void + */ + public function testFooBar() { + } +} diff --git a/tests/library/WT/FilterTest.php b/tests/library/WT/FilterTest.php new file mode 100644 index 0000000000..b0007adec4 --- /dev/null +++ b/tests/library/WT/FilterTest.php @@ -0,0 +1,31 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Test harness for the class WT_Filter + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class FilterTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + } + + /** + * Test FooBar + * + * @return void + */ + public function testFooBar() { + } +} diff --git a/tests/library/WT/FlashMessagesTest.php b/tests/library/WT/FlashMessagesTest.php new file mode 100644 index 0000000000..5759b6cff0 --- /dev/null +++ b/tests/library/WT/FlashMessagesTest.php @@ -0,0 +1,31 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Test harness for the class WT_FlashMessages + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class FlashMessagesTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + } + + /** + * Test FooBar + * + * @return void + */ + public function testFooBar() { + } +} diff --git a/tests/library/WT/Gedcom/Code/GedcomCodeAdopTest.php b/tests/library/WT/Gedcom/Code/GedcomCodeAdopTest.php new file mode 100644 index 0000000000..e0f5f344d2 --- /dev/null +++ b/tests/library/WT/Gedcom/Code/GedcomCodeAdopTest.php @@ -0,0 +1,31 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Test harness for the class WT_Gedcom_Code_Adop + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class GedcomCodeAdopTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + } + + /** + * Test FooBar + * + * @return void + */ + public function testFooBar() { + } +} diff --git a/tests/library/WT/Gedcom/Code/GedcomCodeNameTest.php b/tests/library/WT/Gedcom/Code/GedcomCodeNameTest.php new file mode 100644 index 0000000000..13ad3bfca3 --- /dev/null +++ b/tests/library/WT/Gedcom/Code/GedcomCodeNameTest.php @@ -0,0 +1,31 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Test harness for the class WT_Gedcom_Code_Name + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class GedcomCodeNameTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + } + + /** + * Test FooBar + * + * @return void + */ + public function testFooBar() { + } +} diff --git a/tests/library/WT/Gedcom/Code/GedcomCodePediTest.php b/tests/library/WT/Gedcom/Code/GedcomCodePediTest.php new file mode 100644 index 0000000000..5abc10a70a --- /dev/null +++ b/tests/library/WT/Gedcom/Code/GedcomCodePediTest.php @@ -0,0 +1,31 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Test harness for the class WT_Gedcom_Code_Pedi + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class GedcomCodePediTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + } + + /** + * Test FooBar + * + * @return void + */ + public function testFooBar() { + } +} diff --git a/tests/library/WT/Gedcom/Code/GedcomCodeQuayTest.php b/tests/library/WT/Gedcom/Code/GedcomCodeQuayTest.php new file mode 100644 index 0000000000..3834654a51 --- /dev/null +++ b/tests/library/WT/Gedcom/Code/GedcomCodeQuayTest.php @@ -0,0 +1,31 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Test harness for the class WT_Gedcom_Code_Quay + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class GedcomCodeQuayTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + } + + /** + * Test FooBar + * + * @return void + */ + public function testFooBar() { + } +} diff --git a/tests/library/WT/Gedcom/Code/GedcomCodeRelaTest.php b/tests/library/WT/Gedcom/Code/GedcomCodeRelaTest.php new file mode 100644 index 0000000000..10a86c0a82 --- /dev/null +++ b/tests/library/WT/Gedcom/Code/GedcomCodeRelaTest.php @@ -0,0 +1,31 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Test harness for the class WT_Gedcom_Code_Rela + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class GedcomCodeRelaTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + } + + /** + * Test FooBar + * + * @return void + */ + public function testFooBar() { + } +} diff --git a/tests/library/WT/Gedcom/Code/GedcomCodeStatTest.php b/tests/library/WT/Gedcom/Code/GedcomCodeStatTest.php new file mode 100644 index 0000000000..0b01000691 --- /dev/null +++ b/tests/library/WT/Gedcom/Code/GedcomCodeStatTest.php @@ -0,0 +1,31 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Test harness for the class WT_Gedcom_Code_Stat + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class GedcomCodeStatTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + } + + /** + * Test FooBar + * + * @return void + */ + public function testFooBar() { + } +} diff --git a/tests/library/WT/Gedcom/Code/GedcomCodeTempTest.php b/tests/library/WT/Gedcom/Code/GedcomCodeTempTest.php new file mode 100644 index 0000000000..3621827b8d --- /dev/null +++ b/tests/library/WT/Gedcom/Code/GedcomCodeTempTest.php @@ -0,0 +1,31 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Test harness for the class WT_Gedcom_Code_Temp + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class GedcomCodeTempTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + } + + /** + * Test FooBar + * + * @return void + */ + public function testFooBar() { + } +} diff --git a/tests/library/WT/Gedcom/GedcomTagTest.php b/tests/library/WT/Gedcom/GedcomTagTest.php new file mode 100644 index 0000000000..09a21903f8 --- /dev/null +++ b/tests/library/WT/Gedcom/GedcomTagTest.php @@ -0,0 +1,31 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Test harness for the class WT_Gedcom_Tag + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class GedcomTagTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + } + + /** + * Test FooBar + * + * @return void + */ + public function testFooBar() { + } +} diff --git a/tests/library/WT/GedcomRecordTest.php b/tests/library/WT/GedcomRecordTest.php new file mode 100644 index 0000000000..52581a9456 --- /dev/null +++ b/tests/library/WT/GedcomRecordTest.php @@ -0,0 +1,31 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Test harness for the class WT_GedcomRecord + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class GedcomRecordTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + } + + /** + * Test FooBar + * + * @return void + */ + public function testFooBar() { + } +} diff --git a/tests/library/WT/I18NTest.php b/tests/library/WT/I18NTest.php new file mode 100644 index 0000000000..82bfc21bf8 --- /dev/null +++ b/tests/library/WT/I18NTest.php @@ -0,0 +1,31 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Test harness for the class WT_I18N + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class I18NTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + } + + /** + * Test FooBar + * + * @return void + */ + public function testFooBar() { + } +} diff --git a/tests/library/WT/IndividualTest.php b/tests/library/WT/IndividualTest.php new file mode 100644 index 0000000000..f30d0c2bb3 --- /dev/null +++ b/tests/library/WT/IndividualTest.php @@ -0,0 +1,31 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Test harness for the class WT_Individual + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class IndividualTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + } + + /** + * Test FooBar + * + * @return void + */ + public function testFooBar() { + } +} diff --git a/tests/library/WT/LogTest.php b/tests/library/WT/LogTest.php new file mode 100644 index 0000000000..78bbd06ae3 --- /dev/null +++ b/tests/library/WT/LogTest.php @@ -0,0 +1,31 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Test harness for the class WT_Log + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class LogTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + } + + /** + * Test FooBar + * + * @return void + */ + public function testFooBar() { + } +} diff --git a/tests/library/WT/MailTest.php b/tests/library/WT/MailTest.php new file mode 100644 index 0000000000..057f8df40d --- /dev/null +++ b/tests/library/WT/MailTest.php @@ -0,0 +1,31 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Test harness for the class WT_Mail + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class MailTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + } + + /** + * Test FooBar + * + * @return void + */ + public function testFooBar() { + } +} diff --git a/tests/library/WT/MediaTest.php b/tests/library/WT/MediaTest.php new file mode 100644 index 0000000000..3152d0d3c6 --- /dev/null +++ b/tests/library/WT/MediaTest.php @@ -0,0 +1,31 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Test harness for the class WT_Media + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class MediaTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + } + + /** + * Test FooBar + * + * @return void + */ + public function testFooBar() { + } +} diff --git a/tests/library/WT/MenuBarTest.php b/tests/library/WT/MenuBarTest.php new file mode 100644 index 0000000000..8f7a0bedd3 --- /dev/null +++ b/tests/library/WT/MenuBarTest.php @@ -0,0 +1,31 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Test harness for the class WT_MenuBar + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class MenuBarTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + } + + /** + * Test FooBar + * + * @return void + */ + public function testFooBar() { + } +} diff --git a/tests/library/WT/MenuTest.php b/tests/library/WT/MenuTest.php new file mode 100644 index 0000000000..e978581db6 --- /dev/null +++ b/tests/library/WT/MenuTest.php @@ -0,0 +1,31 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Test harness for the class WT_Menu + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class MenuTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + } + + /** + * Test FooBar + * + * @return void + */ + public function testFooBar() { + } +} diff --git a/tests/library/WT/Module/ModuleBlockTest.php b/tests/library/WT/Module/ModuleBlockTest.php new file mode 100644 index 0000000000..2ec1ef71b2 --- /dev/null +++ b/tests/library/WT/Module/ModuleBlockTest.php @@ -0,0 +1,31 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Test harness for the class WT_Module_Block + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class ModuleBlockTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + } + + /** + * Test FooBar + * + * @return void + */ + public function testFooBar() { + } +} diff --git a/tests/library/WT/Module/ModuleChartTest.php b/tests/library/WT/Module/ModuleChartTest.php new file mode 100644 index 0000000000..d373da9c31 --- /dev/null +++ b/tests/library/WT/Module/ModuleChartTest.php @@ -0,0 +1,31 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Test harness for the class WT_Module_Chart + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class ModuleChartTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + } + + /** + * Test FooBar + * + * @return void + */ + public function testFooBar() { + } +} diff --git a/tests/library/WT/Module/ModuleConfigTest.php b/tests/library/WT/Module/ModuleConfigTest.php new file mode 100644 index 0000000000..16a8006600 --- /dev/null +++ b/tests/library/WT/Module/ModuleConfigTest.php @@ -0,0 +1,31 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Test harness for the class WT_Module_Config + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class ModuleConfigTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + } + + /** + * Test FooBar + * + * @return void + */ + public function testFooBar() { + } +} diff --git a/tests/library/WT/Module/ModuleMenuTest.php b/tests/library/WT/Module/ModuleMenuTest.php new file mode 100644 index 0000000000..7afaec7a84 --- /dev/null +++ b/tests/library/WT/Module/ModuleMenuTest.php @@ -0,0 +1,31 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Test harness for the class WT_Module_Menu + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class ModuleMenuTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + } + + /** + * Test FooBar + * + * @return void + */ + public function testFooBar() { + } +} diff --git a/tests/library/WT/Module/ModuleReportTest.php b/tests/library/WT/Module/ModuleReportTest.php new file mode 100644 index 0000000000..edfa8b4e24 --- /dev/null +++ b/tests/library/WT/Module/ModuleReportTest.php @@ -0,0 +1,31 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Test harness for the class WT_Module_Report + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class ModuleReportTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + } + + /** + * Test FooBar + * + * @return void + */ + public function testFooBar() { + } +} diff --git a/tests/library/WT/Module/ModuleSidebarTest.php b/tests/library/WT/Module/ModuleSidebarTest.php new file mode 100644 index 0000000000..fa369504df --- /dev/null +++ b/tests/library/WT/Module/ModuleSidebarTest.php @@ -0,0 +1,31 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Test harness for the class WT_Module_Sidebar + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class ModuleSidebarTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + } + + /** + * Test FooBar + * + * @return void + */ + public function testFooBar() { + } +} diff --git a/tests/library/WT/Module/ModuleTabTest.php b/tests/library/WT/Module/ModuleTabTest.php new file mode 100644 index 0000000000..cfb6449da2 --- /dev/null +++ b/tests/library/WT/Module/ModuleTabTest.php @@ -0,0 +1,31 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Test harness for the class WT_Module_Tab + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class ModuleTabTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + } + + /** + * Test FooBar + * + * @return void + */ + public function testFooBar() { + } +} diff --git a/tests/library/WT/Module/ModuleThemeTest.php b/tests/library/WT/Module/ModuleThemeTest.php new file mode 100644 index 0000000000..f32dd7c12b --- /dev/null +++ b/tests/library/WT/Module/ModuleThemeTest.php @@ -0,0 +1,31 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Test harness for the class WT_Module_Theme + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class ModuleThemeTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + } + + /** + * Test FooBar + * + * @return void + */ + public function testFooBar() { + } +} diff --git a/tests/library/WT/ModuleTest.php b/tests/library/WT/ModuleTest.php new file mode 100644 index 0000000000..7171855076 --- /dev/null +++ b/tests/library/WT/ModuleTest.php @@ -0,0 +1,31 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Test harness for the class WT_Module + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class ModuleTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + } + + /** + * Test FooBar + * + * @return void + */ + public function testFooBar() { + } +} diff --git a/tests/library/WT/NoteTest.php b/tests/library/WT/NoteTest.php new file mode 100644 index 0000000000..d9e2c6a682 --- /dev/null +++ b/tests/library/WT/NoteTest.php @@ -0,0 +1,31 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Test harness for the class WT_Note + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class NoteTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + } + + /** + * Test FooBar + * + * @return void + */ + public function testFooBar() { + } +} diff --git a/tests/library/WT/PlaceTest.php b/tests/library/WT/PlaceTest.php new file mode 100644 index 0000000000..9b41ec1cc9 --- /dev/null +++ b/tests/library/WT/PlaceTest.php @@ -0,0 +1,31 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Test harness for the class WT_Place + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class PlaceTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + } + + /** + * Test FooBar + * + * @return void + */ + public function testFooBar() { + } +} diff --git a/tests/library/WT/Query/QueryAdminTest.php b/tests/library/WT/Query/QueryAdminTest.php new file mode 100644 index 0000000000..c5ea114731 --- /dev/null +++ b/tests/library/WT/Query/QueryAdminTest.php @@ -0,0 +1,31 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Test harness for the class WT_Query_Admin + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class QueryAdminTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + } + + /** + * Test FooBar + * + * @return void + */ + public function testFooBar() { + } +} diff --git a/tests/library/WT/Query/QueryMediaTest.php b/tests/library/WT/Query/QueryMediaTest.php new file mode 100644 index 0000000000..f19095dc02 --- /dev/null +++ b/tests/library/WT/Query/QueryMediaTest.php @@ -0,0 +1,31 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Test harness for the class WT_Query_Media + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class QueryMediaTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + } + + /** + * Test FooBar + * + * @return void + */ + public function testFooBar() { + } +} diff --git a/tests/library/WT/Query/QueryNameTest.php b/tests/library/WT/Query/QueryNameTest.php new file mode 100644 index 0000000000..e0085905b9 --- /dev/null +++ b/tests/library/WT/Query/QueryNameTest.php @@ -0,0 +1,31 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Test harness for the class WT_Query_Name + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class QueryNameTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + } + + /** + * Test FooBar + * + * @return void + */ + public function testFooBar() { + } +} diff --git a/tests/library/WT/Report/ReportBaseTest.php b/tests/library/WT/Report/ReportBaseTest.php new file mode 100644 index 0000000000..c4797b7022 --- /dev/null +++ b/tests/library/WT/Report/ReportBaseTest.php @@ -0,0 +1,31 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Test harness for the class WT_Report_Base + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class ReportBaseTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + } + + /** + * Test FooBar + * + * @return void + */ + public function testFooBar() { + } +} diff --git a/tests/library/WT/Report/ReportHTMLTest.php b/tests/library/WT/Report/ReportHTMLTest.php new file mode 100644 index 0000000000..e4672fe0b5 --- /dev/null +++ b/tests/library/WT/Report/ReportHTMLTest.php @@ -0,0 +1,31 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Test harness for the class WT_Report_HTML + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class ReportHTMLTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + } + + /** + * Test FooBar + * + * @return void + */ + public function testFooBar() { + } +} diff --git a/tests/library/WT/Report/ReportPDFTest.php b/tests/library/WT/Report/ReportPDFTest.php new file mode 100644 index 0000000000..dfcd873fc1 --- /dev/null +++ b/tests/library/WT/Report/ReportPDFTest.php @@ -0,0 +1,31 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Test harness for the class WT_Report_PDF + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class ReportPDFTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + } + + /** + * Test FooBar + * + * @return void + */ + public function testFooBar() { + } +} diff --git a/tests/library/WT/RepositoryTest.php b/tests/library/WT/RepositoryTest.php new file mode 100644 index 0000000000..84e4b5290a --- /dev/null +++ b/tests/library/WT/RepositoryTest.php @@ -0,0 +1,31 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Test harness for the class WT_Repository + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class RepositoryTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + } + + /** + * Test FooBar + * + * @return void + */ + public function testFooBar() { + } +} diff --git a/tests/library/WT/SiteTest.php b/tests/library/WT/SiteTest.php new file mode 100644 index 0000000000..f9617813e5 --- /dev/null +++ b/tests/library/WT/SiteTest.php @@ -0,0 +1,31 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Test harness for the class WT_Site + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class SiteTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + } + + /** + * Test FooBar + * + * @return void + */ + public function testFooBar() { + } +} diff --git a/tests/library/WT/SoundexTest.php b/tests/library/WT/SoundexTest.php new file mode 100644 index 0000000000..f6d3b06f0e --- /dev/null +++ b/tests/library/WT/SoundexTest.php @@ -0,0 +1,31 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Test harness for the class WT_Soundex + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class SoundexTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + } + + /** + * Test FooBar + * + * @return void + */ + public function testFooBar() { + } +} diff --git a/tests/library/WT/SourceTest.php b/tests/library/WT/SourceTest.php new file mode 100644 index 0000000000..37695ef34d --- /dev/null +++ b/tests/library/WT/SourceTest.php @@ -0,0 +1,31 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Test harness for the class WT_Source + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class SourceTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + } + + /** + * Test FooBar + * + * @return void + */ + public function testFooBar() { + } +} diff --git a/tests/library/WT/StatsTest.php b/tests/library/WT/StatsTest.php new file mode 100644 index 0000000000..7116870c8a --- /dev/null +++ b/tests/library/WT/StatsTest.php @@ -0,0 +1,31 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Test harness for the class WT_Stats + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class StatsTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + } + + /** + * Test FooBar + * + * @return void + */ + public function testFooBar() { + } +} diff --git a/tests/library/WT/TreeTest.php b/tests/library/WT/TreeTest.php new file mode 100644 index 0000000000..3067b38617 --- /dev/null +++ b/tests/library/WT/TreeTest.php @@ -0,0 +1,31 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Test harness for the class WT_Tree + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class TreeTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + } + + /** + * Test FooBar + * + * @return void + */ + public function testFooBar() { + } +} diff --git a/tests/library/WT/UserTest.php b/tests/library/WT/UserTest.php new file mode 100644 index 0000000000..9b87e04936 --- /dev/null +++ b/tests/library/WT/UserTest.php @@ -0,0 +1,31 @@ +<?php +namespace WT; + +use PHPUnit_Framework_TestCase; + +/** + * Test harness for the class WT_User + * + * @package webtrees + * @author Greg Roach <fisharebest@gmail.com> + * @copyright (c) 2014 webtrees development team + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 + */ + +class UserTest extends PHPUnit_Framework_TestCase { + /** + * Prepare the environment for these tests + * + * @return void + */ + public function setUp() { + } + + /** + * Test FooBar + * + * @return void + */ + public function testFooBar() { + } +} |
