svnno****@sourc*****
svnno****@sourc*****
2009年 4月 8日 (水) 20:07:31 JST
Revision: 3191 http://svn.sourceforge.jp/view?root=jiemamy&view=rev&rev=3191 Author: j5ik2o Date: 2009-04-08 20:07:30 +0900 (Wed, 08 Apr 2009) Log Message: ----------- Docletをオフったのでコメントのassertもコメントに。 Modified Paths: -------------- charon/jiemamy-jpa-importer/trunk/src/test/java/org/jiemamy/composer/importer/meta/impl/EntityMetaReaderImplTest.java -------------- next part -------------- Modified: charon/jiemamy-jpa-importer/trunk/src/test/java/org/jiemamy/composer/importer/meta/impl/EntityMetaReaderImplTest.java =================================================================== --- charon/jiemamy-jpa-importer/trunk/src/test/java/org/jiemamy/composer/importer/meta/impl/EntityMetaReaderImplTest.java 2009-04-08 11:03:24 UTC (rev 3190) +++ charon/jiemamy-jpa-importer/trunk/src/test/java/org/jiemamy/composer/importer/meta/impl/EntityMetaReaderImplTest.java 2009-04-08 11:07:30 UTC (rev 3191) @@ -33,8 +33,6 @@ import org.jiemamy.composer.importer.meta.EntityMeta; import org.jiemamy.composer.importer.meta.EntityMetaReader; import org.jiemamy.composer.importer.meta.EntityMetaReaderContext; -import org.jiemamy.composer.importer.meta.EntityMetaUtil; -import org.jiemamy.composer.importer.meta.PropertyMetaUtil; import org.jiemamy.composer.importer.meta.RelationshipType; import org.jiemamy.utils.CollectionsUtil; @@ -82,6 +80,7 @@ assertThat(em.getPropertyMeta("depertmentId"), is(notNullValue())); assertThat(em.getPropertyMeta("depertmentName"), is(notNullValue())); assertThat(em.getPropertyMeta("version"), is(notNullValue())); + /* // comment null check assertThat(EntityMetaUtil.getComment(em), is(notNullValue())); assertThat(PropertyMetaUtil.getComment(em.getPropertyMeta("depertmentId")), is(notNullValue())); @@ -92,6 +91,7 @@ assertThat(PropertyMetaUtil.getComment(em.getPropertyMeta("depertmentId")), is("部署ID")); assertThat(PropertyMetaUtil.getComment(em.getPropertyMeta("depertmentName")), is("部署名")); assertThat(PropertyMetaUtil.getComment(em.getPropertyMeta("version")), is("バージョン")); + */ // property name null check assertThat(em.getPropertyMeta("depertmentId").getName(), is(notNullValue())); assertThat(em.getPropertyMeta("depertmentName").getName(), is(notNullValue())); @@ -136,6 +136,7 @@ assertThat(em.getPropertyMeta("employeeName"), is(notNullValue())); assertThat(em.getPropertyMeta("version"), is(notNullValue())); assertThat(em.getPropertyMeta("depertment"), is(notNullValue())); + /* // comment null check assertThat(EntityMetaUtil.getComment(em), is("従業員")); assertThat(PropertyMetaUtil.getComment(em.getPropertyMeta("employeeId")), is(notNullValue())); @@ -146,6 +147,7 @@ assertThat(PropertyMetaUtil.getComment(em.getPropertyMeta("employeeId")), is("従業員ID")); assertThat(PropertyMetaUtil.getComment(em.getPropertyMeta("employeeName")), is("従業員名")); assertThat(PropertyMetaUtil.getComment(em.getPropertyMeta("version")), is("バージョン")); + */ // property name null check assertThat(em.getPropertyMeta("employeeId").getName(), is(notNullValue())); assertThat(em.getPropertyMeta("employeeName").getName(), is(notNullValue()));