The TestNG DataProvider for the Tsv/Csv importer tests was previously providing just one test case with two parameters, rather than the two test cases of one parameter each which is required. This is now fixed, and the tests pass.

git-svn-id: http://google-refine.googlecode.com/svn/trunk@1855 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
Iain Sproat 2010-11-11 10:52:18 +00:00
parent 703d2dbd19
commit 37a6f938c3

View File

@ -558,10 +558,9 @@ public class TsvCsvImporterTests extends RefineTest {
*/ */
@DataProvider(name = "CSV-or-null") @DataProvider(name = "CSV-or-null")
public Object[][] CSV_or_null(){ public Object[][] CSV_or_null(){
return new Object[][]{{ return new Object[][]{
",", {","},{null}
null };
}};
} }
public void whenGetBooleanOption(String name, Properties properties, Boolean def){ public void whenGetBooleanOption(String name, Properties properties, Boolean def){