From aba1cd8bb44538ad9b83e28402150436493b5bf3 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Sat, 24 May 2014 15:37:39 +1200 Subject: [PATCH] tests - add autogenerated comment blocks --- .../extensions/test.extension.manager.paymenttest/main.php | 4 ++++ .../extensions/test.extension.manager.reporttest/main.php | 6 ++++++ .../extensions/test.extension.manager.searchtest/main.php | 4 ++++ tests/phpunit/CRM/Activity/BAO/ActivityTest.php | 7 +++++++ tests/phpunit/CRM/Case/BAO/CaseTest.php | 6 ++++++ tests/phpunit/CRM/Case/PseudoConstantTest.php | 6 ++++++ tests/phpunit/CRM/Case/XMLRepositoryTest.php | 5 ++++- tests/phpunit/CRM/Contact/BAO/ContactTest.php | 7 +++++++ .../CRM/Contact/BAO/ContactType/ContactSearchTest.php | 7 +++++++ tests/phpunit/CRM/Contact/BAO/ContactType/ContactTest.php | 7 +++++++ .../CRM/Contact/BAO/ContactType/ContactTypeTest.php | 7 +++++++ .../CRM/Contact/BAO/ContactType/RelationshipTest.php | 7 +++++++ tests/phpunit/CRM/Core/BAO/CustomFieldTest.php | 7 +++++++ .../phpunit/CRM/Core/BAO/CustomValueTableMultipleTest.php | 7 +++++++ tests/phpunit/CRM/Core/BAO/CustomValueTableSetGetTest.php | 7 +++++++ tests/phpunit/CRM/Core/BAO/CustomValueTableTest.php | 7 +++++++ tests/phpunit/CRM/Core/BAO/EmailTest.php | 7 +++++++ tests/phpunit/CRM/Core/BAO/IMTest.php | 7 +++++++ tests/phpunit/CRM/Core/BAO/OpenIDTest.php | 7 +++++++ tests/phpunit/CRM/Core/BAO/UFFieldTest.php | 4 ++++ tests/phpunit/CRM/Core/DAO/AllCoreTablesTest.php | 6 +++++- tests/phpunit/CRM/Core/DAOTest.php | 7 +++++++ tests/phpunit/CRM/Core/ManagedEntitiesTest.php | 6 ++++++ tests/phpunit/CRM/Core/Page/AJAXTest.php | 3 +++ tests/phpunit/CRM/Core/Permission/BaseTest.php | 3 +++ tests/phpunit/CRM/Core/Permission/GenericTest.php | 3 +++ tests/phpunit/CRM/Core/Permission/JoomlaTest.php | 3 +++ tests/phpunit/CRM/Core/RegionTest.php | 6 ++++++ tests/phpunit/CRM/Core/Smarty/plugins/CrmScopeTest.php | 3 +++ tests/phpunit/CRM/Core/TransactionTest.php | 4 ++++ tests/phpunit/CRM/Dedupe/DedupeFinderTest.php | 4 ++++ tests/phpunit/CRM/Extension/BrowserTest.php | 3 +++ tests/phpunit/CRM/Extension/Container/BasicTest.php | 3 +++ tests/phpunit/CRM/Extension/Container/StaticTest.php | 3 +++ tests/phpunit/CRM/Extension/InfoTest.php | 3 +++ tests/phpunit/CRM/Extension/Manager/ModuleTest.php | 3 +++ tests/phpunit/CRM/Extension/Manager/ReportTest.php | 3 +++ tests/phpunit/CRM/Extension/Manager/SearchTest.php | 3 +++ tests/phpunit/CRM/Extension/MapperTest.php | 3 +++ tests/phpunit/CRM/Group/Page/AjaxTest.php | 4 ++++ tests/phpunit/CRM/UF/Page/ProfileEditorTest.php | 3 +++ tests/phpunit/CRM/Utils/ArrayTest.php | 4 ++++ tests/phpunit/CRM/Utils/Cache/SqlGroupTest.php | 3 +++ tests/phpunit/CRM/Utils/DeprecatedUtilsTest.php | 6 ++++++ tests/phpunit/CRM/Utils/FileTest.php | 4 ++++ tests/phpunit/CRM/Utils/GlobalStackTest.php | 3 +++ tests/phpunit/CRM/Utils/HookTest.php | 4 ++++ tests/phpunit/CRM/Utils/HtmlToTextTest.php | 3 +++ tests/phpunit/CRM/Utils/HttpClientTest.php | 4 ++++ tests/phpunit/CRM/Utils/MailTest.php | 7 +++++++ tests/phpunit/CRM/Utils/Migrate/ImportExportTest.php | 4 ++++ tests/phpunit/CRM/Utils/NumberTest.php | 7 +++++++ tests/phpunit/CRM/Utils/RestTest.php | 7 +++++++ tests/phpunit/CRM/Utils/RuleTest.php | 6 ++++++ tests/phpunit/CRM/Utils/SQL/SelectTest.php | 3 +++ tests/phpunit/CRM/Utils/StringTest.php | 7 +++++++ tests/phpunit/CRM/Utils/SystemTest.php | 6 ++++++ tests/phpunit/CRM/Utils/TypeTest.php | 6 ++++++ tests/phpunit/CiviTest/AuthorizeNet.php | 3 +++ tests/phpunit/CiviTest/Contact.php | 4 ++++ tests/phpunit/CiviTest/ContributionPage.php | 4 ++++ tests/phpunit/CiviTest/Custom.php | 4 ++++ tests/phpunit/CiviTest/Event.php | 4 ++++ tests/phpunit/CiviTest/Membership.php | 4 ++++ tests/phpunit/CiviTest/PCP.php | 4 ++++ tests/phpunit/CiviTest/Participant.php | 4 ++++ tests/phpunit/CiviTest/PaypalPro.php | 4 ++++ tests/phpunit/WebTest/Event/EventListingTest.php | 4 ++++ tests/phpunit/api/v3/CustomSearchTest.php | 3 +++ .../v3/dataset/resolver/api/v3/Contact/ExampleAction2.php | 5 +++++ .../v3/dataset/resolver/api/v3/Generic/ExampleAction1.php | 5 +++++ .../v3/dataset/resolver/api/v3/Generic/ExampleAction2.php | 5 +++++ .../phpunit/api/v3/dataset/resolver/api/v3/TestEntity.php | 5 +++++ 73 files changed, 349 insertions(+), 2 deletions(-) diff --git a/tests/extensions/test.extension.manager.paymenttest/main.php b/tests/extensions/test.extension.manager.paymenttest/main.php index eb22a9975e..fb683c3af9 100644 --- a/tests/extensions/test.extension.manager.paymenttest/main.php +++ b/tests/extensions/test.extension.manager.paymenttest/main.php @@ -1,4 +1,8 @@ tables[] = 'civicrm_contact'; diff --git a/tests/extensions/test.extension.manager.searchtest/main.php b/tests/extensions/test.extension.manager.searchtest/main.php index dd6b15cd24..f3e195f272 100644 --- a/tests/extensions/test.extension.manager.searchtest/main.php +++ b/tests/extensions/test.extension.manager.searchtest/main.php @@ -1,6 +1,10 @@ 'Activity BAOs', diff --git a/tests/phpunit/CRM/Case/BAO/CaseTest.php b/tests/phpunit/CRM/Case/BAO/CaseTest.php index 53fb7a406e..a76ac9e244 100644 --- a/tests/phpunit/CRM/Case/BAO/CaseTest.php +++ b/tests/phpunit/CRM/Case/BAO/CaseTest.php @@ -1,7 +1,13 @@ 'Case BAOs', diff --git a/tests/phpunit/CRM/Case/PseudoConstantTest.php b/tests/phpunit/CRM/Case/PseudoConstantTest.php index 7e3c605834..9e6394b01a 100644 --- a/tests/phpunit/CRM/Case/PseudoConstantTest.php +++ b/tests/phpunit/CRM/Case/PseudoConstantTest.php @@ -1,7 +1,13 @@ 'Case PseudoConstants', diff --git a/tests/phpunit/CRM/Case/XMLRepositoryTest.php b/tests/phpunit/CRM/Case/XMLRepositoryTest.php index 46cd28db01..be2a6d9d66 100644 --- a/tests/phpunit/CRM/Case/XMLRepositoryTest.php +++ b/tests/phpunit/CRM/Case/XMLRepositoryTest.php @@ -2,6 +2,9 @@ require_once 'CiviTest/CiviUnitTestCase.php'; +/** + * Class CRM_Case_XMLRepositoryTest + */ class CRM_Case_XMLRepositoryTest extends CiviUnitTestCase { protected $fixtures = array(); @@ -159,4 +162,4 @@ class CRM_Case_XMLRepositoryTest extends CiviUnitTestCase { $this->assertEquals(2, $repo->getRelationshipReferenceCount('Second Role')); $this->assertEquals(1, $repo->getRelationshipReferenceCount('Third Role')); } -} \ No newline at end of file +} diff --git a/tests/phpunit/CRM/Contact/BAO/ContactTest.php b/tests/phpunit/CRM/Contact/BAO/ContactTest.php index 6e843737cb..184744c7c2 100644 --- a/tests/phpunit/CRM/Contact/BAO/ContactTest.php +++ b/tests/phpunit/CRM/Contact/BAO/ContactTest.php @@ -2,7 +2,14 @@ require_once 'CiviTest/CiviUnitTestCase.php'; require_once 'CiviTest/Contact.php'; 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', diff --git a/tests/phpunit/CRM/Contact/BAO/ContactType/ContactSearchTest.php b/tests/phpunit/CRM/Contact/BAO/ContactType/ContactSearchTest.php index 26ffd797fd..c576fdf8f2 100644 --- a/tests/phpunit/CRM/Contact/BAO/ContactType/ContactSearchTest.php +++ b/tests/phpunit/CRM/Contact/BAO/ContactType/ContactSearchTest.php @@ -1,7 +1,14 @@ 'Contact Serach Subtype', diff --git a/tests/phpunit/CRM/Contact/BAO/ContactType/ContactTest.php b/tests/phpunit/CRM/Contact/BAO/ContactType/ContactTest.php index dc227aa1d2..af6afa3a90 100644 --- a/tests/phpunit/CRM/Contact/BAO/ContactType/ContactTest.php +++ b/tests/phpunit/CRM/Contact/BAO/ContactType/ContactTest.php @@ -1,6 +1,13 @@ 'Contact Subtype', diff --git a/tests/phpunit/CRM/Contact/BAO/ContactType/ContactTypeTest.php b/tests/phpunit/CRM/Contact/BAO/ContactType/ContactTypeTest.php index ae01d56fd1..f05951b651 100644 --- a/tests/phpunit/CRM/Contact/BAO/ContactType/ContactTypeTest.php +++ b/tests/phpunit/CRM/Contact/BAO/ContactType/ContactTypeTest.php @@ -1,6 +1,13 @@ 'Contact Subtype', diff --git a/tests/phpunit/CRM/Contact/BAO/ContactType/RelationshipTest.php b/tests/phpunit/CRM/Contact/BAO/ContactType/RelationshipTest.php index dea3411ca8..d33dcfbcca 100644 --- a/tests/phpunit/CRM/Contact/BAO/ContactType/RelationshipTest.php +++ b/tests/phpunit/CRM/Contact/BAO/ContactType/RelationshipTest.php @@ -1,7 +1,14 @@ 'Relationship Subtype', diff --git a/tests/phpunit/CRM/Core/BAO/CustomFieldTest.php b/tests/phpunit/CRM/Core/BAO/CustomFieldTest.php index d375fb1838..46f19e44a8 100644 --- a/tests/phpunit/CRM/Core/BAO/CustomFieldTest.php +++ b/tests/phpunit/CRM/Core/BAO/CustomFieldTest.php @@ -2,7 +2,14 @@ require_once 'CiviTest/CiviUnitTestCase.php'; require_once 'CiviTest/Contact.php'; 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', diff --git a/tests/phpunit/CRM/Core/BAO/CustomValueTableMultipleTest.php b/tests/phpunit/CRM/Core/BAO/CustomValueTableMultipleTest.php index f69954c5d2..55d97666b3 100644 --- a/tests/phpunit/CRM/Core/BAO/CustomValueTableMultipleTest.php +++ b/tests/phpunit/CRM/Core/BAO/CustomValueTableMultipleTest.php @@ -3,7 +3,14 @@ require_once 'CiviTest/CiviUnitTestCase.php'; require_once 'CiviTest/Contact.php'; 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)', diff --git a/tests/phpunit/CRM/Core/BAO/CustomValueTableSetGetTest.php b/tests/phpunit/CRM/Core/BAO/CustomValueTableSetGetTest.php index 7fbbb836cd..9543bee8b8 100644 --- a/tests/phpunit/CRM/Core/BAO/CustomValueTableSetGetTest.php +++ b/tests/phpunit/CRM/Core/BAO/CustomValueTableSetGetTest.php @@ -2,7 +2,14 @@ require_once 'CiviTest/CiviUnitTestCase.php'; require_once 'CiviTest/Contact.php'; 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', diff --git a/tests/phpunit/CRM/Core/BAO/CustomValueTableTest.php b/tests/phpunit/CRM/Core/BAO/CustomValueTableTest.php index 727b7a5f6b..d93b649fa1 100644 --- a/tests/phpunit/CRM/Core/BAO/CustomValueTableTest.php +++ b/tests/phpunit/CRM/Core/BAO/CustomValueTableTest.php @@ -2,7 +2,14 @@ require_once 'CiviTest/CiviUnitTestCase.php'; require_once 'CiviTest/Contact.php'; 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', diff --git a/tests/phpunit/CRM/Core/BAO/EmailTest.php b/tests/phpunit/CRM/Core/BAO/EmailTest.php index c20a3d12ba..3ca6ab6c06 100644 --- a/tests/phpunit/CRM/Core/BAO/EmailTest.php +++ b/tests/phpunit/CRM/Core/BAO/EmailTest.php @@ -1,7 +1,14 @@ 'Email BAOs', diff --git a/tests/phpunit/CRM/Core/BAO/IMTest.php b/tests/phpunit/CRM/Core/BAO/IMTest.php index f8263cdd3b..f3a45feb5d 100644 --- a/tests/phpunit/CRM/Core/BAO/IMTest.php +++ b/tests/phpunit/CRM/Core/BAO/IMTest.php @@ -1,7 +1,14 @@ 'IM BAOs', diff --git a/tests/phpunit/CRM/Core/BAO/OpenIDTest.php b/tests/phpunit/CRM/Core/BAO/OpenIDTest.php index 491aa36980..1e9305367e 100644 --- a/tests/phpunit/CRM/Core/BAO/OpenIDTest.php +++ b/tests/phpunit/CRM/Core/BAO/OpenIDTest.php @@ -1,7 +1,14 @@ 'OpenID BAOs', diff --git a/tests/phpunit/CRM/Core/BAO/UFFieldTest.php b/tests/phpunit/CRM/Core/BAO/UFFieldTest.php index 1b8c4ed8e9..2e084ff3a5 100644 --- a/tests/phpunit/CRM/Core/BAO/UFFieldTest.php +++ b/tests/phpunit/CRM/Core/BAO/UFFieldTest.php @@ -1,6 +1,10 @@ assertEquals('civicrm_email', CRM_Core_DAO_AllCoreTables::getTableForClass('CRM_Core_DAO_Email')); $this->assertEquals('civicrm_email', CRM_Core_DAO_AllCoreTables::getTableForClass('CRM_Core_BAO_Email')); } -} \ No newline at end of file +} diff --git a/tests/phpunit/CRM/Core/DAOTest.php b/tests/phpunit/CRM/Core/DAOTest.php index c14ebede5b..de909cd39c 100644 --- a/tests/phpunit/CRM/Core/DAOTest.php +++ b/tests/phpunit/CRM/Core/DAOTest.php @@ -1,7 +1,14 @@ 'DAO', diff --git a/tests/phpunit/CRM/Core/ManagedEntitiesTest.php b/tests/phpunit/CRM/Core/ManagedEntitiesTest.php index bd0b997953..f0517bb31b 100644 --- a/tests/phpunit/CRM/Core/ManagedEntitiesTest.php +++ b/tests/phpunit/CRM/Core/ManagedEntitiesTest.php @@ -2,7 +2,13 @@ require_once 'CiviTest/CiviUnitTestCase.php'; +/** + * Class CRM_Core_ManagedEntitiesTest + */ class CRM_Core_ManagedEntitiesTest extends CiviUnitTestCase { + /** + * @return array + */ function get_info() { return array( 'name' => 'ManagedEntities', diff --git a/tests/phpunit/CRM/Core/Page/AJAXTest.php b/tests/phpunit/CRM/Core/Page/AJAXTest.php index 0c37781258..0425e75fed 100644 --- a/tests/phpunit/CRM/Core/Page/AJAXTest.php +++ b/tests/phpunit/CRM/Core/Page/AJAXTest.php @@ -2,6 +2,9 @@ require_once 'CiviTest/CiviUnitTestCase.php'; +/** + * Class CRM_Core_Page_AJAXTest + */ class CRM_Core_Page_AJAXTest extends CiviUnitTestCase { public function testCheckAuthz() { $cases = array(); diff --git a/tests/phpunit/CRM/Core/Permission/BaseTest.php b/tests/phpunit/CRM/Core/Permission/BaseTest.php index 606637ce50..54e6de6cd9 100644 --- a/tests/phpunit/CRM/Core/Permission/BaseTest.php +++ b/tests/phpunit/CRM/Core/Permission/BaseTest.php @@ -2,6 +2,9 @@ require_once 'CiviTest/CiviUnitTestCase.php'; +/** + * Class CRM_Core_Permission_BaseTest + */ class CRM_Core_Permission_BaseTest extends CiviUnitTestCase { /** diff --git a/tests/phpunit/CRM/Core/Permission/GenericTest.php b/tests/phpunit/CRM/Core/Permission/GenericTest.php index 90459c5e0a..4aebdd7eed 100644 --- a/tests/phpunit/CRM/Core/Permission/GenericTest.php +++ b/tests/phpunit/CRM/Core/Permission/GenericTest.php @@ -2,6 +2,9 @@ require_once 'CiviTest/CiviUnitTestCase.php'; +/** + * Class CRM_Core_Permission_GenericTest + */ class CRM_Core_Permission_GenericTest extends CiviUnitTestCase { /** diff --git a/tests/phpunit/CRM/Core/Permission/JoomlaTest.php b/tests/phpunit/CRM/Core/Permission/JoomlaTest.php index adc2bd2ea3..d2f49855a1 100644 --- a/tests/phpunit/CRM/Core/Permission/JoomlaTest.php +++ b/tests/phpunit/CRM/Core/Permission/JoomlaTest.php @@ -2,6 +2,9 @@ require_once 'CiviTest/CiviUnitTestCase.php'; +/** + * Class CRM_Core_Permission_JoomlaTest + */ class CRM_Core_Permission_JoomlaTest extends CiviUnitTestCase { /** diff --git a/tests/phpunit/CRM/Core/RegionTest.php b/tests/phpunit/CRM/Core/RegionTest.php index 2b50586f83..14996a36c8 100644 --- a/tests/phpunit/CRM/Core/RegionTest.php +++ b/tests/phpunit/CRM/Core/RegionTest.php @@ -2,7 +2,13 @@ require_once 'CiviTest/CiviUnitTestCase.php'; +/** + * Class CRM_Core_RegionTest + */ class CRM_Core_RegionTest extends CiviUnitTestCase { + /** + * @return array + */ function get_info() { return array( 'name' => 'Region', diff --git a/tests/phpunit/CRM/Core/Smarty/plugins/CrmScopeTest.php b/tests/phpunit/CRM/Core/Smarty/plugins/CrmScopeTest.php index 90a7fe8bcc..3f3c3c729a 100644 --- a/tests/phpunit/CRM/Core/Smarty/plugins/CrmScopeTest.php +++ b/tests/phpunit/CRM/Core/Smarty/plugins/CrmScopeTest.php @@ -2,6 +2,9 @@ require_once 'CiviTest/CiviUnitTestCase.php'; +/** + * Class CRM_Core_Smarty_plugins_CrmScopeTest + */ class CRM_Core_Smarty_plugins_CrmScopeTest extends CiviUnitTestCase { function setUp() { parent::setUp(); diff --git a/tests/phpunit/CRM/Core/TransactionTest.php b/tests/phpunit/CRM/Core/TransactionTest.php index 716946b33a..701824a1aa 100644 --- a/tests/phpunit/CRM/Core/TransactionTest.php +++ b/tests/phpunit/CRM/Core/TransactionTest.php @@ -2,6 +2,10 @@ require_once 'CiviTest/CiviUnitTestCase.php'; require_once 'CiviTest/Contact.php'; require_once 'CiviTest/Custom.php'; + +/** + * Class CRM_Core_TransactionTest + */ class CRM_Core_TransactionTest extends CiviUnitTestCase { function setUp() { diff --git a/tests/phpunit/CRM/Dedupe/DedupeFinderTest.php b/tests/phpunit/CRM/Dedupe/DedupeFinderTest.php index ae47b1bfdf..c3eac71f4e 100644 --- a/tests/phpunit/CRM/Dedupe/DedupeFinderTest.php +++ b/tests/phpunit/CRM/Dedupe/DedupeFinderTest.php @@ -1,6 +1,10 @@ 'Deprecated Utils Test', diff --git a/tests/phpunit/CRM/Utils/FileTest.php b/tests/phpunit/CRM/Utils/FileTest.php index 02b797d08b..7235c4ca11 100644 --- a/tests/phpunit/CRM/Utils/FileTest.php +++ b/tests/phpunit/CRM/Utils/FileTest.php @@ -1,5 +1,9 @@

