| 138 | } |
| 139 | |
| 140 | public static String[] getLines(String path) { |
| 141 | try { |
| 142 | List lines = Files.readAllLines(Paths.get(path)); |
| 143 | String[] result = new String[lines.size()]; |
| 144 | for (int i=0;i<lines.size();i++) { |
| 145 | result[i] = (String)lines.get(i); |
| 146 | } |
| 147 | return result; |
| 148 | } catch (IOException e) { |
| 149 | |
| 150 | } |
| 151 | return new String[0]; |
| 152 | } |
| 153 | |
| 154 | public static void runTest(String name, String filesPath, String path, Results results) throws IOException { |
| 155 | File rootPath = new File(path+File.separator+"root"); |