throws AnalysisEngineProcessException, CASException, IOException, SAXException,
CoreException {
// memento for prefs
IPreferenceStore store = RutaAddonsPlugin.getDefault().getPreferenceStore();
String factoryName = store.getString(TestingPreferenceConstants.EVALUATOR_FACTORY);
ICasEvaluator evaluator = RutaAddonsPlugin.getCasEvaluatorFactoryById(factoryName)
.createEvaluator();
boolean includeSubtypes = store.getBoolean(TestingPreferenceConstants.INCLUDE_SUBTYPES);
boolean useAllTypes = store.getBoolean(TestingPreferenceConstants.ALL_TYPES);
CAS resultCas = evaluator.evaluate(goldCas, runCas, excludedTypes, includeSubtypes,
useAllTypes);
// store results
IPath path2Test = td.getPath().removeLastSegments(1);