(String file)
| 130 | |
| 131 | |
| 132 | private String getPath(String file) throws IOException { |
| 133 | if (file == null) { |
| 134 | return null; |
| 135 | } |
| 136 | String packageName = this.getClass().getPackageName(); |
| 137 | String path = packageName.replace(".", File.separator); |
| 138 | File f = new File("test" + File.separator + path + File.separator + file); |
| 139 | |
| 140 | return f.getCanonicalPath(); |
| 141 | } |
| 142 | } |
no test coverage detected