| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| LiquibaseUpdateTestingRollback |
|
| 1.0;1 |
| 1 | package org.liquibase.maven.plugins; | |
| 2 | ||
| 3 | import liquibase.exception.LiquibaseException; | |
| 4 | import liquibase.Liquibase; | |
| 5 | ||
| 6 | /** | |
| 7 | * Applies the DatabaseChangeLogs to the database, testing rollback. This is done by updating the database, rolling it | |
| 8 | * back then updating it again. | |
| 9 | * | |
| 10 | * @description Liquibase UpdateTestingRollback Maven plugin | |
| 11 | * @goal updateTestingRollback | |
| 12 | */ | |
| 13 | 0 | public class LiquibaseUpdateTestingRollback extends AbstractLiquibaseUpdateMojo { |
| 14 | ||
| 15 | @Override | |
| 16 | protected void doUpdate(Liquibase liquibase) throws LiquibaseException { | |
| 17 | 0 | liquibase.updateTestingRollback(contexts); |
| 18 | 0 | } |
| 19 | } |