INFRA-132 - Batch 20 - Restore non-function comments
authorTim Otten <totten@civicrm.org>
Tue, 20 Jan 2015 00:11:21 +0000 (16:11 -0800)
committerTim Otten <totten@civicrm.org>
Tue, 20 Jan 2015 00:11:21 +0000 (16:11 -0800)
tests/phpunit/CRM/Utils/HookTest.php
tests/phpunit/api/v3/GroupContactTest.php

index 739549324d646cf46a1d1cad6cd2edb4cb52bcab..ef1dd662f7424c91a5a5ebc9b01a9a87e7d3f6ba 100644 (file)
@@ -67,8 +67,10 @@ class CRM_Utils_HookTest extends CiviUnitTestCase {
   }
 }
 
+/* --- Library of test hook implementations --- */
+
 /**
- * Library of test hook implementations
+ * Implements hook_civicrm_testRunHooks_outer().
  */
 function hooktesta_civicrm_testRunHooks_outer() {
   $test = CRM_Utils_HookTest::$activeTest;
@@ -101,8 +103,10 @@ function hooktesta_civicrm_testRunHooks_merge() {
   return array('from-module-a1', 'from-module-a2');
 }
 
+// OMIT: function hooktestb_civicrm_testRunHooks_merge
+
 /**
- * OMIT: function hooktestb_civicrm_testRunHooks_merge
+ * Implements hook_civicrm_testRunHooks_merge().
  */
 function hooktestc_civicrm_testRunHooks_merge() {
   return array();
index 9e098b5b769d7e33c9d0c42e280812f783ff82fb..304015f41a014fe4dace99d1d23adc0399c74c03 100644 (file)
@@ -82,8 +82,10 @@ class api_v3_GroupContactTest extends CiviUnitTestCase {
     );
   }
 
+  ///////////////// civicrm_group_contact_get methods
+
   /**
-   * civicrm_group_contact_get methods
+   * Test GroupContact.get by ID.
    */
   public function testGet() {
     $params = array(
@@ -162,8 +164,10 @@ class api_v3_GroupContactTest extends CiviUnitTestCase {
     $this->assertEquals($result['total_count'], 2, "in line " . __LINE__);
   }
 
+  ///////////////// civicrm_group_contact_remove methods
+
   /**
-   * civicrm_group_contact_remove methods
+   * Test GroupContact.delete by contact+group ID.
    */
   public function testDelete() {
     $params = array(