MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / getLines

Method getLines

tools/BoxedWineRunner/src/boxedwine/org/Main.java:140–152  ·  view source on GitHub ↗
(String path)

Source from the content-addressed store, hash-verified

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");

Callers 1

runTestMethod · 0.95

Calls 2

getMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected