svnno****@sourc*****
svnno****@sourc*****
2008年 11月 20日 (木) 01:19:41 JST
Revision: 2183 http://svn.sourceforge.jp/view?root=jiemamy&view=rev&rev=2183 Author: daisuke_m Date: 2008-11-20 01:19:41 +0900 (Thu, 20 Nov 2008) Log Message: ----------- IndexとCheckのappendModel経由登録への変更に伴い、テスト失敗していたのを修正。 Modified Paths: -------------- artemis/trunk/org.jiemamy.event/src/test/java/org/jiemamy/core/model/node/TableModelTest.java -------------- next part -------------- Modified: artemis/trunk/org.jiemamy.event/src/test/java/org/jiemamy/core/model/node/TableModelTest.java =================================================================== --- artemis/trunk/org.jiemamy.event/src/test/java/org/jiemamy/core/model/node/TableModelTest.java 2008-11-19 16:17:28 UTC (rev 2182) +++ artemis/trunk/org.jiemamy.event/src/test/java/org/jiemamy/core/model/node/TableModelTest.java 2008-11-19 16:19:41 UTC (rev 2183) @@ -115,12 +115,12 @@ CheckConstraintModel check01 = rootModel.createJiemamyModel(CheckConstraintModel.class); check01.setExpression("check_expression"); // 1 - tableModel01.getChecks().add(check01); // 2 + tableModel01.appendModel(check01); // 2 check01.setName("check_changedName"); // 3 check01.setExpression("ecpression"); // 4 IndexModel index01 = rootModel.createJiemamyModel(IndexModel.class).init(); - tableModel01.getIndexes().add(index01); // 5 + tableModel01.appendModel(index01); // 5 index01.setName("index01"); assertEquals(5, listener.events.size()); }