I hate these disabled unit tests, #2

This commit is contained in:
Eric Banks 2012-06-14 15:19:27 -04:00
parent 676a57de7b
commit 0398ae9695
2 changed files with 2 additions and 4 deletions

View File

@ -34,7 +34,7 @@ public class ContextCovariateUnitTest {
verifyCovariateArray(values.getDeletions(), RAC.DELETIONS_CONTEXT_SIZE, clippedRead, covariate);
}
public static void verifyCovariateArray(Long[] values, int contextSize, GATKSAMRecord read, Covariate contextCovariate) {
public static void verifyCovariateArray(long[] values, int contextSize, GATKSAMRecord read, Covariate contextCovariate) {
for (int i = 0; i < values.length; i++)
Assert.assertEquals(contextCovariate.formatKey(values[i]), expectedContext(read, i, contextSize));

View File

@ -7,8 +7,6 @@ import org.testng.Assert;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
import java.util.BitSet;
/**
* @author Mauricio Carneiro
* @since 3/1/12
@ -47,7 +45,7 @@ public class ReadGroupCovariateUnitTest {
}
private void verifyCovariateArray(Long[] values, String expected) {
private void verifyCovariateArray(long[] values, String expected) {
for (Long value : values) {
String actual = covariate.formatKey(value);
Assert.assertEquals(actual, expected);