Statement Coverage | Branch Coverage | Loop Coverage | Strict Condition Coverage | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
public void openFileInWindow(String oldFileId, String newFileId) | 4 / 4 | 100 % |
|
0 / 0 | --- | 0 / 0 | --- | 0 / 0 | --- |
AppView.java | ||
---|---|---|
97 | public void openFileInWindow(String oldFileId, String newFileId) { | |
98 | FrameMain frameMain = getWindowFromId(oldFileId); | |
99 | ||
100 | this.windowList.remove(oldFileId); | |
101 | ||
102 | this.windowList.put(newFileId, frameMain); | |
103 | ||
104 | frameMain.setFileId(newFileId); | |
105 | } |