tests/ - Remove get_info()
authorTim Otten <totten@civicrm.org>
Mon, 22 Dec 2014 22:26:48 +0000 (14:26 -0800)
committerTim Otten <totten@civicrm.org>
Mon, 22 Dec 2014 22:26:48 +0000 (14:26 -0800)
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.

98 files changed:
tests/phpunit/CRM/Activity/BAO/ActivityTest.php
tests/phpunit/CRM/Batch/Form/EntryTest.php
tests/phpunit/CRM/Case/BAO/CaseTest.php
tests/phpunit/CRM/Case/PseudoConstantTest.php
tests/phpunit/CRM/Contact/BAO/ContactTest.php
tests/phpunit/CRM/Contact/BAO/ContactType/ContactSearchTest.php
tests/phpunit/CRM/Contact/BAO/ContactType/ContactTest.php
tests/phpunit/CRM/Contact/BAO/ContactType/ContactTypeTest.php
tests/phpunit/CRM/Contact/BAO/ContactType/RelationshipTest.php
tests/phpunit/CRM/Contact/BAO/QueryTest.php
tests/phpunit/CRM/Contact/Form/Search/Custom/GroupTest.php
tests/phpunit/CRM/Contribute/BAO/ContributionPageTest.php
tests/phpunit/CRM/Contribute/BAO/ContributionTest.php
tests/phpunit/CRM/Contribute/BAO/ContributionTypeTest.php
tests/phpunit/CRM/Contribute/BAO/ManagePremiumsTest.php
tests/phpunit/CRM/Core/BAO/ActionScheduleTest.php
tests/phpunit/CRM/Core/BAO/AddressTest.php
tests/phpunit/CRM/Core/BAO/CustomFieldTest.php
tests/phpunit/CRM/Core/BAO/CustomGroupTest.php
tests/phpunit/CRM/Core/BAO/CustomValueTableMultipleTest.php
tests/phpunit/CRM/Core/BAO/CustomValueTableSetGetTest.php
tests/phpunit/CRM/Core/BAO/CustomValueTableTest.php
tests/phpunit/CRM/Core/BAO/CustomValueTest.php
tests/phpunit/CRM/Core/BAO/EmailTest.php
tests/phpunit/CRM/Core/BAO/FinancialTrxnTest.php
tests/phpunit/CRM/Core/BAO/IMTest.php
tests/phpunit/CRM/Core/BAO/LocationTest.php
tests/phpunit/CRM/Core/BAO/OpenIDTest.php
tests/phpunit/CRM/Core/BAO/PhoneTest.php
tests/phpunit/CRM/Core/BAO/PreferencesTest.php
tests/phpunit/CRM/Core/BAO/RecurringEntityTest.php
tests/phpunit/CRM/Core/BAO/SettingTest.php
tests/phpunit/CRM/Core/DAOTest.php
tests/phpunit/CRM/Core/ErrorTest.php
tests/phpunit/CRM/Core/FieldOptionsTest.php
tests/phpunit/CRM/Core/ManagedEntitiesTest.php
tests/phpunit/CRM/Core/Payment/AuthorizeNetIPNTest.php
tests/phpunit/CRM/Core/Payment/AuthorizeNetTest.php
tests/phpunit/CRM/Core/Payment/BaseIPNTest.php
tests/phpunit/CRM/Core/Payment/PayPalProIPNTest.php
tests/phpunit/CRM/Core/PaymentTest.php
tests/phpunit/CRM/Core/PseudoConstantTest.php
tests/phpunit/CRM/Core/RegionTest.php
tests/phpunit/CRM/Core/ResourcesTest.php
tests/phpunit/CRM/Event/BAO/AdditionalPaymentTest.php
tests/phpunit/CRM/Event/BAO/ParticipantStatusTest.php
tests/phpunit/CRM/Event/BAO/ParticipantTest.php
tests/phpunit/CRM/Financial/BAO/FinancialAccountTest.php
tests/phpunit/CRM/Financial/BAO/FinancialItemTest.php
tests/phpunit/CRM/Financial/BAO/FinancialTypeAccountTest.php
tests/phpunit/CRM/Financial/BAO/FinancialTypeTest.php
tests/phpunit/CRM/Financial/BAO/PaymentProcessorTypeTest.php
tests/phpunit/CRM/Group/Page/AjaxTest.php
tests/phpunit/CRM/Mailing/BAO/QueryTest.php
tests/phpunit/CRM/Mailing/BAO/SpoolTest.php
tests/phpunit/CRM/Member/BAO/MembershipLogTest.php
tests/phpunit/CRM/Member/BAO/MembershipStatusTest.php
tests/phpunit/CRM/Member/BAO/MembershipTest.php
tests/phpunit/CRM/Member/BAO/MembershipTypeTest.php
tests/phpunit/CRM/Member/Import/Parser/MembershipTest.php
tests/phpunit/CRM/PCP/BAO/PCPTest.php
tests/phpunit/CRM/Pledge/BAO/PledgeBlockTest.php
tests/phpunit/CRM/Queue/Queue/SqlTest.php
tests/phpunit/CRM/Queue/QueueTest.php
tests/phpunit/CRM/Queue/RunnerTest.php
tests/phpunit/CRM/Utils/DeprecatedUtilsTest.php
tests/phpunit/CRM/Utils/HtmlToTextTest.php
tests/phpunit/CRM/Utils/MailTest.php
tests/phpunit/CRM/Utils/RestTest.php
tests/phpunit/CRM/Utils/RuleTest.php
tests/phpunit/CRM/Utils/SignerTest.php
tests/phpunit/CRM/Utils/StringTest.php
tests/phpunit/CRM/Utils/SystemTest.php
tests/phpunit/CRM/Utils/TypeTest.php
tests/phpunit/CRM/Utils/ZipTest.php
tests/phpunit/api/v3/ActivityTypeTest.php
tests/phpunit/api/v3/CustomFieldTest.php
tests/phpunit/api/v3/CustomGroupTest.php
tests/phpunit/api/v3/CustomValueContactTypeTest.php
tests/phpunit/api/v3/EventTest.php
tests/phpunit/api/v3/GroupContactTest.php
tests/phpunit/api/v3/GroupOrganizationTest.php
tests/phpunit/api/v3/GroupTest.php
tests/phpunit/api/v3/MailingABTest.php
tests/phpunit/api/v3/MailingGroupTest.php
tests/phpunit/api/v3/MailingTest.php
tests/phpunit/api/v3/MembershipStatusTest.php
tests/phpunit/api/v3/MembershipTypeTest.php
tests/phpunit/api/v3/NoteTest.php
tests/phpunit/api/v3/ParticipantPaymentTest.php
tests/phpunit/api/v3/ParticipantTest.php
tests/phpunit/api/v3/PaymentProcessorTest.php
tests/phpunit/api/v3/PaymentProcessorTypeTest.php
tests/phpunit/api/v3/ProductTest.php
tests/phpunit/api/v3/ProfileTest.php
tests/phpunit/api/v3/RelationshipTest.php
tests/phpunit/api/v3/RelationshipTypeTest.php
tests/phpunit/api/v3/SettingTest.php

