CRM-12622 - Report testing - Multiple fixes/enhancements:
authorTim Otten <totten@civicrm.org>
Tue, 30 Jul 2013 05:18:11 +0000 (22:18 -0700)
committerTim Otten <totten@civicrm.org>
Tue, 30 Jul 2013 05:18:11 +0000 (22:18 -0700)
commit2d71e99f321ded7a1424d32cbdbdcb03d4410f6e
tree1e2f569e2df2999fc9f6304e766bed961fbe1268
parent5c2e58ae6de9a0f13cb65d0f4bd6fa8cca12aeb7
CRM-12622 - Report testing - Multiple fixes/enhancements:

 * Use only non-international (ASCII) characters. The international characters break when executing multiple tests.
 * Drop temporary tables created by Contribute/Detail report. They break when executing multiple tess.
 * Add positive and negative test cases to CRM_Report_Form_TestCaseTest. The tests evolved originally within DetailTest, but tey look redundant/silly in DetailTest. Put them in a new class where it's clearer that we're testing the framework (and DetailTest is just an example)

----------------------------------------
* CRM-12622: Create framework for example report data files
  http://issues.civicrm.org/jira/browse/CRM-12622
tests/phpunit/CRM/Report/Form/Contribute/DetailTest.php
tests/phpunit/CRM/Report/Form/Contribute/fixtures/dataset-ascii.sql [new file with mode: 0644]
tests/phpunit/CRM/Report/Form/Contribute/fixtures/report-ascii.csv [new file with mode: 0644]
tests/phpunit/CRM/Report/Form/TestCaseTest.php [new file with mode: 0644]
tests/phpunit/CiviTest/CiviReportTestCase.php