use of org.tmdmaker.core.model.other.TurboFile in project tmdmaker by tmdmaker.
the class ModelFeatureTest method testCanCreateMultivalueOr.
/**
* モデル毎の多値のOR作成可否をテスト
*/
@Test
public void testCanCreateMultivalueOr() {
CombinationTable t = new CombinationTable();
assertEquals(true, t.canCreateMultivalueOr());
Entity e = new Entity();
assertEquals(true, e.canCreateMultivalueOr());
Detail d = new Detail();
assertEquals(true, d.canCreateMultivalueOr());
Laputa l = new Laputa();
assertEquals(false, l.canCreateMultivalueOr());
MappingList m = new MappingList();
assertEquals(true, m.canCreateMultivalueOr());
MultivalueAndSuperset ms = new MultivalueAndSuperset();
assertEquals(false, ms.canCreateMultivalueOr());
MultivalueOrEntity mo = new MultivalueOrEntity();
assertEquals(true, mo.canCreateMultivalueOr());
RecursiveTable r = new RecursiveTable();
assertEquals(true, r.canCreateMultivalueOr());
SubsetEntity s = new SubsetEntity();
assertEquals(true, s.canCreateMultivalueOr());
VirtualEntity v = new VirtualEntity();
assertEquals(false, v.canCreateMultivalueOr());
VirtualSuperset vs = new VirtualSuperset();
assertEquals(false, vs.canCreateMultivalueOr());
Memo mm = new Memo();
assertEquals(false, mm.canCreateMultivalueOr());
TurboFile tb = new TurboFile();
assertEquals(false, tb.canCreateMultivalueOr());
}
use of org.tmdmaker.core.model.other.TurboFile in project tmdmaker by tmdmaker.
the class ModelFeatureTest method testCanCreateSubset.
/**
* モデル毎のサブセットの作成可否をテスト
*/
@Test
public void testCanCreateSubset() {
CombinationTable t = new CombinationTable();
assertEquals(true, t.canCreateSubset());
Entity e = new Entity();
assertEquals(true, e.canCreateSubset());
Detail d = new Detail();
assertEquals(true, d.canCreateSubset());
Laputa l = new Laputa();
assertEquals(false, l.canCreateSubset());
MappingList m = new MappingList();
assertEquals(true, m.canCreateSubset());
MultivalueAndSuperset ms = new MultivalueAndSuperset();
assertEquals(false, ms.canCreateSubset());
MultivalueOrEntity mo = new MultivalueOrEntity();
assertEquals(true, mo.canCreateSubset());
RecursiveTable r = new RecursiveTable();
assertEquals(true, r.canCreateSubset());
SubsetEntity s = new SubsetEntity();
assertEquals(true, s.canCreateSubset());
VirtualEntity v = new VirtualEntity();
assertEquals(false, v.canCreateSubset());
VirtualSuperset vs = new VirtualSuperset();
assertEquals(false, vs.canCreateSubset());
Memo mm = new Memo();
assertEquals(false, mm.canCreateSubset());
TurboFile tb = new TurboFile();
assertEquals(false, tb.canCreateSubset());
}
use of org.tmdmaker.core.model.other.TurboFile in project tmdmaker by tmdmaker.
the class ModelFeatureTest method testCanCreateVirtualEntity.
/**
* モデル毎のみなしエンティティ作成可否をテスト
*/
@Test
public void testCanCreateVirtualEntity() {
CombinationTable t = new CombinationTable();
assertEquals(true, t.canCreateVirtualEntity());
Entity e = new Entity();
assertEquals(true, e.canCreateVirtualEntity());
Detail d = new Detail();
assertEquals(true, d.canCreateVirtualEntity());
Laputa l = new Laputa();
assertEquals(false, l.canCreateVirtualEntity());
MappingList m = new MappingList();
assertEquals(true, m.canCreateVirtualEntity());
MultivalueAndSuperset ms = new MultivalueAndSuperset();
assertEquals(false, ms.canCreateVirtualEntity());
MultivalueOrEntity mo = new MultivalueOrEntity();
assertEquals(true, mo.canCreateVirtualEntity());
RecursiveTable r = new RecursiveTable();
assertEquals(true, r.canCreateVirtualEntity());
SubsetEntity s = new SubsetEntity();
assertEquals(true, s.canCreateVirtualEntity());
VirtualEntity v = new VirtualEntity();
assertEquals(false, v.canCreateVirtualEntity());
VirtualSuperset vs = new VirtualSuperset();
assertEquals(false, vs.canCreateVirtualEntity());
Memo mm = new Memo();
assertEquals(false, mm.canCreateVirtualEntity());
TurboFile tb = new TurboFile();
assertEquals(false, tb.canCreateVirtualEntity());
}
Aggregations