index 0345e7117eac5c1344ae5e6d89b8f630fa6d4d7d..d970df8d2eed980374c8f679e38f553abad8291a 100644 (file)
@@ -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();
   }
index dbd606818b592816f10b154767c2c5673ab0636d..71aeb0044006438e047a04db526834f5dc4293af 100644 (file)
@@ -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();
 
index bb7c03d165008857dea4fdf96fe9c91040294d51..c52718eaefb60318f4272e1bfb52adc31dad5132 100644 (file)
@@ -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();
index 5df9ace7a81613bbc4e408a00d6a650ca39e5f52..2a1acdc50200951911edfba16bb6b34ec2fd7f16 100644 (file)
@@ -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();
index 1f739463ec09129ca9e23e206a34555ae7f28755..2a4b78df3e604d2884d7a86bd1627a0ef42d5130 100644 (file)
@@ -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();
   }
index ef73bc1599b2889f419eb178b8c10a1e1ba7899c..59c7bb5ec80b3ae0380214b6992e2169417b8ab9 100644 (file)
@@ -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();
index 6a87759c1330a4a38735f760c37d1e08463ca088..173d998843fab8b4a611bef7a60e1b2d9e37a632 100644 (file)
@@ -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();
index 977d26f652630f9069ac4977dd90b4fd40d11aac..6b2a86fa465e207ec6e75005f296396602ddc8c1 100644 (file)
@@ -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();
index 60037a0c05470b927da17eab34f5eb094130f441..94e89b56493bcc78e5309cb2d7ce539f6bc07240 100644 (file)
@@ -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();
index 03e32efc076af3947e0b9528877432eb0bf57590..853368ed78ae4a93f3807950be8857f207f1e650 100644 (file)
@@ -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
index 0bf7faa9cf3f8e13a1367110373058376ab17634..0e120bd7a20611e107d61abff86a503776954207 100644 (file)
@@ -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
    */
