From b85bbd0dcfd22c2ac48decc270ea1f3b220c5077 Mon Sep 17 00:00:00 2001 From: mark_story Date: Mon, 21 Jun 2010 21:56:31 -0400 Subject: [PATCH] Porting localization group to phpunit. --- .../cases/libs/all_localization.test.php | 44 ++++++++++++++++ cake/tests/groups/i18n.group.php | 50 ------------------- 2 files changed, 44 insertions(+), 50 deletions(-) create mode 100644 cake/tests/cases/libs/all_localization.test.php delete mode 100644 cake/tests/groups/i18n.group.php diff --git a/cake/tests/cases/libs/all_localization.test.php b/cake/tests/cases/libs/all_localization.test.php new file mode 100644 index 000000000..ce7d0cc95 --- /dev/null +++ b/cake/tests/cases/libs/all_localization.test.php @@ -0,0 +1,44 @@ +addTestFile(CORE_TEST_CASES . DS . 'libs' . DS . 'i18n.test.php'); + $suite->addTestFile(CORE_TEST_CASES . DS . 'libs' . DS . 'l10n.test.php'); + $suite->addTestFile(CORE_TEST_CASES . DS . 'libs' . DS . 'multibyte.test.php'); + return $suite; + } +} diff --git a/cake/tests/groups/i18n.group.php b/cake/tests/groups/i18n.group.php deleted file mode 100644 index 3ad925929..000000000 --- a/cake/tests/groups/i18n.group.php +++ /dev/null @@ -1,50 +0,0 @@ - - * Copyright 2005-2009, Cake Software Foundation, Inc. (http://cakefoundation.org) - * - * Licensed under The Open Group Test Suite License - * Redistributions of files must retain the above copyright notice. - * - * @copyright Copyright 2005-2009, Cake Software Foundation, Inc. (http://cakefoundation.org) - * @link http://book.cakephp.org/view/1196/Testing CakePHP(tm) Tests - * @package cake - * @subpackage cake.tests.groups - * @since CakePHP(tm) v 1.3 - * @license http://www.opensource.org/licenses/opengroup.php The Open Group Test Suite License - */ - -/** - * i18nGroupTest class - * - * This test group will run all tests related to i18n/l10n and multibyte - * - * @package cake - * @subpackage cake.tests.groups - */ -class i18nGroupTest extends TestSuite { - -/** - * label property - * - * @var string - * @access public - */ - public $label = 'i18n, l10n and multibyte tests'; - -/** - * LibGroupTest method - * - * @access public - * @return void - */ - function i18nGroupTest() { - TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'i18n'); - TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'l10n'); - TestManager::addTestFile($this, CORE_TEST_CASES . DS . 'libs' . DS . 'multibyte'); - } -}