Lines Matching refs:AnalyzerGuru
46 * Tests for the functionality provided by the AnalyzerGuru class.
58 FileAnalyzer fa = AnalyzerGuru.getAnalyzer(in, file);
69 FileAnalyzer fa = AnalyzerGuru.getAnalyzer(in, "/dummy/file");
80 FileAnalyzer fa = AnalyzerGuru.getAnalyzer(in, "/dummy/file");
87 assertNull(AnalyzerGuru.find("file.unlikely_extension"));
90 faf = AnalyzerGuru.findFactory(ShAnalyzerFactory.class.getName());
92 assertSame(AnalyzerGuru.find("myscript.sh"), faf);
95 AnalyzerGuru.addExtension("UNLIKELY_EXTENSION", faf);
97 AnalyzerGuru.find("file.unlikely_extension").getClass());
100 AnalyzerGuru.addExtension("UNLIKELY_EXTENSION", null);
101 assertNull(AnalyzerGuru.find("file.unlikely_extension"));
112 FileAnalyzer fa = AnalyzerGuru.getAnalyzer(in, "dummy");
124 FileAnalyzer fa = AnalyzerGuru.getAnalyzer(in, "dummy");
133 AnalyzerGuru.getAnalyzer(in, "dummy").getClass());
138 FileAnalyzerFactory faf = AnalyzerGuru.find("foo.hxx");
145 FileAnalyzerFactory f1 = AnalyzerGuru.find("main.c");
147 FileAnalyzerFactory f2 = AnalyzerGuru.find("main.cc");
158 FileAnalyzerFactory faf = AnalyzerGuru.find("/path/to/Makefile");
160 faf = AnalyzerGuru.find("GNUMakefile");