index aa8162e9e2af6588a949540f37dab63f3e731c16..e559acc7edd4864e1023225601e9842971325b1a 100644 (file)
@@ -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();
index 6e0eb268d07c283afd6aae0c9ba754817c1efe55..8348f7bec466e946dbef600f9662f139b81aa65b 100644 (file)
@@ -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();
index f5a2a4c0a11788a45fe118a8de94367a03823e86..0a5a8cf2b61ea4609954aac26ab1f3fab5b7a081 100644 (file)
@@ -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();
index 9b3f523663a0f02008c0075f79b0a4384f94ac0d..cb244fc63771dccb9fd7659aa8cf60c55f91b986 100644 (file)
@@ -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();
index 2d97054a0c5e3f775fc4efa5adfd5e78e0771556..9dfc462ad6cf1d8a76961a10d8d9e17281958486 100644 (file)
@@ -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();
 
index b94cc4e9c27b00dfca51c6096065973022cf3dc9..4c7855b4564db821b6d2d91a27a0780faf5e82d5 100644 (file)
@@ -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();
 
index 2cb6768f208d713affad2e7d65723297c4492816..6132a545d5cd30828169bce3a1b38e3776d2b0c3 100644 (file)
@@ -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();
index 11164b54e853b6eccc17ffe4934de3591ec2ec66..7d229292edeeb99a0ef7ef815b695b486ebe4709 100644 (file)
@@ -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();
index 55d97666b3576b5bd6e35d0dea6a951f4c47c3a3..7ef49175fe0ef85c283d995e9427a2523db81304 100644 (file)
@@ -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();
index f07569b3d4e8271240b8b88eff14ba95200e3471..cb425ce20a300a83e8710a1380ed4f661f61bebf 100644 (file)
@@ -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();
index c3927f9a9b1d2184f0fa3823325617b1990f0f43..33117625f0c30918595b6314d517621f156437f1 100644 (file)
@@ -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();
index 643acd95ba79b32b0f37bbcd2b72176f8dd3c2e6..c68835c3b7abd7c86f443111ff0e20c3314b71a9 100644 (file)
@@ -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();
index 2ffe95b8437baae846eab34512af1338d8c41bf9..d9ac7b00f5b1e4f6bb0b6fa4758d18530bc3403f 100644 (file)
@@ -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();
 
index 43911460cd44e51f07f6fd091f516e45cac72d18..989d95e21db1210cef54874fa863df32da0193f0 100644 (file)
@@ -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();
   }
index daaae2d6c8b0b8f51b266989a126d0f923869806..84861f5ccf2342fea18c8925b92470b641a1ed8d 100644 (file)
@@ -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();
   }
index 355e680d6ecad45e7713584aaa86e93bb67f82f8..00c191f2717d8c8bc281af4c7edcf036cff7b52d 100644 (file)
@@ -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();
 
