CiviTest - Remove & don't generate truncate*.xml
authorTim Otten <totten@civicrm.org>
Tue, 20 May 2014 20:02:24 +0000 (13:02 -0700)
committerTim Otten <totten@civicrm.org>
Tue, 20 May 2014 20:02:24 +0000 (13:02 -0700)
These files don't appear to be used:
 * A quick grep for "truncate.xml" (etal) doesn't find any matches
 * Munging or deleting the file doesn't yield any new errors when running a test-suite (CRM_Core_AllTests)

CRM/Core/CodeGen/Main.php
tests/phpunit/CiviTest/truncate-option.xml [deleted file]
tests/phpunit/CiviTest/truncate-tag.xml [deleted file]
tests/phpunit/CiviTest/truncate-ufgroup.xml [deleted file]
tests/phpunit/CiviTest/truncate.xml [deleted file]

index a5d85822bbca9973be0965026c422757c16fe2b2..99ee7417ebad737e4296a795edaa2eaf1260433b 100644 (file)
@@ -116,7 +116,7 @@ Alternatively you can get a version of CiviCRM that matches your PHP version
       'CRM_Core_CodeGen_Reflection',
       'CRM_Core_CodeGen_Schema',
       'CRM_Core_CodeGen_DAO',
-      'CRM_Core_CodeGen_Test',
+      //'CRM_Core_CodeGen_Test',
       'CRM_Core_CodeGen_I18n',
     );
     return $components;
