better way to ignore tests
git-svn-id: http://google-refine.googlecode.com/svn/trunk@780 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
parent
2afe01414d
commit
828acfc694
@ -12,6 +12,7 @@ import java.util.List;
|
|||||||
import org.junit.After;
|
import org.junit.After;
|
||||||
import org.junit.Assert;
|
import org.junit.Assert;
|
||||||
import org.junit.Before;
|
import org.junit.Before;
|
||||||
|
import org.junit.Ignore;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
@ -67,7 +68,7 @@ public class CSVRowParserTests {
|
|||||||
Assert.assertEquals("15.87", splitLine.get(2));
|
Assert.assertEquals("15.87", splitLine.get(2));
|
||||||
}
|
}
|
||||||
|
|
||||||
//@Test
|
@Ignore("CSV parser not doing the right thing yet") @Test
|
||||||
public void splitWithUnclosedQuote(){
|
public void splitWithUnclosedQuote(){
|
||||||
try {
|
try {
|
||||||
when(lineReader.readLine()).thenReturn("");
|
when(lineReader.readLine()).thenReturn("");
|
||||||
@ -85,7 +86,7 @@ public class CSVRowParserTests {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//@Test
|
@Ignore("CSV parser not doing the right thing yet") @Test
|
||||||
public void splitWithLeadingQuoteWithComma(){
|
public void splitWithLeadingQuoteWithComma(){
|
||||||
List<String> splitLine = SUT.split(LEADING_QUOTE_WITH_COMMA, lineReader);
|
List<String> splitLine = SUT.split(LEADING_QUOTE_WITH_COMMA, lineReader);
|
||||||
Assert.assertEquals(3, splitLine.size());
|
Assert.assertEquals(3, splitLine.size());
|
||||||
@ -94,7 +95,7 @@ public class CSVRowParserTests {
|
|||||||
Assert.assertEquals("value3", splitLine.get(2));
|
Assert.assertEquals("value3", splitLine.get(2));
|
||||||
}
|
}
|
||||||
|
|
||||||
//@Test
|
@Ignore("CSV parser not doing the right thing yet") @Test
|
||||||
public void splitWithQuoteInsideValue(){
|
public void splitWithQuoteInsideValue(){
|
||||||
List<String> splitLine = SUT.split(QUOTED, lineReader);
|
List<String> splitLine = SUT.split(QUOTED, lineReader);
|
||||||
Assert.assertEquals(3, splitLine.size());
|
Assert.assertEquals(3, splitLine.size());
|
||||||
|
Loading…
Reference in New Issue
Block a user