index b125ab93deef27bed2e21c42082b9d367adae2b1..09ea046598c7ca6555b66cdfc2733e72eef9f351 100644 (file)
@@ -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
index 0fecc84b0a45260dc3b21b634a122000dd869654..deffad285ff30e38c85b602b6c9b792965f3b3ce 100644 (file)
@@ -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();
index 5cf19074960a9523138db5aaba37d77de916f7f5..63ff610c9be3d23aeb0f60aba798eb6e5f6c0a7c 100644 (file)
@@ -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();
index 0d822829732ee69a276f23109f5c6f2164d5bbea..01af9f63f1c5dc9131ea90b8d8adf0260dc8e5b0 100644 (file)
@@ -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.
index 482c84366e6218e5a6eae21d0944cf6d758cea59..94e13d174f3a926b9759f3e4b6e8b0a81730ca78 100644 (file)
@@ -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;
index 2df3e2e287b1bf2c645a1233b53f2d691ae7dc08..49cab99d5164bb68f998a9d52f7b680ade318b53 100644 (file)
@@ -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
index a3c570781ad3acadcc427ce7b66105734797731c..61205c811e99b241f93e95823330e02a95ce3ae5 100644 (file)
@@ -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();
index 5d082d556731de468dce18392cb78af127788228..19a6f24c9f904d39792baeb4b3dd48f07f019e50 100644 (file)
@@ -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();
   }
index 1764cc80ff522659a92d3d009966930bf1e918f1..b38809b0b2fa3602e7f30fd3f24d73eaded64977 100644 (file)
@@ -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(
index a1a1b9332f16cff04fbe47581ed5d1d35b2a06aa..154b13d4c4397be793a112bedb10a4432516a324 100644 (file)
@@ -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(
index f94a0577dfe59dad25563ded98b19398caa037de..c7d0ce27f55bb5cb8b6796d2b3458ce61463aed1 100644 (file)
@@ -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();
index 1669d3d64db7e94ed2f5d6e6bcdc3804f10d30ac..76bc2cf7469b031ea63f1d42144569df9ad1c002 100644 (file)
@@ -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();
index 54a3f49b52eb9c7775c9e9566487dfe0a77e181c..2b560251b9a4e51c7acef6093c6fc7740e2e71ed 100644 (file)
@@ -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();
index 97d54ffbbe529ada5134cf7f1c523c2013a8d547..51a2096a4d7b3f9c4c01118fc421e5efd0399fbd 100644 (file)
@@ -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
index 04194b908e6be01694003c5f1539a23f0a3d8f0a..478106e405668892e6baf6991ac3006af37eadd4 100644 (file)
@@ -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();
index 14996a36c8a39d1b67430512947392fee8635ce6..27f41df94e7bbb676b0c9822b7a9884407328849 100644 (file)
@@ -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';
index f8782612f12e985865368999778cec73177e48e1..9f2c380b1f14bf57f3a658d9c1c7c66f4d1b1e03 100644 (file)
@@ -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
index 30f72fffdbc9349d5bb9b5dee1fcd44092b1593e..ed7d3fa420b69ce02b41c816a7c6348e59de5e75 100644 (file)
@@ -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();
index c9a5e157e99a361c20735b33f00a2d5debb9247d..745ee1e777f3c69959033b398e058d4c6b99ae95 100644 (file)
@@ -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
    */
index 0ea81769d889cf973b658321e399d28fdebea2a2..3f126fcdddab2cd1362d39fd9cf1f6e772f0c07b 100644 (file)
@@ -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();
index cc780609cd6c9f57c64378c1643b5b24f16d933f..965aa7117b733770c463ce7b2b28d2fd8cc7673e 100644 (file)
@@ -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();
index 68b5d667910061b56ebc41a32f1987d68ba78eb2..39623ca33c74b0979dfbc6a11192186f3996ba6e 100755 (executable)
@@ -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();
   }
index 7f7997a47c7db54dff87ded95abf1c9404598f32..669ee4b0ffd73e2954cf7f0c7dd1b06a7a43beec 100755 (executable)
@@ -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();
index f94151f9a09b03de935b5f6ab3b7f306ce39ae37..f2b3e237a4ba22391eafc1ca7dec543ab6e3832b 100755 (executable)
@@ -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();
   }
index 90177adafd5fa03317f98518bfcea9d483794d0f..e3cdf219ae00a0ba6d026a462d5b13b422402054 100755 (executable)
@@ -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();
   }
