Searched refs:grammarFile (Results 1 – 3 of 3) sorted by relevance
67 public static TestSuite createTestSuite(File grammarFile) { in createTestSuite() argument68 if(grammarFile != null && grammarFile.exists() && grammarFile.isFile()) { in createTestSuite()70 final String fileName = grammarFile.getName(); in createTestSuite()72 final String grammarDir = grammarFile.getParent(); in createTestSuite()76 result.rules = loadRulesFromGrammar(grammarFile); in createTestSuite()90 private static List<Rule> loadRulesFromGrammar(File grammarFile) { in loadRulesFromGrammar() argument95 final Reader reader = new BufferedReader(new FileReader(grammarFile)); in loadRulesFromGrammar()153 final File grammarFile = getGrammarFile(file); in loadTestSuite() local154 if(grammarFile == null) in loadTestSuite()175 final List<Rule> completeRuleList = loadRulesFromGrammar(grammarFile); in loadTestSuite()
383 File grammarFile; in buildRequired() local385 grammarFile = new File(inputDirectory, grammarFileName); in buildRequired()388 grammarFile = new File(grammarFileName); in buildRequired()390 long grammarLastModified = grammarFile.lastModified(); in buildRequired()396 … System.out.println("Output file " + outputFile + " does not exist: must build " + grammarFile); in buildRequired()399 … System.out.println("Output file " + outputFile + " is not up-to-date: must build " + grammarFile); in buildRequired()413 …stem.out.println("Input file " + inputFile + " is newer than output: must rebuild " + grammarFile); in buildRequired()422 System.out.println("Grammar " + grammarFile + " is up to date - build skipped"); in buildRequired()
105 final File grammarFile = jfc.getSelectedFile(); in OnCreateTest() local107 currentTestSuite = TestSuiteFactory.createTestSuite(grammarFile); in OnCreateTest()