Skip to content

Commit

Permalink
Porting localization group to phpunit.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Jun 22, 2010
1 parent e60f18e commit b85bbd0
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 50 deletions.
44 changes: 44 additions & 0 deletions cake/tests/cases/libs/all_localization.test.php
@@ -0,0 +1,44 @@
<?php
/**
* AllLocalizationTest file
*
* PHP 5
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* Redistributions of files must retain the above copyright notice.
*
* @copyright Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
* @link http://cakephp.org CakePHP(tm) Project
* @package cake
* @subpackage cake.tests.cases
* @since CakePHP(tm) v 2.0
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/

/**
* AllLocalizationTest class
*
* This test group will run i18n/l10n tests
*
* @package cake
* @subpackage cake.tests.cases
*/
class AllLocalizationTest extends PHPUnit_Framework_TestSuite {

/**
* suite method, defines tests for this suite.
*
* @return void
*/
public static function suite() {
$suite = new PHPUnit_Framework_TestSuite('All localization class tests');

$suite->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;
}
}
50 changes: 0 additions & 50 deletions cake/tests/groups/i18n.group.php

This file was deleted.

0 comments on commit b85bbd0

Please sign in to comment.