public void setUp() throws Exception { super.setUp(); translator = new ItemToObjectTranslator(Model.getInstanceByName("testmodel"), null); translator.setObjectStore(ObjectStoreFactory.getObjectStore("os.unittest")); translator.idToNamespace.put(new Integer(0), "fish"); translator.namespaceToId.put("fish", new Integer(0)); }
public static void oneTimeSetUp() throws Exception { QueryTestCase.oneTimeSetUp(); }
public void setUp() throws Exception { super.setUp(); os = ObjectStoreFactory.getObjectStore("os.unittest"); }