/* (non-Javadoc) * @see junit.framework.TestCase#setUp() */ protected void setUp() throws Exception { super.setUp(); // using the JDTLikeHandleProvider because this produces consistent handles // over different compiles handleProvider = AsmManager.getDefault().getHandleProvider(); AsmManager.getDefault().setHandleProvider(new JDTLikeHandleProvider()); // We are about to create a sandbox for the model output file, don't let the // following compile wipe it. ajc.setShouldEmptySandbox(false); // report all information - model, relationships delta processing modelFilename = ajc.getSandboxDirectory().getAbsolutePath() + File.separator + "model.txt"; AsmManager.setReporting( modelFilename, true, true, true, false, new TestFilter(ajc.getSandboxDirectory().getCanonicalPath())); }