Statement Coverage | Branch Coverage | Loop Coverage | Strict Condition Coverage | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
public void saveFile(String fileId, File file) throws ParserConfigurationException, TransformerException, IOException | 2 / 2 | 100 % |
|
1 / 2 | 50 % |
|
0 / 0 | --- | 0 / 1 | 0 % |
|
AppModel.java | ||
---|---|---|
87 | public void saveFile(String fileId, File file) | |
88 | throws ParserConfigurationException, TransformerException, | |
89 | IOException { | |
90 | if (file == null) { | |
91 | throw new NullPointerException("file == null"); | |
92 | } | |
93 | ||
94 | AppFile appFile = getAppFile(fileId); | |
95 | ||
96 | appFile.saveAppFile(file); | |
97 | } |