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
6   33   6   1
0   24   1   6
6     1  
1    
 
  RegExpReplaceSqlVisitor       Line # 5 6 0% 6 12 0% 0.0
 
No Tests
 
1    package liquibase.sql.visitor;
2   
3    import liquibase.database.Database;
4   
 
5    public class RegExpReplaceSqlVisitor extends AbstractSqlVisitor {
6   
7    private String replace;
8    private String with;
9   
 
10  0 toggle public String getName() {
11  0 return "regExpReplace";
12    }
13   
 
14  0 toggle public String getReplace() {
15  0 return replace;
16    }
17   
 
18  0 toggle public void setReplace(String replace) {
19  0 this.replace = replace;
20    }
21   
 
22  0 toggle public String getWith() {
23  0 return with;
24    }
25   
 
26  0 toggle public void setWith(String with) {
27  0 this.with = with;
28    }
29   
 
30  0 toggle public String modifySql(String sql, Database database) {
31  0 return sql.replaceAll(getReplace(), getWith());
32    }
33    }