index b62e90a2cb7e53dbdc9b9fd0da2bd59671504d97..585f0efc95a633b8ffd8eb244cb741ee3372e51e 100644 (file)
@@ -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(
index 6a4c24bbafc50c3d53ebef25df08d5956392b7a4..ac5ae021570bb1385c2d3dc77ec42069ad83bb8c 100644 (file)
@@ -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
index 2c6a5ed0963391ce648c830ae1f1a280e4843c4b..ae383f57d5eeaba4f479503303ed936f9191fd5b 100644 (file)
@@ -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 );
index df0fc6292dfd7593d9ccc754e1b16f7677c6f7ee..e726547dc6e3b7ea1418446c78d33e0d08c15e4b 100644 (file)
@@ -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();
index 2d057dc54c43228a185498f062ff1022f2d143ca..79a9a71c117b5e8236a3192656af55ca045343de 100644 (file)
@@ -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();
index 22894ee1a4e884ebbd39685c7d38f59c0e1895c2..0f10d4f39ec0fb8972519bd0f2f777206ed3e828 100644 (file)
@@ -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();
index 8ad44ea1ec59282be6efca441d3aec61b3314a62..dd5997ca0886d2e65299000cf241faf7c801605c 100644 (file)
@@ -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();
index 63f1d46603f0e39f8209a130be8fcd3752720132..1bd5ad9f461f29ff3e67c512a06336718dc62c62 100644 (file)
@@ -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();
index 3c18364c1214a787735becdd7d9198492d6eac70..a097394800e9f495c5d3054e6cf89d104fb1c7cf 100644 (file)
@@ -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.
index 6a3065230144c4fb305605083b8d3d6dc9c79dc0..e6e89b9e6ed1bb038d41f407be96744df5e2ebc9 100644 (file)
@@ -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
    */
index f238dd8fe044595885b679212e42ea9119170779..2c1980cfdf4f49d978d2d046ab5562eefbf26465 100644 (file)
@@ -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 ----------------------- */
 
index db54c31bee5c53dfe55adf46ec564c1a1a3c8ad1..45a769efe2c5bf78f1aa33915112566e9201e7a7 100644 (file)
@@ -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 ----------------------- */
 
index c8c34742118caf6464188fc5e0d1610d3a92c04a..c368dc22b02c5abaeb7809544d6eed0351808aa8 100644 (file)
@@ -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();
index b9f2236a2a990f854be3834876162d397e2f3b47..1de15e186e9508f408eeb80d80bc247e5236f82e 100644 (file)
@@ -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();
   }
index 738eba3e7cef5fffaa66d6fbc2055684cadaf431..ca51f2d9149e1346b4f8e56c018e531726928ae2 100644 (file)
@@ -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();
   }
index c4d97a443000edc924ab7f475f58ec9afa1dac1e..745e4ac937acbbe99d492beff4ce95d658b5f297 100644 (file)
@@ -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();
index 9508cc5f0d223dc523c1170cca6a04624d955b18..85defc9e566cb75854cd82404c22fbc87c0b3c41 100644 (file)
@@ -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();
index 6fcde9f836e078510055372fb3b93f5d039a05d3..d5e0831aedec54c7ef1eda06f99ffc5a5b8d9d4f 100644 (file)
@@ -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();
   }
index b20a31a7020c7e78acca27b73850e61e9a7b54e2..21dbc8434e3cd68812875ad5bbaf6b74e4fc4701 100644 (file)
@@ -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();
   }
index 04c320c388f19ac8719a451bdb693b1a5f118a40..44da91d47f2b5418134d73dbabbc3ad33885eefb 100644 (file)
@@ -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();
index 0634a1d6c9008c97d7001774bf7cd5442ba148bb..0e1e2aaa3a0139675d8bd0fa93fb8b3a2b769078 100644 (file)
@@ -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();
   }
index c87765aeea1520f0a932c68c981424e6d676d2fa..84573b848bbdb8975209aac54a202c115921be9a 100644 (file)
@@ -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();
   }
