use of org.sonar.db.metric.MetricDao in project sonarqube by SonarSource.
the class DefaultMetricFinderTest method setUp.
@Before
public void setUp() {
dbTester.prepareDbUnit(DefaultMetricFinderTest.class, "shared.xml");
finder = new DefaultMetricFinder(new DbClient(dbTester.database(), dbTester.myBatis(), new MetricDao()));
}
use of org.sonar.db.metric.MetricDao in project sonarqube by SonarSource.
the class DomainsActionTest method setUp.
@Before
public void setUp() {
dbClient = new DbClient(db.database(), db.myBatis(), new MetricDao());
dbSession = dbClient.openSession(false);
ws = new WsTester(new MetricsWs(new DomainsAction(dbClient)));
}