Search in sources :

Example 1 with TestIndex

use of org.sonar.server.test.index.TestIndex in project sonarqube by SonarSource.

the class CoveredFilesActionTest method setUp.

@Before
public void setUp() {
    dbClient = mock(DbClient.class, RETURNS_DEEP_STUBS);
    testIndex = mock(TestIndex.class, RETURNS_DEEP_STUBS);
    ws = new WsActionTester(new CoveredFilesAction(dbClient, testIndex, userSessionRule));
}
Also used : TestIndex(org.sonar.server.test.index.TestIndex) DbClient(org.sonar.db.DbClient) WsActionTester(org.sonar.server.ws.WsActionTester) Before(org.junit.Before)

Aggregations

Before (org.junit.Before)1 DbClient (org.sonar.db.DbClient)1 TestIndex (org.sonar.server.test.index.TestIndex)1 WsActionTester (org.sonar.server.ws.WsActionTester)1