public TECore(Engine engine, Index index, RuntimeOptions opts) { this.engine = engine; this.index = index; this.opts = opts; this.recordedForms = new RecordedForms(opts.getRecordedForms()); testPath = opts.getSessionId(); out = System.out; }
/** * Constructs a test executor with default options. */ public Test() { this.setupOpts = new SetupOptions(); this.runOpts = new RuntimeOptions(); }
public String getMode() { return Test.getModeName(opts.getMode()); }
public void warning(SAXParseException exception) { error(Prefix + "warning", exception); WarningCount++; } }
public void warning(SAXParseException exception) { error("Validation warning", exception); WarningCount++; } }
private void writeModel( Model earlModel, OutputStream targetEarlReport, boolean abbreviated ) throws IOException { String baseUri = "http://example.org/earl/"; writeModel( earlModel, targetEarlReport, abbreviated, baseUri ); }
public Engine(Collection<Index> indexes, Map<String, TEClassLoader> classLoaders, int cacheSize) throws Exception { this(); this.classLoaders = classLoaders; if (cacheSize > 0) { this.cacheSize = cacheSize; } addFunctionLibrary(indexes); }
public void executeTest(String relativePathToMainCtl) throws Exception { // File file =Misc.getResourceAsFile(relativePathToMainCtl); String[] arguments = new String[1]; arguments[0] = "-source=" + relativePathToMainCtl; execute(arguments); }
/** * Constructs a test executor with default options. */ public Test() { this.setupOpts = new SetupOptions(); this.runOpts = new RuntimeOptions(); }
public void warning(SAXParseException exception) { error(Prefix + "warning", exception); WarningCount++; } }
public String getMode() { return Test.getModeName(opts.getMode()); }
public void warning(SAXParseException exception) { error("Validation warning", exception); WarningCount++; } }
private void writeModel( Model earlModel, OutputStream targetEarlReport, boolean abbreviated ) throws IOException { String baseUri = "http://example.org/earl/"; writeModel( earlModel, targetEarlReport, abbreviated, baseUri ); }
public Engine(Collection<Index> indexes, Map<String, TEClassLoader> classLoaders, int cacheSize) throws Exception { this(); this.classLoaders = classLoaders; if (cacheSize > 0) { this.cacheSize = cacheSize; } addFunctionLibrary(indexes); }
public void executeTest(String relativePathToMainCtl) throws Exception { // File file =Misc.getResourceAsFile(relativePathToMainCtl); String[] arguments = new String[1]; arguments[0] = "-source=" + relativePathToMainCtl; execute(arguments); }
public void warning(SAXParseException exception) { error(Prefix + "warning", exception); WarningCount++; } }
public void error(SAXParseException exception) { error("Validation error", exception); ErrorCount++; }
public void fatalError(SAXParseException exception) { error("Fatal " + Prefix + "error", exception); ErrorCount++; }
public void fatalError(SAXParseException exception) { error("Fatal validation error", exception); ErrorCount++; }