' => '', // empty test diff --git a/tests/phpunit/CRM/Utils/HttpClientTest.php b/tests/phpunit/CRM/Utils/HttpClientTest.php index 445f271bb2..613ae41bf7 100644 --- a/tests/phpunit/CRM/Utils/HttpClientTest.php +++ b/tests/phpunit/CRM/Utils/HttpClientTest.php @@ -1,5 +1,9 @@ 'Mail Test', diff --git a/tests/phpunit/CRM/Utils/Migrate/ImportExportTest.php b/tests/phpunit/CRM/Utils/Migrate/ImportExportTest.php index 4424aec7fa..2501fe603f 100644 --- a/tests/phpunit/CRM/Utils/Migrate/ImportExportTest.php +++ b/tests/phpunit/CRM/Utils/Migrate/ImportExportTest.php @@ -1,5 +1,9 @@ 'Rest Test', diff --git a/tests/phpunit/CRM/Utils/RuleTest.php b/tests/phpunit/CRM/Utils/RuleTest.php index e3e716c045..2649183e36 100644 --- a/tests/phpunit/CRM/Utils/RuleTest.php +++ b/tests/phpunit/CRM/Utils/RuleTest.php @@ -2,8 +2,14 @@ require_once 'CiviTest/CiviUnitTestCase.php'; +/** + * Class CRM_Utils_RuleTest + */ class CRM_Utils_RuleTest extends CiviUnitTestCase { + /** + * @return array + */ function get_info() { return array( 'name' => 'Rule Test', diff --git a/tests/phpunit/CRM/Utils/SQL/SelectTest.php b/tests/phpunit/CRM/Utils/SQL/SelectTest.php index 9443d3f91f..0bd1c399fb 100644 --- a/tests/phpunit/CRM/Utils/SQL/SelectTest.php +++ b/tests/phpunit/CRM/Utils/SQL/SelectTest.php @@ -1,6 +1,9 @@ 'String Test', diff --git a/tests/phpunit/CRM/Utils/SystemTest.php b/tests/phpunit/CRM/Utils/SystemTest.php index 37f065b868..0634a1d6c9 100644 --- a/tests/phpunit/CRM/Utils/SystemTest.php +++ b/tests/phpunit/CRM/Utils/SystemTest.php @@ -2,8 +2,14 @@ require_once 'CiviTest/CiviUnitTestCase.php'; +/** + * Class CRM_Utils_SystemTest + */ class CRM_Utils_SystemTest extends CiviUnitTestCase { + /** + * @return array + */ function get_info() { return array( 'name' => 'System Test', diff --git a/tests/phpunit/CRM/Utils/TypeTest.php b/tests/phpunit/CRM/Utils/TypeTest.php index 96150abc54..c87765aeea 100644 --- a/tests/phpunit/CRM/Utils/TypeTest.php +++ b/tests/phpunit/CRM/Utils/TypeTest.php @@ -2,8 +2,14 @@ require_once 'CiviTest/CiviUnitTestCase.php'; +/** + * Class CRM_Utils_TypeTest + */ class CRM_Utils_TypeTest extends CiviUnitTestCase { + /** + * @return array + */ function get_info() { return array( 'name' => 'Type Test', diff --git a/tests/phpunit/CiviTest/AuthorizeNet.php b/tests/phpunit/CiviTest/AuthorizeNet.php index dc354b6e63..f39e0027d4 100644 --- a/tests/phpunit/CiviTest/AuthorizeNet.php +++ b/tests/phpunit/CiviTest/AuthorizeNet.php @@ -10,6 +10,9 @@ class AuthorizeNet extends PHPUnit_Framework_Testcase { * * @return $paymentProcessor id of created payment processor */ + /** + * @return CRM_Financial_DAO_PaymentProcessor + */ function create() { $paymentProcessor = new CRM_Financial_DAO_PaymentProcessor(); diff --git a/tests/phpunit/CiviTest/Contact.php b/tests/phpunit/CiviTest/Contact.php index 3ace84dd97..b5aa0dfc87 100644 --- a/tests/phpunit/CiviTest/Contact.php +++ b/tests/phpunit/CiviTest/Contact.php @@ -1,4 +1,8 @@ 'civicrm_api3_contact_example_action2 is ok'), diff --git a/tests/phpunit/api/v3/dataset/resolver/api/v3/Generic/ExampleAction1.php b/tests/phpunit/api/v3/dataset/resolver/api/v3/Generic/ExampleAction1.php index 7d41667f75..34123294f5 100644 --- a/tests/phpunit/api/v3/dataset/resolver/api/v3/Generic/ExampleAction1.php +++ b/tests/phpunit/api/v3/dataset/resolver/api/v3/Generic/ExampleAction1.php @@ -1,5 +1,10 @@ 'civicrm_api3_generic_example_action1 is ok'), diff --git a/tests/phpunit/api/v3/dataset/resolver/api/v3/Generic/ExampleAction2.php b/tests/phpunit/api/v3/dataset/resolver/api/v3/Generic/ExampleAction2.php index 4275733ad4..213edeee05 100644 --- a/tests/phpunit/api/v3/dataset/resolver/api/v3/Generic/ExampleAction2.php +++ b/tests/phpunit/api/v3/dataset/resolver/api/v3/Generic/ExampleAction2.php @@ -1,5 +1,10 @@ 'civicrm_api3_generic_example_action2 should not be called'), diff --git a/tests/phpunit/api/v3/dataset/resolver/api/v3/TestEntity.php b/tests/phpunit/api/v3/dataset/resolver/api/v3/TestEntity.php index b8c11f8180..91e9a955d3 100644 --- a/tests/phpunit/api/v3/dataset/resolver/api/v3/TestEntity.php +++ b/tests/phpunit/api/v3/dataset/resolver/api/v3/TestEntity.php @@ -1,5 +1,10 @@ 'civicrm_api3_test_entity_example_action3 is ok'), -- 2.25.1