diff options
author | Julien Lancelot <julien.lancelot@sonarsource.com> | 2015-04-21 10:33:33 +0200 |
---|---|---|
committer | Julien Lancelot <julien.lancelot@sonarsource.com> | 2015-04-21 10:35:06 +0200 |
commit | a999ea6a4719708f715017820ba66562537710f5 (patch) | |
tree | 89be5d77057c4cdd40ca4ba2ca2ea2796378ef89 /sonar-core | |
parent | f2a430b8ae01ba3273c7e527118b2beaab038eca (diff) | |
download | sonarqube-a999ea6a4719708f715017820ba66562537710f5.tar.gz sonarqube-a999ea6a4719708f715017820ba66562537710f5.zip |
Deprecate AbstractDaoTestCase to not forget to replace it
Diffstat (limited to 'sonar-core')
-rw-r--r-- | sonar-core/src/test/java/org/sonar/core/persistence/AbstractDaoTestCase.java | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/sonar-core/src/test/java/org/sonar/core/persistence/AbstractDaoTestCase.java b/sonar-core/src/test/java/org/sonar/core/persistence/AbstractDaoTestCase.java index 3d5ff943f92..4111e1033c8 100644 --- a/sonar-core/src/test/java/org/sonar/core/persistence/AbstractDaoTestCase.java +++ b/sonar-core/src/test/java/org/sonar/core/persistence/AbstractDaoTestCase.java @@ -30,7 +30,11 @@ import org.dbunit.DatabaseUnitException; import org.dbunit.IDatabaseTester; import org.dbunit.database.DatabaseConfig; import org.dbunit.database.IDatabaseConnection; -import org.dbunit.dataset.*; +import org.dbunit.dataset.CompositeDataSet; +import org.dbunit.dataset.DataSetException; +import org.dbunit.dataset.IDataSet; +import org.dbunit.dataset.ITable; +import org.dbunit.dataset.ReplacementDataSet; import org.dbunit.dataset.filter.DefaultColumnFilter; import org.dbunit.dataset.xml.FlatXmlDataSet; import org.dbunit.ext.mssql.InsertIdentityOperation; @@ -61,7 +65,12 @@ import java.util.Properties; import static org.junit.Assert.fail; +/** + * @deprecated use an instance of {@link org.sonar.core.persistence.DbTester instead} instead, + * and do no forget to annotated the test class with {@link org.sonar.test.DbTests}. + */ @Category(DbTests.class) +@Deprecated public abstract class AbstractDaoTestCase { private static final Logger LOG = LoggerFactory.getLogger(AbstractDaoTestCase.class); |