示例#1
0
 @Override
 protected void setUp() throws Exception {
   config.addConcept(PrimitiveConceptWrapper.class);
   config.addConcept(PrimitiveConceptClassWrapper.class);
   config.addConcept(PrimitiveBehaviourWrapper.class);
   config.addBehaviour(PrimitiveBehaviourImpl1.class);
   config.addBehaviour(PrimitiveBehaviourImpl2.class);
   super.setUp();
   conceptClass =
       con.addDesignation(
           con.getObjectFactory().createObject(), PrimitiveConceptClassWrapper.class);
   concept =
       con.addDesignation(con.getObjectFactory().createObject(), PrimitiveConceptWrapper.class);
   behaviour =
       con.addDesignation(con.getObjectFactory().createObject(), PrimitiveBehaviourWrapper.class);
 }
示例#2
0
 public static Test suite() throws Exception {
   return ObjectRepositoryTestCase.suite(PrimitiveWrapperTest.class);
 }