index ea16799079988d0d15e7461dc9c22b0f07e30d87..efad207a575d1fecb0884a4b20f58a5be9803325 100644 (file)
@@ -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();
index 1bdc9a4dbd36013ba0096a1cb55dc20c85927477..6920029e51885b94574c78721090096ad57d3045 100644 (file)
@@ -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');
index e07b4f9e9f3cd01bf5ead63c7871612621c26ef5..4588f1ecc73e9e102342fcbb0d248e7e9d8f7e75 100644 (file)
@@ -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();
index 8d44de6980eb17e077ef0d2189e6ab2513752053..33cd9565d250211d94272ae25a103088f9e0f72e 100644 (file)
@@ -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(
index 17886daf7998ad0b733a60bc1a96d0c4d2607f41..8361af0b492e2af96123ae4b9d269c2869e0f6fb 100644 (file)
@@ -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
index eff60ed6c38cf53d57733f6b611d01fec895c78f..bcaa0071625c660c6b084a15378d86a0b257fe36 100644 (file)
@@ -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;
index 928081944c1aa5fd23cf4ff2af477c99980ef541..69ff93b814814b7bbbd8b08db56b0a9854e8f511 100644 (file)
@@ -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
    *
index c08fdb54108129144ea240277b5c10a5e54ec828..c1fbf1e551fedd41056e5358b2111952b804b140 100644 (file)
@@ -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.
index e808bc4d0aa5b4c23ad93f1fc94ca9df59e96607..06f239afb259f1f156d9277973493992f0c836b7 100644 (file)
@@ -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;
 
index 88ad72d44e3de48293c289a9adc7a5720999d2c0..1a60397b02ee37759d84143acea2207d1ef3c6a2 100755 (executable)
@@ -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);
index c4d881d8e5d2982c8763caa72dbe0dcd415f5827..2faf700b6a72a7baaf110958580c1f5568c59a13 100644 (file)
@@ -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;
index bbbb6120531b393bcc22759701e6ae817a9d109e..0eb25d514d4a890bbbaec5187a1b708bdb32700a 100755 (executable)
@@ -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();
index ff2c6a681bd937ea7e1186306c44686de956cdd1..322e3cb39577303a206318b2b6d952a073becfad 100644 (file)
@@ -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();
index c679f7a89264720a23935fd69eef92e0c776a200..1537fc1caa2d26d27ff8ef03ff30692d1212099a 100644 (file)
@@ -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);
index 2d7f7e608f87066f7a52711f0ac32811a1e2d5d3..65ccfad0b7910536f1c0aa195d0f863799e7eddd 100644 (file)
@@ -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;
index c67234a3788453563c3f3110911e556911a5cbce..7abcf19a90f4c4b7676770915be99d65f77de167 100644 (file)
@@ -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);
index 8aab82c20efdc1d8a1ac6665b45c767e6347d563..d40c13e043c994cfe261363775eb01a699d20d47 100644 (file)
@@ -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();
index 0c950174f64b39142ad43556c50d518e239cff35..79fc6c3295d0bcbc7059aa8be099357c325d7d24 100644 (file)
@@ -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);
index c56bc5627a3bf6690653ec9a82347c74303748d5..b10518415fce03aa13d42220b6267acb704fa06a 100644 (file)
@@ -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();
index 2992427add6f201bdd7ae1ba83ff810d36379bce..b778db8327534ec6d9d8f7f8241e121d94f40958 100644 (file)
@@ -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();
index 52d078ab15723dbf41dc795175f72ba68591e734..20eed7bb2cd3399a0d1fef94fc72865b7733ea89 100644 (file)
@@ -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();
index b01a1ca4ef47901c73a80f42780af8a47ce38aae..6c37abd9f4e96c7dd524e558afb00a784c5d6901 100644 (file)
@@ -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();
index 2d268fc6d76b42b830614acb946d23df8c98ed01..7ad4ecb449f5e197b6d89dbb0955591927912da0 100644 (file)
@@ -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();
index 824048b098a7d8d95e73931b0384936ea504e8b1..b395cbbe56a306079074474a5e5cd37fbb69112d 100644 (file)
@@ -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(