svnno****@sourc*****
svnno****@sourc*****
2009年 8月 26日 (水) 03:24:02 JST
Revision: 3484 http://sourceforge.jp/projects/jiemamy/svn/view?view=rev&revision=3484 Author: daisuke_m Date: 2009-08-26 03:24:02 +0900 (Wed, 26 Aug 2009) Log Message: ----------- typo修正。 Modified Paths: -------------- artemis/trunk/jiemamy-artemis-test/src/test/java/org/jiemamy/DatabaseTest.java Modified: artemis/trunk/jiemamy-artemis-test/src/test/java/org/jiemamy/DatabaseTest.java =================================================================== --- artemis/trunk/jiemamy-artemis-test/src/test/java/org/jiemamy/DatabaseTest.java 2009-08-25 03:36:03 UTC (rev 3483) +++ artemis/trunk/jiemamy-artemis-test/src/test/java/org/jiemamy/DatabaseTest.java 2009-08-25 18:24:02 UTC (rev 3484) @@ -86,7 +86,7 @@ private static Logger logger = LoggerFactory.getLogger(DatabaseTest.class); - private static final Validator ALL_CALIDATOR = new AllValidator(); + private static final Validator ALL_VALIDATOR = new AllValidator(); /** テスト結果の参考ファイル配置パス */ private static final String OUTPUT_PATH = "./target/databasetest/"; @@ -148,7 +148,7 @@ applyModelToDatabase(testDatabase, jiemamy); Jiemamy jiemamy2 = readDatabase(testDatabase); - Collection<Problem> problems = ALL_CALIDATOR.validate(jiemamy2.getFactory().getRootModel()); + Collection<Problem> problems = ALL_VALIDATOR.validate(jiemamy2.getFactory().getRootModel()); assertThat(problems.toString(), ValidatorUtil.sizeOf(problems, Severity.ERROR), is(0)); // TODO jiemamy と jiemamy2 の比較アサーション @@ -194,7 +194,7 @@ applyModelToDatabase(testDatabase, jiemamy); Jiemamy jiemamy2 = readDatabase(testDatabase); - Collection<Problem> problems = ALL_CALIDATOR.validate(jiemamy2.getFactory().getRootModel()); + Collection<Problem> problems = ALL_VALIDATOR.validate(jiemamy2.getFactory().getRootModel()); assertThat(problems.toString(), ValidatorUtil.sizeOf(problems, Severity.ERROR), is(0)); // TODO jiemamy と jiemamy2 の比較アサーション @@ -233,7 +233,7 @@ // xml1 -> rootModel1 RootModel rootModel1 = convertXmlToRootModel(xml1, serializer1); - Collection<Problem> problem1 = ALL_CALIDATOR.validate(rootModel1); + Collection<Problem> problem1 = ALL_VALIDATOR.validate(rootModel1); for (Problem problem : problem1) { logger.error(problem.getMessage()); } @@ -243,7 +243,7 @@ // xml1 -> rootModel2 RootModel rootModel2 = convertXmlToRootModel(xml2, serializer2); - Collection<Problem> problem2 = ALL_CALIDATOR.validate(rootModel2); + Collection<Problem> problem2 = ALL_VALIDATOR.validate(rootModel2); // 参考のため、targetディレクトリに出力XMLを記録 FileUtils.writeStringToFile(new File(OUTPUT_PATH + "test03_" + baseName + "_xml1.xml"), xml1,