浏览代码

Remove LC_MESSAGES folder from tests.

ADmad 11 年之前
父节点
当前提交
c200bc0ba3
共有 28 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      tests/TestCase/I18n/Parser/MoFileParserTest.php
  2. 0 0
      tests/test_app/TestApp/Locale/rule_10_mo/core.mo
  3. 0 0
      tests/test_app/TestApp/Locale/rule_10_mo/default.mo
  4. 0 0
      tests/test_app/TestApp/Locale/rule_11_mo/core.mo
  5. 0 0
      tests/test_app/TestApp/Locale/rule_11_mo/default.mo
  6. 0 0
      tests/test_app/TestApp/Locale/rule_12_mo/core.mo
  7. 0 0
      tests/test_app/TestApp/Locale/rule_12_mo/default.mo
  8. 0 0
      tests/test_app/TestApp/Locale/rule_13_mo/core.mo
  9. 0 0
      tests/test_app/TestApp/Locale/rule_13_mo/default.mo
  10. 0 0
      tests/test_app/TestApp/Locale/rule_14_mo/core.mo
  11. 0 0
      tests/test_app/TestApp/Locale/rule_14_mo/default.mo
  12. 0 0
      tests/test_app/TestApp/Locale/rule_1_mo/core.mo
  13. 0 0
      tests/test_app/TestApp/Locale/rule_1_mo/default.mo
  14. 0 0
      tests/test_app/TestApp/Locale/rule_2_mo/core.mo
  15. 0 0
      tests/test_app/TestApp/Locale/rule_2_mo/default.mo
  16. 0 0
      tests/test_app/TestApp/Locale/rule_3_mo/core.mo
  17. 0 0
      tests/test_app/TestApp/Locale/rule_3_mo/default.mo
  18. 0 0
      tests/test_app/TestApp/Locale/rule_4_mo/core.mo
  19. 0 0
      tests/test_app/TestApp/Locale/rule_4_mo/default.mo
  20. 0 0
      tests/test_app/TestApp/Locale/rule_5_mo/core.mo
  21. 0 0
      tests/test_app/TestApp/Locale/rule_5_mo/default.mo
  22. 0 0
      tests/test_app/TestApp/Locale/rule_6_mo/core.mo
  23. 0 0
      tests/test_app/TestApp/Locale/rule_7_mo/core.mo
  24. 0 0
      tests/test_app/TestApp/Locale/rule_7_mo/default.mo
  25. 0 0
      tests/test_app/TestApp/Locale/rule_8_mo/core.mo
  26. 0 0
      tests/test_app/TestApp/Locale/rule_8_mo/default.mo
  27. 0 0
      tests/test_app/TestApp/Locale/rule_9_mo/core.mo
  28. 0 0
      tests/test_app/TestApp/Locale/rule_9_mo/default.mo

+ 2 - 2
tests/TestCase/I18n/Parser/MoFileParserTest.php

