aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-batch/src/test/java/org/sonar/batch/index
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2014-02-24 22:58:22 +0100
committerSimon Brandhof <simon.brandhof@gmail.com>2014-02-26 12:15:58 +0100
commite4810500228a85c72bf4937874de3f37dba39d48 (patch)
tree8ae86202e20d3f8db52f8f981f0bd075a134db75 /sonar-batch/src/test/java/org/sonar/batch/index
parenta7b8340e5f16f8411e44d7cffe472a28bf63c8b9 (diff)
downloadsonarqube-e4810500228a85c72bf4937874de3f37dba39d48.tar.gz
sonarqube-e4810500228a85c72bf4937874de3f37dba39d48.zip
Remove unused classes
Diffstat (limited to 'sonar-batch/src/test/java/org/sonar/batch/index')
-rw-r--r--sonar-batch/src/test/java/org/sonar/batch/index/MeasurePersisterTest.java18
1 files changed, 9 insertions, 9 deletions
diff --git a/sonar-batch/src/test/java/org/sonar/batch/index/MeasurePersisterTest.java b/sonar-batch/src/test/java/org/sonar/batch/index/MeasurePersisterTest.java
index 372a863bd88..7acfba1e423 100644
--- a/sonar-batch/src/test/java/org/sonar/batch/index/MeasurePersisterTest.java
+++ b/sonar-batch/src/test/java/org/sonar/batch/index/MeasurePersisterTest.java
@@ -55,15 +55,15 @@ public class MeasurePersisterTest extends AbstractDaoTestCase {
public static final int FILE_SNAPSHOT_ID = 3003;
public static final int COVERAGE_METRIC_ID = 2;
- private MeasurePersister measurePersister;
- private RuleFinder ruleFinder = mock(RuleFinder.class);
- private ResourcePersister resourcePersister = mock(ResourcePersister.class);
- private MemoryOptimizer memoryOptimizer = mock(MemoryOptimizer.class);
- private Project project = new Project("foo");
- private JavaPackage aPackage = new JavaPackage("org.foo");
- private JavaFile aFile = new JavaFile("org.foo.Bar");
- private Snapshot projectSnapshot = snapshot(PROJECT_SNAPSHOT_ID);
- private Snapshot packageSnapshot = snapshot(PACKAGE_SNAPSHOT_ID);
+ MeasurePersister measurePersister;
+ RuleFinder ruleFinder = mock(RuleFinder.class);
+ ResourcePersister resourcePersister = mock(ResourcePersister.class);
+ MemoryOptimizer memoryOptimizer = mock(MemoryOptimizer.class);
+ Project project = new Project("foo");
+ JavaPackage aPackage = new JavaPackage("org.foo");
+ JavaFile aFile = new JavaFile("org.foo.Bar");
+ Snapshot projectSnapshot = snapshot(PROJECT_SNAPSHOT_ID);
+ Snapshot packageSnapshot = snapshot(PACKAGE_SNAPSHOT_ID);
@Before
public void mockResourcePersister() {