From e9479dcf93594b6338697ce76ab490b753c7de45 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Sat, 24 May 2014 15:28:10 +1200 Subject: [PATCH] add autogenerated comment blocks to tests dir --- tests/phpunit/CRM/Contact/BAO/QueryTest.php | 6 ++++ .../Contribute/BAO/ContributionTypeTest.php | 9 +++++- .../CRM/Contribute/BAO/ManagePremiumsTest.php | 7 ++++ .../CRM/Core/BAO/ActionScheduleTest.php | 4 +++ tests/phpunit/CRM/Core/BAO/AddressTest.php | 4 +++ .../CRM/Core/BAO/FinancialTrxnTest.php | 7 ++++ .../phpunit/CRM/Core/BAO/PreferencesTest.php | 7 ++++ tests/phpunit/CRM/Core/BAO/SettingTest.php | 7 ++++ .../CRM/Core/CommunityMessagesTest.php | 4 +++ tests/phpunit/CRM/Core/JobManagerTest.php | 3 ++ .../phpunit/CRM/Core/Payment/BaseIPNTest.php | 4 +++ .../CRM/Core/Payment/PayPalProIPNTest.php | 4 +++ tests/phpunit/CRM/Core/PaymentTest.php | 3 ++ .../CRM/Core/Smarty/plugins/CrmScopeTest.php | 3 ++ .../Extension/Container/CollectionTest.php | 3 ++ .../CRM/Extension/Manager/PaymentTest.php | 3 ++ tests/phpunit/CRM/Extension/ManagerTest.php | 3 ++ .../Financial/BAO/FinancialAccountTest.php | 6 ++++ .../CRM/Financial/BAO/FinancialItemTest.php | 3 ++ .../BAO/FinancialTypeAccountTest.php | 6 ++++ .../CRM/Financial/BAO/FinancialTypeTest.php | 6 ++++ tests/phpunit/CRM/Group/Page/AjaxTest.php | 3 ++ tests/phpunit/CRM/Mailing/BAO/QueryTest.php | 6 ++++ tests/phpunit/CRM/Mailing/BAO/SpoolTest.php | 6 ++++ .../CRM/Member/BAO/MembershipStatusTest.php | 7 ++++ .../CRM/Member/BAO/MembershipTypeTest.php | 7 ++++ tests/phpunit/CRM/Utils/ArrayTest.php | 3 ++ tests/phpunit/CRM/Utils/RuleTest.php | 3 ++ tests/phpunit/CRM/Utils/SignerTest.php | 6 ++++ tests/phpunit/CRM/Utils/TypeTest.php | 3 ++ tests/phpunit/CRM/Utils/ZipTest.php | 7 ++++ tests/phpunit/Civi/API/RequestTest.php | 3 ++ tests/phpunit/CiviTest/CiviReportTestCase.php | 3 ++ .../WebTest/ACL/AssignUsersToRolesTest.php | 4 +++ .../Activity/ContactContextAddTest.php | 4 +++ .../WebTest/Activity/StandaloneAddTest.php | 4 +++ tests/phpunit/WebTest/Admin/CustomAddTest.php | 4 +++ .../WebTest/Admin/CustomAddTestSameField.php | 4 +++ .../Admin/Form/ScheduleReminderTest.php | 4 +++ .../Admin/Form/Setting/LocalizationTest.php | 4 +++ .../WebTest/Admin/MoveCustomDataTest.php | 4 +++ .../WebTest/Admin/RelationshipTypeAddTest.php | 4 +++ .../phpunit/WebTest/Campaign/ActivityTest.php | 4 +++ .../Campaign/CampaignDescriptionTest.php | 4 +++ .../phpunit/WebTest/Campaign/MailingTest.php | 4 +++ .../WebTest/Campaign/MembershipTest.php | 4 +++ .../Campaign/OfflineContributionTest.php | 4 +++ .../Campaign/OfflineEventRegistrationTest.php | 7 ++++ .../Campaign/OnlineContributionTest.php | 4 +++ .../Campaign/OnlineEventRegistrationTest.php | 4 +++ .../Campaign/PetitionUsageScenarioTest.php | 4 +++ tests/phpunit/WebTest/Campaign/PledgeTest.php | 4 +++ .../Campaign/SurveyUsageScenarioTest.php | 4 +++ .../WebTest/Case/ActivityToCaseTest.php | 4 +++ tests/phpunit/WebTest/Case/AddCaseTest.php | 4 +++ .../WebTest/Case/CaseCustomFieldsTest.php | 4 +++ .../WebTest/Case/CaseDashboardTest.php | 4 +++ .../WebTest/Contact/AddCmsUserTest.php | 4 +++ .../AddContactsToEventAdvancedSearchTest.php | 4 +++ tests/phpunit/WebTest/Contact/AddTest.php | 4 +++ .../WebTest/Contact/AddViaProfileTest.php | 4 +++ .../WebTest/Contact/AddressParsingTest.php | 4 +++ .../WebTest/Contact/AdvanceSearchPaneTest.php | 4 +++ .../AdvanceSearchPrivacyOptionsTest.php | 4 +++ .../WebTest/Contact/AdvancedSearchTest.php | 4 +++ .../AdvancedSearchedRelatedContactTest.php | 4 +++ .../Contact/ContactReferenceFieldTest.php | 4 +++ .../WebTest/Contact/ContactTagTest.php | 4 +++ .../Contact/CreateCmsUserFromContactTest.php | 3 ++ .../WebTest/Contact/CustomDataAddTest.php | 4 +++ .../DeceasedContactsAdvancedSearchTest.php | 4 +++ .../WebTest/Contact/DupeContactTest.php | 4 +++ .../WebTest/Contact/EditContactTest.php | 4 +++ .../phpunit/WebTest/Contact/GroupAddTest.php | 4 +++ .../WebTest/Contact/InlineFieldsEditTest.php | 4 +++ .../WebTest/Contact/MergeContactsTest.php | 4 +++ .../Contact/MultipleContactSubTypes.php | 4 +++ .../phpunit/WebTest/Contact/PrevNextTest.php | 4 +++ .../Contact/PrivacyOptionSearchTest.php | 4 +++ .../WebTest/Contact/ProfileChecksumTest.php | 4 +++ .../WebTest/Contact/RelationshipAddTest.php | 6 +++- .../WebTest/Contact/SearchBuilderTest.php | 4 +++ tests/phpunit/WebTest/Contact/SearchTest.php | 4 +++ .../Contact/SearchbyDateFilterTest.php | 4 +++ .../phpunit/WebTest/Contact/SignatureTest.php | 4 +++ tests/phpunit/WebTest/Contact/TagAddTest.php | 4 +++ .../WebTest/Contact/TagSetSearchTest.php | 4 +++ .../Contact/TaskActionAddToGroupTest.php | 4 +++ .../Contact/TaskActionSendMassMailing.php | 4 +++ .../WebTest/Contact/TaskActionSendSMS.php | 4 +++ .../WebTest/Contact/UpdateProfileTest.php | 4 +++ .../WebTest/Contribute/AddBatchesTest.php | 4 +++ .../WebTest/Contribute/AddPricesetTest.php | 4 +++ .../Contribute/ConfirmOptionalTest.php | 4 +++ .../Contribute/ContactContextAddTest.php | 4 +++ .../Contribute/ContributionPageAddTest.php | 32 +++++++++++-------- .../Contribute/OfflineContributionTest.php | 3 ++ .../OfflineRecurContributionTest.php | 4 +++ .../Contribute/OnBehalfOfOrganization.php | 4 +++ .../Contribute/OnlineContributionTest.php | 4 +++ .../OnlineMultiplePaymentProcessorTest.php | 4 +++ .../OnlineRecurContributionTest.php | 4 +++ .../phpunit/WebTest/Contribute/PCPAddTest.php | 6 +++- .../WebTest/Contribute/StandaloneAddTest.php | 4 +++ .../UpdateBatchPendingContributionTest.php | 4 +++ .../Contribute/UpdateContributionTest.php | 4 +++ .../UpdatePendingContributionTest.php | 4 +++ .../Contribute/VerifySSLContributionTest.php | 4 +++ tests/phpunit/WebTest/Event/AddEventTest.php | 4 +++ .../WebTest/Event/AddParticipationTest.php | 4 +++ .../phpunit/WebTest/Event/AddPricesetTest.php | 4 +++ .../WebTest/Event/AdditionalPaymentTest.php | 4 +++ .../WebTest/Event/ChangeParticipantStatus.php | 4 +++ .../WebTest/Event/EventWaitListTest.php | 4 +++ .../MultipleEventRegistrationbyCartTest.php | 4 +++ .../WebTest/Event/MultiprofileEventTest.php | 4 +++ tests/phpunit/WebTest/Event/PCPAddTest.php | 4 +++ .../WebTest/Event/ParticipantCountTest.php | 4 +++ .../WebTest/Event/ParticipantSearchTest.php | 4 +++ .../WebTest/Event/PricesetMaxCountTest.php | 4 +++ .../phpunit/WebTest/Event/TellAFriendTest.php | 4 +++ tests/phpunit/WebTest/Export/ContactTest.php | 4 +++ .../Export/ExportCiviSeleniumTestCase.php | 4 +++ .../Financial/FinancialAccountTest.php | 10 ++++-- .../Financial/FinancialAccountTypeTest.php | 9 ++++-- .../Financial/FinancialBatchExport.php | 4 +++ .../WebTest/Generic/CheckActivityTest.php | 4 +++ .../WebTest/Generic/CheckDashboardTest.php | 4 +++ .../phpunit/WebTest/Generic/CheckFindTest.php | 4 +++ .../Generic/GeneralClickAroundTest.php | 4 +++ .../WebTest/Grant/ContactContextAddTest.php | 4 +++ .../WebTest/Grant/CustomFieldsetTest.php | 4 +++ .../WebTest/Grant/StandaloneAddTest.php | 4 +++ tests/phpunit/WebTest/Import/ActivityTest.php | 4 +++ .../WebTest/Import/AddressImportTest.php | 4 +++ .../WebTest/Import/AddressParsingTest.php | 4 +++ .../WebTest/Import/ContactCustomDataTest.php | 4 +++ .../WebTest/Import/ContactSubtypeTest.php | 4 +++ tests/phpunit/WebTest/Import/ContactTest.php | 4 +++ .../WebTest/Import/ContributionTest.php | 4 +++ .../phpunit/WebTest/Import/CustomDataTest.php | 4 +++ .../phpunit/WebTest/Import/DateFormatTest.php | 4 +++ .../WebTest/Import/DuplicateMatchingTest.php | 4 +++ tests/phpunit/WebTest/Import/GroupTest.php | 4 +++ .../Import/ImportCiviSeleniumTestCase.php | 4 +++ .../WebTest/Import/MatchExternalIdTest.php | 4 +++ tests/phpunit/WebTest/Import/MemberTest.php | 4 +++ .../Import/MultipleRelationshipTest.php | 4 +++ .../WebTest/Import/ParticipantTest.php | 4 +++ .../WebTest/Import/SavedMappingTest.php | 4 +++ tests/phpunit/WebTest/Import/TagTest.php | 4 +++ .../Mailing/AddMessageTemplateTest.php | 4 +++ .../Mailing/AddNewMailingComponentTest.php | 4 +++ tests/phpunit/WebTest/Mailing/MailingTest.php | 4 +++ tests/phpunit/WebTest/Mailing/SpoolTest.php | 4 +++ .../Member/BatchUpdateViaProfileTest.php | 4 +++ .../WebTest/Member/ContactContextAddTest.php | 4 +++ .../Member/DefaultMembershipPricesetTest.php | 4 +++ .../WebTest/Member/EditMembershipTest.php | 4 +++ .../Member/FixedMembershipTypeTest.php | 4 +++ .../Member/InheritedMembershipTest.php | 4 +++ .../Member/OfflineAutoRenewMembershipTest.php | 4 +++ .../OfflineMembershipAddPricesetTest.php | 4 +++ .../Member/OfflineMembershipRenewTest.php | 4 +++ .../OnlineAutoRenewMembershipGCTest.php | 4 +++ .../Member/OnlineAutoRenewMembershipTest.php | 4 +++ .../OnlineMembershipAddPricesetTest.php | 4 +++ .../Member/OnlineMembershipCreateTest.php | 4 +++ .../Member/OnlineMembershipRenewTest.php | 4 +++ .../Member/SeperateMembershipPaymentTest.php | 4 +++ .../WebTest/Member/StandaloneAddTest.php | 4 +++ .../Member/UpdateMembershipScriptTest.php | 4 +++ .../WebTest/Pledge/AddCancelPaymentTest.php | 14 +++++--- .../WebTest/Pledge/ContactContextAddTest.php | 4 +++ .../ContactContextPledgePaymentAddTest.php | 4 +++ .../Pledge/StandaloneAddDeleteTest.php | 4 +++ .../WebTest/Pledge/StandaloneAddTest.php | 4 +++ .../WebTest/Profile/BatchUpdateTest.php | 4 +++ tests/phpunit/WebTest/Profile/DedupeTest.php | 4 +++ .../Profile/MultiRecordProfileAddTest.php | 4 +++ .../WebTest/Profile/ProfileAddTest.php | 4 +++ .../WebTest/Profile/ProfileCountryState.php | 12 ++++--- .../Profile/ProfileGroupSubscriptionTest.php | 4 +++ tests/phpunit/WebTest/Profile/SearchTest.php | 4 +++ tests/phpunit/WebTest/Report/AddTest.php | 4 +++ .../WebTest/Report/DonarReportTest.php | 4 +++ .../WebTest/Report/LoggingReportTest.php | 4 +++ .../Report/RolePermissionReportTest.php | 4 +++ tests/phpunit/api/v3/CampaignTest.php | 4 +++ tests/phpunit/api/v3/CaseTypeTest.php | 4 +++ tests/phpunit/api/v3/CustomValueTest.php | 4 +++ tests/phpunit/api/v3/EmailTest.php | 4 +++ tests/phpunit/api/v3/EventTest.php | 4 +++ tests/phpunit/api/v3/GroupContactTest.php | 4 +++ tests/phpunit/api/v3/LineItemTest.php | 4 +++ tests/phpunit/api/v3/LocBlockTest.php | 4 +++ tests/phpunit/api/v3/MailSettingsTest.php | 4 +++ tests/phpunit/api/v3/MembershipStatusTest.php | 4 +++ tests/phpunit/api/v3/MembershipTypeTest.php | 4 +++ tests/phpunit/api/v3/OptionGroupTest.php | 4 +++ tests/phpunit/api/v3/OptionValueTest.php | 5 ++- .../api/v3/ParticipantStatusTypeTest.php | 4 +++ tests/phpunit/api/v3/PriceFieldTest.php | 4 +++ tests/phpunit/api/v3/PriceFieldValueTest.php | 4 +++ tests/phpunit/api/v3/PriceSetTest.php | 4 +++ tests/phpunit/api/v3/ProductTest.php | 3 ++ tests/phpunit/api/v3/SurveyRespondantTest.php | 3 ++ 207 files changed, 883 insertions(+), 33 deletions(-) diff --git a/tests/phpunit/CRM/Contact/BAO/QueryTest.php b/tests/phpunit/CRM/Contact/BAO/QueryTest.php index de449036a5..878961b872 100644 --- a/tests/phpunit/CRM/Contact/BAO/QueryTest.php +++ b/tests/phpunit/CRM/Contact/BAO/QueryTest.php @@ -6,6 +6,9 @@ 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', @@ -14,6 +17,9 @@ class CRM_Contact_BAO_QueryTest extends CiviUnitTestCase { ); } + /** + * @return CRM_Contact_BAO_QueryTestDataProvider + */ public function dataProvider() { return new CRM_Contact_BAO_QueryTestDataProvider; } diff --git a/tests/phpunit/CRM/Contribute/BAO/ContributionTypeTest.php b/tests/phpunit/CRM/Contribute/BAO/ContributionTypeTest.php index 00a00af9b8..92e4353b3f 100644 --- a/tests/phpunit/CRM/Contribute/BAO/ContributionTypeTest.php +++ b/tests/phpunit/CRM/Contribute/BAO/ContributionTypeTest.php @@ -26,7 +26,14 @@ */ 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', @@ -39,7 +46,7 @@ class CRM_Contribute_BAO_ContributionTypeTest extends CiviUnitTestCase { parent::setUp(); $this->organizationCreate(); } - + function teardown() { $this->financialAccountDelete('Donations'); } diff --git a/tests/phpunit/CRM/Contribute/BAO/ManagePremiumsTest.php b/tests/phpunit/CRM/Contribute/BAO/ManagePremiumsTest.php index 4f18f4172d..aa598ca63a 100644 --- a/tests/phpunit/CRM/Contribute/BAO/ManagePremiumsTest.php +++ b/tests/phpunit/CRM/Contribute/BAO/ManagePremiumsTest.php @@ -26,7 +26,14 @@ */ 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', diff --git a/tests/phpunit/CRM/Core/BAO/ActionScheduleTest.php b/tests/phpunit/CRM/Core/BAO/ActionScheduleTest.php index 4c494add34..f675060e43 100644 --- a/tests/phpunit/CRM/Core/BAO/ActionScheduleTest.php +++ b/tests/phpunit/CRM/Core/BAO/ActionScheduleTest.php @@ -27,6 +27,10 @@ require_once 'CiviTest/CiviUnitTestCase.php'; + +/** + * Class CRM_Core_BAO_ActionScheduleTest + */ class CRM_Core_BAO_ActionScheduleTest extends CiviUnitTestCase { /** * @var object see CiviTest/CiviMailUtils diff --git a/tests/phpunit/CRM/Core/BAO/AddressTest.php b/tests/phpunit/CRM/Core/BAO/AddressTest.php index b6e233603e..30092c9e56 100644 --- a/tests/phpunit/CRM/Core/BAO/AddressTest.php +++ b/tests/phpunit/CRM/Core/BAO/AddressTest.php @@ -28,6 +28,10 @@ require_once 'CiviTest/CiviUnitTestCase.php'; require_once 'CiviTest/Contact.php'; + +/** + * Class CRM_Core_BAO_AddressTest + */ class CRM_Core_BAO_AddressTest extends CiviUnitTestCase { /** * @return array diff --git a/tests/phpunit/CRM/Core/BAO/FinancialTrxnTest.php b/tests/phpunit/CRM/Core/BAO/FinancialTrxnTest.php index 2794a7bdcb..7fd52c549e 100644 --- a/tests/phpunit/CRM/Core/BAO/FinancialTrxnTest.php +++ b/tests/phpunit/CRM/Core/BAO/FinancialTrxnTest.php @@ -26,7 +26,14 @@ */ 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', diff --git a/tests/phpunit/CRM/Core/BAO/PreferencesTest.php b/tests/phpunit/CRM/Core/BAO/PreferencesTest.php index ca5d1fbbd5..5cf1907496 100644 --- a/tests/phpunit/CRM/Core/BAO/PreferencesTest.php +++ b/tests/phpunit/CRM/Core/BAO/PreferencesTest.php @@ -27,7 +27,14 @@ 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', diff --git a/tests/phpunit/CRM/Core/BAO/SettingTest.php b/tests/phpunit/CRM/Core/BAO/SettingTest.php index d016ecc616..482c84366e 100644 --- a/tests/phpunit/CRM/Core/BAO/SettingTest.php +++ b/tests/phpunit/CRM/Core/BAO/SettingTest.php @@ -27,7 +27,14 @@ 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', diff --git a/tests/phpunit/CRM/Core/CommunityMessagesTest.php b/tests/phpunit/CRM/Core/CommunityMessagesTest.php index 53cc94004c..a3002fc90f 100644 --- a/tests/phpunit/CRM/Core/CommunityMessagesTest.php +++ b/tests/phpunit/CRM/Core/CommunityMessagesTest.php @@ -28,6 +28,10 @@ require_once 'CiviTest/CiviUnitTestCase.php'; + +/** + * Class CRM_Core_CommunityMessagesTest + */ class CRM_Core_CommunityMessagesTest extends CiviUnitTestCase { /** * @var CRM_Utils_Cache_Interface diff --git a/tests/phpunit/CRM/Core/JobManagerTest.php b/tests/phpunit/CRM/Core/JobManagerTest.php index 09c87dacba..38db465c94 100644 --- a/tests/phpunit/CRM/Core/JobManagerTest.php +++ b/tests/phpunit/CRM/Core/JobManagerTest.php @@ -26,6 +26,9 @@ */ require_once 'CiviTest/CiviUnitTestCase.php'; +/** + * Class CRM_Core_JobManagerTest + */ class CRM_Core_JobManagerTest extends CiviUnitTestCase { function setUp() { diff --git a/tests/phpunit/CRM/Core/Payment/BaseIPNTest.php b/tests/phpunit/CRM/Core/Payment/BaseIPNTest.php index de5fbbd9ad..b9bb9c642e 100644 --- a/tests/phpunit/CRM/Core/Payment/BaseIPNTest.php +++ b/tests/phpunit/CRM/Core/Payment/BaseIPNTest.php @@ -27,6 +27,10 @@ require_once 'CiviTest/CiviUnitTestCase.php'; + +/** + * Class CRM_Core_Payment_BaseIPNTest + */ class CRM_Core_Payment_BaseIPNTest extends CiviUnitTestCase { protected $_contributionTypeId; diff --git a/tests/phpunit/CRM/Core/Payment/PayPalProIPNTest.php b/tests/phpunit/CRM/Core/Payment/PayPalProIPNTest.php index 6508946a21..77102c7b0f 100644 --- a/tests/phpunit/CRM/Core/Payment/PayPalProIPNTest.php +++ b/tests/phpunit/CRM/Core/Payment/PayPalProIPNTest.php @@ -26,6 +26,10 @@ */ require_once 'CiviTest/CiviUnitTestCase.php'; + +/** + * Class CRM_Core_Payment_PayPalProIPNTest + */ class CRM_Core_Payment_PayPalProIPNTest extends CiviUnitTestCase { protected $_contributionID; protected $_invoiceID = 'c2r9c15f7be20b4f3fef1f77e4c37424'; diff --git a/tests/phpunit/CRM/Core/PaymentTest.php b/tests/phpunit/CRM/Core/PaymentTest.php index 55481d9b5d..07b645e56c 100644 --- a/tests/phpunit/CRM/Core/PaymentTest.php +++ b/tests/phpunit/CRM/Core/PaymentTest.php @@ -28,6 +28,9 @@ require_once 'CiviTest/CiviUnitTestCase.php'; +/** + * Class CRM_Core_PaymentTest + */ class CRM_Core_PaymentTest extends CiviUnitTestCase { /** * @return array diff --git a/tests/phpunit/CRM/Core/Smarty/plugins/CrmScopeTest.php b/tests/phpunit/CRM/Core/Smarty/plugins/CrmScopeTest.php index 56ce3d1165..90a7fe8bcc 100644 --- a/tests/phpunit/CRM/Core/Smarty/plugins/CrmScopeTest.php +++ b/tests/phpunit/CRM/Core/Smarty/plugins/CrmScopeTest.php @@ -12,6 +12,9 @@ class CRM_Core_Smarty_plugins_CrmScopeTest extends CiviUnitTestCase { civicrm_smarty_register_string_resource(); } + /** + * @return array + */ function scopeCases() { $cases = array(); $cases[] = array('', '{crmScope}{/crmScope}'); diff --git a/tests/phpunit/CRM/Extension/Container/CollectionTest.php b/tests/phpunit/CRM/Extension/Container/CollectionTest.php index a5fbd74dd4..b0f07349bb 100644 --- a/tests/phpunit/CRM/Extension/Container/CollectionTest.php +++ b/tests/phpunit/CRM/Extension/Container/CollectionTest.php @@ -26,6 +26,9 @@ */ require_once 'CiviTest/CiviUnitTestCase.php'; +/** + * Class CRM_Extension_Container_CollectionTest + */ class CRM_Extension_Container_CollectionTest extends CiviUnitTestCase { //@todo make BAO enotice compliant & remove the line below // WARNING - NEVER COPY & PASTE $_eNoticeCompliant = FALSE diff --git a/tests/phpunit/CRM/Extension/Manager/PaymentTest.php b/tests/phpunit/CRM/Extension/Manager/PaymentTest.php index 7ecd0fbfa0..49e95f7119 100644 --- a/tests/phpunit/CRM/Extension/Manager/PaymentTest.php +++ b/tests/phpunit/CRM/Extension/Manager/PaymentTest.php @@ -26,6 +26,9 @@ */ require_once 'CiviTest/CiviUnitTestCase.php'; +/** + * Class CRM_Extension_Manager_PaymentTest + */ class CRM_Extension_Manager_PaymentTest extends CiviUnitTestCase { //@todo make BAO enotice compliant & remove the line below // WARNING - NEVER COPY & PASTE $_eNoticeCompliant = FALSE diff --git a/tests/phpunit/CRM/Extension/ManagerTest.php b/tests/phpunit/CRM/Extension/ManagerTest.php index 460dcb4864..4e4eaabe16 100644 --- a/tests/phpunit/CRM/Extension/ManagerTest.php +++ b/tests/phpunit/CRM/Extension/ManagerTest.php @@ -26,6 +26,9 @@ */ require_once 'CiviTest/CiviUnitTestCase.php'; +/** + * Class CRM_Extension_ManagerTest + */ class CRM_Extension_ManagerTest extends CiviUnitTestCase { const TESTING_TYPE = 'report'; const OTHER_TESTING_TYPE = 'module'; diff --git a/tests/phpunit/CRM/Financial/BAO/FinancialAccountTest.php b/tests/phpunit/CRM/Financial/BAO/FinancialAccountTest.php index fc3a02368d..c28a65f6ee 100644 --- a/tests/phpunit/CRM/Financial/BAO/FinancialAccountTest.php +++ b/tests/phpunit/CRM/Financial/BAO/FinancialAccountTest.php @@ -26,8 +26,14 @@ */ require_once 'CiviTest/CiviUnitTestCase.php'; +/** + * Class CRM_Financial_BAO_FinancialAccountTest + */ class CRM_Financial_BAO_FinancialAccountTest extends CiviUnitTestCase { + /** + * @return array + */ function get_info() { return array( 'name' => 'FinancialAccount BAOs', diff --git a/tests/phpunit/CRM/Financial/BAO/FinancialItemTest.php b/tests/phpunit/CRM/Financial/BAO/FinancialItemTest.php index 2fdb326f9f..7058488f3a 100755 --- a/tests/phpunit/CRM/Financial/BAO/FinancialItemTest.php +++ b/tests/phpunit/CRM/Financial/BAO/FinancialItemTest.php @@ -28,6 +28,9 @@ require_once 'CiviTest/CiviUnitTestCase.php'; require_once 'CRM/Financial/DAO/FinancialAccount.php'; require_once 'CRM/Financial/BAO/FinancialAccount.php'; +/** + * Class CRM_Financial_BAO_FinancialItemTest + */ class CRM_Financial_BAO_FinancialItemTest extends CiviUnitTestCase { /** diff --git a/tests/phpunit/CRM/Financial/BAO/FinancialTypeAccountTest.php b/tests/phpunit/CRM/Financial/BAO/FinancialTypeAccountTest.php index 73a1814b0f..b8b7bb5d14 100755 --- a/tests/phpunit/CRM/Financial/BAO/FinancialTypeAccountTest.php +++ b/tests/phpunit/CRM/Financial/BAO/FinancialTypeAccountTest.php @@ -26,8 +26,14 @@ */ require_once 'CiviTest/CiviUnitTestCase.php'; +/** + * Class CRM_Financial_BAO_FinancialTypeAccountTest + */ class CRM_Financial_BAO_FinancialTypeAccountTest extends CiviUnitTestCase { + /** + * @return array + */ function get_info() { return array( 'name' => 'FinancialTypeAccount BAOs', diff --git a/tests/phpunit/CRM/Financial/BAO/FinancialTypeTest.php b/tests/phpunit/CRM/Financial/BAO/FinancialTypeTest.php index b910166e20..7408c58368 100755 --- a/tests/phpunit/CRM/Financial/BAO/FinancialTypeTest.php +++ b/tests/phpunit/CRM/Financial/BAO/FinancialTypeTest.php @@ -26,8 +26,14 @@ */ require_once 'CiviTest/CiviUnitTestCase.php'; +/** + * Class CRM_Financial_BAO_FinancialTypeTest + */ class CRM_Financial_BAO_FinancialTypeTest extends CiviUnitTestCase { + /** + * @return array + */ function get_info() { return array( 'name' => 'FinancialType BAOs', diff --git a/tests/phpunit/CRM/Group/Page/AjaxTest.php b/tests/phpunit/CRM/Group/Page/AjaxTest.php index 67d0b42f00..b132705ead 100644 --- a/tests/phpunit/CRM/Group/Page/AjaxTest.php +++ b/tests/phpunit/CRM/Group/Page/AjaxTest.php @@ -17,6 +17,9 @@ class CRM_Group_Page_AjaxTest extends CiviUnitTestCase { protected $_params = array(); + /** + * @return array + */ function get_info() { return array( 'name' => 'Contact BAOs', diff --git a/tests/phpunit/CRM/Mailing/BAO/QueryTest.php b/tests/phpunit/CRM/Mailing/BAO/QueryTest.php index bdfc8a2a18..72b38be28e 100644 --- a/tests/phpunit/CRM/Mailing/BAO/QueryTest.php +++ b/tests/phpunit/CRM/Mailing/BAO/QueryTest.php @@ -6,6 +6,9 @@ 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', @@ -14,6 +17,9 @@ class CRM_Mailing_BAO_QueryTest extends CiviUnitTestCase { ); } + /** + * @return CRM_Mailing_BAO_QueryTestDataProvider + */ public function dataProvider() { return new CRM_Mailing_BAO_QueryTestDataProvider; } diff --git a/tests/phpunit/CRM/Mailing/BAO/SpoolTest.php b/tests/phpunit/CRM/Mailing/BAO/SpoolTest.php index 8e2773c6c6..2c6a5ed096 100644 --- a/tests/phpunit/CRM/Mailing/BAO/SpoolTest.php +++ b/tests/phpunit/CRM/Mailing/BAO/SpoolTest.php @@ -6,12 +6,18 @@ require_once 'CiviTest/CiviMailUtils.php'; * @see also WebTest_Mailing_SpoolTest */ +/** + * Class CRM_Mailing_BAO_SpoolTest + */ class CRM_Mailing_BAO_SpoolTest extends CiviUnitTestCase { protected $_mut = null; protected static $bodytext = 'Unit tests keep children safe.'; + /** + * @return array + */ function get_info() { return array( 'name' => 'Spool (redirect to database) Mailing Test', diff --git a/tests/phpunit/CRM/Member/BAO/MembershipStatusTest.php b/tests/phpunit/CRM/Member/BAO/MembershipStatusTest.php index 08c105c985..2d057dc54c 100644 --- a/tests/phpunit/CRM/Member/BAO/MembershipStatusTest.php +++ b/tests/phpunit/CRM/Member/BAO/MembershipStatusTest.php @@ -27,7 +27,14 @@ 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', diff --git a/tests/phpunit/CRM/Member/BAO/MembershipTypeTest.php b/tests/phpunit/CRM/Member/BAO/MembershipTypeTest.php index 1a5cc252b9..8ad44ea1ec 100644 --- a/tests/phpunit/CRM/Member/BAO/MembershipTypeTest.php +++ b/tests/phpunit/CRM/Member/BAO/MembershipTypeTest.php @@ -27,7 +27,14 @@ 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', diff --git a/tests/phpunit/CRM/Utils/ArrayTest.php b/tests/phpunit/CRM/Utils/ArrayTest.php index 4204e1c283..9f636714e3 100644 --- a/tests/phpunit/CRM/Utils/ArrayTest.php +++ b/tests/phpunit/CRM/Utils/ArrayTest.php @@ -20,6 +20,9 @@ class CRM_Utils_ArrayTest extends CiviUnitTestCase { $this->assertEquals('privately-modified', $fooNonReference['foo']); } + /** + * @return null + */ private function &returnByReference() { static $foo; if ($foo === NULL) { diff --git a/tests/phpunit/CRM/Utils/RuleTest.php b/tests/phpunit/CRM/Utils/RuleTest.php index 5ad268db99..e3e716c045 100644 --- a/tests/phpunit/CRM/Utils/RuleTest.php +++ b/tests/phpunit/CRM/Utils/RuleTest.php @@ -23,6 +23,9 @@ class CRM_Utils_RuleTest extends CiviUnitTestCase { $this->assertEquals($expectedResult, CRM_Utils_Rule::integer($inputData)); } + /** + * @return array + */ function integerDataProvider() { return array( array(10, true), diff --git a/tests/phpunit/CRM/Utils/SignerTest.php b/tests/phpunit/CRM/Utils/SignerTest.php index 7477330fb9..b20a31a702 100644 --- a/tests/phpunit/CRM/Utils/SignerTest.php +++ b/tests/phpunit/CRM/Utils/SignerTest.php @@ -26,8 +26,14 @@ */ require_once 'CiviTest/CiviUnitTestCase.php'; +/** + * Class CRM_Utils_SignerTest + */ class CRM_Utils_SignerTest extends CiviUnitTestCase { + /** + * @return array + */ function get_info() { return array( 'name' => 'Signer Test', diff --git a/tests/phpunit/CRM/Utils/TypeTest.php b/tests/phpunit/CRM/Utils/TypeTest.php index e0a2a9f7d4..96150abc54 100644 --- a/tests/phpunit/CRM/Utils/TypeTest.php +++ b/tests/phpunit/CRM/Utils/TypeTest.php @@ -23,6 +23,9 @@ class CRM_Utils_TypeTest extends CiviUnitTestCase { $this->assertEquals($expectedResult, CRM_Utils_Type::validate($inputData, $inputType, FALSE)); } + /** + * @return array + */ function validateDataProvider() { return array( array(10, 'Int', 10), diff --git a/tests/phpunit/CRM/Utils/ZipTest.php b/tests/phpunit/CRM/Utils/ZipTest.php index 359d62480f..99884e53b1 100644 --- a/tests/phpunit/CRM/Utils/ZipTest.php +++ b/tests/phpunit/CRM/Utils/ZipTest.php @@ -25,7 +25,14 @@ +--------------------------------------------------------------------+ */ 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', diff --git a/tests/phpunit/Civi/API/RequestTest.php b/tests/phpunit/Civi/API/RequestTest.php index 439240d992..26b01aede9 100644 --- a/tests/phpunit/Civi/API/RequestTest.php +++ b/tests/phpunit/Civi/API/RequestTest.php @@ -7,6 +7,9 @@ require_once 'CiviTest/CiviUnitTestCase.php'; */ class RequestTest extends \CiviUnitTestCase { + /** + * @return array + */ function v4options() { $cases = array(); // array(0 => $requestParams, 1 => $expectedOptions, 2 => $expectedData, 3 => $expectedChains) $cases[] = array( diff --git a/tests/phpunit/CiviTest/CiviReportTestCase.php b/tests/phpunit/CiviTest/CiviReportTestCase.php index 5e4920cd2b..ffe24bca90 100644 --- a/tests/phpunit/CiviTest/CiviReportTestCase.php +++ b/tests/phpunit/CiviTest/CiviReportTestCase.php @@ -27,6 +27,9 @@ require_once 'CiviTest/CiviUnitTestCase.php'; +/** + * Class CiviReportTestCase + */ class CiviReportTestCase extends CiviUnitTestCase { function setUp() { parent::setUp(); diff --git a/tests/phpunit/WebTest/ACL/AssignUsersToRolesTest.php b/tests/phpunit/WebTest/ACL/AssignUsersToRolesTest.php index 500bf8077b..8f87b1eb7e 100755 --- a/tests/phpunit/WebTest/ACL/AssignUsersToRolesTest.php +++ b/tests/phpunit/WebTest/ACL/AssignUsersToRolesTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_ACL_AssignUsersToRolesTest + */ class WebTest_ACL_AssignUsersToRolesTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Activity/ContactContextAddTest.php b/tests/phpunit/WebTest/Activity/ContactContextAddTest.php index ec256c24c0..ad6f664d69 100644 --- a/tests/phpunit/WebTest/Activity/ContactContextAddTest.php +++ b/tests/phpunit/WebTest/Activity/ContactContextAddTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Activity_ContactContextAddTest + */ class WebTest_Activity_ContactContextAddTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Activity/StandaloneAddTest.php b/tests/phpunit/WebTest/Activity/StandaloneAddTest.php index f867d0e275..f98ea761f3 100644 --- a/tests/phpunit/WebTest/Activity/StandaloneAddTest.php +++ b/tests/phpunit/WebTest/Activity/StandaloneAddTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Activity_StandaloneAddTest + */ class WebTest_Activity_StandaloneAddTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Admin/CustomAddTest.php b/tests/phpunit/WebTest/Admin/CustomAddTest.php index e7c744d698..7336aebf15 100644 --- a/tests/phpunit/WebTest/Admin/CustomAddTest.php +++ b/tests/phpunit/WebTest/Admin/CustomAddTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Admin_CustomAddTest + */ class WebTest_Admin_CustomAddTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Admin/CustomAddTestSameField.php b/tests/phpunit/WebTest/Admin/CustomAddTestSameField.php index 282d652934..c46713cbc7 100644 --- a/tests/phpunit/WebTest/Admin/CustomAddTestSameField.php +++ b/tests/phpunit/WebTest/Admin/CustomAddTestSameField.php @@ -26,6 +26,10 @@ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Admin_CustomAddTestSameField + */ class WebTest_Admin_CustomAddTestSameField extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Admin/Form/ScheduleReminderTest.php b/tests/phpunit/WebTest/Admin/Form/ScheduleReminderTest.php index 05cf4ea415..63b743137c 100644 --- a/tests/phpunit/WebTest/Admin/Form/ScheduleReminderTest.php +++ b/tests/phpunit/WebTest/Admin/Form/ScheduleReminderTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Admin_Form_ScheduleReminderTest + */ class WebTest_Admin_Form_ScheduleReminderTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Admin/Form/Setting/LocalizationTest.php b/tests/phpunit/WebTest/Admin/Form/Setting/LocalizationTest.php index 814e36fecf..4c26cf4941 100644 --- a/tests/phpunit/WebTest/Admin/Form/Setting/LocalizationTest.php +++ b/tests/phpunit/WebTest/Admin/Form/Setting/LocalizationTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Admin_Form_Setting_LocalizationTest + */ class WebTest_Admin_Form_Setting_LocalizationTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Admin/MoveCustomDataTest.php b/tests/phpunit/WebTest/Admin/MoveCustomDataTest.php index 18118dc609..9da2ee188d 100644 --- a/tests/phpunit/WebTest/Admin/MoveCustomDataTest.php +++ b/tests/phpunit/WebTest/Admin/MoveCustomDataTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Admin_MoveCustomDataTest + */ class WebTest_Admin_MoveCustomDataTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Admin/RelationshipTypeAddTest.php b/tests/phpunit/WebTest/Admin/RelationshipTypeAddTest.php index 29b80533e0..1de77f0ac1 100644 --- a/tests/phpunit/WebTest/Admin/RelationshipTypeAddTest.php +++ b/tests/phpunit/WebTest/Admin/RelationshipTypeAddTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Admin_RelationshipTypeAddTest + */ class WebTest_Admin_RelationshipTypeAddTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Campaign/ActivityTest.php b/tests/phpunit/WebTest/Campaign/ActivityTest.php index 5708498c59..8619468152 100644 --- a/tests/phpunit/WebTest/Campaign/ActivityTest.php +++ b/tests/phpunit/WebTest/Campaign/ActivityTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Campaign_ActivityTest + */ class WebTest_Campaign_ActivityTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Campaign/CampaignDescriptionTest.php b/tests/phpunit/WebTest/Campaign/CampaignDescriptionTest.php index 0cdf093799..9c7b663446 100644 --- a/tests/phpunit/WebTest/Campaign/CampaignDescriptionTest.php +++ b/tests/phpunit/WebTest/Campaign/CampaignDescriptionTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Campaign_CampaignDescriptionTest + */ class WebTest_Campaign_CampaignDescriptionTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Campaign/MailingTest.php b/tests/phpunit/WebTest/Campaign/MailingTest.php index 7181b81050..fc5d675920 100644 --- a/tests/phpunit/WebTest/Campaign/MailingTest.php +++ b/tests/phpunit/WebTest/Campaign/MailingTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Campaign_MailingTest + */ class WebTest_Campaign_MailingTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Campaign/MembershipTest.php b/tests/phpunit/WebTest/Campaign/MembershipTest.php index e620f7dc09..e5e7219b28 100644 --- a/tests/phpunit/WebTest/Campaign/MembershipTest.php +++ b/tests/phpunit/WebTest/Campaign/MembershipTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Campaign_MembershipTest + */ class WebTest_Campaign_MembershipTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Campaign/OfflineContributionTest.php b/tests/phpunit/WebTest/Campaign/OfflineContributionTest.php index b1927eef06..3851cb4121 100644 --- a/tests/phpunit/WebTest/Campaign/OfflineContributionTest.php +++ b/tests/phpunit/WebTest/Campaign/OfflineContributionTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Campaign_OfflineContributionTest + */ class WebTest_Campaign_OfflineContributionTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Campaign/OfflineEventRegistrationTest.php b/tests/phpunit/WebTest/Campaign/OfflineEventRegistrationTest.php index 15519a873b..0500b90201 100644 --- a/tests/phpunit/WebTest/Campaign/OfflineEventRegistrationTest.php +++ b/tests/phpunit/WebTest/Campaign/OfflineEventRegistrationTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Campaign_OfflineEventRegistrationTest + */ class WebTest_Campaign_OfflineEventRegistrationTest extends CiviSeleniumTestCase { protected function setUp() { @@ -220,6 +224,9 @@ class WebTest_Campaign_OfflineEventRegistrationTest extends CiviSeleniumTestCase $this->assertTrue($this->isTextPresent("$campaignTitle")); } + /** + * @return mixed + */ function registerUrl() { $this->openCiviPage("event/manage", "reset=1"); $eventId = explode('-', $this->getAttribute("//div[@id='event_status_id']//div[2]/table/tbody/tr@id")); diff --git a/tests/phpunit/WebTest/Campaign/OnlineContributionTest.php b/tests/phpunit/WebTest/Campaign/OnlineContributionTest.php index e187783632..af882642a3 100644 --- a/tests/phpunit/WebTest/Campaign/OnlineContributionTest.php +++ b/tests/phpunit/WebTest/Campaign/OnlineContributionTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Campaign_OnlineContributionTest + */ class WebTest_Campaign_OnlineContributionTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Campaign/OnlineEventRegistrationTest.php b/tests/phpunit/WebTest/Campaign/OnlineEventRegistrationTest.php index 83ef7287b7..a9a0110f54 100644 --- a/tests/phpunit/WebTest/Campaign/OnlineEventRegistrationTest.php +++ b/tests/phpunit/WebTest/Campaign/OnlineEventRegistrationTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Campaign_OnlineEventRegistrationTest + */ class WebTest_Campaign_OnlineEventRegistrationTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Campaign/PetitionUsageScenarioTest.php b/tests/phpunit/WebTest/Campaign/PetitionUsageScenarioTest.php index 9204d956cb..5e903e1a55 100644 --- a/tests/phpunit/WebTest/Campaign/PetitionUsageScenarioTest.php +++ b/tests/phpunit/WebTest/Campaign/PetitionUsageScenarioTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Campaign_PetitionUsageScenarioTest + */ class WebTest_Campaign_PetitionUsageScenarioTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Campaign/PledgeTest.php b/tests/phpunit/WebTest/Campaign/PledgeTest.php index b6e31cedd6..7be7258b86 100644 --- a/tests/phpunit/WebTest/Campaign/PledgeTest.php +++ b/tests/phpunit/WebTest/Campaign/PledgeTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Campaign_PledgeTest + */ class WebTest_Campaign_PledgeTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Campaign/SurveyUsageScenarioTest.php b/tests/phpunit/WebTest/Campaign/SurveyUsageScenarioTest.php index f77321bc3b..8402f226d6 100644 --- a/tests/phpunit/WebTest/Campaign/SurveyUsageScenarioTest.php +++ b/tests/phpunit/WebTest/Campaign/SurveyUsageScenarioTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Campaign_SurveyUsageScenarioTest + */ class WebTest_Campaign_SurveyUsageScenarioTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Case/ActivityToCaseTest.php b/tests/phpunit/WebTest/Case/ActivityToCaseTest.php index 026157762e..432da5c1be 100644 --- a/tests/phpunit/WebTest/Case/ActivityToCaseTest.php +++ b/tests/phpunit/WebTest/Case/ActivityToCaseTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Case_ActivityToCaseTest + */ class WebTest_Case_ActivityToCaseTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Case/AddCaseTest.php b/tests/phpunit/WebTest/Case/AddCaseTest.php index 51ee21025a..98ddd48437 100644 --- a/tests/phpunit/WebTest/Case/AddCaseTest.php +++ b/tests/phpunit/WebTest/Case/AddCaseTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Case_AddCaseTest + */ class WebTest_Case_AddCaseTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Case/CaseCustomFieldsTest.php b/tests/phpunit/WebTest/Case/CaseCustomFieldsTest.php index 4a64a14603..97b9da0901 100644 --- a/tests/phpunit/WebTest/Case/CaseCustomFieldsTest.php +++ b/tests/phpunit/WebTest/Case/CaseCustomFieldsTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Case_CaseCustomFieldsTest + */ class WebTest_Case_CaseCustomFieldsTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Case/CaseDashboardTest.php b/tests/phpunit/WebTest/Case/CaseDashboardTest.php index c31dbdf247..7db9fcc93c 100644 --- a/tests/phpunit/WebTest/Case/CaseDashboardTest.php +++ b/tests/phpunit/WebTest/Case/CaseDashboardTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Case_CaseDashboardTest + */ class WebTest_Case_CaseDashboardTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Contact/AddCmsUserTest.php b/tests/phpunit/WebTest/Contact/AddCmsUserTest.php index 6b1a677cd2..ddf9e0c58e 100644 --- a/tests/phpunit/WebTest/Contact/AddCmsUserTest.php +++ b/tests/phpunit/WebTest/Contact/AddCmsUserTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Contact_AddCmsUserTest + */ class WebTest_Contact_AddCmsUserTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Contact/AddContactsToEventAdvancedSearchTest.php b/tests/phpunit/WebTest/Contact/AddContactsToEventAdvancedSearchTest.php index 5ee3ffce71..7ab52f6000 100644 --- a/tests/phpunit/WebTest/Contact/AddContactsToEventAdvancedSearchTest.php +++ b/tests/phpunit/WebTest/Contact/AddContactsToEventAdvancedSearchTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Contact_AddContactsToEventAdvancedSearchTest + */ class WebTest_Contact_AddContactsToEventAdvancedSearchTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Contact/AddTest.php b/tests/phpunit/WebTest/Contact/AddTest.php index f9b07abbe9..0c7553c18b 100644 --- a/tests/phpunit/WebTest/Contact/AddTest.php +++ b/tests/phpunit/WebTest/Contact/AddTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Contact_AddTest + */ class WebTest_Contact_AddTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Contact/AddViaProfileTest.php b/tests/phpunit/WebTest/Contact/AddViaProfileTest.php index d0eeb804a1..f9664bef5a 100644 --- a/tests/phpunit/WebTest/Contact/AddViaProfileTest.php +++ b/tests/phpunit/WebTest/Contact/AddViaProfileTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Contact_AddViaProfileTest + */ class WebTest_Contact_AddViaProfileTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Contact/AddressParsingTest.php b/tests/phpunit/WebTest/Contact/AddressParsingTest.php index 2b3b31a3d5..82bfc80cec 100644 --- a/tests/phpunit/WebTest/Contact/AddressParsingTest.php +++ b/tests/phpunit/WebTest/Contact/AddressParsingTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Contact_AddressParsingTest + */ class WebTest_Contact_AddressParsingTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Contact/AdvanceSearchPaneTest.php b/tests/phpunit/WebTest/Contact/AdvanceSearchPaneTest.php index a2e908a644..ae3e5aab7e 100644 --- a/tests/phpunit/WebTest/Contact/AdvanceSearchPaneTest.php +++ b/tests/phpunit/WebTest/Contact/AdvanceSearchPaneTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Contact_AdvanceSearchPaneTest + */ class WebTest_Contact_AdvanceSearchPaneTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Contact/AdvanceSearchPrivacyOptionsTest.php b/tests/phpunit/WebTest/Contact/AdvanceSearchPrivacyOptionsTest.php index f0ece7ab49..676e179c0d 100644 --- a/tests/phpunit/WebTest/Contact/AdvanceSearchPrivacyOptionsTest.php +++ b/tests/phpunit/WebTest/Contact/AdvanceSearchPrivacyOptionsTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Contact_AdvanceSearchPrivacyOptionsTest + */ class WebTest_Contact_AdvanceSearchPrivacyOptionsTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Contact/AdvancedSearchTest.php b/tests/phpunit/WebTest/Contact/AdvancedSearchTest.php index 1149c93f59..cf59ce2ab4 100644 --- a/tests/phpunit/WebTest/Contact/AdvancedSearchTest.php +++ b/tests/phpunit/WebTest/Contact/AdvancedSearchTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Contact_AdvancedSearchTest + */ class WebTest_Contact_AdvancedSearchTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Contact/AdvancedSearchedRelatedContactTest.php b/tests/phpunit/WebTest/Contact/AdvancedSearchedRelatedContactTest.php index 7882d75a19..70631e2951 100644 --- a/tests/phpunit/WebTest/Contact/AdvancedSearchedRelatedContactTest.php +++ b/tests/phpunit/WebTest/Contact/AdvancedSearchedRelatedContactTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Contact_AdvancedSearchedRelatedContactTest + */ class WebTest_Contact_AdvancedSearchedRelatedContactTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Contact/ContactReferenceFieldTest.php b/tests/phpunit/WebTest/Contact/ContactReferenceFieldTest.php index ff586fcbf7..a08d882d9a 100644 --- a/tests/phpunit/WebTest/Contact/ContactReferenceFieldTest.php +++ b/tests/phpunit/WebTest/Contact/ContactReferenceFieldTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Contact_ContactReferenceFieldTest + */ class WebTest_Contact_ContactReferenceFieldTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Contact/ContactTagTest.php b/tests/phpunit/WebTest/Contact/ContactTagTest.php index b686fb6bd2..6c5d31afb4 100644 --- a/tests/phpunit/WebTest/Contact/ContactTagTest.php +++ b/tests/phpunit/WebTest/Contact/ContactTagTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Contact_ContactTagTest + */ class WebTest_Contact_ContactTagTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Contact/CreateCmsUserFromContactTest.php b/tests/phpunit/WebTest/Contact/CreateCmsUserFromContactTest.php index 3ad223a59a..f43375d565 100644 --- a/tests/phpunit/WebTest/Contact/CreateCmsUserFromContactTest.php +++ b/tests/phpunit/WebTest/Contact/CreateCmsUserFromContactTest.php @@ -28,6 +28,9 @@ require_once 'CiviTest/CiviSeleniumTestCase.php'; //Tests for the ability to add a CMS user from a contact's record //See http://issues.civicrm.org/jira/browse/CRM-8723 +/** + * Class WebTest_Contact_CreateCmsUserFromContactTest + */ class WebTest_Contact_CreateCmsUserFromContactTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Contact/CustomDataAddTest.php b/tests/phpunit/WebTest/Contact/CustomDataAddTest.php index 69846c14ea..4be2436a79 100644 --- a/tests/phpunit/WebTest/Contact/CustomDataAddTest.php +++ b/tests/phpunit/WebTest/Contact/CustomDataAddTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Contact_CustomDataAddTest + */ class WebTest_Contact_CustomDataAddTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Contact/DeceasedContactsAdvancedSearchTest.php b/tests/phpunit/WebTest/Contact/DeceasedContactsAdvancedSearchTest.php index 1641605a9e..bfa6736e3f 100644 --- a/tests/phpunit/WebTest/Contact/DeceasedContactsAdvancedSearchTest.php +++ b/tests/phpunit/WebTest/Contact/DeceasedContactsAdvancedSearchTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Contact_DeceasedContactsAdvancedSearchTest + */ class WebTest_Contact_DeceasedContactsAdvancedSearchTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Contact/DupeContactTest.php b/tests/phpunit/WebTest/Contact/DupeContactTest.php index e60d648633..0fee13e3dd 100644 --- a/tests/phpunit/WebTest/Contact/DupeContactTest.php +++ b/tests/phpunit/WebTest/Contact/DupeContactTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Contact_DupeContactTest + */ class WebTest_Contact_DupeContactTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Contact/EditContactTest.php b/tests/phpunit/WebTest/Contact/EditContactTest.php index 21ccb7c44f..2898db375a 100644 --- a/tests/phpunit/WebTest/Contact/EditContactTest.php +++ b/tests/phpunit/WebTest/Contact/EditContactTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Contact_EditContactTest + */ class WebTest_Contact_EditContactTest extends CiviSeleniumTestCase { protected function setUp() { parent::setUp(); diff --git a/tests/phpunit/WebTest/Contact/GroupAddTest.php b/tests/phpunit/WebTest/Contact/GroupAddTest.php index e0e801e1cb..e89a512ab6 100644 --- a/tests/phpunit/WebTest/Contact/GroupAddTest.php +++ b/tests/phpunit/WebTest/Contact/GroupAddTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Contact_GroupAddTest + */ class WebTest_Contact_GroupAddTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Contact/InlineFieldsEditTest.php b/tests/phpunit/WebTest/Contact/InlineFieldsEditTest.php index 4207b4703e..7db1986a4a 100644 --- a/tests/phpunit/WebTest/Contact/InlineFieldsEditTest.php +++ b/tests/phpunit/WebTest/Contact/InlineFieldsEditTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Contact_InlineFieldsEditTest + */ class WebTest_Contact_InlineFieldsEditTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Contact/MergeContactsTest.php b/tests/phpunit/WebTest/Contact/MergeContactsTest.php index 7185c315b8..1154421b8a 100644 --- a/tests/phpunit/WebTest/Contact/MergeContactsTest.php +++ b/tests/phpunit/WebTest/Contact/MergeContactsTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Contact_MergeContactsTest + */ class WebTest_Contact_MergeContactsTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Contact/MultipleContactSubTypes.php b/tests/phpunit/WebTest/Contact/MultipleContactSubTypes.php index ff0451a21f..5c64443727 100644 --- a/tests/phpunit/WebTest/Contact/MultipleContactSubTypes.php +++ b/tests/phpunit/WebTest/Contact/MultipleContactSubTypes.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Contact_MultipleContactSubTypes + */ class WebTest_Contact_MultipleContactSubTypes extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Contact/PrevNextTest.php b/tests/phpunit/WebTest/Contact/PrevNextTest.php index 35206890f6..6d9093f690 100644 --- a/tests/phpunit/WebTest/Contact/PrevNextTest.php +++ b/tests/phpunit/WebTest/Contact/PrevNextTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Contact_PrevNextTest + */ class WebTest_Contact_PrevNextTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Contact/PrivacyOptionSearchTest.php b/tests/phpunit/WebTest/Contact/PrivacyOptionSearchTest.php index d03ffd9ca1..ab0a8c93e2 100644 --- a/tests/phpunit/WebTest/Contact/PrivacyOptionSearchTest.php +++ b/tests/phpunit/WebTest/Contact/PrivacyOptionSearchTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Contact_PrivacyOptionSearchTest + */ class WebTest_Contact_PrivacyOptionSearchTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Contact/ProfileChecksumTest.php b/tests/phpunit/WebTest/Contact/ProfileChecksumTest.php index 8f6b7102b9..89b97ba0dc 100644 --- a/tests/phpunit/WebTest/Contact/ProfileChecksumTest.php +++ b/tests/phpunit/WebTest/Contact/ProfileChecksumTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Contact_ProfileChecksumTest + */ class WebTest_Contact_ProfileChecksumTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Contact/RelationshipAddTest.php b/tests/phpunit/WebTest/Contact/RelationshipAddTest.php index f907c05498..a9d0a61914 100644 --- a/tests/phpunit/WebTest/Contact/RelationshipAddTest.php +++ b/tests/phpunit/WebTest/Contact/RelationshipAddTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Contact_RelationshipAddTest + */ class WebTest_Contact_RelationshipAddTest extends CiviSeleniumTestCase { protected function setUp() { @@ -368,7 +372,7 @@ class WebTest_Contact_RelationshipAddTest extends CiviSeleniumTestCase { $pageUrl = array('url' => 'contact/view/rel', 'args' => "cid={$contactId[1]}&action=add&reset=1"); $this->customFieldSetLoadOnTheFlyCheck($customSets, $pageUrl); } - + function testRelationshipAddCurrentEmployerTest() { $this->webtestLogin(); diff --git a/tests/phpunit/WebTest/Contact/SearchBuilderTest.php b/tests/phpunit/WebTest/Contact/SearchBuilderTest.php index 7954bf636a..d6abae116e 100644 --- a/tests/phpunit/WebTest/Contact/SearchBuilderTest.php +++ b/tests/phpunit/WebTest/Contact/SearchBuilderTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Contact_SearchBuilderTest + */ class WebTest_Contact_SearchBuilderTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Contact/SearchTest.php b/tests/phpunit/WebTest/Contact/SearchTest.php index 8f42d35221..57e282a6ab 100644 --- a/tests/phpunit/WebTest/Contact/SearchTest.php +++ b/tests/phpunit/WebTest/Contact/SearchTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Contact_SearchTest + */ class WebTest_Contact_SearchTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Contact/SearchbyDateFilterTest.php b/tests/phpunit/WebTest/Contact/SearchbyDateFilterTest.php index b6a020c7ad..185f1291d8 100644 --- a/tests/phpunit/WebTest/Contact/SearchbyDateFilterTest.php +++ b/tests/phpunit/WebTest/Contact/SearchbyDateFilterTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Contact_SearchbyDateFilterTest + */ class WebTest_Contact_SearchbyDateFilterTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Contact/SignatureTest.php b/tests/phpunit/WebTest/Contact/SignatureTest.php index f73d90de67..a4ce36cae1 100644 --- a/tests/phpunit/WebTest/Contact/SignatureTest.php +++ b/tests/phpunit/WebTest/Contact/SignatureTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Contact_SignatureTest + */ class WebTest_Contact_SignatureTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Contact/TagAddTest.php b/tests/phpunit/WebTest/Contact/TagAddTest.php index 1a68840d5d..a98b87bd69 100644 --- a/tests/phpunit/WebTest/Contact/TagAddTest.php +++ b/tests/phpunit/WebTest/Contact/TagAddTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Contact_TagAddTest + */ class WebTest_Contact_TagAddTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Contact/TagSetSearchTest.php b/tests/phpunit/WebTest/Contact/TagSetSearchTest.php index b634c61119..3b308b06c3 100644 --- a/tests/phpunit/WebTest/Contact/TagSetSearchTest.php +++ b/tests/phpunit/WebTest/Contact/TagSetSearchTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Contact_TagSetSearchTest + */ class WebTest_Contact_TagSetSearchTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Contact/TaskActionAddToGroupTest.php b/tests/phpunit/WebTest/Contact/TaskActionAddToGroupTest.php index 9648b8df42..c5713deae0 100644 --- a/tests/phpunit/WebTest/Contact/TaskActionAddToGroupTest.php +++ b/tests/phpunit/WebTest/Contact/TaskActionAddToGroupTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Contact_TaskActionAddToGroupTest + */ class WebTest_Contact_TaskActionAddToGroupTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Contact/TaskActionSendMassMailing.php b/tests/phpunit/WebTest/Contact/TaskActionSendMassMailing.php index 7f3d215ffd..e6405f86d3 100644 --- a/tests/phpunit/WebTest/Contact/TaskActionSendMassMailing.php +++ b/tests/phpunit/WebTest/Contact/TaskActionSendMassMailing.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Contact_TaskActionSendMassMailing + */ class WebTest_Contact_TaskActionSendMassMailing extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Contact/TaskActionSendSMS.php b/tests/phpunit/WebTest/Contact/TaskActionSendSMS.php index e9ce63a5b7..2009b4ffb6 100644 --- a/tests/phpunit/WebTest/Contact/TaskActionSendSMS.php +++ b/tests/phpunit/WebTest/Contact/TaskActionSendSMS.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Contact_TaskActionSendSMS + */ class WebTest_Contact_TaskActionSendSMS extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Contact/UpdateProfileTest.php b/tests/phpunit/WebTest/Contact/UpdateProfileTest.php index b0b65ccb4c..716273bb05 100644 --- a/tests/phpunit/WebTest/Contact/UpdateProfileTest.php +++ b/tests/phpunit/WebTest/Contact/UpdateProfileTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Contact_UpdateProfileTest + */ class WebTest_Contact_UpdateProfileTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Contribute/AddBatchesTest.php b/tests/phpunit/WebTest/Contribute/AddBatchesTest.php index 7ec0e2e6c4..1de08ae0d5 100644 --- a/tests/phpunit/WebTest/Contribute/AddBatchesTest.php +++ b/tests/phpunit/WebTest/Contribute/AddBatchesTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Contribute_AddBatchesTest + */ class WebTest_Contribute_AddBatchesTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Contribute/AddPricesetTest.php b/tests/phpunit/WebTest/Contribute/AddPricesetTest.php index 675ce0c7a6..130b3c4b0b 100644 --- a/tests/phpunit/WebTest/Contribute/AddPricesetTest.php +++ b/tests/phpunit/WebTest/Contribute/AddPricesetTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Contribute_AddPricesetTest + */ class WebTest_Contribute_AddPricesetTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Contribute/ConfirmOptionalTest.php b/tests/phpunit/WebTest/Contribute/ConfirmOptionalTest.php index 3ad03aafc3..40a085d119 100644 --- a/tests/phpunit/WebTest/Contribute/ConfirmOptionalTest.php +++ b/tests/phpunit/WebTest/Contribute/ConfirmOptionalTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Contribute_ConfirmOptionalTest + */ class WebTest_Contribute_ConfirmOptionalTest extends CiviSeleniumTestCase { protected $pageId = 0; diff --git a/tests/phpunit/WebTest/Contribute/ContactContextAddTest.php b/tests/phpunit/WebTest/Contribute/ContactContextAddTest.php index a82f030e29..dce676e521 100644 --- a/tests/phpunit/WebTest/Contribute/ContactContextAddTest.php +++ b/tests/phpunit/WebTest/Contribute/ContactContextAddTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Contribute_ContactContextAddTest + */ class WebTest_Contribute_ContactContextAddTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Contribute/ContributionPageAddTest.php b/tests/phpunit/WebTest/Contribute/ContributionPageAddTest.php index aea39215bb..87bf29c322 100644 --- a/tests/phpunit/WebTest/Contribute/ContributionPageAddTest.php +++ b/tests/phpunit/WebTest/Contribute/ContributionPageAddTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Contribute_ContributionPageAddTest + */ class WebTest_Contribute_ContributionPageAddTest extends CiviSeleniumTestCase { function testContributionPageAdd() { // open browser, login @@ -66,7 +70,7 @@ class WebTest_Contribute_ContributionPageAddTest extends CiviSeleniumTestCase { $this->assertTrue($this->isTextPresent($text), 'Missing text: ' . $text); } } - + // CRM-12510 Test copy contribution page function testContributionPageCopy() { // open browser, login @@ -90,12 +94,12 @@ class WebTest_Contribute_ContributionPageAddTest extends CiviSeleniumTestCase { // Call URL to make a copy of the page $this->openCiviPage("admin/contribute", "action=copy&gid=$pageId"); - + // search for the new copy page and go to its test version $this->type('title', 'Copy of ' . $pageTitle); $this->click('_qf_SearchContribution_refresh'); $this->waitForPageToLoad($this->getTimeoutMsec()); - + $this->isTextPresent('Copy of ' . $pageTitle); // get page id of the copy // $copyPageId = $this->getText("xpath=//div[@id='configure_contribution_page']/tr[@id='row_4']/td[2]"); @@ -265,7 +269,7 @@ class WebTest_Contribute_ContributionPageAddTest extends CiviSeleniumTestCase { } /** - * CRM-12994 + * CRM-12994 */ function testContributionPageAddPremiumRequiredField() { // open browser, login @@ -281,7 +285,7 @@ class WebTest_Contribute_ContributionPageAddTest extends CiviSeleniumTestCase { while (list($processorName, $processorType) = each($processor)) { $this->webtestAddPaymentProcessor($processorName, $processorType); } - + // go to the New Contribution Page page $this->openCiviPage('admin/contribute', 'action=add&reset=1'); @@ -296,7 +300,7 @@ class WebTest_Contribute_ContributionPageAddTest extends CiviSeleniumTestCase { $this->type('for_organization', "On behalf $hash"); // make onBehalf optional $this->click('CIVICRM_QFID_1_2'); - + $this->fillRichTextField('intro_text', 'This is introductory message for ' . $pageTitle, 'CKEditor'); $this->fillRichTextField('footer_text', 'This is footer message for ' . $pageTitle, 'CKEditor'); @@ -329,7 +333,7 @@ class WebTest_Contribute_ContributionPageAddTest extends CiviSeleniumTestCase { $this->click('CIVICRM_QFID_1_4'); $this->click('_qf_Amount_submit_savenext-bottom'); $this->waitForPageToLoad($this->getTimeoutMsec()); - + // click through to the membership view screen $this->click("css=li#tab_thankyou a"); $this->waitForElementPresent('_qf_ThankYou_next-bottom'); @@ -362,7 +366,7 @@ class WebTest_Contribute_ContributionPageAddTest extends CiviSeleniumTestCase { $this->click('_qf_Premium_submit_savenext-bottom'); $this->waitForPageToLoad($this->getTimeoutMsec()); $premiumText = "'Premium' information has been saved."; - // check if clicking Save & Next button + // check if clicking Save & Next button // Premium is saved rather than required validation error // for No Thank-you Label textfield $this->assertTrue($this->isTextPresent($premiumText)); @@ -389,10 +393,10 @@ class WebTest_Contribute_ContributionPageAddTest extends CiviSeleniumTestCase { $this->type('premiums_intro_title', 'Premiums Intro Title'); $this->type('premiums_intro_text', 'Premiums Into Text'); $this->type('premiums_contact_email', "$hash@example.net"); - + // let No Thank-you Label text be blank // so that validation error appears - // $this->type('premiums_nothankyou_label', ); + // $this->type('premiums_nothankyou_label', ); $this->select('premiums_nothankyou_position', 'value=2'); // click on save & next button @@ -404,18 +408,18 @@ class WebTest_Contribute_ContributionPageAddTest extends CiviSeleniumTestCase { // for No Thank-you Label textfield $this->waitForElementPresent("xpath=//*[@id='premiumSettings']/div/div[2]/table/tbody/tr[6]/td[2]/span[1]"); $this->assertTrue($this->isTextPresent($premiumRequiredText)); - + // fill in value for Premiums No Thank-you Label textfield - $this->type('premiums_nothankyou_label', 'Premiums No Thank-you Label'); + $this->type('premiums_nothankyou_label', 'Premiums No Thank-you Label'); $this->waitForElementPresent('_qf_Premium_upload_done-bottom'); - + // click save & done button $this->click('_qf_Premium_upload_done-bottom'); $this->waitForPageToLoad($this->getTimeoutMsec()); $premiumSavedText = "'Premium' information has been saved."; // check if clicking Save & Done button // contribution page is saved. - $this->assertTrue($this->isTextPresent($premiumSavedText)); + $this->assertTrue($this->isTextPresent($premiumSavedText)); } } diff --git a/tests/phpunit/WebTest/Contribute/OfflineContributionTest.php b/tests/phpunit/WebTest/Contribute/OfflineContributionTest.php index e35ecf3ad5..c0f6e65500 100644 --- a/tests/phpunit/WebTest/Contribute/OfflineContributionTest.php +++ b/tests/phpunit/WebTest/Contribute/OfflineContributionTest.php @@ -27,6 +27,9 @@ require_once 'CiviTest/CiviSeleniumTestCase.php'; +/** + * Class WebTest_Contribute_OfflineContributionTest + */ class WebTest_Contribute_OfflineContributionTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Contribute/OfflineRecurContributionTest.php b/tests/phpunit/WebTest/Contribute/OfflineRecurContributionTest.php index f1454f1d9b..757093533b 100644 --- a/tests/phpunit/WebTest/Contribute/OfflineRecurContributionTest.php +++ b/tests/phpunit/WebTest/Contribute/OfflineRecurContributionTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Contribute_OfflineRecurContributionTest + */ class WebTest_Contribute_OfflineRecurContributionTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Contribute/OnBehalfOfOrganization.php b/tests/phpunit/WebTest/Contribute/OnBehalfOfOrganization.php index 69099696bd..a4af1e2673 100644 --- a/tests/phpunit/WebTest/Contribute/OnBehalfOfOrganization.php +++ b/tests/phpunit/WebTest/Contribute/OnBehalfOfOrganization.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Contribute_OnBehalfOfOrganization + */ class WebTest_Contribute_OnBehalfOfOrganization extends CiviSeleniumTestCase { protected $pageno = ''; protected function setUp() { diff --git a/tests/phpunit/WebTest/Contribute/OnlineContributionTest.php b/tests/phpunit/WebTest/Contribute/OnlineContributionTest.php index 4c5b33786f..2716d90a56 100644 --- a/tests/phpunit/WebTest/Contribute/OnlineContributionTest.php +++ b/tests/phpunit/WebTest/Contribute/OnlineContributionTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Contribute_OnlineContributionTest + */ class WebTest_Contribute_OnlineContributionTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Contribute/OnlineMultiplePaymentProcessorTest.php b/tests/phpunit/WebTest/Contribute/OnlineMultiplePaymentProcessorTest.php index d3fea02278..de1bcf98b7 100644 --- a/tests/phpunit/WebTest/Contribute/OnlineMultiplePaymentProcessorTest.php +++ b/tests/phpunit/WebTest/Contribute/OnlineMultiplePaymentProcessorTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Contribute_OnlineMultiplePaymentProcessorTest + */ class WebTest_Contribute_OnlineMultiplePaymentProcessorTest extends CiviSeleniumTestCase { protected function setUp() { parent::setUp(); diff --git a/tests/phpunit/WebTest/Contribute/OnlineRecurContributionTest.php b/tests/phpunit/WebTest/Contribute/OnlineRecurContributionTest.php index f6314d8e02..92fc968ccf 100644 --- a/tests/phpunit/WebTest/Contribute/OnlineRecurContributionTest.php +++ b/tests/phpunit/WebTest/Contribute/OnlineRecurContributionTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Contribute_OnlineRecurContributionTest + */ class WebTest_Contribute_OnlineRecurContributionTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Contribute/PCPAddTest.php b/tests/phpunit/WebTest/Contribute/PCPAddTest.php index ff9a5fd3f8..6250760836 100755 --- a/tests/phpunit/WebTest/Contribute/PCPAddTest.php +++ b/tests/phpunit/WebTest/Contribute/PCPAddTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Contribute_PCPAddTest + */ class WebTest_Contribute_PCPAddTest extends CiviSeleniumTestCase { protected function setUp() { @@ -195,7 +199,7 @@ class WebTest_Contribute_PCPAddTest extends CiviSeleniumTestCase { //Check for SoftCredit $softCreditor = "{$firstName} {$lastName}"; $this->verifyText("xpath=//div['PCPView']/div[2]/table[@class='crm-info-panel']/tbody/tr[2]/td[2]/a", preg_quote($softCreditor), 'In line ' . __LINE__); - + // Check PCP Summary Report $this->openCiviPage('report/instance/16', 'reset=1'); $this->verifyText("PCP", preg_quote($pcpTitle)); diff --git a/tests/phpunit/WebTest/Contribute/StandaloneAddTest.php b/tests/phpunit/WebTest/Contribute/StandaloneAddTest.php index 2468e4ee12..58dbf64674 100644 --- a/tests/phpunit/WebTest/Contribute/StandaloneAddTest.php +++ b/tests/phpunit/WebTest/Contribute/StandaloneAddTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Contribute_StandaloneAddTest + */ class WebTest_Contribute_StandaloneAddTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Contribute/UpdateBatchPendingContributionTest.php b/tests/phpunit/WebTest/Contribute/UpdateBatchPendingContributionTest.php index ce53edaa43..43ed835982 100644 --- a/tests/phpunit/WebTest/Contribute/UpdateBatchPendingContributionTest.php +++ b/tests/phpunit/WebTest/Contribute/UpdateBatchPendingContributionTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Contribute_UpdateBatchPendingContributionTest + */ class WebTest_Contribute_UpdateBatchPendingContributionTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Contribute/UpdateContributionTest.php b/tests/phpunit/WebTest/Contribute/UpdateContributionTest.php index b9c9451b7a..ef2f704323 100644 --- a/tests/phpunit/WebTest/Contribute/UpdateContributionTest.php +++ b/tests/phpunit/WebTest/Contribute/UpdateContributionTest.php @@ -26,6 +26,10 @@ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Contribute_UpdateContributionTest + */ class WebTest_Contribute_UpdateContributionTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Contribute/UpdatePendingContributionTest.php b/tests/phpunit/WebTest/Contribute/UpdatePendingContributionTest.php index 75938e12e7..e391693a7a 100644 --- a/tests/phpunit/WebTest/Contribute/UpdatePendingContributionTest.php +++ b/tests/phpunit/WebTest/Contribute/UpdatePendingContributionTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Contribute_UpdatePendingContributionTest + */ class WebTest_Contribute_UpdatePendingContributionTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Contribute/VerifySSLContributionTest.php b/tests/phpunit/WebTest/Contribute/VerifySSLContributionTest.php index 77f1dcefda..3f3f45a54d 100644 --- a/tests/phpunit/WebTest/Contribute/VerifySSLContributionTest.php +++ b/tests/phpunit/WebTest/Contribute/VerifySSLContributionTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Contribute_VerifySSLContributionTest + */ class WebTest_Contribute_VerifySSLContributionTest extends CiviSeleniumTestCase { protected $initialized = FALSE; diff --git a/tests/phpunit/WebTest/Event/AddEventTest.php b/tests/phpunit/WebTest/Event/AddEventTest.php index 6a07dd63fc..504fc847ee 100644 --- a/tests/phpunit/WebTest/Event/AddEventTest.php +++ b/tests/phpunit/WebTest/Event/AddEventTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Event_AddEventTest + */ class WebTest_Event_AddEventTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Event/AddParticipationTest.php b/tests/phpunit/WebTest/Event/AddParticipationTest.php index f3fcfb46d2..4799f7a879 100644 --- a/tests/phpunit/WebTest/Event/AddParticipationTest.php +++ b/tests/phpunit/WebTest/Event/AddParticipationTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Event_AddParticipationTest + */ class WebTest_Event_AddParticipationTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Event/AddPricesetTest.php b/tests/phpunit/WebTest/Event/AddPricesetTest.php index f8e5f376f0..45343b8118 100644 --- a/tests/phpunit/WebTest/Event/AddPricesetTest.php +++ b/tests/phpunit/WebTest/Event/AddPricesetTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Event_AddPricesetTest + */ class WebTest_Event_AddPricesetTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Event/AdditionalPaymentTest.php b/tests/phpunit/WebTest/Event/AdditionalPaymentTest.php index 2fd858d11b..19604c8eef 100644 --- a/tests/phpunit/WebTest/Event/AdditionalPaymentTest.php +++ b/tests/phpunit/WebTest/Event/AdditionalPaymentTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Event_AdditionalPaymentTest + */ class WebTest_Event_AdditionalPaymentTest extends CiviSeleniumTestCase { protected function setUp() { parent::setUp(); diff --git a/tests/phpunit/WebTest/Event/ChangeParticipantStatus.php b/tests/phpunit/WebTest/Event/ChangeParticipantStatus.php index 0946b87967..5ee2be1f3a 100644 --- a/tests/phpunit/WebTest/Event/ChangeParticipantStatus.php +++ b/tests/phpunit/WebTest/Event/ChangeParticipantStatus.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Event_ChangeParticipantStatus + */ class WebTest_Event_ChangeParticipantStatus extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Event/EventWaitListTest.php b/tests/phpunit/WebTest/Event/EventWaitListTest.php index 17c9ae70d3..de410f61fa 100644 --- a/tests/phpunit/WebTest/Event/EventWaitListTest.php +++ b/tests/phpunit/WebTest/Event/EventWaitListTest.php @@ -23,6 +23,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Event_EventWaitListTest + */ class WebTest_Event_EventWaitListTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Event/MultipleEventRegistrationbyCartTest.php b/tests/phpunit/WebTest/Event/MultipleEventRegistrationbyCartTest.php index bd053cdb74..df91083e7f 100755 --- a/tests/phpunit/WebTest/Event/MultipleEventRegistrationbyCartTest.php +++ b/tests/phpunit/WebTest/Event/MultipleEventRegistrationbyCartTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Event_MultipleEventRegistrationbyCartTest + */ class WebTest_Event_MultipleEventRegistrationbyCartTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Event/MultiprofileEventTest.php b/tests/phpunit/WebTest/Event/MultiprofileEventTest.php index e1d4003be5..128f65d76e 100644 --- a/tests/phpunit/WebTest/Event/MultiprofileEventTest.php +++ b/tests/phpunit/WebTest/Event/MultiprofileEventTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Event_MultiprofileEventTest + */ class WebTest_Event_MultiprofileEventTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Event/PCPAddTest.php b/tests/phpunit/WebTest/Event/PCPAddTest.php index 44a7c5694c..ffe3057827 100644 --- a/tests/phpunit/WebTest/Event/PCPAddTest.php +++ b/tests/phpunit/WebTest/Event/PCPAddTest.php @@ -26,6 +26,10 @@ require_once 'CiviTest/CiviSeleniumTestCase.php'; require_once 'WebTest/Event/AddEventTest.php'; + +/** + * Class WebTest_Event_PCPAddTest + */ class WebTest_Event_PCPAddTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Event/ParticipantCountTest.php b/tests/phpunit/WebTest/Event/ParticipantCountTest.php index 47df58ac57..6a4ba804c3 100644 --- a/tests/phpunit/WebTest/Event/ParticipantCountTest.php +++ b/tests/phpunit/WebTest/Event/ParticipantCountTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Event_ParticipantCountTest + */ class WebTest_Event_ParticipantCountTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Event/ParticipantSearchTest.php b/tests/phpunit/WebTest/Event/ParticipantSearchTest.php index 62a5532f79..b24de3e25f 100644 --- a/tests/phpunit/WebTest/Event/ParticipantSearchTest.php +++ b/tests/phpunit/WebTest/Event/ParticipantSearchTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Event_ParticipantSearchTest + */ class WebTest_Event_ParticipantSearchTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Event/PricesetMaxCountTest.php b/tests/phpunit/WebTest/Event/PricesetMaxCountTest.php index d3547c2dad..65062f9b39 100644 --- a/tests/phpunit/WebTest/Event/PricesetMaxCountTest.php +++ b/tests/phpunit/WebTest/Event/PricesetMaxCountTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Event_PricesetMaxCountTest + */ class WebTest_Event_PricesetMaxCountTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Event/TellAFriendTest.php b/tests/phpunit/WebTest/Event/TellAFriendTest.php index 93c36aeaa6..1528e8f4cd 100644 --- a/tests/phpunit/WebTest/Event/TellAFriendTest.php +++ b/tests/phpunit/WebTest/Event/TellAFriendTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Event_TellAFriendTest + */ class WebTest_Event_TellAFriendTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Export/ContactTest.php b/tests/phpunit/WebTest/Export/ContactTest.php index cac2f6058c..98183522d7 100644 --- a/tests/phpunit/WebTest/Export/ContactTest.php +++ b/tests/phpunit/WebTest/Export/ContactTest.php @@ -25,6 +25,10 @@ */ require_once 'WebTest/Export/ExportCiviSeleniumTestCase.php'; + +/** + * Class WebTest_Export_ContactTest + */ class WebTest_Export_ContactTest extends ExportCiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Export/ExportCiviSeleniumTestCase.php b/tests/phpunit/WebTest/Export/ExportCiviSeleniumTestCase.php index acc8a12275..e596c60eca 100644 --- a/tests/phpunit/WebTest/Export/ExportCiviSeleniumTestCase.php +++ b/tests/phpunit/WebTest/Export/ExportCiviSeleniumTestCase.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class ExportCiviSeleniumTestCase + */ class ExportCiviSeleniumTestCase extends CiviSeleniumTestCase { /** diff --git a/tests/phpunit/WebTest/Financial/FinancialAccountTest.php b/tests/phpunit/WebTest/Financial/FinancialAccountTest.php index d8f14719f8..4d12069338 100644 --- a/tests/phpunit/WebTest/Financial/FinancialAccountTest.php +++ b/tests/phpunit/WebTest/Financial/FinancialAccountTest.php @@ -26,6 +26,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Financial_FinancialAccountTest + */ class WebTest_Financial_FinancialAccountTest extends CiviSeleniumTestCase { /** @@ -76,7 +80,7 @@ class WebTest_Financial_FinancialAccountTest extends CiviSeleniumTestCase { 'is_deductible' => 'off', 'is_default' => 'off' ); - + $this->assertEquals($orgName, $this->getText("xpath=//*[@id='s2id_contact_id']/a/span[1]")); $this->_assertFinancialAccount($verifyData); @@ -123,9 +127,9 @@ class WebTest_Financial_FinancialAccountTest extends CiviSeleniumTestCase { 'is_deductible' => 'off', 'is_default' => 'off', ); - + $this->assertEquals($orgName, $this->getText("xpath=//*[@id='s2id_contact_id']/a/span[1]")); - + $this->_assertFinancialAccount($verifyData); $verifySelectFieldData = array('financial_account_type_id' => $financialAccountType); $this->_assertSelectVerify($verifySelectFieldData); diff --git a/tests/phpunit/WebTest/Financial/FinancialAccountTypeTest.php b/tests/phpunit/WebTest/Financial/FinancialAccountTypeTest.php index b4c5c2dec7..26e786054d 100644 --- a/tests/phpunit/WebTest/Financial/FinancialAccountTypeTest.php +++ b/tests/phpunit/WebTest/Financial/FinancialAccountTypeTest.php @@ -27,6 +27,9 @@ require_once 'CiviTest/CiviSeleniumTestCase.php'; +/** + * Class WebTest_Financial_FinancialAccountTypeTest + */ class WebTest_Financial_FinancialAccountTypeTest extends CiviSeleniumTestCase { function testFinancialAccount() { @@ -60,15 +63,15 @@ class WebTest_Financial_FinancialAccountTypeTest extends CiviSeleniumTestCase { 'account_relationship' => 'Cost of Sales Account is', ), ); - + $this->waitForElementPresent('newFinancialType'); $this->click("xpath=id('ltype')/div/table/tbody/tr/td[1][text()='$financialType[name]']/../td[7]/span/a[text()='Accounts']"); $this->waitForElementPresent('newfinancialTypeAccount'); - + foreach ($expected as $value => $label) { $this->verifyText("xpath=//div[@id='ltype']/div/table/tbody/tr/td[2][text()='$label[financial_account]']/../td[1]", preg_quote($label['account_relationship'])); } - + $this->openCiviPage('admin/financial/financialType', 'reset=1', 'newFinancialType'); $this->verifyText("xpath=id('ltype')/div/table/tbody/tr/td[1][text()='$financialType[name]']/../td[3]", 'Accounts Receivable,Banking Fees,Premiums,' . $financialType['name']); $this->click("xpath=id('ltype')/div/table/tbody/tr/td[1][text()='$financialType[name]']/../td[7]/span/a[text()='Accounts']"); diff --git a/tests/phpunit/WebTest/Financial/FinancialBatchExport.php b/tests/phpunit/WebTest/Financial/FinancialBatchExport.php index 238c783532..071991ef7f 100644 --- a/tests/phpunit/WebTest/Financial/FinancialBatchExport.php +++ b/tests/phpunit/WebTest/Financial/FinancialBatchExport.php @@ -26,6 +26,10 @@ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Financial_FinancialBatchExport + */ class WebTest_Financial_FinancialBatchExport extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Generic/CheckActivityTest.php b/tests/phpunit/WebTest/Generic/CheckActivityTest.php index 9cf0f01625..45e0e14e7d 100644 --- a/tests/phpunit/WebTest/Generic/CheckActivityTest.php +++ b/tests/phpunit/WebTest/Generic/CheckActivityTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Generic_CheckActivityTest + */ class WebTest_Generic_CheckActivityTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Generic/CheckDashboardTest.php b/tests/phpunit/WebTest/Generic/CheckDashboardTest.php index 620f45808e..131a9a8904 100644 --- a/tests/phpunit/WebTest/Generic/CheckDashboardTest.php +++ b/tests/phpunit/WebTest/Generic/CheckDashboardTest.php @@ -26,6 +26,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Generic_CheckDashboardTest + */ class WebTest_Generic_CheckDashboardTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Generic/CheckFindTest.php b/tests/phpunit/WebTest/Generic/CheckFindTest.php index e4dee51284..f7eb184efd 100644 --- a/tests/phpunit/WebTest/Generic/CheckFindTest.php +++ b/tests/phpunit/WebTest/Generic/CheckFindTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Generic_CheckFindTest + */ class WebTest_Generic_CheckFindTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Generic/GeneralClickAroundTest.php b/tests/phpunit/WebTest/Generic/GeneralClickAroundTest.php index 0ca99a4cb6..3b33c7f216 100644 --- a/tests/phpunit/WebTest/Generic/GeneralClickAroundTest.php +++ b/tests/phpunit/WebTest/Generic/GeneralClickAroundTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Generic_GeneralClickAroundTest + */ class WebTest_Generic_GeneralClickAroundTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Grant/ContactContextAddTest.php b/tests/phpunit/WebTest/Grant/ContactContextAddTest.php index 8550fa688b..8226c9d307 100644 --- a/tests/phpunit/WebTest/Grant/ContactContextAddTest.php +++ b/tests/phpunit/WebTest/Grant/ContactContextAddTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Grant_ContactContextAddTest + */ class WebTest_Grant_ContactContextAddTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Grant/CustomFieldsetTest.php b/tests/phpunit/WebTest/Grant/CustomFieldsetTest.php index 832843f04f..72bc65069d 100644 --- a/tests/phpunit/WebTest/Grant/CustomFieldsetTest.php +++ b/tests/phpunit/WebTest/Grant/CustomFieldsetTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Grant_CustomFieldsetTest + */ class WebTest_Grant_CustomFieldsetTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Grant/StandaloneAddTest.php b/tests/phpunit/WebTest/Grant/StandaloneAddTest.php index 07ea8db79a..1c0de7fffe 100644 --- a/tests/phpunit/WebTest/Grant/StandaloneAddTest.php +++ b/tests/phpunit/WebTest/Grant/StandaloneAddTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Grant_StandaloneAddTest + */ class WebTest_Grant_StandaloneAddTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Import/ActivityTest.php b/tests/phpunit/WebTest/Import/ActivityTest.php index 34fb129d48..22a8038e53 100644 --- a/tests/phpunit/WebTest/Import/ActivityTest.php +++ b/tests/phpunit/WebTest/Import/ActivityTest.php @@ -25,6 +25,10 @@ */ require_once 'WebTest/Import/ImportCiviSeleniumTestCase.php'; + +/** + * Class WebTest_Import_ActivityTest + */ class WebTest_Import_ActivityTest extends ImportCiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Import/AddressImportTest.php b/tests/phpunit/WebTest/Import/AddressImportTest.php index 9cc6f0bb14..10b3f31702 100644 --- a/tests/phpunit/WebTest/Import/AddressImportTest.php +++ b/tests/phpunit/WebTest/Import/AddressImportTest.php @@ -25,6 +25,10 @@ */ require_once 'WebTest/Import/ImportCiviSeleniumTestCase.php'; + +/** + * Class WebTest_Import_AddressImportTest + */ class WebTest_Import_AddressImportTest extends ImportCiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Import/AddressParsingTest.php b/tests/phpunit/WebTest/Import/AddressParsingTest.php index b20df90c21..00839d43ae 100644 --- a/tests/phpunit/WebTest/Import/AddressParsingTest.php +++ b/tests/phpunit/WebTest/Import/AddressParsingTest.php @@ -25,6 +25,10 @@ */ require_once 'WebTest/Import/ImportCiviSeleniumTestCase.php'; + +/** + * Class WebTest_Import_AddressParsingTest + */ class WebTest_Import_AddressParsingTest extends ImportCiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Import/ContactCustomDataTest.php b/tests/phpunit/WebTest/Import/ContactCustomDataTest.php index b64f018ec0..3bc1a317ea 100644 --- a/tests/phpunit/WebTest/Import/ContactCustomDataTest.php +++ b/tests/phpunit/WebTest/Import/ContactCustomDataTest.php @@ -25,6 +25,10 @@ */ require_once 'WebTest/Import/ImportCiviSeleniumTestCase.php'; + +/** + * Class WebTest_Import_ContactCustomDataTest + */ class WebTest_Import_ContactCustomDataTest extends ImportCiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Import/ContactSubtypeTest.php b/tests/phpunit/WebTest/Import/ContactSubtypeTest.php index a74f1f52b3..3795d3a300 100644 --- a/tests/phpunit/WebTest/Import/ContactSubtypeTest.php +++ b/tests/phpunit/WebTest/Import/ContactSubtypeTest.php @@ -25,6 +25,10 @@ */ require_once 'WebTest/Import/ImportCiviSeleniumTestCase.php'; + +/** + * Class WebTest_Import_ContactSubtypeTest + */ class WebTest_Import_ContactSubtypeTest extends ImportCiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Import/ContactTest.php b/tests/phpunit/WebTest/Import/ContactTest.php index 9a036c44b3..8dcec27424 100644 --- a/tests/phpunit/WebTest/Import/ContactTest.php +++ b/tests/phpunit/WebTest/Import/ContactTest.php @@ -25,6 +25,10 @@ */ require_once 'WebTest/Import/ImportCiviSeleniumTestCase.php'; + +/** + * Class WebTest_Import_ContactTest + */ class WebTest_Import_ContactTest extends ImportCiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Import/ContributionTest.php b/tests/phpunit/WebTest/Import/ContributionTest.php index 253806bf38..ce858e3423 100644 --- a/tests/phpunit/WebTest/Import/ContributionTest.php +++ b/tests/phpunit/WebTest/Import/ContributionTest.php @@ -25,6 +25,10 @@ */ require_once 'WebTest/Import/ImportCiviSeleniumTestCase.php'; + +/** + * Class WebTest_Import_ContributionTest + */ class WebTest_Import_ContributionTest extends ImportCiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Import/CustomDataTest.php b/tests/phpunit/WebTest/Import/CustomDataTest.php index 3b311b39ed..78282b0d99 100644 --- a/tests/phpunit/WebTest/Import/CustomDataTest.php +++ b/tests/phpunit/WebTest/Import/CustomDataTest.php @@ -25,6 +25,10 @@ */ require_once 'WebTest/Import/ImportCiviSeleniumTestCase.php'; + +/** + * Class WebTest_Import_CustomDataTest + */ class WebTest_Import_CustomDataTest extends ImportCiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Import/DateFormatTest.php b/tests/phpunit/WebTest/Import/DateFormatTest.php index a0ff63ec2c..e9482ef591 100644 --- a/tests/phpunit/WebTest/Import/DateFormatTest.php +++ b/tests/phpunit/WebTest/Import/DateFormatTest.php @@ -25,6 +25,10 @@ */ require_once 'WebTest/Import/ImportCiviSeleniumTestCase.php'; + +/** + * Class WebTest_Import_DateFormatTest + */ class WebTest_Import_DateFormatTest extends ImportCiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Import/DuplicateMatchingTest.php b/tests/phpunit/WebTest/Import/DuplicateMatchingTest.php index 7b6337bcf5..dac41f8570 100644 --- a/tests/phpunit/WebTest/Import/DuplicateMatchingTest.php +++ b/tests/phpunit/WebTest/Import/DuplicateMatchingTest.php @@ -25,6 +25,10 @@ */ require_once 'WebTest/Import/ImportCiviSeleniumTestCase.php'; + +/** + * Class WebTest_Import_DuplicateMatchingTest + */ class WebTest_Import_DuplicateMatchingTest extends ImportCiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Import/GroupTest.php b/tests/phpunit/WebTest/Import/GroupTest.php index cd113ce03a..e9ce368e29 100644 --- a/tests/phpunit/WebTest/Import/GroupTest.php +++ b/tests/phpunit/WebTest/Import/GroupTest.php @@ -25,6 +25,10 @@ */ require_once 'WebTest/Import/ImportCiviSeleniumTestCase.php'; + +/** + * Class WebTest_Import_GroupTest + */ class WebTest_Import_GroupTest extends ImportCiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Import/ImportCiviSeleniumTestCase.php b/tests/phpunit/WebTest/Import/ImportCiviSeleniumTestCase.php index 850686ef35..de90475c7a 100644 --- a/tests/phpunit/WebTest/Import/ImportCiviSeleniumTestCase.php +++ b/tests/phpunit/WebTest/Import/ImportCiviSeleniumTestCase.php @@ -26,6 +26,10 @@ require_once 'CiviTest/CiviSeleniumTestCase.php'; require_once 'CRM/Utils/Array.php'; + +/** + * Class ImportCiviSeleniumTestCase + */ class ImportCiviSeleniumTestCase extends CiviSeleniumTestCase { /* diff --git a/tests/phpunit/WebTest/Import/MatchExternalIdTest.php b/tests/phpunit/WebTest/Import/MatchExternalIdTest.php index 0f26e4fa5c..ffd8092b8c 100644 --- a/tests/phpunit/WebTest/Import/MatchExternalIdTest.php +++ b/tests/phpunit/WebTest/Import/MatchExternalIdTest.php @@ -25,6 +25,10 @@ */ require_once 'WebTest/Import/ImportCiviSeleniumTestCase.php'; + +/** + * Class WebTest_Import_MatchExternalIdTest + */ class WebTest_Import_MatchExternalIdTest extends ImportCiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Import/MemberTest.php b/tests/phpunit/WebTest/Import/MemberTest.php index 54c8754690..25d85a262f 100644 --- a/tests/phpunit/WebTest/Import/MemberTest.php +++ b/tests/phpunit/WebTest/Import/MemberTest.php @@ -25,6 +25,10 @@ */ require_once 'WebTest/Import/ImportCiviSeleniumTestCase.php'; + +/** + * Class WebTest_Import_MemberTest + */ class WebTest_Import_MemberTest extends ImportCiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Import/MultipleRelationshipTest.php b/tests/phpunit/WebTest/Import/MultipleRelationshipTest.php index 739479a71b..10043ee7ee 100644 --- a/tests/phpunit/WebTest/Import/MultipleRelationshipTest.php +++ b/tests/phpunit/WebTest/Import/MultipleRelationshipTest.php @@ -25,6 +25,10 @@ */ require_once 'WebTest/Import/ImportCiviSeleniumTestCase.php'; + +/** + * Class WebTest_Import_MultipleRelationshipTest + */ class WebTest_Import_MultipleRelationshipTest extends ImportCiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Import/ParticipantTest.php b/tests/phpunit/WebTest/Import/ParticipantTest.php index bc715b7366..d614e4435f 100644 --- a/tests/phpunit/WebTest/Import/ParticipantTest.php +++ b/tests/phpunit/WebTest/Import/ParticipantTest.php @@ -25,6 +25,10 @@ */ require_once 'WebTest/Import/ImportCiviSeleniumTestCase.php'; + +/** + * Class WebTest_Import_ParticipantTest + */ class WebTest_Import_ParticipantTest extends ImportCiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Import/SavedMappingTest.php b/tests/phpunit/WebTest/Import/SavedMappingTest.php index ab34a08a9d..fdddd616f0 100644 --- a/tests/phpunit/WebTest/Import/SavedMappingTest.php +++ b/tests/phpunit/WebTest/Import/SavedMappingTest.php @@ -25,6 +25,10 @@ */ require_once 'WebTest/Import/ImportCiviSeleniumTestCase.php'; + +/** + * Class WebTest_Import_SavedMapping + */ class WebTest_Import_SavedMapping extends ImportCiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Import/TagTest.php b/tests/phpunit/WebTest/Import/TagTest.php index 72e431d51f..e2de4f97e4 100644 --- a/tests/phpunit/WebTest/Import/TagTest.php +++ b/tests/phpunit/WebTest/Import/TagTest.php @@ -25,6 +25,10 @@ */ require_once 'WebTest/Import/ImportCiviSeleniumTestCase.php'; + +/** + * Class WebTest_Import_TagTest + */ class WebTest_Import_TagTest extends ImportCiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Mailing/AddMessageTemplateTest.php b/tests/phpunit/WebTest/Mailing/AddMessageTemplateTest.php index f3ea2be417..3848b7b6ce 100644 --- a/tests/phpunit/WebTest/Mailing/AddMessageTemplateTest.php +++ b/tests/phpunit/WebTest/Mailing/AddMessageTemplateTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Mailing_AddMessageTemplateTest + */ class WebTest_Mailing_AddMessageTemplateTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Mailing/AddNewMailingComponentTest.php b/tests/phpunit/WebTest/Mailing/AddNewMailingComponentTest.php index 09e8e23847..052241b549 100644 --- a/tests/phpunit/WebTest/Mailing/AddNewMailingComponentTest.php +++ b/tests/phpunit/WebTest/Mailing/AddNewMailingComponentTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Mailing_AddNewMailingComponentTest + */ class WebTest_Mailing_AddNewMailingComponentTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Mailing/MailingTest.php b/tests/phpunit/WebTest/Mailing/MailingTest.php index 2a33bb6a6b..4a10eb1fde 100644 --- a/tests/phpunit/WebTest/Mailing/MailingTest.php +++ b/tests/phpunit/WebTest/Mailing/MailingTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Mailing_MailingTest + */ class WebTest_Mailing_MailingTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Mailing/SpoolTest.php b/tests/phpunit/WebTest/Mailing/SpoolTest.php index 2ff40f1ee0..35381bf80f 100644 --- a/tests/phpunit/WebTest/Mailing/SpoolTest.php +++ b/tests/phpunit/WebTest/Mailing/SpoolTest.php @@ -28,6 +28,10 @@ require_once 'CiviTest/CiviSeleniumTestCase.php'; require_once 'CiviTest/CiviMailUtils.php'; require_once 'ezc/Base/src/ezc_bootstrap.php'; require_once 'ezc/autoload/mail_autoload.php'; + +/** + * Class WebTest_Mailing_SpoolTest + */ class WebTest_Mailing_SpoolTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Member/BatchUpdateViaProfileTest.php b/tests/phpunit/WebTest/Member/BatchUpdateViaProfileTest.php index 3b5f115030..3bf68a6fec 100644 --- a/tests/phpunit/WebTest/Member/BatchUpdateViaProfileTest.php +++ b/tests/phpunit/WebTest/Member/BatchUpdateViaProfileTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Member_BatchUpdateViaProfileTest + */ class WebTest_Member_BatchUpdateViaProfileTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Member/ContactContextAddTest.php b/tests/phpunit/WebTest/Member/ContactContextAddTest.php index 53a5c7d6b5..ebc5ce9a9e 100644 --- a/tests/phpunit/WebTest/Member/ContactContextAddTest.php +++ b/tests/phpunit/WebTest/Member/ContactContextAddTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Member_ContactContextAddTest + */ class WebTest_Member_ContactContextAddTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Member/DefaultMembershipPricesetTest.php b/tests/phpunit/WebTest/Member/DefaultMembershipPricesetTest.php index 2e6adddd7b..f44f03b445 100755 --- a/tests/phpunit/WebTest/Member/DefaultMembershipPricesetTest.php +++ b/tests/phpunit/WebTest/Member/DefaultMembershipPricesetTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Member_DefaultMembershipPricesetTest + */ class WebTest_Member_DefaultMembershipPricesetTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Member/EditMembershipTest.php b/tests/phpunit/WebTest/Member/EditMembershipTest.php index b8c4b32410..03d41e09a8 100644 --- a/tests/phpunit/WebTest/Member/EditMembershipTest.php +++ b/tests/phpunit/WebTest/Member/EditMembershipTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Member_EditMembershipTest + */ class WebTest_Member_EditMembershipTest extends CiviSeleniumTestCase { protected function setUp() { parent::setUp(); diff --git a/tests/phpunit/WebTest/Member/FixedMembershipTypeTest.php b/tests/phpunit/WebTest/Member/FixedMembershipTypeTest.php index 52b6de6d5e..af2d2a8e42 100644 --- a/tests/phpunit/WebTest/Member/FixedMembershipTypeTest.php +++ b/tests/phpunit/WebTest/Member/FixedMembershipTypeTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Member_FixedMembershipTypeTest + */ class WebTest_Member_FixedMembershipTypeTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Member/InheritedMembershipTest.php b/tests/phpunit/WebTest/Member/InheritedMembershipTest.php index e76ab50d32..d8c9c039b9 100644 --- a/tests/phpunit/WebTest/Member/InheritedMembershipTest.php +++ b/tests/phpunit/WebTest/Member/InheritedMembershipTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Member_InheritedMembershipTest + */ class WebTest_Member_InheritedMembershipTest extends CiviSeleniumTestCase { protected function setUp() { parent::setUp(); diff --git a/tests/phpunit/WebTest/Member/OfflineAutoRenewMembershipTest.php b/tests/phpunit/WebTest/Member/OfflineAutoRenewMembershipTest.php index c7c51787bf..4233c31d9e 100644 --- a/tests/phpunit/WebTest/Member/OfflineAutoRenewMembershipTest.php +++ b/tests/phpunit/WebTest/Member/OfflineAutoRenewMembershipTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Member_OfflineAutoRenewMembershipTest + */ class WebTest_Member_OfflineAutoRenewMembershipTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Member/OfflineMembershipAddPricesetTest.php b/tests/phpunit/WebTest/Member/OfflineMembershipAddPricesetTest.php index f86ba5a71a..f26781015f 100644 --- a/tests/phpunit/WebTest/Member/OfflineMembershipAddPricesetTest.php +++ b/tests/phpunit/WebTest/Member/OfflineMembershipAddPricesetTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Member_OfflineMembershipAddPricesetTest + */ class WebTest_Member_OfflineMembershipAddPricesetTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Member/OfflineMembershipRenewTest.php b/tests/phpunit/WebTest/Member/OfflineMembershipRenewTest.php index 0129a83843..aed2092a88 100644 --- a/tests/phpunit/WebTest/Member/OfflineMembershipRenewTest.php +++ b/tests/phpunit/WebTest/Member/OfflineMembershipRenewTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Member_OfflineMembershipRenewTest + */ class WebTest_Member_OfflineMembershipRenewTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Member/OnlineAutoRenewMembershipGCTest.php b/tests/phpunit/WebTest/Member/OnlineAutoRenewMembershipGCTest.php index c0995d2f85..44de6e411d 100644 --- a/tests/phpunit/WebTest/Member/OnlineAutoRenewMembershipGCTest.php +++ b/tests/phpunit/WebTest/Member/OnlineAutoRenewMembershipGCTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Member_OnlineAutoRenewMembershipGCTest + */ class WebTest_Member_OnlineAutoRenewMembershipGCTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Member/OnlineAutoRenewMembershipTest.php b/tests/phpunit/WebTest/Member/OnlineAutoRenewMembershipTest.php index 7053c23135..ea520a2bd6 100644 --- a/tests/phpunit/WebTest/Member/OnlineAutoRenewMembershipTest.php +++ b/tests/phpunit/WebTest/Member/OnlineAutoRenewMembershipTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Member_OnlineAutoRenewMembershipTest + */ class WebTest_Member_OnlineAutoRenewMembershipTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Member/OnlineMembershipAddPricesetTest.php b/tests/phpunit/WebTest/Member/OnlineMembershipAddPricesetTest.php index 5fe65c5fa2..5452b0802a 100644 --- a/tests/phpunit/WebTest/Member/OnlineMembershipAddPricesetTest.php +++ b/tests/phpunit/WebTest/Member/OnlineMembershipAddPricesetTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Member_OnlineMembershipAddPricesetTest + */ class WebTest_Member_OnlineMembershipAddPricesetTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Member/OnlineMembershipCreateTest.php b/tests/phpunit/WebTest/Member/OnlineMembershipCreateTest.php index 6b980dce1d..ebec674230 100644 --- a/tests/phpunit/WebTest/Member/OnlineMembershipCreateTest.php +++ b/tests/phpunit/WebTest/Member/OnlineMembershipCreateTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Member_OnlineMembershipCreateTest + */ class WebTest_Member_OnlineMembershipCreateTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Member/OnlineMembershipRenewTest.php b/tests/phpunit/WebTest/Member/OnlineMembershipRenewTest.php index 719dca4164..cdb31afe5e 100644 --- a/tests/phpunit/WebTest/Member/OnlineMembershipRenewTest.php +++ b/tests/phpunit/WebTest/Member/OnlineMembershipRenewTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Member_OnlineMembershipRenewTest + */ class WebTest_Member_OnlineMembershipRenewTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Member/SeperateMembershipPaymentTest.php b/tests/phpunit/WebTest/Member/SeperateMembershipPaymentTest.php index 98e126be64..f3297d7a67 100644 --- a/tests/phpunit/WebTest/Member/SeperateMembershipPaymentTest.php +++ b/tests/phpunit/WebTest/Member/SeperateMembershipPaymentTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Member_SeperateMembershipPaymentTest + */ class WebTest_Member_SeperateMembershipPaymentTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Member/StandaloneAddTest.php b/tests/phpunit/WebTest/Member/StandaloneAddTest.php index 5cf1684c05..7c375c1ec7 100644 --- a/tests/phpunit/WebTest/Member/StandaloneAddTest.php +++ b/tests/phpunit/WebTest/Member/StandaloneAddTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Member_StandaloneAddTest + */ class WebTest_Member_StandaloneAddTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Member/UpdateMembershipScriptTest.php b/tests/phpunit/WebTest/Member/UpdateMembershipScriptTest.php index 04c2d8b96e..c901b37efd 100644 --- a/tests/phpunit/WebTest/Member/UpdateMembershipScriptTest.php +++ b/tests/phpunit/WebTest/Member/UpdateMembershipScriptTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Member_UpdateMembershipScriptTest + */ class WebTest_Member_UpdateMembershipScriptTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Pledge/AddCancelPaymentTest.php b/tests/phpunit/WebTest/Pledge/AddCancelPaymentTest.php index fcde733c41..76484ae6b2 100644 --- a/tests/phpunit/WebTest/Pledge/AddCancelPaymentTest.php +++ b/tests/phpunit/WebTest/Pledge/AddCancelPaymentTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Pledge_AddCancelPaymentTest + */ class WebTest_Pledge_AddCancelPaymentTest extends CiviSeleniumTestCase { protected function setUp() { @@ -85,25 +89,25 @@ class WebTest_Pledge_AddCancelPaymentTest extends CiviSeleniumTestCase { $this->waitForElementPresent("xpath=//div[@class='view-content']//table//tbody/tr[1]/td[10]/span/a[text()='View']"); $this->click("xpath=//div[@class='view-content']//table[@class='selector row-highlight']//tbody/tr[1]/td[1]/span/a"); - //Check whether the next two payments are done or not + //Check whether the next two payments are done or not $this->waitForElementPresent("xpath=//div[@class='view-content']//table/tbody/tr[2]/td[2]/table/tbody/tr[2]/td[8]/a[text()='View Payment']"); $this->verifyText("xpath=//div[@class='view-content']//table/tbody/tr[2]/td[2]/table/tbody/tr[3]/td[7]","Completed"); $this->verifyText("xpath=//div[@class='view-content']//table/tbody/tr[2]/td[2]/table/tbody/tr[4]/td[7]","Completed"); - + //Cancel the contribution made for amount of 300.00 $this->waitForElementPresent("xpath=//div[@class='view-content']//table/tbody/tr[2]/td[2]/table/tbody/tr[2]/td[8]/a[text()='View Payment']"); $this->click("xpath=//div[@class='view-content']//table/tbody/tr[2]/td[2]/table/tbody/tr[2]/td[8]/a"); $this->waitForElementPresent("xpath=//form[@id='ContributionView']//div[2]/div/div/a"); $this->click("xpath=//form[@id='ContributionView']//div[2]/div/div/a"); - $this->waitForElementPresent("_qf_Contribution_upload-bottom"); + $this->waitForElementPresent("_qf_Contribution_upload-bottom"); $this->select('contribution_status_id', 'value=3'); - $this->click("_qf_Contribution_upload-bottom"); + $this->click("_qf_Contribution_upload-bottom"); $this->waitForElementPresent("xpath=//div[@class='view-content']//table//tbody/tr[1]/td[10]/span/a[text()='View']"); $this->click("xpath=//div[@class='view-content']//table//tbody/tr[1]/td[1]/span/a"); $this->waitForElementPresent("xpath=//div[@class='view-content']//table/tbody/tr[2]/td[2]/table/tbody/tr[3]/td[7]"); - + // verify that first paayment is cancelled and the rest two payments are revert back to the pending status $this->verifyText("xpath=//div[@class='view-content']//table/tbody/tr[2]/td[2]/table/tbody/tr[2]/td[7]","Cancelled"); $this->verifyText("xpath=//div[@class='view-content']//table/tbody/tr[2]/td[2]/table/tbody/tr[3]/td[7]","Pending"); diff --git a/tests/phpunit/WebTest/Pledge/ContactContextAddTest.php b/tests/phpunit/WebTest/Pledge/ContactContextAddTest.php index 29e21661ab..22387dd102 100644 --- a/tests/phpunit/WebTest/Pledge/ContactContextAddTest.php +++ b/tests/phpunit/WebTest/Pledge/ContactContextAddTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Pledge_ContactContextAddTest + */ class WebTest_Pledge_ContactContextAddTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Pledge/ContactContextPledgePaymentAddTest.php b/tests/phpunit/WebTest/Pledge/ContactContextPledgePaymentAddTest.php index 8fa0c5160d..c4f277d3e2 100644 --- a/tests/phpunit/WebTest/Pledge/ContactContextPledgePaymentAddTest.php +++ b/tests/phpunit/WebTest/Pledge/ContactContextPledgePaymentAddTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Pledge_ContactContextPledgePaymentAddTest + */ class WebTest_Pledge_ContactContextPledgePaymentAddTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Pledge/StandaloneAddDeleteTest.php b/tests/phpunit/WebTest/Pledge/StandaloneAddDeleteTest.php index 3a25468ecb..6f84c5ca2d 100644 --- a/tests/phpunit/WebTest/Pledge/StandaloneAddDeleteTest.php +++ b/tests/phpunit/WebTest/Pledge/StandaloneAddDeleteTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Pledge_StandaloneAddDeleteTest + */ class WebTest_Pledge_StandaloneAddDeleteTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Pledge/StandaloneAddTest.php b/tests/phpunit/WebTest/Pledge/StandaloneAddTest.php index 02dddd851d..e27df2017a 100644 --- a/tests/phpunit/WebTest/Pledge/StandaloneAddTest.php +++ b/tests/phpunit/WebTest/Pledge/StandaloneAddTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Pledge_StandaloneAddTest + */ class WebTest_Pledge_StandaloneAddTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Profile/BatchUpdateTest.php b/tests/phpunit/WebTest/Profile/BatchUpdateTest.php index 4a1c86f618..7fbee3e4d8 100644 --- a/tests/phpunit/WebTest/Profile/BatchUpdateTest.php +++ b/tests/phpunit/WebTest/Profile/BatchUpdateTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Profile_BatchUpdateTest + */ class WebTest_Profile_BatchUpdateTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Profile/DedupeTest.php b/tests/phpunit/WebTest/Profile/DedupeTest.php index 74ae936a15..9a0f101714 100644 --- a/tests/phpunit/WebTest/Profile/DedupeTest.php +++ b/tests/phpunit/WebTest/Profile/DedupeTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Profile_DedupeTest + */ class WebTest_Profile_DedupeTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Profile/MultiRecordProfileAddTest.php b/tests/phpunit/WebTest/Profile/MultiRecordProfileAddTest.php index 1fbc77b10d..acb7557160 100644 --- a/tests/phpunit/WebTest/Profile/MultiRecordProfileAddTest.php +++ b/tests/phpunit/WebTest/Profile/MultiRecordProfileAddTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Profile_MultiRecordProfileAddTest + */ class WebTest_Profile_MultiRecordProfileAddTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Profile/ProfileAddTest.php b/tests/phpunit/WebTest/Profile/ProfileAddTest.php index 616c182ea6..93bdfcf2f5 100644 --- a/tests/phpunit/WebTest/Profile/ProfileAddTest.php +++ b/tests/phpunit/WebTest/Profile/ProfileAddTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Profile_ProfileAddTest + */ class WebTest_Profile_ProfileAddTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Profile/ProfileCountryState.php b/tests/phpunit/WebTest/Profile/ProfileCountryState.php index 80c0d44b7a..cd2fbf5bc7 100644 --- a/tests/phpunit/WebTest/Profile/ProfileCountryState.php +++ b/tests/phpunit/WebTest/Profile/ProfileCountryState.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Profile_ProfileCountryState + */ class WebTest_Profile_ProfileCountryState extends CiviSeleniumTestCase { protected function setUp() { @@ -32,7 +36,7 @@ class WebTest_Profile_ProfileCountryState extends CiviSeleniumTestCase { } function testStateCountry() { - $this->webtestLogin(); + $this->webtestLogin(); $config = CRM_Core_Config::singleton(); // Add new profile. $this->openCiviPage('admin/uf/group', 'reset=1'); @@ -46,7 +50,7 @@ class WebTest_Profile_ProfileCountryState extends CiviSeleniumTestCase { //click on save $this->click('_qf_Group_next'); $this->waitForPageToLoad($this->getTimeoutMsec()); - + //check for profile create $this->waitForText('crm-notification-container', "Profile '{$profileTitle}' has been added. You can add fields to this profile now."); @@ -99,7 +103,7 @@ class WebTest_Profile_ProfileCountryState extends CiviSeleniumTestCase { $this->click("_qf_Localization_next-bottom"); $this->waitForPageToLoad($this->getTimeoutMsec()); $this->waitForText('crm-notification-container', "Saved"); - } + } $this->openCiviPage("profile/create", "gid=$gid&reset=1", NULL); $this->waitForElementPresent("xpath=//form[@id='Edit']/div[2]/div/div/div[2]/select"); @@ -143,4 +147,4 @@ class WebTest_Profile_ProfileCountryState extends CiviSeleniumTestCase { } } } -} \ No newline at end of file +} diff --git a/tests/phpunit/WebTest/Profile/ProfileGroupSubscriptionTest.php b/tests/phpunit/WebTest/Profile/ProfileGroupSubscriptionTest.php index 2f8f69b3ba..4667ed9872 100644 --- a/tests/phpunit/WebTest/Profile/ProfileGroupSubscriptionTest.php +++ b/tests/phpunit/WebTest/Profile/ProfileGroupSubscriptionTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Profile_ProfileGroupSubscriptionTest + */ class WebTest_Profile_ProfileGroupSubscriptionTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Profile/SearchTest.php b/tests/phpunit/WebTest/Profile/SearchTest.php index d5f0c3316a..adac5c6d45 100644 --- a/tests/phpunit/WebTest/Profile/SearchTest.php +++ b/tests/phpunit/WebTest/Profile/SearchTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Profile_SearchTest + */ class WebTest_Profile_SearchTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Report/AddTest.php b/tests/phpunit/WebTest/Report/AddTest.php index abf354e786..a3379e2edd 100644 --- a/tests/phpunit/WebTest/Report/AddTest.php +++ b/tests/phpunit/WebTest/Report/AddTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Report_AddTest + */ class WebTest_Report_AddTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Report/DonarReportTest.php b/tests/phpunit/WebTest/Report/DonarReportTest.php index f813feb1e5..24669f882b 100644 --- a/tests/phpunit/WebTest/Report/DonarReportTest.php +++ b/tests/phpunit/WebTest/Report/DonarReportTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Report_DonarReportTest + */ class WebTest_Report_DonarReportTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Report/LoggingReportTest.php b/tests/phpunit/WebTest/Report/LoggingReportTest.php index 49f28ec3f5..c52c9c8054 100644 --- a/tests/phpunit/WebTest/Report/LoggingReportTest.php +++ b/tests/phpunit/WebTest/Report/LoggingReportTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Report_LoggingReportTest + */ class WebTest_Report_LoggingReportTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/WebTest/Report/RolePermissionReportTest.php b/tests/phpunit/WebTest/Report/RolePermissionReportTest.php index a1c423a7e6..01f5b96ce9 100644 --- a/tests/phpunit/WebTest/Report/RolePermissionReportTest.php +++ b/tests/phpunit/WebTest/Report/RolePermissionReportTest.php @@ -25,6 +25,10 @@ */ require_once 'CiviTest/CiviSeleniumTestCase.php'; + +/** + * Class WebTest_Report_RolePermissionReportTest + */ class WebTest_Report_RolePermissionReportTest extends CiviSeleniumTestCase { protected function setUp() { diff --git a/tests/phpunit/api/v3/CampaignTest.php b/tests/phpunit/api/v3/CampaignTest.php index 8334c8be58..9d12f3bac1 100644 --- a/tests/phpunit/api/v3/CampaignTest.php +++ b/tests/phpunit/api/v3/CampaignTest.php @@ -27,6 +27,10 @@ require_once 'CiviTest/CiviUnitTestCase.php'; + +/** + * Class api_v3_CampaignTest + */ class api_v3_CampaignTest extends CiviUnitTestCase { protected $_apiversion; protected $params; diff --git a/tests/phpunit/api/v3/CaseTypeTest.php b/tests/phpunit/api/v3/CaseTypeTest.php index 22121be9ec..9aaf3b5383 100644 --- a/tests/phpunit/api/v3/CaseTypeTest.php +++ b/tests/phpunit/api/v3/CaseTypeTest.php @@ -26,6 +26,10 @@ */ require_once 'CiviTest/CiviUnitTestCase.php'; + +/** + * Class api_v3_CaseTypeTest + */ class api_v3_CaseTypeTest extends CiviUnitTestCase { protected $_apiversion = 3; diff --git a/tests/phpunit/api/v3/CustomValueTest.php b/tests/phpunit/api/v3/CustomValueTest.php index c841926fbe..6783169926 100644 --- a/tests/phpunit/api/v3/CustomValueTest.php +++ b/tests/phpunit/api/v3/CustomValueTest.php @@ -26,6 +26,10 @@ */ require_once 'CiviTest/CiviUnitTestCase.php'; + +/** + * Class api_v3_CustomValueTest + */ class api_v3_CustomValueTest extends CiviUnitTestCase { protected $_apiversion =3; protected $individual; diff --git a/tests/phpunit/api/v3/EmailTest.php b/tests/phpunit/api/v3/EmailTest.php index 8861b81b2f..347c8ee5f1 100644 --- a/tests/phpunit/api/v3/EmailTest.php +++ b/tests/phpunit/api/v3/EmailTest.php @@ -26,6 +26,10 @@ */ require_once 'CiviTest/CiviUnitTestCase.php'; + +/** + * Class api_v3_EmailTest + */ class api_v3_EmailTest extends CiviUnitTestCase { protected $_apiversion; protected $_contactID; diff --git a/tests/phpunit/api/v3/EventTest.php b/tests/phpunit/api/v3/EventTest.php index 6f8191577a..0bead9fd38 100644 --- a/tests/phpunit/api/v3/EventTest.php +++ b/tests/phpunit/api/v3/EventTest.php @@ -28,6 +28,10 @@ require_once 'CiviTest/CiviUnitTestCase.php'; + +/** + * Class api_v3_EventTest + */ class api_v3_EventTest extends CiviUnitTestCase { protected $_params; protected $_apiversion; diff --git a/tests/phpunit/api/v3/GroupContactTest.php b/tests/phpunit/api/v3/GroupContactTest.php index 28427ad8c5..9f931f3ab0 100644 --- a/tests/phpunit/api/v3/GroupContactTest.php +++ b/tests/phpunit/api/v3/GroupContactTest.php @@ -28,6 +28,10 @@ require_once 'CiviTest/CiviUnitTestCase.php'; + +/** + * Class api_v3_GroupContactTest + */ class api_v3_GroupContactTest extends CiviUnitTestCase { protected $_contactId; diff --git a/tests/phpunit/api/v3/LineItemTest.php b/tests/phpunit/api/v3/LineItemTest.php index 3cd1597a0f..96f1b1b052 100644 --- a/tests/phpunit/api/v3/LineItemTest.php +++ b/tests/phpunit/api/v3/LineItemTest.php @@ -26,6 +26,10 @@ */ require_once 'CiviTest/CiviUnitTestCase.php'; + +/** + * Class api_v3_LineItemTest + */ class api_v3_LineItemTest extends CiviUnitTestCase { protected $_apiversion = 3; protected $testAmount = 34567; diff --git a/tests/phpunit/api/v3/LocBlockTest.php b/tests/phpunit/api/v3/LocBlockTest.php index 2d2fdfe538..2cbe617c33 100644 --- a/tests/phpunit/api/v3/LocBlockTest.php +++ b/tests/phpunit/api/v3/LocBlockTest.php @@ -26,6 +26,10 @@ */ require_once 'CiviTest/CiviUnitTestCase.php'; + +/** + * Class api_v3_LocBlockTest + */ class api_v3_LocBlockTest extends CiviUnitTestCase { protected $_apiversion = 3; protected $_entity = 'loc_block'; diff --git a/tests/phpunit/api/v3/MailSettingsTest.php b/tests/phpunit/api/v3/MailSettingsTest.php index c16326f6e1..04ccef0ff1 100644 --- a/tests/phpunit/api/v3/MailSettingsTest.php +++ b/tests/phpunit/api/v3/MailSettingsTest.php @@ -27,6 +27,10 @@ */ require_once 'CiviTest/CiviUnitTestCase.php'; + +/** + * Class api_v3_MailSettingsTest + */ class api_v3_MailSettingsTest extends CiviUnitTestCase { protected $_apiversion = 3; protected $params; diff --git a/tests/phpunit/api/v3/MembershipStatusTest.php b/tests/phpunit/api/v3/MembershipStatusTest.php index a6ad472de0..9343bb4b9e 100644 --- a/tests/phpunit/api/v3/MembershipStatusTest.php +++ b/tests/phpunit/api/v3/MembershipStatusTest.php @@ -26,6 +26,10 @@ */ require_once 'CiviTest/CiviUnitTestCase.php'; + +/** + * Class api_v3_MembershipStatusTest + */ class api_v3_MembershipStatusTest extends CiviUnitTestCase { protected $_contactID; diff --git a/tests/phpunit/api/v3/MembershipTypeTest.php b/tests/phpunit/api/v3/MembershipTypeTest.php index 17c5a06c99..1ccf3be47f 100644 --- a/tests/phpunit/api/v3/MembershipTypeTest.php +++ b/tests/phpunit/api/v3/MembershipTypeTest.php @@ -27,6 +27,10 @@ */ require_once 'CiviTest/CiviUnitTestCase.php'; + +/** + * Class api_v3_MembershipTypeTest + */ class api_v3_MembershipTypeTest extends CiviUnitTestCase { protected $_contactID; protected $_contributionTypeID; diff --git a/tests/phpunit/api/v3/OptionGroupTest.php b/tests/phpunit/api/v3/OptionGroupTest.php index b02e7e360a..3b243e91b5 100644 --- a/tests/phpunit/api/v3/OptionGroupTest.php +++ b/tests/phpunit/api/v3/OptionGroupTest.php @@ -26,6 +26,10 @@ */ require_once 'CiviTest/CiviUnitTestCase.php'; + +/** + * Class api_v3_OptionGroupTest + */ class api_v3_OptionGroupTest extends CiviUnitTestCase { protected $_apiversion = 3; diff --git a/tests/phpunit/api/v3/OptionValueTest.php b/tests/phpunit/api/v3/OptionValueTest.php index 6c8fd30e69..42382265f3 100644 --- a/tests/phpunit/api/v3/OptionValueTest.php +++ b/tests/phpunit/api/v3/OptionValueTest.php @@ -27,6 +27,9 @@ require_once 'CiviTest/CiviUnitTestCase.php'; +/** + * Class api_v3_OptionValueTest + */ class api_v3_OptionValueTest extends CiviUnitTestCase { protected $_apiversion = 3; @@ -317,4 +320,4 @@ class api_v3_OptionValueTest extends CiviUnitTestCase { )); $this->assertEquals($val, 0, "update with group id is not proper " . __LINE__); } -} \ No newline at end of file +} diff --git a/tests/phpunit/api/v3/ParticipantStatusTypeTest.php b/tests/phpunit/api/v3/ParticipantStatusTypeTest.php index 847565e7e2..4293b2e7c4 100644 --- a/tests/phpunit/api/v3/ParticipantStatusTypeTest.php +++ b/tests/phpunit/api/v3/ParticipantStatusTypeTest.php @@ -27,6 +27,10 @@ */ require_once 'CiviTest/CiviUnitTestCase.php'; + +/** + * Class api_v3_ParticipantStatusTypeTest + */ class api_v3_ParticipantStatusTypeTest extends CiviUnitTestCase { protected $_apiversion; protected $params; diff --git a/tests/phpunit/api/v3/PriceFieldTest.php b/tests/phpunit/api/v3/PriceFieldTest.php index 7297abe93e..c799cbf3f1 100644 --- a/tests/phpunit/api/v3/PriceFieldTest.php +++ b/tests/phpunit/api/v3/PriceFieldTest.php @@ -26,6 +26,10 @@ */ require_once 'CiviTest/CiviUnitTestCase.php'; + +/** + * Class api_v3_PriceFieldTest + */ class api_v3_PriceFieldTest extends CiviUnitTestCase { protected $_apiversion = 3; protected $_params; diff --git a/tests/phpunit/api/v3/PriceFieldValueTest.php b/tests/phpunit/api/v3/PriceFieldValueTest.php index 342c2738c9..60459cf968 100644 --- a/tests/phpunit/api/v3/PriceFieldValueTest.php +++ b/tests/phpunit/api/v3/PriceFieldValueTest.php @@ -27,6 +27,10 @@ */ require_once 'CiviTest/CiviUnitTestCase.php'; + +/** + * Class api_v3_PriceFieldValueTest + */ class api_v3_PriceFieldValueTest extends CiviUnitTestCase { protected $_apiversion = 3; protected $_params; diff --git a/tests/phpunit/api/v3/PriceSetTest.php b/tests/phpunit/api/v3/PriceSetTest.php index 051143c537..99e7a1315a 100644 --- a/tests/phpunit/api/v3/PriceSetTest.php +++ b/tests/phpunit/api/v3/PriceSetTest.php @@ -27,6 +27,10 @@ */ require_once 'CiviTest/CiviUnitTestCase.php'; + +/** + * Class api_v3_PriceSetTest + */ class api_v3_PriceSetTest extends CiviUnitTestCase { protected $_apiversion = 3; protected $_params; diff --git a/tests/phpunit/api/v3/ProductTest.php b/tests/phpunit/api/v3/ProductTest.php index a1c9dcc417..b5e47ed176 100644 --- a/tests/phpunit/api/v3/ProductTest.php +++ b/tests/phpunit/api/v3/ProductTest.php @@ -27,6 +27,9 @@ require_once 'CiviTest/CiviUnitTestCase.php'; +/** + * Class api_v3_ProductTest + */ class api_v3_ProductTest extends CiviUnitTestCase { protected $_apiversion = 3; protected $_params; diff --git a/tests/phpunit/api/v3/SurveyRespondantTest.php b/tests/phpunit/api/v3/SurveyRespondantTest.php index 944555e283..e922fcd857 100644 --- a/tests/phpunit/api/v3/SurveyRespondantTest.php +++ b/tests/phpunit/api/v3/SurveyRespondantTest.php @@ -27,6 +27,9 @@ require_once 'CiviTest/CiviUnitTestCase.php'; +/** + * Class api_v3_SurveyRespondantTest + */ class api_v3_SurveyRespondantTest extends CiviUnitTestCase { protected $_apiversion =3; protected $params; -- 2.25.1