@Test public void emptyDirYangScannerTest() throws IOException { String emptyYangDir = baseDir + separator + "scanner1"; File path = createDirectory(emptyYangDir); List<String> emptyDirContents = getYangFiles(path.toString()); List<String> expectedContents = new LinkedList<>(); assertThat(true, is(emptyDirContents.equals(expectedContents))); deleteDirectory(path); }
public static List<String> getYangFiles(String root) throws IOException { return getFiles(root, YANG_FILE_EXTENTION); }
YangFileScanner { public static List<String> getYangFiles(String root) throws IOException { return getFiles(root, YANG_FILE_EXTENTION); } }
YangFileScanner { public static List<String> getYangFiles(String root) throws IOException { return getFiles(root, YANG_FILE_EXTENTION); } private  YangFileScanner(); }
YangFileScanner { public static List<String> getYangFiles(String root) throws IOException { return getFiles(root, YANG_FILE_EXTENTION); } private  YangFileScanner(); static List<String> getJavaFiles(String root); static List<String> getYangFiles(String root); static List<String> getFiles(String root, String extension); }
YangFileScanner { public static List<String> getYangFiles(String root) throws IOException { return getFiles(root, YANG_FILE_EXTENTION); } private  YangFileScanner(); static List<String> getJavaFiles(String root); static List<String> getYangFiles(String root); static List<String> getFiles(String root, String extension);  }