Lines Matching refs:Example
28 * @build ArgTypeCompilerFactory Example HTMLWriter RunExamples
68 Example.setTempDir(tmpDir);
96 Set<Example> selectedExamples = new TreeSet<Example>();
130 selectedExamples.add(new Example(f));
139 Example.Compiler.factory = new ArgTypeCompilerFactory();
142 Set<Example> examples = getExamples(examplesDir);
145 for (Example e: examples) {
177 Set<Example> getExamples(File examplesDir) {
178 Set<Example> results = new TreeSet<Example>();
181 results.add(new Example(f));
225 void run(Collection<Example> examples) throws IOException {
226 for (Example e: examples) {
241 void showFiles(Example e, Collection<File> files) throws IOException {
246 abstract void startExample(Example e) throws IOException;
248 abstract void showFile(Example e, File f) throws IOException;
250 abstract void run(Example e) throws IOException;
294 void startExample(Example e) {
300 void showFile(Example e, File f) {
319 void run(Example e) {
390 void run(Collection<Example> examples) throws IOException {
396 void writeIndex(Collection<Example> examples) throws IOException {
397 Map<String, Set<Example>> index = new TreeMap<String, Set<Example>>();
399 for (Example e: examples) {
401 Set<Example> s = index.get(k);
403 index.put(k, s = new TreeSet<Example>());
433 for (Map.Entry<String, Set<Example>> entry: index.entrySet()) {
445 for (Example e: entry.getValue()) {
458 void startExample(Example e) throws IOException {
472 void showFile(Example e, File f) throws IOException {
554 void run(Example e) throws IOException {