Statement Coverage | Branch Coverage | Loop Coverage | Strict Condition Coverage | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
void addBook(Book book) | 3 / 3 | 100 % |
|
0 / 0 | --- | 0 / 0 | --- | 0 / 0 | --- |
AppFile.java | ||
---|---|---|
100 | void addBook(Book book) { | |
101 | this.books.put(book.getId(), book); | |
102 | book.setBookModifyListener(this.bookListener); | |
103 | ||
104 | setModified(true); | |
105 | } |