From 20207c9126ad587d0664818188a5edff6700abab Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Mon, 22 Dec 2014 14:26:48 -0800 Subject: [PATCH] tests/ - Remove get_info() I believe that get_info() originated circa Civi v2 when tests were written with SimpleTest. In PHPUnit, these functions serve no purpose and have been created inconsistently. --- tests/phpunit/CRM/Activity/BAO/ActivityTest.php | 11 ----------- tests/phpunit/CRM/Batch/Form/EntryTest.php | 12 ------------ tests/phpunit/CRM/Case/BAO/CaseTest.php | 10 ---------- tests/phpunit/CRM/Case/PseudoConstantTest.php | 10 ---------- tests/phpunit/CRM/Contact/BAO/ContactTest.php | 11 ----------- .../Contact/BAO/ContactType/ContactSearchTest.php | 10 ---------- .../CRM/Contact/BAO/ContactType/ContactTest.php | 10 ---------- .../CRM/Contact/BAO/ContactType/ContactTypeTest.php | 10 ---------- .../CRM/Contact/BAO/ContactType/RelationshipTest.php | 10 ---------- tests/phpunit/CRM/Contact/BAO/QueryTest.php | 10 ---------- .../CRM/Contact/Form/Search/Custom/GroupTest.php | 11 ----------- .../CRM/Contribute/BAO/ContributionPageTest.php | 10 ---------- .../phpunit/CRM/Contribute/BAO/ContributionTest.php | 10 ---------- .../CRM/Contribute/BAO/ContributionTypeTest.php | 10 ---------- .../CRM/Contribute/BAO/ManagePremiumsTest.php | 10 ---------- tests/phpunit/CRM/Core/BAO/ActionScheduleTest.php | 11 ----------- tests/phpunit/CRM/Core/BAO/AddressTest.php | 11 ----------- tests/phpunit/CRM/Core/BAO/CustomFieldTest.php | 10 ---------- tests/phpunit/CRM/Core/BAO/CustomGroupTest.php | 10 ---------- .../CRM/Core/BAO/CustomValueTableMultipleTest.php | 10 ---------- .../CRM/Core/BAO/CustomValueTableSetGetTest.php | 10 ---------- tests/phpunit/CRM/Core/BAO/CustomValueTableTest.php | 10 ---------- tests/phpunit/CRM/Core/BAO/CustomValueTest.php | 11 ----------- tests/phpunit/CRM/Core/BAO/EmailTest.php | 11 ----------- tests/phpunit/CRM/Core/BAO/FinancialTrxnTest.php | 11 ----------- tests/phpunit/CRM/Core/BAO/IMTest.php | 11 ----------- tests/phpunit/CRM/Core/BAO/LocationTest.php | 11 ----------- tests/phpunit/CRM/Core/BAO/OpenIDTest.php | 11 ----------- tests/phpunit/CRM/Core/BAO/PhoneTest.php | 10 ---------- tests/phpunit/CRM/Core/BAO/PreferencesTest.php | 10 ---------- tests/phpunit/CRM/Core/BAO/RecurringEntityTest.php | 10 ---------- tests/phpunit/CRM/Core/BAO/SettingTest.php | 11 ----------- tests/phpunit/CRM/Core/DAOTest.php | 10 ---------- tests/phpunit/CRM/Core/ErrorTest.php | 10 ---------- tests/phpunit/CRM/Core/FieldOptionsTest.php | 11 ----------- tests/phpunit/CRM/Core/ManagedEntitiesTest.php | 8 -------- .../phpunit/CRM/Core/Payment/AuthorizeNetIPNTest.php | 11 ----------- tests/phpunit/CRM/Core/Payment/AuthorizeNetTest.php | 10 ---------- tests/phpunit/CRM/Core/Payment/BaseIPNTest.php | 11 ----------- tests/phpunit/CRM/Core/Payment/PayPalProIPNTest.php | 11 ----------- tests/phpunit/CRM/Core/PaymentTest.php | 10 ---------- tests/phpunit/CRM/Core/PseudoConstantTest.php | 10 ---------- tests/phpunit/CRM/Core/RegionTest.php | 11 ----------- tests/phpunit/CRM/Core/ResourcesTest.php | 10 ---------- .../phpunit/CRM/Event/BAO/AdditionalPaymentTest.php | 10 ---------- .../phpunit/CRM/Event/BAO/ParticipantStatusTest.php | 11 ----------- tests/phpunit/CRM/Event/BAO/ParticipantTest.php | 10 ---------- .../CRM/Financial/BAO/FinancialAccountTest.php | 11 ----------- .../phpunit/CRM/Financial/BAO/FinancialItemTest.php | 11 ----------- .../CRM/Financial/BAO/FinancialTypeAccountTest.php | 11 ----------- .../phpunit/CRM/Financial/BAO/FinancialTypeTest.php | 11 ----------- .../CRM/Financial/BAO/PaymentProcessorTypeTest.php | 11 ----------- tests/phpunit/CRM/Group/Page/AjaxTest.php | 11 ----------- tests/phpunit/CRM/Mailing/BAO/QueryTest.php | 10 ---------- tests/phpunit/CRM/Mailing/BAO/SpoolTest.php | 11 ----------- tests/phpunit/CRM/Member/BAO/MembershipLogTest.php | 10 ---------- .../phpunit/CRM/Member/BAO/MembershipStatusTest.php | 10 ---------- tests/phpunit/CRM/Member/BAO/MembershipTest.php | 10 ---------- tests/phpunit/CRM/Member/BAO/MembershipTypeTest.php | 10 ---------- .../CRM/Member/Import/Parser/MembershipTest.php | 11 ----------- tests/phpunit/CRM/PCP/BAO/PCPTest.php | 10 ---------- tests/phpunit/CRM/Pledge/BAO/PledgeBlockTest.php | 11 ----------- tests/phpunit/CRM/Queue/Queue/SqlTest.php | 10 ---------- tests/phpunit/CRM/Queue/QueueTest.php | 10 ---------- tests/phpunit/CRM/Queue/RunnerTest.php | 10 ---------- tests/phpunit/CRM/Utils/DeprecatedUtilsTest.php | 11 ----------- tests/phpunit/CRM/Utils/HtmlToTextTest.php | 11 ----------- tests/phpunit/CRM/Utils/MailTest.php | 10 ---------- tests/phpunit/CRM/Utils/RestTest.php | 10 ---------- tests/phpunit/CRM/Utils/RuleTest.php | 11 ----------- tests/phpunit/CRM/Utils/SignerTest.php | 11 ----------- tests/phpunit/CRM/Utils/StringTest.php | 10 ---------- tests/phpunit/CRM/Utils/SystemTest.php | 11 ----------- tests/phpunit/CRM/Utils/TypeTest.php | 11 ----------- tests/phpunit/CRM/Utils/ZipTest.php | 10 ---------- tests/phpunit/api/v3/ActivityTypeTest.php | 12 ------------ tests/phpunit/api/v3/CustomFieldTest.php | 11 ----------- tests/phpunit/api/v3/CustomGroupTest.php | 11 ----------- tests/phpunit/api/v3/CustomValueContactTypeTest.php | 12 ------------ tests/phpunit/api/v3/EventTest.php | 11 ----------- tests/phpunit/api/v3/GroupContactTest.php | 11 ----------- tests/phpunit/api/v3/GroupOrganizationTest.php | 11 ----------- tests/phpunit/api/v3/GroupTest.php | 11 ----------- tests/phpunit/api/v3/MailingABTest.php | 11 ----------- tests/phpunit/api/v3/MailingGroupTest.php | 12 ------------ tests/phpunit/api/v3/MailingTest.php | 11 ----------- tests/phpunit/api/v3/MembershipStatusTest.php | 11 ----------- tests/phpunit/api/v3/MembershipTypeTest.php | 12 ------------ tests/phpunit/api/v3/NoteTest.php | 11 ----------- tests/phpunit/api/v3/ParticipantPaymentTest.php | 12 ------------ tests/phpunit/api/v3/ParticipantTest.php | 11 ----------- tests/phpunit/api/v3/PaymentProcessorTest.php | 11 ----------- tests/phpunit/api/v3/PaymentProcessorTypeTest.php | 11 ----------- tests/phpunit/api/v3/ProductTest.php | 11 ----------- tests/phpunit/api/v3/ProfileTest.php | 11 ----------- tests/phpunit/api/v3/RelationshipTest.php | 11 ----------- tests/phpunit/api/v3/RelationshipTypeTest.php | 11 ----------- tests/phpunit/api/v3/SettingTest.php | 11 ----------- 98 files changed, 1041 deletions(-) diff --git a/tests/phpunit/CRM/Activity/BAO/ActivityTest.php b/tests/phpunit/CRM/Activity/BAO/ActivityTest.php index 0345e7117e..d970df8d2e 100644 --- a/tests/phpunit/CRM/Activity/BAO/ActivityTest.php +++ b/tests/phpunit/CRM/Activity/BAO/ActivityTest.php @@ -6,17 +6,6 @@ require_once 'CiviTest/Contact.php'; * Class CRM_Activity_BAO_ActivityTest */ class CRM_Activity_BAO_ActivityTest extends CiviUnitTestCase { - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'Activity BAOs', - 'description' => 'Test all Activity_BAO_Activity methods.', - 'group' => 'CiviCRM BAO Tests', - ); - } - function setUp() { parent::setUp(); } diff --git a/tests/phpunit/CRM/Batch/Form/EntryTest.php b/tests/phpunit/CRM/Batch/Form/EntryTest.php index dbd606818b..71aeb00440 100644 --- a/tests/phpunit/CRM/Batch/Form/EntryTest.php +++ b/tests/phpunit/CRM/Batch/Form/EntryTest.php @@ -69,18 +69,6 @@ class CRM_Batch_Form_EntryTest extends CiviUnitTestCase { */ protected $_contactID4 = NULL; - /** - * Describe test class - * @return array - */ - function get_info() { - return array( - 'name' => 'MembershipParserTest', - 'description' => 'Test import parser function', - 'group' => 'CiviCRM BAO Tests', - ); - } - function setUp() { parent::setUp(); diff --git a/tests/phpunit/CRM/Case/BAO/CaseTest.php b/tests/phpunit/CRM/Case/BAO/CaseTest.php index bb7c03d165..c52718eaef 100644 --- a/tests/phpunit/CRM/Case/BAO/CaseTest.php +++ b/tests/phpunit/CRM/Case/BAO/CaseTest.php @@ -5,16 +5,6 @@ require_once 'CiviTest/CiviUnitTestCase.php'; * Class CRM_Case_BAO_CaseTest */ class CRM_Case_BAO_CaseTest extends CiviUnitTestCase { - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'Case BAOs', - 'description' => 'Test Case_BAO_Case methods.', - 'group' => 'CiviCRM BAO Tests', - ); - } function setUp() { parent::setUp(); diff --git a/tests/phpunit/CRM/Case/PseudoConstantTest.php b/tests/phpunit/CRM/Case/PseudoConstantTest.php index 5df9ace7a8..2a1acdc502 100644 --- a/tests/phpunit/CRM/Case/PseudoConstantTest.php +++ b/tests/phpunit/CRM/Case/PseudoConstantTest.php @@ -5,16 +5,6 @@ require_once 'CiviTest/CiviCaseTestCase.php'; * Class CRM_Case_PseudoConstantTest */ class CRM_Case_PseudoConstantTest extends CiviCaseTestCase { - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'Case PseudoConstants', - 'description' => 'Test Case_PseudoConstant methods.', - 'group' => 'Case', - ); - } function testCaseType() { CRM_Core_PseudoConstant::flush(); diff --git a/tests/phpunit/CRM/Contact/BAO/ContactTest.php b/tests/phpunit/CRM/Contact/BAO/ContactTest.php index 1f739463ec..2a4b78df3e 100644 --- a/tests/phpunit/CRM/Contact/BAO/ContactTest.php +++ b/tests/phpunit/CRM/Contact/BAO/ContactTest.php @@ -7,17 +7,6 @@ require_once 'CiviTest/Custom.php'; * Class CRM_Contact_BAO_ContactTest */ class CRM_Contact_BAO_ContactTest extends CiviUnitTestCase { - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'Contact BAOs', - 'description' => 'Test all Contact_BAO_Contact methods.', - 'group' => 'CiviCRM BAO Tests', - ); - } - function setUp() { parent::setUp(); } diff --git a/tests/phpunit/CRM/Contact/BAO/ContactType/ContactSearchTest.php b/tests/phpunit/CRM/Contact/BAO/ContactType/ContactSearchTest.php index ef73bc1599..59c7bb5ec8 100644 --- a/tests/phpunit/CRM/Contact/BAO/ContactType/ContactSearchTest.php +++ b/tests/phpunit/CRM/Contact/BAO/ContactType/ContactSearchTest.php @@ -6,16 +6,6 @@ require_once 'CiviTest/Contact.php'; * Class CRM_Contact_BAO_ContactType_ContactSearchTest */ class CRM_Contact_BAO_ContactType_ContactSearchTest extends CiviUnitTestCase { - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'Contact Search Subtype', - 'description' => 'Test Contact for subtype.', - 'group' => 'CiviCRM BAO Tests', - ); - } function setUp() { parent::setUp(); diff --git a/tests/phpunit/CRM/Contact/BAO/ContactType/ContactTest.php b/tests/phpunit/CRM/Contact/BAO/ContactType/ContactTest.php index 6a87759c13..173d998843 100644 --- a/tests/phpunit/CRM/Contact/BAO/ContactType/ContactTest.php +++ b/tests/phpunit/CRM/Contact/BAO/ContactType/ContactTest.php @@ -5,16 +5,6 @@ require_once 'CiviTest/CiviUnitTestCase.php'; * Class CRM_Contact_BAO_ContactType_ContactTest */ class CRM_Contact_BAO_ContactType_ContactTest extends CiviUnitTestCase { - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'Contact Subtype', - 'description' => 'Test Contact for subtype.', - 'group' => 'CiviCRM BAO Tests', - ); - } function setUp() { parent::setUp(); diff --git a/tests/phpunit/CRM/Contact/BAO/ContactType/ContactTypeTest.php b/tests/phpunit/CRM/Contact/BAO/ContactType/ContactTypeTest.php index 977d26f652..6b2a86fa46 100644 --- a/tests/phpunit/CRM/Contact/BAO/ContactType/ContactTypeTest.php +++ b/tests/phpunit/CRM/Contact/BAO/ContactType/ContactTypeTest.php @@ -5,16 +5,6 @@ require_once 'CiviTest/CiviUnitTestCase.php'; * Class CRM_Contact_BAO_ContactType_ContactTypeTest */ class CRM_Contact_BAO_ContactType_ContactTypeTest extends CiviUnitTestCase { - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'Contact Subtype', - 'description' => 'Test Contact for subtype.', - 'group' => 'CiviCRM BAO Tests', - ); - } function setUp() { parent::setUp(); diff --git a/tests/phpunit/CRM/Contact/BAO/ContactType/RelationshipTest.php b/tests/phpunit/CRM/Contact/BAO/ContactType/RelationshipTest.php index 60037a0c05..94e89b5649 100644 --- a/tests/phpunit/CRM/Contact/BAO/ContactType/RelationshipTest.php +++ b/tests/phpunit/CRM/Contact/BAO/ContactType/RelationshipTest.php @@ -6,16 +6,6 @@ require_once 'CiviTest/Contact.php'; * Class CRM_Contact_BAO_ContactType_RelationshipTest */ class CRM_Contact_BAO_ContactType_RelationshipTest extends CiviUnitTestCase { - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'Relationship Subtype', - 'description' => 'Test Relattionship for subtype.', - 'group' => 'CiviCRM BAO Tests', - ); - } function setUp() { parent::setUp(); diff --git a/tests/phpunit/CRM/Contact/BAO/QueryTest.php b/tests/phpunit/CRM/Contact/BAO/QueryTest.php index 03e32efc07..853368ed78 100644 --- a/tests/phpunit/CRM/Contact/BAO/QueryTest.php +++ b/tests/phpunit/CRM/Contact/BAO/QueryTest.php @@ -6,16 +6,6 @@ require_once 'CiviTest/Contact.php'; * Include dataProvider for tests */ class CRM_Contact_BAO_QueryTest extends CiviUnitTestCase { - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'Contact BAO Query', - 'description' => 'Test all Contact_BAO_Query methods.', - 'group' => 'CiviCRM BAO Query Tests', - ); - } /** * @return CRM_Contact_BAO_QueryTestDataProvider diff --git a/tests/phpunit/CRM/Contact/Form/Search/Custom/GroupTest.php b/tests/phpunit/CRM/Contact/Form/Search/Custom/GroupTest.php index 0bf7faa9cf..0e120bd7a2 100644 --- a/tests/phpunit/CRM/Contact/Form/Search/Custom/GroupTest.php +++ b/tests/phpunit/CRM/Contact/Form/Search/Custom/GroupTest.php @@ -65,17 +65,6 @@ class CRM_Contact_Form_Search_Custom_GroupTest extends CiviUnitTestCase { 'civicrm_option_group', ); - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'Contact Custom Search Group', - 'description' => 'Test all CRM_Contact_Form_Search_Custom_Group methods.', - 'group' => 'CiviCRM Custom Search Tests', - ); - } - /** * @return CRM_Contact_Form_Search_Custom_GroupTestDataProvider */ diff --git a/tests/phpunit/CRM/Contribute/BAO/ContributionPageTest.php b/tests/phpunit/CRM/Contribute/BAO/ContributionPageTest.php index aa8162e9e2..e559acc7ed 100644 --- a/tests/phpunit/CRM/Contribute/BAO/ContributionPageTest.php +++ b/tests/phpunit/CRM/Contribute/BAO/ContributionPageTest.php @@ -36,16 +36,6 @@ require_once 'CiviTest/PaypalPro.php'; * Class CRM_Contribute_BAO_ContributionPageTest */ class CRM_Contribute_BAO_ContributionPageTest extends CiviUnitTestCase { - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'Contribution BAOs', - 'description' => 'Test all Contribute_BAO_ContributionPage methods.', - 'group' => 'CiviCRM BAO Tests', - ); - } function setUp() { parent::setUp(); diff --git a/tests/phpunit/CRM/Contribute/BAO/ContributionTest.php b/tests/phpunit/CRM/Contribute/BAO/ContributionTest.php index 6e0eb268d0..8348f7bec4 100644 --- a/tests/phpunit/CRM/Contribute/BAO/ContributionTest.php +++ b/tests/phpunit/CRM/Contribute/BAO/ContributionTest.php @@ -34,16 +34,6 @@ require_once 'CiviTest/Custom.php'; * Class CRM_Contribute_BAO_ContributionTest */ class CRM_Contribute_BAO_ContributionTest extends CiviUnitTestCase { - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'Contribution BAOs', - 'description' => 'Test all Contribute_BAO_Contribution methods.', - 'group' => 'CiviCRM BAO Tests', - ); - } function setUp() { parent::setUp(); diff --git a/tests/phpunit/CRM/Contribute/BAO/ContributionTypeTest.php b/tests/phpunit/CRM/Contribute/BAO/ContributionTypeTest.php index f5a2a4c0a1..0a5a8cf2b6 100644 --- a/tests/phpunit/CRM/Contribute/BAO/ContributionTypeTest.php +++ b/tests/phpunit/CRM/Contribute/BAO/ContributionTypeTest.php @@ -31,16 +31,6 @@ require_once 'CiviTest/CiviUnitTestCase.php'; * Class CRM_Contribute_BAO_ContributionTypeTest */ class CRM_Contribute_BAO_ContributionTypeTest extends CiviUnitTestCase { - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'FinancialAccount BAOs', - 'description' => 'Test all Contribute_BAO_Contribution methods.', - 'group' => 'CiviCRM BAO Tests', - ); - } function setUp() { parent::setUp(); diff --git a/tests/phpunit/CRM/Contribute/BAO/ManagePremiumsTest.php b/tests/phpunit/CRM/Contribute/BAO/ManagePremiumsTest.php index 9b3f523663..cb244fc637 100644 --- a/tests/phpunit/CRM/Contribute/BAO/ManagePremiumsTest.php +++ b/tests/phpunit/CRM/Contribute/BAO/ManagePremiumsTest.php @@ -31,16 +31,6 @@ require_once 'CiviTest/CiviUnitTestCase.php'; * Class CRM_Contribute_BAO_ManagePremiumsTest */ class CRM_Contribute_BAO_ManagePremiumsTest extends CiviUnitTestCase { - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'ManagePremiums BAOs', - 'description' => 'Test all Contribute_BAO_Contribution methods.', - 'group' => 'CiviCRM BAO Tests', - ); - } function setUp() { parent::setUp(); diff --git a/tests/phpunit/CRM/Core/BAO/ActionScheduleTest.php b/tests/phpunit/CRM/Core/BAO/ActionScheduleTest.php index 2d97054a0c..9dfc462ad6 100644 --- a/tests/phpunit/CRM/Core/BAO/ActionScheduleTest.php +++ b/tests/phpunit/CRM/Core/BAO/ActionScheduleTest.php @@ -37,17 +37,6 @@ class CRM_Core_BAO_ActionScheduleTest extends CiviUnitTestCase { */ var $mut; - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'Action-Schedule BAO', - 'description' => 'Test sending of scheduled notifications.', - 'group' => 'CiviCRM BAO Tests', - ); - } - function setUp() { parent::setUp(); diff --git a/tests/phpunit/CRM/Core/BAO/AddressTest.php b/tests/phpunit/CRM/Core/BAO/AddressTest.php index b94cc4e9c2..4c7855b456 100644 --- a/tests/phpunit/CRM/Core/BAO/AddressTest.php +++ b/tests/phpunit/CRM/Core/BAO/AddressTest.php @@ -33,17 +33,6 @@ require_once 'CiviTest/Contact.php'; * Class CRM_Core_BAO_AddressTest */ class CRM_Core_BAO_AddressTest extends CiviUnitTestCase { - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'Address BAOs', - 'description' => 'Test all Core_BAO_Address methods.', - 'group' => 'CiviCRM BAO Tests', - ); - } - function setUp() { parent::setUp(); diff --git a/tests/phpunit/CRM/Core/BAO/CustomFieldTest.php b/tests/phpunit/CRM/Core/BAO/CustomFieldTest.php index 2cb6768f20..6132a545d5 100644 --- a/tests/phpunit/CRM/Core/BAO/CustomFieldTest.php +++ b/tests/phpunit/CRM/Core/BAO/CustomFieldTest.php @@ -7,16 +7,6 @@ require_once 'CiviTest/Custom.php'; * Class CRM_Core_BAO_CustomFieldTest */ class CRM_Core_BAO_CustomFieldTest extends CiviUnitTestCase { - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'Custom Field BAOs', - 'description' => 'Test all Core_BAO_CustomField methods.', - 'group' => 'CiviCRM BAO Tests', - ); - } function setUp() { parent::setUp(); diff --git a/tests/phpunit/CRM/Core/BAO/CustomGroupTest.php b/tests/phpunit/CRM/Core/BAO/CustomGroupTest.php index 11164b54e8..7d229292ed 100644 --- a/tests/phpunit/CRM/Core/BAO/CustomGroupTest.php +++ b/tests/phpunit/CRM/Core/BAO/CustomGroupTest.php @@ -35,16 +35,6 @@ require_once 'CiviTest/Custom.php'; * Class CRM_Core_BAO_CustomGroupTest */ class CRM_Core_BAO_CustomGroupTest extends CiviUnitTestCase { - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'CustomGroup BAOs', - 'description' => 'Test all Core_BAO_CustomGroup methods.', - 'group' => 'CiviCRM BAO Tests', - ); - } function setUp() { parent::setUp(); diff --git a/tests/phpunit/CRM/Core/BAO/CustomValueTableMultipleTest.php b/tests/phpunit/CRM/Core/BAO/CustomValueTableMultipleTest.php index 55d97666b3..7ef49175fe 100644 --- a/tests/phpunit/CRM/Core/BAO/CustomValueTableMultipleTest.php +++ b/tests/phpunit/CRM/Core/BAO/CustomValueTableMultipleTest.php @@ -8,16 +8,6 @@ require_once 'CiviTest/Custom.php'; * Class CRM_Core_BAO_CustomValueTableMultipleTest */ class CRM_Core_BAO_CustomValueTableMultipleTest extends CiviUnitTestCase { - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'Custom Value Table BAOs (multipe value)', - 'description' => 'Test all Core_BAO_CustomValueTable methods. (for multiple values)', - 'group' => 'CiviCRM BAO Tests', - ); - } function setUp() { parent::setUp(); diff --git a/tests/phpunit/CRM/Core/BAO/CustomValueTableSetGetTest.php b/tests/phpunit/CRM/Core/BAO/CustomValueTableSetGetTest.php index f07569b3d4..cb425ce20a 100644 --- a/tests/phpunit/CRM/Core/BAO/CustomValueTableSetGetTest.php +++ b/tests/phpunit/CRM/Core/BAO/CustomValueTableSetGetTest.php @@ -7,16 +7,6 @@ require_once 'CiviTest/Custom.php'; * Class CRM_Core_BAO_CustomValueTableSetGetTest */ class CRM_Core_BAO_CustomValueTableSetGetTest extends CiviUnitTestCase { - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'Custom Value Table BAO setValues and getValues', - 'description' => 'Test setValues and getValues Core_BAO_CustomValueTable methods.', - 'group' => 'CiviCRM BAO Tests', - ); - } function setUp() { parent::setUp(); diff --git a/tests/phpunit/CRM/Core/BAO/CustomValueTableTest.php b/tests/phpunit/CRM/Core/BAO/CustomValueTableTest.php index c3927f9a9b..33117625f0 100644 --- a/tests/phpunit/CRM/Core/BAO/CustomValueTableTest.php +++ b/tests/phpunit/CRM/Core/BAO/CustomValueTableTest.php @@ -7,16 +7,6 @@ require_once 'CiviTest/Custom.php'; * Class CRM_Core_BAO_CustomValueTableTest */ class CRM_Core_BAO_CustomValueTableTest extends CiviUnitTestCase { - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'Custom Value Table BAOs', - 'description' => 'Test all Core_BAO_CustomValueTable methods.', - 'group' => 'CiviCRM BAO Tests', - ); - } function setUp() { parent::setUp(); diff --git a/tests/phpunit/CRM/Core/BAO/CustomValueTest.php b/tests/phpunit/CRM/Core/BAO/CustomValueTest.php index 643acd95ba..c68835c3b7 100644 --- a/tests/phpunit/CRM/Core/BAO/CustomValueTest.php +++ b/tests/phpunit/CRM/Core/BAO/CustomValueTest.php @@ -40,17 +40,6 @@ require_once 'CiviTest/Custom.php'; * Class CRM_Core_BAO_CustomValueTest */ class CRM_Core_BAO_CustomValueTest extends CiviUnitTestCase { - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'CustomValue BAOs', - 'description' => 'Test all Core_BAO_CustomValue methods.', - 'group' => 'CiviCRM BAO Tests', - ); - } - function testTypeCheckWithValidInput() { $values = array(); diff --git a/tests/phpunit/CRM/Core/BAO/EmailTest.php b/tests/phpunit/CRM/Core/BAO/EmailTest.php index 2ffe95b843..d9ac7b00f5 100644 --- a/tests/phpunit/CRM/Core/BAO/EmailTest.php +++ b/tests/phpunit/CRM/Core/BAO/EmailTest.php @@ -6,17 +6,6 @@ require_once 'CiviTest/Contact.php'; * Class CRM_Core_BAO_EmailTest */ class CRM_Core_BAO_EmailTest extends CiviUnitTestCase { - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'Email BAOs', - 'description' => 'Test all Core_BAO_Email methods.', - 'group' => 'CiviCRM BAO Tests', - ); - } - function setUp() { parent::setUp(); diff --git a/tests/phpunit/CRM/Core/BAO/FinancialTrxnTest.php b/tests/phpunit/CRM/Core/BAO/FinancialTrxnTest.php index 43911460cd..989d95e21d 100644 --- a/tests/phpunit/CRM/Core/BAO/FinancialTrxnTest.php +++ b/tests/phpunit/CRM/Core/BAO/FinancialTrxnTest.php @@ -31,17 +31,6 @@ require_once 'CiviTest/CiviUnitTestCase.php'; * Class CRM_Core_BAO_FinancialTrxnTest */ class CRM_Core_BAO_FinancialTrxnTest extends CiviUnitTestCase { - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'FinancialTrxn BAOs', - 'description' => 'Test all CRM_Core_BAO_ContributionTrxn methods.', - 'group' => 'CiviCRM BAO Tests', - ); - } - function setUp() { parent::setUp(); } diff --git a/tests/phpunit/CRM/Core/BAO/IMTest.php b/tests/phpunit/CRM/Core/BAO/IMTest.php index daaae2d6c8..84861f5ccf 100644 --- a/tests/phpunit/CRM/Core/BAO/IMTest.php +++ b/tests/phpunit/CRM/Core/BAO/IMTest.php @@ -6,17 +6,6 @@ require_once 'CiviTest/Contact.php'; * Class CRM_Core_BAO_IMTest */ class CRM_Core_BAO_IMTest extends CiviUnitTestCase { - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'IM BAOs', - 'description' => 'Test all Core_BAO_IM methods.', - 'group' => 'CiviCRM BAO Tests', - ); - } - function setUp() { parent::setUp(); } diff --git a/tests/phpunit/CRM/Core/BAO/LocationTest.php b/tests/phpunit/CRM/Core/BAO/LocationTest.php index 355e680d6e..00c191f271 100644 --- a/tests/phpunit/CRM/Core/BAO/LocationTest.php +++ b/tests/phpunit/CRM/Core/BAO/LocationTest.php @@ -41,17 +41,6 @@ require_once 'CiviTest/Event.php'; * Class CRM_Core_BAO_LocationTest */ class CRM_Core_BAO_LocationTest extends CiviUnitTestCase { - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'Location BAOs', - 'description' => 'Test all Core_BAO_Location methods.', - 'group' => 'CiviCRM BAO Tests', - ); - } - function setUp() { parent::setUp(); diff --git a/tests/phpunit/CRM/Core/BAO/OpenIDTest.php b/tests/phpunit/CRM/Core/BAO/OpenIDTest.php index b125ab93de..09ea046598 100644 --- a/tests/phpunit/CRM/Core/BAO/OpenIDTest.php +++ b/tests/phpunit/CRM/Core/BAO/OpenIDTest.php @@ -6,17 +6,6 @@ require_once 'CiviTest/Contact.php'; * Class CRM_Core_BAO_OpenIDTest */ class CRM_Core_BAO_OpenIDTest extends CiviUnitTestCase { - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'OpenID BAOs', - 'description' => 'Test all Core_BAO_OpenID methods.', - 'group' => 'CiviCRM BAO Tests', - ); - } - function tearDown() { // If we truncate only contact, then stale domain and openid records will be left. // If we truncate none of these tables, then contactDelete() will incrementally diff --git a/tests/phpunit/CRM/Core/BAO/PhoneTest.php b/tests/phpunit/CRM/Core/BAO/PhoneTest.php index 0fecc84b0a..deffad285f 100644 --- a/tests/phpunit/CRM/Core/BAO/PhoneTest.php +++ b/tests/phpunit/CRM/Core/BAO/PhoneTest.php @@ -35,16 +35,6 @@ require_once 'CiviTest/Event.php'; * Class CRM_Core_BAO_PhoneTest */ class CRM_Core_BAO_PhoneTest extends CiviUnitTestCase { - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'Phone BAOs', - 'description' => 'Test all Core_BAO_Phone methods.', - 'group' => 'CiviCRM BAO Tests', - ); - } function setUp() { parent::setUp(); diff --git a/tests/phpunit/CRM/Core/BAO/PreferencesTest.php b/tests/phpunit/CRM/Core/BAO/PreferencesTest.php index 5cf1907496..63ff610c9b 100644 --- a/tests/phpunit/CRM/Core/BAO/PreferencesTest.php +++ b/tests/phpunit/CRM/Core/BAO/PreferencesTest.php @@ -32,16 +32,6 @@ require_once 'CiviTest/CiviUnitTestCase.php'; * Class CRM_Core_BAO_PreferencesTest */ class CRM_Core_BAO_PreferencesTest extends CiviUnitTestCase { - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'Preference BAO', - 'description' => 'Test set/get on preference variables.', - 'group' => 'CiviCRM BAO Tests', - ); - } function setUp() { parent::setUp(); diff --git a/tests/phpunit/CRM/Core/BAO/RecurringEntityTest.php b/tests/phpunit/CRM/Core/BAO/RecurringEntityTest.php index 0d82282973..01af9f63f1 100644 --- a/tests/phpunit/CRM/Core/BAO/RecurringEntityTest.php +++ b/tests/phpunit/CRM/Core/BAO/RecurringEntityTest.php @@ -32,16 +32,6 @@ require_once 'CRM/Core/BAO/RecurringEntity.php'; * Class CRM_Core_BAO_RecurringEntityTest */ class CRM_Core_BAO_RecurringEntityTest extends CiviUnitTestCase { - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'Recurring Entity BAOs', - 'description' => 'Test all CRM_Event_BAO_RecurringEntity methods.', - 'group' => 'CiviCRM BAO Tests', - ); - } /** * Sets up the fixture, for example, opens a network connection. diff --git a/tests/phpunit/CRM/Core/BAO/SettingTest.php b/tests/phpunit/CRM/Core/BAO/SettingTest.php index 482c84366e..94e13d174f 100644 --- a/tests/phpunit/CRM/Core/BAO/SettingTest.php +++ b/tests/phpunit/CRM/Core/BAO/SettingTest.php @@ -32,17 +32,6 @@ require_once 'CiviTest/CiviUnitTestCase.php'; * Class CRM_Core_BAO_SettingTest */ class CRM_Core_BAO_SettingTest extends CiviUnitTestCase { - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'Setting BAO', - 'description' => 'Test set/get on setting variables.', - 'group' => 'CiviCRM BAO Tests', - ); - } - function setUp() { parent::setUp(); global $civicrm_setting; diff --git a/tests/phpunit/CRM/Core/DAOTest.php b/tests/phpunit/CRM/Core/DAOTest.php index 2df3e2e287..49cab99d51 100644 --- a/tests/phpunit/CRM/Core/DAOTest.php +++ b/tests/phpunit/CRM/Core/DAOTest.php @@ -6,16 +6,6 @@ require_once 'CiviTest/CiviUnitTestCase.php'; * Class CRM_Core_DAOTest */ class CRM_Core_DAOTest extends CiviUnitTestCase { - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'DAO', - 'description' => 'Test core DAO functions', - 'group' => 'Core', - ); - } function testGetReferenceColumns() { // choose CRM_Core_DAO_Email as an arbitrary example diff --git a/tests/phpunit/CRM/Core/ErrorTest.php b/tests/phpunit/CRM/Core/ErrorTest.php index a3c570781a..61205c811e 100644 --- a/tests/phpunit/CRM/Core/ErrorTest.php +++ b/tests/phpunit/CRM/Core/ErrorTest.php @@ -31,16 +31,6 @@ require_once 'CiviTest/CiviUnitTestCase.php'; * Tests for linking to resource files */ class CRM_Core_ErrorTest extends CiviUnitTestCase { - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'Errors', - 'description' => 'Tests for error handling', - 'group' => 'Core', - ); - } function setUp() { parent::setUp(); diff --git a/tests/phpunit/CRM/Core/FieldOptionsTest.php b/tests/phpunit/CRM/Core/FieldOptionsTest.php index 5d082d5567..19a6f24c9f 100644 --- a/tests/phpunit/CRM/Core/FieldOptionsTest.php +++ b/tests/phpunit/CRM/Core/FieldOptionsTest.php @@ -31,17 +31,6 @@ require_once 'CiviTest/CiviUnitTestCase.php'; * Tests for field options */ class CRM_Core_FieldOptionsTest extends CiviUnitTestCase { - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'FieldOptions', - 'description' => 'Tests for field-specific option values', - 'group' => 'Core', - ); - } - function setUp() { parent::setUp(); } diff --git a/tests/phpunit/CRM/Core/ManagedEntitiesTest.php b/tests/phpunit/CRM/Core/ManagedEntitiesTest.php index 1764cc80ff..b38809b0b2 100644 --- a/tests/phpunit/CRM/Core/ManagedEntitiesTest.php +++ b/tests/phpunit/CRM/Core/ManagedEntitiesTest.php @@ -23,14 +23,6 @@ class CRM_Core_ManagedEntitiesTest extends CiviUnitTestCase { protected $fixtures; - function get_info() { - return array( - 'name' => 'ManagedEntities', - 'description' => 'Test automatic creation/deletion of entities', - 'group' => 'Core', - ); - } - function setUp() { parent::setUp(); $this->modules = array( diff --git a/tests/phpunit/CRM/Core/Payment/AuthorizeNetIPNTest.php b/tests/phpunit/CRM/Core/Payment/AuthorizeNetIPNTest.php index a1a1b9332f..154b13d4c4 100644 --- a/tests/phpunit/CRM/Core/Payment/AuthorizeNetIPNTest.php +++ b/tests/phpunit/CRM/Core/Payment/AuthorizeNetIPNTest.php @@ -14,17 +14,6 @@ class CRM_Core_Payment_AuthorizeNetIPNTest extends CiviUnitTestCase { protected $_contributionPageID; protected $_paymentProcessorID; - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'Authorize.net IPN processing', - 'description' => 'Authorize.net IPN methods.', - 'group' => 'Payment Processor Tests', - ); - } - function setUp() { parent::setUp(); $this->_paymentProcessorID = $this->paymentProcessorCreate(array( diff --git a/tests/phpunit/CRM/Core/Payment/AuthorizeNetTest.php b/tests/phpunit/CRM/Core/Payment/AuthorizeNetTest.php index f94a0577df..c7d0ce27f5 100644 --- a/tests/phpunit/CRM/Core/Payment/AuthorizeNetTest.php +++ b/tests/phpunit/CRM/Core/Payment/AuthorizeNetTest.php @@ -33,16 +33,6 @@ require_once 'CiviTest/AuthorizeNet.php'; * Class CRM_Core_Payment_AuthorizeNetTest */ class CRM_Core_Payment_AuthorizeNetTest extends CiviUnitTestCase { - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'Authorize.net processing', - 'description' => 'Test Authorize.ne methods.', - 'group' => 'Payment Processor Tests', - ); - } function setUp() { parent::setUp(); diff --git a/tests/phpunit/CRM/Core/Payment/BaseIPNTest.php b/tests/phpunit/CRM/Core/Payment/BaseIPNTest.php index 1669d3d64d..76bc2cf746 100644 --- a/tests/phpunit/CRM/Core/Payment/BaseIPNTest.php +++ b/tests/phpunit/CRM/Core/Payment/BaseIPNTest.php @@ -51,17 +51,6 @@ class CRM_Core_Payment_BaseIPNTest extends CiviUnitTestCase { protected $objects; public $DBResetRequired = FALSE; - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'BaseIPN test', - 'description' => 'Test BaseIPN methods (via subclass A.net).', - 'group' => 'Payment Processor Tests', - ); - } - function setUp() { parent::setUp(); $this->input = $this->ids = $this->objects = array(); diff --git a/tests/phpunit/CRM/Core/Payment/PayPalProIPNTest.php b/tests/phpunit/CRM/Core/Payment/PayPalProIPNTest.php index 54a3f49b52..2b560251b9 100644 --- a/tests/phpunit/CRM/Core/Payment/PayPalProIPNTest.php +++ b/tests/phpunit/CRM/Core/Payment/PayPalProIPNTest.php @@ -39,17 +39,6 @@ class CRM_Core_Payment_PayPalProIPNTest extends CiviUnitTestCase { protected $_contributionPageID; protected $_paymentProcessorID; - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'PaypalPro IPN processing', - 'rescription' => 'PaypalPro IPN methods.', - 'group' => 'Payment Processor Tests', - ); - } - function setUp() { parent::setUp(); $this->_paymentProcessorID = $this->paymentProcessorCreate(); diff --git a/tests/phpunit/CRM/Core/PaymentTest.php b/tests/phpunit/CRM/Core/PaymentTest.php index 97d54ffbbe..51a2096a4d 100644 --- a/tests/phpunit/CRM/Core/PaymentTest.php +++ b/tests/phpunit/CRM/Core/PaymentTest.php @@ -32,16 +32,6 @@ require_once 'CiviTest/CiviUnitTestCase.php'; * Class CRM_Core_PaymentTest */ class CRM_Core_PaymentTest extends CiviUnitTestCase { - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'Payment Test', - 'description' => 'Test Payment methods.', - 'group' => 'Payment Processor Tests', - ); - } /** * Test the payment method is adequately logged - we don't expect the processing to succeed diff --git a/tests/phpunit/CRM/Core/PseudoConstantTest.php b/tests/phpunit/CRM/Core/PseudoConstantTest.php index 04194b908e..478106e405 100644 --- a/tests/phpunit/CRM/Core/PseudoConstantTest.php +++ b/tests/phpunit/CRM/Core/PseudoConstantTest.php @@ -31,16 +31,6 @@ require_once 'CiviTest/CiviUnitTestCase.php'; * Tests for pseudoconstant retrieval */ class CRM_Core_PseudoConstantTest extends CiviUnitTestCase { - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'PseudoConstant', - 'description' => 'Tests for pseudoconstant option values', - 'group' => 'Core', - ); - } function setUp() { parent::setUp(); diff --git a/tests/phpunit/CRM/Core/RegionTest.php b/tests/phpunit/CRM/Core/RegionTest.php index 14996a36c8..27f41df94e 100644 --- a/tests/phpunit/CRM/Core/RegionTest.php +++ b/tests/phpunit/CRM/Core/RegionTest.php @@ -6,17 +6,6 @@ require_once 'CiviTest/CiviUnitTestCase.php'; * Class CRM_Core_RegionTest */ class CRM_Core_RegionTest extends CiviUnitTestCase { - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'Region', - 'description' => 'Smarty-region rendering test', - 'group' => 'Core', - ); - } - function setUp() { parent::setUp(); require_once 'CRM/Core/Smarty.php'; diff --git a/tests/phpunit/CRM/Core/ResourcesTest.php b/tests/phpunit/CRM/Core/ResourcesTest.php index f8782612f1..9f2c380b1f 100644 --- a/tests/phpunit/CRM/Core/ResourcesTest.php +++ b/tests/phpunit/CRM/Core/ResourcesTest.php @@ -31,16 +31,6 @@ require_once 'CiviTest/CiviUnitTestCase.php'; * Tests for linking to resource files */ class CRM_Core_ResourcesTest extends CiviUnitTestCase { - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'Resources', - 'description' => 'Tests for linking to resource files', - 'group' => 'Core', - ); - } /** * @var CRM_Core_Resources diff --git a/tests/phpunit/CRM/Event/BAO/AdditionalPaymentTest.php b/tests/phpunit/CRM/Event/BAO/AdditionalPaymentTest.php index 30f72fffdb..ed7d3fa420 100644 --- a/tests/phpunit/CRM/Event/BAO/AdditionalPaymentTest.php +++ b/tests/phpunit/CRM/Event/BAO/AdditionalPaymentTest.php @@ -36,16 +36,6 @@ require_once 'CiviTest/Participant.php'; * Class CRM_Event_BAO_AdditionalPaymentTest */ class CRM_Event_BAO_AdditionalPaymentTest extends CiviUnitTestCase { - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'Additional Payment BAOs test', - 'description' => 'BAOs testing done for addtional payment logic check', - 'group' => 'CiviCRM BAO Tests', - ); - } function setUp() { parent::setUp(); diff --git a/tests/phpunit/CRM/Event/BAO/ParticipantStatusTest.php b/tests/phpunit/CRM/Event/BAO/ParticipantStatusTest.php index c9a5e157e9..745ee1e777 100644 --- a/tests/phpunit/CRM/Event/BAO/ParticipantStatusTest.php +++ b/tests/phpunit/CRM/Event/BAO/ParticipantStatusTest.php @@ -53,17 +53,6 @@ class CRM_Event_BAO_ParticipantStatusTest extends CiviUnitTestCase { */ protected function tearDown() {} - /** - * test info - */ - function get_info() { - return array( - 'name' => 'ParticipantStatus BAOs', - 'description' => 'Test all Event_BAO_ParticipantStatusType methods.', - 'group' => 'CiviCRM BAO Tests', - ); - } - /** * create() and deleteParticipantStatusType() method */ diff --git a/tests/phpunit/CRM/Event/BAO/ParticipantTest.php b/tests/phpunit/CRM/Event/BAO/ParticipantTest.php index 0ea81769d8..3f126fcddd 100644 --- a/tests/phpunit/CRM/Event/BAO/ParticipantTest.php +++ b/tests/phpunit/CRM/Event/BAO/ParticipantTest.php @@ -36,16 +36,6 @@ require_once 'CiviTest/Participant.php'; * Class CRM_Event_BAO_ParticipantTest */ class CRM_Event_BAO_ParticipantTest extends CiviUnitTestCase { - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'Participant BAOs', - 'description' => 'Test all Event_BAO_Participant methods.', - 'group' => 'CiviCRM BAO Tests', - ); - } function setUp() { parent::setUp(); diff --git a/tests/phpunit/CRM/Financial/BAO/FinancialAccountTest.php b/tests/phpunit/CRM/Financial/BAO/FinancialAccountTest.php index cc780609cd..965aa7117b 100644 --- a/tests/phpunit/CRM/Financial/BAO/FinancialAccountTest.php +++ b/tests/phpunit/CRM/Financial/BAO/FinancialAccountTest.php @@ -31,17 +31,6 @@ require_once 'CiviTest/CiviUnitTestCase.php'; */ class CRM_Financial_BAO_FinancialAccountTest extends CiviUnitTestCase { - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'FinancialAccount BAOs', - 'description' => 'Test all Contribute_BAO_Contribution methods.', - 'group' => 'CiviCRM BAO Tests', - ); - } - function setUp() { parent::setUp(); $this->organizationCreate(); diff --git a/tests/phpunit/CRM/Financial/BAO/FinancialItemTest.php b/tests/phpunit/CRM/Financial/BAO/FinancialItemTest.php index 68b5d66791..39623ca33c 100755 --- a/tests/phpunit/CRM/Financial/BAO/FinancialItemTest.php +++ b/tests/phpunit/CRM/Financial/BAO/FinancialItemTest.php @@ -33,17 +33,6 @@ require_once 'CRM/Financial/BAO/FinancialAccount.php'; */ class CRM_Financial_BAO_FinancialItemTest extends CiviUnitTestCase { - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'FinancialItem BAOs', - 'description' => 'Test all Contribute_BAO_Contribution methods.', - 'group' => 'CiviCRM BAO Tests', - ); - } - function setUp() { parent::setUp(); } diff --git a/tests/phpunit/CRM/Financial/BAO/FinancialTypeAccountTest.php b/tests/phpunit/CRM/Financial/BAO/FinancialTypeAccountTest.php index 7f7997a47c..669ee4b0ff 100755 --- a/tests/phpunit/CRM/Financial/BAO/FinancialTypeAccountTest.php +++ b/tests/phpunit/CRM/Financial/BAO/FinancialTypeAccountTest.php @@ -31,17 +31,6 @@ require_once 'CiviTest/CiviUnitTestCase.php'; */ class CRM_Financial_BAO_FinancialTypeAccountTest extends CiviUnitTestCase { - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'FinancialTypeAccount BAOs', - 'description' => 'Test all Contribute_BAO_Contribution methods.', - 'group' => 'CiviCRM BAO Tests', - ); - } - function setUp() { parent::setUp(); $this->organizationCreate(); diff --git a/tests/phpunit/CRM/Financial/BAO/FinancialTypeTest.php b/tests/phpunit/CRM/Financial/BAO/FinancialTypeTest.php index f94151f9a0..f2b3e237a4 100755 --- a/tests/phpunit/CRM/Financial/BAO/FinancialTypeTest.php +++ b/tests/phpunit/CRM/Financial/BAO/FinancialTypeTest.php @@ -31,17 +31,6 @@ require_once 'CiviTest/CiviUnitTestCase.php'; */ class CRM_Financial_BAO_FinancialTypeTest extends CiviUnitTestCase { - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'FinancialType BAOs', - 'description' => 'Test all Contribute_BAO_Contribution methods.', - 'group' => 'CiviCRM BAO Tests', - ); - } - function setUp() { parent::setUp(); } diff --git a/tests/phpunit/CRM/Financial/BAO/PaymentProcessorTypeTest.php b/tests/phpunit/CRM/Financial/BAO/PaymentProcessorTypeTest.php index 90177adafd..e3cdf219ae 100755 --- a/tests/phpunit/CRM/Financial/BAO/PaymentProcessorTypeTest.php +++ b/tests/phpunit/CRM/Financial/BAO/PaymentProcessorTypeTest.php @@ -34,17 +34,6 @@ require_once 'CRM/Financial/BAO/FinancialTypeAccount.php'; */ class CRM_Financial_BAO_PaymentProcessorTypeTest extends CiviUnitTestCase { - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'PaymentProcessorType BAOs', - 'description' => 'Test all Contribute_BAO_Contribution methods.', - 'group' => 'CiviCRM BAO Tests', - ); - } - function setUp() { parent::setUp(); } diff --git a/tests/phpunit/CRM/Group/Page/AjaxTest.php b/tests/phpunit/CRM/Group/Page/AjaxTest.php index b62e90a2cb..585f0efc95 100644 --- a/tests/phpunit/CRM/Group/Page/AjaxTest.php +++ b/tests/phpunit/CRM/Group/Page/AjaxTest.php @@ -21,17 +21,6 @@ class CRM_Group_Page_AjaxTest extends CiviUnitTestCase { protected $_params = array(); - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'Contact BAOs', - 'description' => 'Test all Contact_BAO_Contact methods.', - 'group' => 'CiviCRM BAO Tests', - ); - } - function setUp() { parent::setUp(); $this->_params = array( diff --git a/tests/phpunit/CRM/Mailing/BAO/QueryTest.php b/tests/phpunit/CRM/Mailing/BAO/QueryTest.php index 6a4c24bbaf..ac5ae02157 100644 --- a/tests/phpunit/CRM/Mailing/BAO/QueryTest.php +++ b/tests/phpunit/CRM/Mailing/BAO/QueryTest.php @@ -6,16 +6,6 @@ require_once 'CiviTest/Contact.php'; * Include dataProvider for tests */ class CRM_Mailing_BAO_QueryTest extends CiviUnitTestCase { - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'Mailing BAO Query', - 'description' => 'Test all Mailing_BAO_Query methods.', - 'group' => 'CiviMail BAO Query Tests', - ); - } /** * @return CRM_Mailing_BAO_QueryTestDataProvider diff --git a/tests/phpunit/CRM/Mailing/BAO/SpoolTest.php b/tests/phpunit/CRM/Mailing/BAO/SpoolTest.php index 2c6a5ed096..ae383f57d5 100644 --- a/tests/phpunit/CRM/Mailing/BAO/SpoolTest.php +++ b/tests/phpunit/CRM/Mailing/BAO/SpoolTest.php @@ -15,17 +15,6 @@ class CRM_Mailing_BAO_SpoolTest extends CiviUnitTestCase { protected static $bodytext = 'Unit tests keep children safe.'; - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'Spool (redirect to database) Mailing Test', - 'description' => 'Test emails when redirected to database. See also WebTest_Mailing_SpoolTest.', - 'group' => 'CiviCRM BAO Tests', - ); - } - function setUp() { parent::setUp(); $this->_mut = new CiviMailUtils( $this, true ); diff --git a/tests/phpunit/CRM/Member/BAO/MembershipLogTest.php b/tests/phpunit/CRM/Member/BAO/MembershipLogTest.php index df0fc6292d..e726547dc6 100644 --- a/tests/phpunit/CRM/Member/BAO/MembershipLogTest.php +++ b/tests/phpunit/CRM/Member/BAO/MembershipLogTest.php @@ -34,16 +34,6 @@ require_once 'CiviTest/Membership.php'; * @package CiviCRM */ class CRM_Member_BAO_MembershipLogTest extends CiviUnitTestCase { - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'MembershipLog Test', - 'description' => 'Test all Membership Log methods.', - 'group' => 'CiviCRM BAO Tests', - ); - } function setUp() { parent::setUp(); diff --git a/tests/phpunit/CRM/Member/BAO/MembershipStatusTest.php b/tests/phpunit/CRM/Member/BAO/MembershipStatusTest.php index 2d057dc54c..79a9a71c11 100644 --- a/tests/phpunit/CRM/Member/BAO/MembershipStatusTest.php +++ b/tests/phpunit/CRM/Member/BAO/MembershipStatusTest.php @@ -32,16 +32,6 @@ require_once 'CiviTest/CiviUnitTestCase.php'; * Class CRM_Member_BAO_MembershipStatusTest */ class CRM_Member_BAO_MembershipStatusTest extends CiviUnitTestCase { - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'MembershipStatus BAOs', - 'description' => 'Test all Member_BAO_MembershipType methods.', - 'group' => 'CiviCRM BAO Tests', - ); - } function setUp() { parent::setUp(); diff --git a/tests/phpunit/CRM/Member/BAO/MembershipTest.php b/tests/phpunit/CRM/Member/BAO/MembershipTest.php index 22894ee1a4..0f10d4f39e 100644 --- a/tests/phpunit/CRM/Member/BAO/MembershipTest.php +++ b/tests/phpunit/CRM/Member/BAO/MembershipTest.php @@ -37,16 +37,6 @@ require_once 'CRM/Core/Controller.php'; * Class CRM_Member_BAO_MembershipTest */ class CRM_Member_BAO_MembershipTest extends CiviUnitTestCase { - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'Membership BAOs', - 'description' => 'Test all Member_BAO_Membership methods.', - 'group' => 'CiviCRM BAO Tests', - ); - } function setUp() { parent::setUp(); diff --git a/tests/phpunit/CRM/Member/BAO/MembershipTypeTest.php b/tests/phpunit/CRM/Member/BAO/MembershipTypeTest.php index 8ad44ea1ec..dd5997ca08 100644 --- a/tests/phpunit/CRM/Member/BAO/MembershipTypeTest.php +++ b/tests/phpunit/CRM/Member/BAO/MembershipTypeTest.php @@ -32,16 +32,6 @@ require_once 'CiviTest/CiviUnitTestCase.php'; * Class CRM_Member_BAO_MembershipTypeTest */ class CRM_Member_BAO_MembershipTypeTest extends CiviUnitTestCase { - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'MembershipType BAOs', - 'description' => 'Test all Member_BAO_MembershipType methods.', - 'group' => 'CiviCRM BAO Tests', - ); - } function setUp() { parent::setUp(); diff --git a/tests/phpunit/CRM/Member/Import/Parser/MembershipTest.php b/tests/phpunit/CRM/Member/Import/Parser/MembershipTest.php index 63f1d46603..1bd5ad9f46 100644 --- a/tests/phpunit/CRM/Member/Import/Parser/MembershipTest.php +++ b/tests/phpunit/CRM/Member/Import/Parser/MembershipTest.php @@ -45,17 +45,6 @@ class CRM_Member_Import_Parser_MembershipTest extends CiviUnitTestCase { * @var String */ protected $_membershipTypeID = NULL; - /** - * Describe test class - * @return array - */ - function get_info() { - return array( - 'name' => 'MembershipParserTest', - 'description' => 'Test import parser function', - 'group' => 'CiviCRM BAO Tests', - ); - } function setUp() { parent::setUp(); diff --git a/tests/phpunit/CRM/PCP/BAO/PCPTest.php b/tests/phpunit/CRM/PCP/BAO/PCPTest.php index 3c18364c12..a097394800 100644 --- a/tests/phpunit/CRM/PCP/BAO/PCPTest.php +++ b/tests/phpunit/CRM/PCP/BAO/PCPTest.php @@ -34,16 +34,6 @@ require_once 'CiviTest/CiviUnitTestCase.php'; * @package CiviCRM */ class CRM_PCP_BAO_PCPTest extends CiviUnitTestCase { - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'PCP BAOs', - 'description' => 'Test all PCP_BAO_PCP methods.', - 'group' => 'CiviCRM BAO Tests', - ); - } /** * Sets up the fixture, for example, opens a network connection. diff --git a/tests/phpunit/CRM/Pledge/BAO/PledgeBlockTest.php b/tests/phpunit/CRM/Pledge/BAO/PledgeBlockTest.php index 6a30652301..e6e89b9e6e 100644 --- a/tests/phpunit/CRM/Pledge/BAO/PledgeBlockTest.php +++ b/tests/phpunit/CRM/Pledge/BAO/PledgeBlockTest.php @@ -55,17 +55,6 @@ class CRM_Pledge_BAO_PledgeBlockTest extends CiviUnitTestCase { */ protected function tearDown() {} - /** - * test info - */ - function get_info() { - return array( - 'name' => 'PledgeBlock BAOs', - 'description' => 'Test all Pledge_BAO_PledgeBlock methods.', - 'group' => 'CiviCRM BAO Tests', - ); - } - /** * create() and deletepledgeblock() method */ diff --git a/tests/phpunit/CRM/Queue/Queue/SqlTest.php b/tests/phpunit/CRM/Queue/Queue/SqlTest.php index f238dd8fe0..2c1980cfdf 100644 --- a/tests/phpunit/CRM/Queue/Queue/SqlTest.php +++ b/tests/phpunit/CRM/Queue/Queue/SqlTest.php @@ -34,16 +34,6 @@ require_once 'CiviTest/CiviUnitTestCase.php'; * priority-queueing. */ class CRM_Queue_Queue_SqlTest extends CiviUnitTestCase { - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'SQL Queue', - 'description' => 'Test SQL-backed queue items', - 'group' => 'Queue', - ); - } /* ----------------------- Queue providers ----------------------- */ diff --git a/tests/phpunit/CRM/Queue/QueueTest.php b/tests/phpunit/CRM/Queue/QueueTest.php index db54c31bee..45a769efe2 100644 --- a/tests/phpunit/CRM/Queue/QueueTest.php +++ b/tests/phpunit/CRM/Queue/QueueTest.php @@ -32,16 +32,6 @@ require_once 'CiviTest/CiviUnitTestCase.php'; * Ensure that various queue implementations comply with the interface */ class CRM_Queue_QueueTest extends CiviUnitTestCase { - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'SQL Queue', - 'description' => 'Test SQL-backed queue items', - 'group' => 'Queue', - ); - } /* ----------------------- Queue providers ----------------------- */ diff --git a/tests/phpunit/CRM/Queue/RunnerTest.php b/tests/phpunit/CRM/Queue/RunnerTest.php index c8c3474211..c368dc22b0 100644 --- a/tests/phpunit/CRM/Queue/RunnerTest.php +++ b/tests/phpunit/CRM/Queue/RunnerTest.php @@ -32,16 +32,6 @@ require_once 'CiviTest/CiviUnitTestCase.php'; * Ensure that various queue implementations comply with the interface */ class CRM_Queue_RunnerTest extends CiviUnitTestCase { - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'SQL Queue', - 'description' => 'Test SQL-backed queue items', - 'group' => 'Queue', - ); - } function setUp() { parent::setUp(); diff --git a/tests/phpunit/CRM/Utils/DeprecatedUtilsTest.php b/tests/phpunit/CRM/Utils/DeprecatedUtilsTest.php index b9f2236a2a..1de15e186e 100644 --- a/tests/phpunit/CRM/Utils/DeprecatedUtilsTest.php +++ b/tests/phpunit/CRM/Utils/DeprecatedUtilsTest.php @@ -8,17 +8,6 @@ require_once 'CRM/Utils/DeprecatedUtils.php'; */ class CRM_Utils_DeprecatedUtilsTest extends CiviUnitTestCase { - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'Deprecated Utils Test', - 'description' => 'Test functions that were copied from api v2 to support BAO code', - 'group' => 'CiviCRM BAO Tests', - ); - } - function setUp() { parent::setUp(); } diff --git a/tests/phpunit/CRM/Utils/HtmlToTextTest.php b/tests/phpunit/CRM/Utils/HtmlToTextTest.php index 738eba3e7c..ca51f2d914 100644 --- a/tests/phpunit/CRM/Utils/HtmlToTextTest.php +++ b/tests/phpunit/CRM/Utils/HtmlToTextTest.php @@ -33,17 +33,6 @@ Links: ', ); - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'HtmlToText Test', - 'description' => 'Test htmlToText Function', - 'group' => 'CiviCRM BAO Tests', - ); - } - function setUp() { parent::setUp(); } diff --git a/tests/phpunit/CRM/Utils/MailTest.php b/tests/phpunit/CRM/Utils/MailTest.php index c4d97a4430..745e4ac937 100644 --- a/tests/phpunit/CRM/Utils/MailTest.php +++ b/tests/phpunit/CRM/Utils/MailTest.php @@ -5,16 +5,6 @@ require_once 'CiviTest/CiviUnitTestCase.php'; * Class CRM_Utils_MailTest */ class CRM_Utils_MailTest extends CiviUnitTestCase { - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'Mail Test', - 'description' => 'Test RFC822 formatting', - 'group' => 'CiviCRM BAO Tests', - ); - } function setUp() { parent::setUp(); diff --git a/tests/phpunit/CRM/Utils/RestTest.php b/tests/phpunit/CRM/Utils/RestTest.php index 9508cc5f0d..85defc9e56 100644 --- a/tests/phpunit/CRM/Utils/RestTest.php +++ b/tests/phpunit/CRM/Utils/RestTest.php @@ -5,16 +5,6 @@ require_once 'CiviTest/CiviUnitTestCase.php'; * Class CRM_Utils_RestTest */ class CRM_Utils_RestTest extends CiviUnitTestCase { - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'Rest Test', - 'description' => 'Test Rest Interface Utilities', - 'group' => 'CiviCRM BAO Tests', - ); - } function setUp() { parent::setUp(); diff --git a/tests/phpunit/CRM/Utils/RuleTest.php b/tests/phpunit/CRM/Utils/RuleTest.php index 6fcde9f836..d5e0831aed 100644 --- a/tests/phpunit/CRM/Utils/RuleTest.php +++ b/tests/phpunit/CRM/Utils/RuleTest.php @@ -7,17 +7,6 @@ require_once 'CiviTest/CiviUnitTestCase.php'; */ class CRM_Utils_RuleTest extends CiviUnitTestCase { - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'Rule Test', - 'description' => 'Test the validation rules', - 'group' => 'CiviCRM BAO Tests', - ); - } - function setUp() { parent::setUp(); } diff --git a/tests/phpunit/CRM/Utils/SignerTest.php b/tests/phpunit/CRM/Utils/SignerTest.php index b20a31a702..21dbc8434e 100644 --- a/tests/phpunit/CRM/Utils/SignerTest.php +++ b/tests/phpunit/CRM/Utils/SignerTest.php @@ -31,17 +31,6 @@ require_once 'CiviTest/CiviUnitTestCase.php'; */ class CRM_Utils_SignerTest extends CiviUnitTestCase { - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'Signer Test', - 'description' => 'Test array-signing functions', - 'group' => 'CiviCRM BAO Tests', - ); - } - function setUp() { parent::setUp(); } diff --git a/tests/phpunit/CRM/Utils/StringTest.php b/tests/phpunit/CRM/Utils/StringTest.php index 04c320c388..44da91d47f 100644 --- a/tests/phpunit/CRM/Utils/StringTest.php +++ b/tests/phpunit/CRM/Utils/StringTest.php @@ -5,16 +5,6 @@ require_once 'CiviTest/CiviUnitTestCase.php'; * Class CRM_Utils_StringTest */ class CRM_Utils_StringTest extends CiviUnitTestCase { - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'String Test', - 'description' => 'Test String Functions', - 'group' => 'CiviCRM BAO Tests', - ); - } function setUp() { parent::setUp(); diff --git a/tests/phpunit/CRM/Utils/SystemTest.php b/tests/phpunit/CRM/Utils/SystemTest.php index 0634a1d6c9..0e1e2aaa3a 100644 --- a/tests/phpunit/CRM/Utils/SystemTest.php +++ b/tests/phpunit/CRM/Utils/SystemTest.php @@ -7,17 +7,6 @@ require_once 'CiviTest/CiviUnitTestCase.php'; */ class CRM_Utils_SystemTest extends CiviUnitTestCase { - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'System Test', - 'description' => 'Test system functions', - 'group' => 'CiviCRM BAO Tests', - ); - } - function setUp() { parent::setUp(); } diff --git a/tests/phpunit/CRM/Utils/TypeTest.php b/tests/phpunit/CRM/Utils/TypeTest.php index c87765aeea..84573b848b 100644 --- a/tests/phpunit/CRM/Utils/TypeTest.php +++ b/tests/phpunit/CRM/Utils/TypeTest.php @@ -7,17 +7,6 @@ require_once 'CiviTest/CiviUnitTestCase.php'; */ class CRM_Utils_TypeTest extends CiviUnitTestCase { - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'Type Test', - 'description' => 'Test the validate function', - 'group' => 'CiviCRM BAO Tests', - ); - } - function setUp() { parent::setUp(); } diff --git a/tests/phpunit/CRM/Utils/ZipTest.php b/tests/phpunit/CRM/Utils/ZipTest.php index ea16799079..efad207a57 100644 --- a/tests/phpunit/CRM/Utils/ZipTest.php +++ b/tests/phpunit/CRM/Utils/ZipTest.php @@ -30,16 +30,6 @@ require_once 'CiviTest/CiviUnitTestCase.php'; * Class CRM_Utils_ZipTest */ class CRM_Utils_ZipTest extends CiviUnitTestCase { - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'Zip Test', - 'description' => 'Test Zip Functions', - 'group' => 'CiviCRM BAO Tests', - ); - } function setUp() { parent::setUp(); diff --git a/tests/phpunit/api/v3/ActivityTypeTest.php b/tests/phpunit/api/v3/ActivityTypeTest.php index 1bdc9a4dbd..6920029e51 100644 --- a/tests/phpunit/api/v3/ActivityTypeTest.php +++ b/tests/phpunit/api/v3/ActivityTypeTest.php @@ -36,18 +36,6 @@ require_once 'CiviTest/CiviUnitTestCase.php'; class api_v3_ActivityTypeTest extends CiviUnitTestCase { protected $_apiversion; - - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'Activity Type', - 'description' => 'Test all ActivityType Get/Create/Delete methods.', - 'group' => 'CiviCRM API Tests', - ); - } - function setUp() { $this->_apiversion = 3; CRM_Core_PseudoConstant::activityType(TRUE, TRUE, TRUE, 'name'); diff --git a/tests/phpunit/api/v3/CustomFieldTest.php b/tests/phpunit/api/v3/CustomFieldTest.php index e07b4f9e9f..4588f1ecc7 100644 --- a/tests/phpunit/api/v3/CustomFieldTest.php +++ b/tests/phpunit/api/v3/CustomFieldTest.php @@ -39,17 +39,6 @@ require_once 'tests/phpunit/CiviTest/CiviUnitTestCase.php'; class api_v3_CustomFieldTest extends CiviUnitTestCase { protected $_apiversion; - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'Custom Field Create', - 'description' => 'Test all Custom Field Create API methods.', - 'group' => 'CiviCRM API Tests', - ); - } - function setUp() { $this->_apiversion = 3; parent::setUp(); diff --git a/tests/phpunit/api/v3/CustomGroupTest.php b/tests/phpunit/api/v3/CustomGroupTest.php index 8d44de6980..33cd9565d2 100644 --- a/tests/phpunit/api/v3/CustomGroupTest.php +++ b/tests/phpunit/api/v3/CustomGroupTest.php @@ -42,17 +42,6 @@ class api_v3_CustomGroupTest extends CiviUnitTestCase { public $DBResetRequired = TRUE; - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'Custom Group Create', - 'description' => 'Test all Custom Group Create API methods.', - 'group' => 'CiviCRM API Tests', - ); - } - function setUp() { $this->_entity = 'CustomGroup'; $this->_params = array( diff --git a/tests/phpunit/api/v3/CustomValueContactTypeTest.php b/tests/phpunit/api/v3/CustomValueContactTypeTest.php index 17886daf79..8361af0b49 100644 --- a/tests/phpunit/api/v3/CustomValueContactTypeTest.php +++ b/tests/phpunit/api/v3/CustomValueContactTypeTest.php @@ -40,18 +40,6 @@ class api_v3_CustomValueContactTypeTest extends CiviUnitTestCase { protected $CustomGroupIndividual; protected $individualStudent; - - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'Custom Data For Contact Subtype', - 'description' => 'Test Custom Data for Contact Subtype.', - 'group' => 'CiviCRM API Tests', - ); - } - function setUp() { parent::setUp(); // Create Group For Individual Contact Type diff --git a/tests/phpunit/api/v3/EventTest.php b/tests/phpunit/api/v3/EventTest.php index eff60ed6c3..bcaa007162 100644 --- a/tests/phpunit/api/v3/EventTest.php +++ b/tests/phpunit/api/v3/EventTest.php @@ -37,17 +37,6 @@ class api_v3_EventTest extends CiviUnitTestCase { protected $_apiversion; protected $_entity; - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'Event Create', - 'description' => 'Test all Event Create API methods.', - 'group' => 'CiviCRM API Tests', - ); - } - function setUp() { parent::setUp(); $this->_apiversion = 3; diff --git a/tests/phpunit/api/v3/GroupContactTest.php b/tests/phpunit/api/v3/GroupContactTest.php index 928081944c..69ff93b814 100644 --- a/tests/phpunit/api/v3/GroupContactTest.php +++ b/tests/phpunit/api/v3/GroupContactTest.php @@ -39,17 +39,6 @@ class api_v3_GroupContactTest extends CiviUnitTestCase { protected $_apiversion = 3; protected $_groupId1; - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'Group Contact Create', - 'description' => 'Test all Group Contact Create API methods.', - 'group' => 'CiviCRM API Tests', - ); - } - /** * Set up for group contact tests * diff --git a/tests/phpunit/api/v3/GroupOrganizationTest.php b/tests/phpunit/api/v3/GroupOrganizationTest.php index c08fdb5410..c1fbf1e551 100644 --- a/tests/phpunit/api/v3/GroupOrganizationTest.php +++ b/tests/phpunit/api/v3/GroupOrganizationTest.php @@ -36,17 +36,6 @@ require_once 'CiviTest/CiviUnitTestCase.php'; class api_v3_GroupOrganizationTest extends CiviUnitTestCase { protected $_apiversion; - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'Group Organization', - 'description' => 'Test all Group Organization API methods.', - 'group' => 'CiviCRM API Tests', - ); - } - /** * Sets up the fixture, for example, opens a network connection. * This method is called before a test is executed. diff --git a/tests/phpunit/api/v3/GroupTest.php b/tests/phpunit/api/v3/GroupTest.php index e808bc4d0a..06f239afb2 100644 --- a/tests/phpunit/api/v3/GroupTest.php +++ b/tests/phpunit/api/v3/GroupTest.php @@ -37,17 +37,6 @@ class api_v3_GroupTest extends CiviUnitTestCase { protected $_apiversion; protected $_groupID; - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'Group Get', - 'description' => 'Test all Group Get API methods.', - 'group' => 'CiviCRM API Tests', - ); - } - function setUp() { $this->_apiversion = 3; diff --git a/tests/phpunit/api/v3/MailingABTest.php b/tests/phpunit/api/v3/MailingABTest.php index 88ad72d44e..1a60397b02 100755 --- a/tests/phpunit/api/v3/MailingABTest.php +++ b/tests/phpunit/api/v3/MailingABTest.php @@ -40,17 +40,6 @@ class api_v3_MailingABTest extends CiviUnitTestCase { protected $_entity = 'MailingAB'; protected $_groupID; - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'Mailer', - 'description' => 'Test all Mailer methods.', - 'group' => 'CiviCRM API Tests', - ); - } - function setUp() { parent::setUp(); $this->useTransaction(TRUE); diff --git a/tests/phpunit/api/v3/MailingGroupTest.php b/tests/phpunit/api/v3/MailingGroupTest.php index c4d881d8e5..2faf700b6a 100644 --- a/tests/phpunit/api/v3/MailingGroupTest.php +++ b/tests/phpunit/api/v3/MailingGroupTest.php @@ -37,18 +37,6 @@ class api_v3_MailingGroupTest extends CiviUnitTestCase { protected $_email; protected $_apiversion; - - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'Mailer Group', - 'description' => 'Test all Mailer Group methods.', - 'group' => 'CiviCRM API Tests', - ); - } - function setUp() { parent::setUp(); $this->_apiversion = 3; diff --git a/tests/phpunit/api/v3/MailingTest.php b/tests/phpunit/api/v3/MailingTest.php index bbbb612053..0eb25d514d 100755 --- a/tests/phpunit/api/v3/MailingTest.php +++ b/tests/phpunit/api/v3/MailingTest.php @@ -39,17 +39,6 @@ class api_v3_MailingTest extends CiviUnitTestCase { protected $_entity = 'Mailing'; protected $_contactID; - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'Mailer', - 'description' => 'Test all Mailer methods.', - 'group' => 'CiviCRM API Tests', - ); - } - function setUp() { parent::setUp(); $this->useTransaction(); diff --git a/tests/phpunit/api/v3/MembershipStatusTest.php b/tests/phpunit/api/v3/MembershipStatusTest.php index ff2c6a681b..322e3cb395 100644 --- a/tests/phpunit/api/v3/MembershipStatusTest.php +++ b/tests/phpunit/api/v3/MembershipStatusTest.php @@ -39,17 +39,6 @@ class api_v3_MembershipStatusTest extends CiviUnitTestCase { protected $_apiversion =3; - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'MembershipStatus Calc', - 'description' => 'Test all MembershipStatus Calc API methods.', - 'group' => 'CiviCRM API Tests', - ); - } - function setUp() { parent::setUp(); $this->_contactID = $this->individualCreate(); diff --git a/tests/phpunit/api/v3/MembershipTypeTest.php b/tests/phpunit/api/v3/MembershipTypeTest.php index c679f7a892..1537fc1caa 100644 --- a/tests/phpunit/api/v3/MembershipTypeTest.php +++ b/tests/phpunit/api/v3/MembershipTypeTest.php @@ -37,18 +37,6 @@ class api_v3_MembershipTypeTest extends CiviUnitTestCase { protected $_apiversion; protected $_entity = 'MembershipType'; - - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'MembershipType Create', - 'description' => 'Test all Membership Type Create API methods.', - 'group' => 'CiviCRM API Tests', - ); - } - function setUp() { parent::setUp(); $this->useTransaction(TRUE); diff --git a/tests/phpunit/api/v3/NoteTest.php b/tests/phpunit/api/v3/NoteTest.php index 2d7f7e608f..65ccfad0b7 100644 --- a/tests/phpunit/api/v3/NoteTest.php +++ b/tests/phpunit/api/v3/NoteTest.php @@ -47,17 +47,6 @@ class api_v3_NoteTest extends CiviUnitTestCase { parent::__construct(); } - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'Note Create', - 'description' => 'Test all Note Create API methods.', - 'group' => 'CiviCRM API Tests', - ); - } - function setUp() { $this->_apiversion = 3; diff --git a/tests/phpunit/api/v3/ParticipantPaymentTest.php b/tests/phpunit/api/v3/ParticipantPaymentTest.php index c67234a378..7abcf19a90 100644 --- a/tests/phpunit/api/v3/ParticipantPaymentTest.php +++ b/tests/phpunit/api/v3/ParticipantPaymentTest.php @@ -45,18 +45,6 @@ class api_v3_ParticipantPaymentTest extends CiviUnitTestCase { protected $_participantPaymentID; protected $_contributionTypeId; - - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'Participant Create', - 'description' => 'Test all Participant Create API methods.', - 'group' => 'CiviCRM API Tests', - ); - } - function setUp() { parent::setUp(); $this->useTransaction(TRUE); diff --git a/tests/phpunit/api/v3/ParticipantTest.php b/tests/phpunit/api/v3/ParticipantTest.php index 8aab82c20e..d40c13e043 100644 --- a/tests/phpunit/api/v3/ParticipantTest.php +++ b/tests/phpunit/api/v3/ParticipantTest.php @@ -50,17 +50,6 @@ class api_v3_ParticipantTest extends CiviUnitTestCase { protected $_individualId; protected $_params; - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'Participant Create', - 'description' => 'Test all Participant Create API methods.', - 'group' => 'CiviCRM API Tests', - ); - } - function setUp() { $this->_apiversion = 3; parent::setUp(); diff --git a/tests/phpunit/api/v3/PaymentProcessorTest.php b/tests/phpunit/api/v3/PaymentProcessorTest.php index 0c950174f6..79fc6c3295 100644 --- a/tests/phpunit/api/v3/PaymentProcessorTest.php +++ b/tests/phpunit/api/v3/PaymentProcessorTest.php @@ -36,17 +36,6 @@ class api_v3_PaymentProcessorTest extends CiviUnitTestCase { protected $_apiversion = 3; protected $_params; - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'PaymentProcessor Create', - 'description' => 'Test all PaymentProcessor Create API methods.', - 'group' => 'CiviCRM API Tests', - ); - } - function setUp() { parent::setUp(); $this->useTransaction(TRUE); diff --git a/tests/phpunit/api/v3/PaymentProcessorTypeTest.php b/tests/phpunit/api/v3/PaymentProcessorTypeTest.php index c56bc5627a..b10518415f 100644 --- a/tests/phpunit/api/v3/PaymentProcessorTypeTest.php +++ b/tests/phpunit/api/v3/PaymentProcessorTypeTest.php @@ -35,17 +35,6 @@ class api_v3_PaymentProcessorTypeTest extends CiviUnitTestCase { protected $_ppTypeID; protected $_apiversion; - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'PaymentProcessorType Create', - 'description' => 'Test all PaymentProcessorType Create API methods.', - 'group' => 'CiviCRM API Tests', - ); - } - function setUp() { parent::setUp(); diff --git a/tests/phpunit/api/v3/ProductTest.php b/tests/phpunit/api/v3/ProductTest.php index 2992427add..b778db8327 100644 --- a/tests/phpunit/api/v3/ProductTest.php +++ b/tests/phpunit/api/v3/ProductTest.php @@ -36,17 +36,6 @@ class api_v3_ProductTest extends CiviUnitTestCase { protected $_entity = 'Product'; - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'Product Tests', - 'description' => 'Test product API', - 'group' => 'CiviCRM API Tests', - ); - } - function setUp() { parent::setUp(); $this->useTransaction(); diff --git a/tests/phpunit/api/v3/ProfileTest.php b/tests/phpunit/api/v3/ProfileTest.php index 52d078ab15..20eed7bb2c 100644 --- a/tests/phpunit/api/v3/ProfileTest.php +++ b/tests/phpunit/api/v3/ProfileTest.php @@ -42,17 +42,6 @@ class api_v3_ProfileTest extends CiviUnitTestCase { protected $_membershipTypeID; protected $_contactID; - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'Profile Test', - 'description' => 'Test all profile API methods.', - 'group' => 'CiviCRM API Tests', - ); - } - function setUp() { $this->_apiversion = 3; parent::setUp(); diff --git a/tests/phpunit/api/v3/RelationshipTest.php b/tests/phpunit/api/v3/RelationshipTest.php index b01a1ca4ef..6c37abd9f4 100644 --- a/tests/phpunit/api/v3/RelationshipTest.php +++ b/tests/phpunit/api/v3/RelationshipTest.php @@ -49,17 +49,6 @@ class api_v3_RelationshipTest extends CiviUnitTestCase { protected $_entity; - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'Relationship Create', - 'description' => 'Test all Relationship Create API methods.', - 'group' => 'CiviCRM API Tests', - ); - } - function setUp() { parent::setUp(); $this->_cId_a = $this->individualCreate(); diff --git a/tests/phpunit/api/v3/RelationshipTypeTest.php b/tests/phpunit/api/v3/RelationshipTypeTest.php index 2d268fc6d7..7ad4ecb449 100644 --- a/tests/phpunit/api/v3/RelationshipTypeTest.php +++ b/tests/phpunit/api/v3/RelationshipTypeTest.php @@ -64,17 +64,6 @@ class api_v3_RelationshipTypeTest extends CiviUnitTestCase { protected $_relTypeID; protected $_apiversion = 3; - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'RelationshipType Create', - 'description' => 'Test all RelationshipType Create API methods.', - 'group' => 'CiviCRM API Tests', - ); - } - function setUp() { parent::setUp(); diff --git a/tests/phpunit/api/v3/SettingTest.php b/tests/phpunit/api/v3/SettingTest.php index 824048b098..b395cbbe56 100644 --- a/tests/phpunit/api/v3/SettingTest.php +++ b/tests/phpunit/api/v3/SettingTest.php @@ -56,17 +56,6 @@ class api_v3_SettingTest extends CiviUnitTestCase { } - /** - * @return array - */ - function get_info() { - return array( - 'name' => 'Settings Tests', - 'description' => 'Settings API', - 'group' => 'CiviCRM API Tests', - ); - } - function setUp() { parent::setUp(); $params = array( -- 2.25.1