package com.puresol.purifinity.coding.lang.java.metrics;

import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;

import java.io.File;
import java.util.List;

import org.junit.Test;

import com.puresol.purifinity.coding.analysis.api.AnalysisRun;
import com.puresol.purifinity.coding.analysis.api.AnalyzedCode;
import com.puresol.purifinity.coding.analysis.test.TestFileSearchConfiguration;
import com.puresol.purifinity.coding.metrics.AbstractMetricTest;

public class SLOCEvaluatorIT extends AbstractMetricTest {

	private static final File testProjectDir = new File(
			"src/test/resources/test_project");

	public SLOCEvaluatorIT() {
		super(testProjectDir, new TestFileSearchConfiguration());
	}

	@Test
	public void test() throws Exception {
		AnalysisRun analysisRun = getAnalysisProject().createAnalysisRun();
		Boolean result = analysisRun.call();
		assertTrue(result);
		List<AnalyzedCode> analyzedFiles = analysisRun.getAnalyzedFiles();
		assertEquals(1, analyzedFiles.size());
	}
}

@@ -1014,13 +1014,14 @@
 ize());%0A
+%0A
 %09%7D%0A%7D%0A

test fix