From 4a4e6a3257be76e3c3baa98b1d1ef1663a037a1a Mon Sep 17 00:00:00 2001 From: eileen Date: Fri, 26 Jul 2013 16:51:19 +1200 Subject: [PATCH] CRM-13072 mark tests not enotice compliant --- tests/phpunit/CRM/Extension/Manager/ModuleTest.php | 4 ++++ tests/phpunit/CRM/Extension/Manager/PaymentTest.php | 4 ++++ tests/phpunit/CRM/Member/BAO/MembershipTest.php | 4 ++++ tests/phpunit/CRM/UF/Page/ProfileEditorTest.php | 4 ++++ tests/phpunit/CRM/Utils/ArrayTest.php | 4 ++++ tests/phpunit/CRM/Utils/DeprecatedUtilsTest.php | 4 ++++ tests/phpunit/CRM/Utils/StringTest.php | 4 ++++ 7 files changed, 28 insertions(+) diff --git a/tests/phpunit/CRM/Extension/Manager/ModuleTest.php b/tests/phpunit/CRM/Extension/Manager/ModuleTest.php index b777b65387..beb23c69d2 100644 --- a/tests/phpunit/CRM/Extension/Manager/ModuleTest.php +++ b/tests/phpunit/CRM/Extension/Manager/ModuleTest.php @@ -3,6 +3,10 @@ require_once 'CiviTest/CiviUnitTestCase.php'; class CRM_Extension_Manager_ModuleTest extends CiviUnitTestCase { + //@todo make BAO enotice compliant & remove the line below + // WARNING - NEVER COPY & PASTE $_eNoticeCompliant = FALSE + // new test classes should be compliant. + public $_eNoticeCompliant = FALSE; function setUp() { parent::setUp(); // $query = "INSERT INTO civicrm_domain ( name, version ) VALUES ( 'domain', 3 )"; diff --git a/tests/phpunit/CRM/Extension/Manager/PaymentTest.php b/tests/phpunit/CRM/Extension/Manager/PaymentTest.php index 5d47746251..e1caf2575c 100644 --- a/tests/phpunit/CRM/Extension/Manager/PaymentTest.php +++ b/tests/phpunit/CRM/Extension/Manager/PaymentTest.php @@ -27,6 +27,10 @@ require_once 'CiviTest/CiviUnitTestCase.php'; class CRM_Extension_Manager_PaymentTest extends CiviUnitTestCase { + //@todo make BAO enotice compliant & remove the line below + // WARNING - NEVER COPY & PASTE $_eNoticeCompliant = FALSE + // new test classes should be compliant. + public $_eNoticeCompliant = FALSE; function setUp() { parent::setUp(); if (class_exists('test_extension_manager_paymenttest')) { diff --git a/tests/phpunit/CRM/Member/BAO/MembershipTest.php b/tests/phpunit/CRM/Member/BAO/MembershipTest.php index 89fcae69a1..d5aedbec50 100644 --- a/tests/phpunit/CRM/Member/BAO/MembershipTest.php +++ b/tests/phpunit/CRM/Member/BAO/MembershipTest.php @@ -34,6 +34,10 @@ require_once 'CiviTest/Membership.php'; require_once 'CRM/Core/Controller.php'; class CRM_Member_BAO_MembershipTest extends CiviUnitTestCase { + //@todo make BAO enotice compliant & remove the line below + // WARNING - NEVER COPY & PASTE $_eNoticeCompliant = FALSE + // new test classes should be compliant. + public $_eNoticeCompliant = FALSE; function get_info() { return array( 'name' => 'Membership BAOs', diff --git a/tests/phpunit/CRM/UF/Page/ProfileEditorTest.php b/tests/phpunit/CRM/UF/Page/ProfileEditorTest.php index 3224e149b0..f8b4094ff8 100644 --- a/tests/phpunit/CRM/UF/Page/ProfileEditorTest.php +++ b/tests/phpunit/CRM/UF/Page/ProfileEditorTest.php @@ -2,6 +2,10 @@ require_once 'CiviTest/CiviUnitTestCase.php'; class CRM_UF_Page_ProfileEditorTest extends CiviUnitTestCase { + //@todo make BAO enotice compliant & remove the line below + // WARNING - NEVER COPY & PASTE $_eNoticeCompliant = FALSE + // new test classes should be compliant. + public $_eNoticeCompliant = FALSE; function setUp() { parent::setUp(); } diff --git a/tests/phpunit/CRM/Utils/ArrayTest.php b/tests/phpunit/CRM/Utils/ArrayTest.php index 8b2509f2fa..23ccaf1dae 100644 --- a/tests/phpunit/CRM/Utils/ArrayTest.php +++ b/tests/phpunit/CRM/Utils/ArrayTest.php @@ -1,6 +1,10 @@ 'String Test', -- 2.25.1