@Test public void testConjureRevisitedImports() throws IOException { List<String> inners = ImmutableList.of( "innerOne", "innerTwo", "innerThree", "innerFour", "innerFive", "innerSix", "innerSeven", "innerEight", "innerNine", "innerTen"); List<String> mid = ImmutableList.of("midOne", "midTwo", "midThree", "midFour", "midFive"); List<String> top = ImmutableList.of("topOne", "topTwo", "topThree", "topFour", "topFive", "topSix"); String root = "root"; generateFiles(inners, ImmutableList.of()); generateFiles(mid, inners); generateFiles(top, mid); generateFiles(ImmutableList.of(root), top); ConjureSourceFile result = ConjureParser.parse( temporaryFolder.getRoot().toPath().resolve(root + ".yml").toFile()); assertThat(result.types().conjureImports()).isNotEmpty(); }
public static ConjureSourceFile parse(File file) { RecursiveParser parser = new RecursiveParser(); return parser.parse(file); }
ConjureParser { public static ConjureSourceFile parse(File file) { RecursiveParser parser = new RecursiveParser(); return parser.parse(file); } }
ConjureParser { public static ConjureSourceFile parse(File file) { RecursiveParser parser = new RecursiveParser(); return parser.parse(file); } private  ConjureParser(); }
ConjureParser { public static ConjureSourceFile parse(File file) { RecursiveParser parser = new RecursiveParser(); return parser.parse(file); } private  ConjureParser(); static ConjureSourceFile parse(File file); static AnnotatedConjureSourceFile parseAnnotated(File file); static List<AnnotatedConjureSourceFile> parseAnnotated(Collection<File> files); }
ConjureParser { public static ConjureSourceFile parse(File file) { RecursiveParser parser = new RecursiveParser(); return parser.parse(file); } private  ConjureParser(); static ConjureSourceFile parse(File file); static AnnotatedConjureSourceFile parseAnnotated(File file); static List<AnnotatedConjureSourceFile> parseAnnotated(Collection<File> files);  }