Clover Coverage Report - Liquibase Core 2.0.3-SNAPSHOT
Coverage timestamp: Sat Aug 6 2011 11:33:15 EDT
../../img/srcFileCovDistChart0.png 69% of files have more coverage
4   35   4   1
0   28   1   4
4     1  
1    
 
  RecentChangesWriter       Line # 13 4 0% 4 8 0% 0.0
 
No Tests
 
1    package liquibase.dbdoc;
2   
3    import liquibase.change.Change;
4    import liquibase.database.Database;
5    import liquibase.exception.DatabaseException;
6    import liquibase.exception.DatabaseHistoryException;
7   
8    import java.io.File;
9    import java.io.FileWriter;
10    import java.io.IOException;
11    import java.util.List;
12   
 
13    public class RecentChangesWriter extends HTMLWriter {
14   
 
15  0 toggle public RecentChangesWriter(File rootOutputDir, Database database) {
16  0 super(new File(rootOutputDir, "recent"), database);
17    }
18   
 
19  0 toggle @Override
20    protected String createTitle(Object object) {
21  0 return "Recent Changes";
22    }
23   
 
24  0 toggle @Override
25    protected void writeBody(FileWriter fileWriter, Object object, List<Change> ranChanges, List<Change> changesToRun)
26    throws IOException, DatabaseHistoryException, DatabaseException {
27  0 writeCustomHTML(fileWriter, object, ranChanges, database);
28  0 writeChanges("Most Recent Changes", fileWriter, ranChanges);
29    }
30   
 
31  0 toggle @Override
32    protected void writeCustomHTML(FileWriter fileWriter, Object object, List<Change> changes, Database database)
33    throws IOException {
34    }
35    }