@Test public void a_text_without_local_includes_returns_empty_list() throws Exception { String plantUml="@startuml context\n" + "!includeurl https: "\n" + "Person(administrator, \"Administrator\")\n" + "System(jenkins, \"Jenkins\")\n" + "Rel(administrator, jenkins, \"Administrates Jenkins\", \"SSH\")\n" + "\n" + "@enduml"; List<File> found = search.searchLocalIncludes(plantUml); assertEquals(0, found.size()); }
public List<File> searchLocalIncludes(String text) throws IOException { List<File> files = new ArrayList<>(); searchLocalIncludes(files, text, 0); return files; }
PlantUMLLocalIncludeHierarchySearch { public List<File> searchLocalIncludes(String text) throws IOException { List<File> files = new ArrayList<>(); searchLocalIncludes(files, text, 0); return files; } }
PlantUMLLocalIncludeHierarchySearch { public List<File> searchLocalIncludes(String text) throws IOException { List<File> files = new ArrayList<>(); searchLocalIncludes(files, text, 0); return files; }  }
PlantUMLLocalIncludeHierarchySearch { public List<File> searchLocalIncludes(String text) throws IOException { List<File> files = new ArrayList<>(); searchLocalIncludes(files, text, 0); return files; }  List<File> searchLocalIncludes(String text); void setBaseFolder(File baseFolder); }
PlantUMLLocalIncludeHierarchySearch { public List<File> searchLocalIncludes(String text) throws IOException { List<File> files = new ArrayList<>(); searchLocalIncludes(files, text, 0); return files; }  List<File> searchLocalIncludes(String text); void setBaseFolder(File baseFolder);  }