diff --git a/tests/phpunit/CiviTest/truncate-option.xml b/tests/phpunit/CiviTest/truncate-option.xml
deleted file mode 100644 (file)
index aa2d231..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<!--  $Id: truncate.xml 23782 2009-09-24 06:33:03Z dgg $  -->
-<!--  Truncate all tables that will be used in the tests  -->
-<dataset>
-  <civicrm_option_value />
-  <civicrm_option_group />
-</dataset>
diff --git a/tests/phpunit/CiviTest/truncate-tag.xml b/tests/phpunit/CiviTest/truncate-tag.xml
deleted file mode 100644 (file)
index dc85c7e..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<!--  $Id: truncate.xml 23782 2009-09-24 06:33:03Z dgg $  -->
-<!--  Truncate all tables that will be used in the tests  -->
-<dataset>
-  <civicrm_tag />
-  <civicrm_entity_tag />
-</dataset>
diff --git a/tests/phpunit/CiviTest/truncate-ufgroup.xml b/tests/phpunit/CiviTest/truncate-ufgroup.xml
deleted file mode 100644 (file)
index 29ed6f1..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<!--  $Id: truncate.xml 23782 2009-09-24 06:33:03Z dgg $  -->
-<!--  Truncate all tables that will be used in the tests  -->
-<dataset>
-  <civicrm_group />
-  <civicrm_contact />
-  <civicrm_uf_group />
-  <civicrm_uf_join />
-  <civicrm_uf_group />
-  <civicrm_uf_match />
-</dataset>
diff --git a/tests/phpunit/CiviTest/truncate.xml b/tests/phpunit/CiviTest/truncate.xml
deleted file mode 100644 (file)
index cf09afe..0000000
+++ /dev/null
@@ -1,297 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-        <!--  Truncate all tables that will be used in the tests  -->
-        <dataset>
-  <civicrm_address_format />
-
-  <civicrm_extension />
-
-  <civicrm_file />
-
-  <civicrm_location_type />
-
-  <civicrm_managed />
-
-  <civicrm_mapping />
-
-  <civicrm_msg_template />
-
-  <civicrm_option_group />
-
-  <civicrm_preferences_date />
-
-  <civicrm_system_log />
-
-  <civicrm_worldregion />
-
-  <civicrm_component />
-
-  <civicrm_persistent />
-
-  <civicrm_prevnext_cache />
-
-  <civicrm_action_mapping />
-
-  <civicrm_acl />
-
-  <civicrm_acl_entity_role />
-
-  <civicrm_contact />
-
-  <civicrm_acl_contact_cache />
-
-  <civicrm_relationship_type />
-
-  <civicrm_saved_search />
-
-  <civicrm_contact_type />
-
-  <civicrm_batch />
-
-  <civicrm_entity_batch />
-
-  <civicrm_mailing_component />
-
-  <civicrm_mailing_bounce_type />
-
-  <civicrm_mailing_bounce_pattern />
-
-  <civicrm_premiums />
-
-  <civicrm_currency />
-
-  <civicrm_financial_account />
-
-  <civicrm_payment_processor_type />
-
-  <civicrm_financial_type />
-
-  <civicrm_entity_financial_account />
-
-  <civicrm_financial_item />
-
-  <civicrm_sms_provider />
-
-  <civicrm_membership_status />
-
-  <civicrm_campaign />
-
-  <civicrm_campaign_group />
-
-  <civicrm_survey />
-
-  <civicrm_participant_status_type />
-
-  <civicrm_event_carts />
-
-  <civicrm_dedupe_rule_group />
-
-  <civicrm_dedupe_rule />
-
-  <civicrm_dedupe_exception />
-
-  <civicrm_case_type />
-
-  <civicrm_grant />
-
-  <civicrm_tell_friend />
-
-  <civicrm_pledge_block />
-
-  <civicrm_queue_item />
-
-  <civicrm_pcp />
-
-  <civicrm_cache />
-
-  <civicrm_country />
-
-  <civicrm_custom_group />
-
-  <civicrm_custom_field />
-
-  <civicrm_domain />
-
-  <civicrm_email />
-
-  <civicrm_entity_file />
-
-  <civicrm_im />
-
-  <civicrm_job />
-
-  <civicrm_job_log />
-
-  <civicrm_log />
-
-  <civicrm_mail_settings />
-
-  <civicrm_mapping_field />
-
-  <civicrm_menu />
-
-  <civicrm_navigation />
-
-  <civicrm_note />
-
-  <civicrm_option_value />
-
-  <civicrm_phone />
-
-  <civicrm_state_province />
-
-  <civicrm_tag />
-
-  <civicrm_uf_match />
-
-  <civicrm_timezone />
-
-  <civicrm_openid />
-
-  <civicrm_website />
-
-  <civicrm_setting />
-
-  <civicrm_print_label />
-
-  <civicrm_word_replacement />
-
-  <civicrm_acl_cache />
-
-  <civicrm_group />
-
-  <civicrm_subscription_history />
-
-  <civicrm_group_contact_cache />
-
-  <civicrm_group_nesting />
-
-  <civicrm_group_organization />
-
-  <civicrm_mailing />
-
-  <civicrm_mailing_group />
-
-  <civicrm_mailing_trackable_url />
-
-  <civicrm_mailing_job />
-
-  <civicrm_mailing_recipients />
-
-  <civicrm_mailing_spool />
-
-  <civicrm_mailing_event_queue />
-
-  <civicrm_mailing_event_bounce />
-
-  <civicrm_mailing_event_delivered />
-
-  <civicrm_mailing_event_forward />
-
-  <civicrm_mailing_event_opened />
-
-  <civicrm_mailing_event_reply />
-
-  <civicrm_mailing_event_subscribe />
-
-  <civicrm_mailing_event_confirm />
-
-  <civicrm_mailing_event_trackable_url_open />
-
-  <civicrm_mailing_event_unsubscribe />
-
-  <civicrm_contribution_page />
-
-  <civicrm_product />
-
-  <civicrm_premiums_product />
-
-  <civicrm_contribution_widget />
-
-  <civicrm_payment_processor />
-
-  <civicrm_membership_type />
-
-  <civicrm_membership_block />
-
-  <civicrm_case />
-
-  <civicrm_case_contact />
-
-  <civicrm_pledge />
-
-  <civicrm_report_instance />
-
-  <civicrm_price_set />
-
-  <civicrm_price_set_entity />
-
-  <civicrm_county />
-
-  <civicrm_dashboard />
-
-  <civicrm_discount />
-
-  <civicrm_entity_tag />
-
-  <civicrm_uf_group />
-
-  <civicrm_uf_field />
-
-  <civicrm_uf_join />
-
-  <civicrm_action_schedule />
-
-  <civicrm_action_log />
-
-  <civicrm_dashboard_contact />
-
-  <civicrm_relationship />
-
-  <civicrm_contribution_recur />
-
-  <civicrm_financial_trxn />
-
-  <civicrm_membership />
-
-  <civicrm_membership_log />
-
-  <civicrm_activity />
-
-  <civicrm_activity_contact />
-
-  <civicrm_case_activity />
-
-  <civicrm_price_field />
-
-  <civicrm_price_field_value />
-
-  <civicrm_line_item />
-
-  <civicrm_pcp_block />
-
-  <civicrm_address />
-
-  <civicrm_loc_block />
-
-  <civicrm_group_contact />
-
-  <civicrm_contribution />
-
-  <civicrm_contribution_product />
-
-  <civicrm_contribution_soft />
-
-  <civicrm_entity_financial_trxn />
-
-  <civicrm_membership_payment />
-
-  <civicrm_event />
-
-  <civicrm_participant />
-
-  <civicrm_participant_payment />
-
-  <civicrm_events_in_carts />
-
-  <civicrm_pledge_payment />
-</dataset>