@@ -30,7 +30,7 @@ class MoFileParserTest extends TestCase {
  */
 	public function testParse() {
 		$parser = new MoFileParser;
-		$file = APP . 'Locale' . DS . 'rule_1_mo' . DS . 'LC_MESSAGES' . DS . 'core.mo';
+		$file = APP . 'Locale' . DS . 'rule_1_mo' . DS . 'core.mo';
 		$messages = $parser->parse($file);
 		$this->assertCount(3, $messages);
 		$expected = [
@@ -51,7 +51,7 @@ class MoFileParserTest extends TestCase {
  */
 	public function testParse2() {
 		$parser = new MoFileParser;
-		$file = APP . 'Locale' . DS . 'rule_9_mo' . DS . 'LC_MESSAGES' . DS . 'core.mo';
+		$file = APP . 'Locale' . DS . 'rule_9_mo' . DS . 'core.mo';
 		$messages = $parser->parse($file);
 		$this->assertCount(3, $messages);
 		$expected = [

tests/test_app/TestApp/Locale/rule_10_mo/LC_MESSAGES/core.mo → tests/test_app/TestApp/Locale/rule_10_mo/core.mo


tests/test_app/TestApp/Locale/rule_10_mo/LC_MESSAGES/default.mo → tests/test_app/TestApp/Locale/rule_10_mo/default.mo


tests/test_app/TestApp/Locale/rule_11_mo/LC_MESSAGES/core.mo → tests/test_app/TestApp/Locale/rule_11_mo/core.mo


tests/test_app/TestApp/Locale/rule_11_mo/LC_MESSAGES/default.mo → tests/test_app/TestApp/Locale/rule_11_mo/default.mo


tests/test_app/TestApp/Locale/rule_12_mo/LC_MESSAGES/core.mo → tests/test_app/TestApp/Locale/rule_12_mo/core.mo


tests/test_app/TestApp/Locale/rule_12_mo/LC_MESSAGES/default.mo → tests/test_app/TestApp/Locale/rule_12_mo/default.mo


tests/test_app/TestApp/Locale/rule_13_mo/LC_MESSAGES/core.mo → tests/test_app/TestApp/Locale/rule_13_mo/core.mo


tests/test_app/TestApp/Locale/rule_13_mo/LC_MESSAGES/default.mo → tests/test_app/TestApp/Locale/rule_13_mo/default.mo


tests/test_app/TestApp/Locale/rule_14_mo/LC_MESSAGES/core.mo → tests/test_app/TestApp/Locale/rule_14_mo/core.mo


tests/test_app/TestApp/Locale/rule_14_mo/LC_MESSAGES/default.mo → tests/test_app/TestApp/Locale/rule_14_mo/default.mo


tests/test_app/TestApp/Locale/rule_1_mo/LC_MESSAGES/core.mo → tests/test_app/TestApp/Locale/rule_1_mo/core.mo


tests/test_app/TestApp/Locale/rule_1_mo/LC_MESSAGES/default.mo → tests/test_app/TestApp/Locale/rule_1_mo/default.mo


tests/test_app/TestApp/Locale/rule_2_mo/LC_MESSAGES/core.mo → tests/test_app/TestApp/Locale/rule_2_mo/core.mo


tests/test_app/TestApp/Locale/rule_2_mo/LC_MESSAGES/default.mo → tests/test_app/TestApp/Locale/rule_2_mo/default.mo


tests/test_app/TestApp/Locale/rule_3_mo/LC_MESSAGES/core.mo → tests/test_app/TestApp/Locale/rule_3_mo/core.mo


tests/test_app/TestApp/Locale/rule_3_mo/LC_MESSAGES/default.mo → tests/test_app/TestApp/Locale/rule_3_mo/default.mo


tests/test_app/TestApp/Locale/rule_4_mo/LC_MESSAGES/core.mo → tests/test_app/TestApp/Locale/rule_4_mo/core.mo


tests/test_app/TestApp/Locale/rule_4_mo/LC_MESSAGES/default.mo → tests/test_app/TestApp/Locale/rule_4_mo/default.mo


tests/test_app/TestApp/Locale/rule_5_mo/LC_MESSAGES/core.mo → tests/test_app/TestApp/Locale/rule_5_mo/core.mo


tests/test_app/TestApp/Locale/rule_5_mo/LC_MESSAGES/default.mo → tests/test_app/TestApp/Locale/rule_5_mo/default.mo


tests/test_app/TestApp/Locale/rule_6_mo/LC_MESSAGES/core.mo → tests/test_app/TestApp/Locale/rule_6_mo/core.mo


tests/test_app/TestApp/Locale/rule_7_mo/LC_MESSAGES/core.mo → tests/test_app/TestApp/Locale/rule_7_mo/core.mo


tests/test_app/TestApp/Locale/rule_7_mo/LC_MESSAGES/default.mo → tests/test_app/TestApp/Locale/rule_7_mo/default.mo


tests/test_app/TestApp/Locale/rule_8_mo/LC_MESSAGES/core.mo → tests/test_app/TestApp/Locale/rule_8_mo/core.mo


tests/test_app/TestApp/Locale/rule_8_mo/LC_MESSAGES/default.mo → tests/test_app/TestApp/Locale/rule_8_mo/default.mo


tests/test_app/TestApp/Locale/rule_9_mo/LC_MESSAGES/core.mo → tests/test_app/TestApp/Locale/rule_9_mo/core.mo


tests/test_app/TestApp/Locale/rule_9_mo/LC_MESSAGES/default.mo → tests/test_app/TestApp/Locale/rule_9_mo/default.mo