Browse Source

issue with junit upgrade

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903053 13f79535-47bb-0310-9956-ffa450edef68
tags/REL_5_2_3
PJ Fanning 1 year ago
parent
commit
0ff40e8fb7
26 changed files with 26 additions and 27 deletions
  1. 1
    2
      poi/src/test/java/org/apache/poi/ss/formula/functions/BaseTestFunctionsFromSpreadsheet.java
  2. 1
    1
      poi/src/test/java/org/apache/poi/ss/formula/functions/TestBooleanFunctionsFromSpreadsheet.java
  3. 1
    1
      poi/src/test/java/org/apache/poi/ss/formula/functions/TestCodeFunctionsFromSpreadsheet.java
  4. 1
    1
      poi/src/test/java/org/apache/poi/ss/formula/functions/TestComplexFunctionsFromSpreadsheet.java
  5. 1
    1
      poi/src/test/java/org/apache/poi/ss/formula/functions/TestDGetFunctionsFromSpreadsheet.java
  6. 1
    1
      poi/src/test/java/org/apache/poi/ss/formula/functions/TestDStarFunctionsFromSpreadsheet.java
  7. 1
    1
      poi/src/test/java/org/apache/poi/ss/formula/functions/TestDateTimeToNumberFromSpreadsheet.java
  8. 1
    1
      poi/src/test/java/org/apache/poi/ss/formula/functions/TestDeltaFunctionsFromSpreadsheet.java
  9. 1
    1
      poi/src/test/java/org/apache/poi/ss/formula/functions/TestFactDoubleFunctionsFromSpreadsheet.java
  10. 1
    1
      poi/src/test/java/org/apache/poi/ss/formula/functions/TestFixedFunctionsFromSpreadsheet.java
  11. 1
    1
      poi/src/test/java/org/apache/poi/ss/formula/functions/TestIFFunctionFromSpreadsheet.java
  12. 1
    1
      poi/src/test/java/org/apache/poi/ss/formula/functions/TestIfnaFromSpreadsheet.java
  13. 1
    1
      poi/src/test/java/org/apache/poi/ss/formula/functions/TestImRealFunctionsFromSpreadsheet.java
  14. 1
    1
      poi/src/test/java/org/apache/poi/ss/formula/functions/TestImaginaryFunctionsFromSpreadsheet.java
  15. 1
    1
      poi/src/test/java/org/apache/poi/ss/formula/functions/TestIndexFunctionFromSpreadsheet.java
  16. 1
    1
      poi/src/test/java/org/apache/poi/ss/formula/functions/TestIndirectFunctionFromSpreadsheet.java
  17. 1
    1
      poi/src/test/java/org/apache/poi/ss/formula/functions/TestLogicalFunctionsFromSpreadsheet.java
  18. 1
    1
      poi/src/test/java/org/apache/poi/ss/formula/functions/TestLookupFunctionsFromSpreadsheet.java
  19. 1
    1
      poi/src/test/java/org/apache/poi/ss/formula/functions/TestMatchFunctionsFromSpreadsheet.java
  20. 1
    1
      poi/src/test/java/org/apache/poi/ss/formula/functions/TestQuotientFunctionsFromSpreadsheet.java
  21. 1
    1
      poi/src/test/java/org/apache/poi/ss/formula/functions/TestReptFunctionsFromSpreadsheet.java
  22. 1
    1
      poi/src/test/java/org/apache/poi/ss/formula/functions/TestRomanFunctionsFromSpreadsheet.java
  23. 1
    1
      poi/src/test/java/org/apache/poi/ss/formula/functions/TestTrendFunctionsFromSpreadsheet.java
  24. 1
    1
      poi/src/test/java/org/apache/poi/ss/formula/functions/TestTwoOperandNumericFunctionsFromSpreadsheet.java
  25. 1
    1
      poi/src/test/java/org/apache/poi/ss/formula/functions/TestWeekNumFunctionsFromSpreadsheet.java
  26. 1
    1
      poi/src/test/java/org/apache/poi/ss/formula/functions/TestWeekNumFunctionsFromSpreadsheet2013.java

+ 1
- 2
poi/src/test/java/org/apache/poi/ss/formula/functions/BaseTestFunctionsFromSpreadsheet.java View File

} }





protected static Stream<Arguments> data(Class<? extends BaseTestFunctionsFromSpreadsheet> clazz, String filename) throws Exception {
protected static Stream<Arguments> dataFromClass(Class<? extends BaseTestFunctionsFromSpreadsheet> clazz, String filename) throws Exception {
HSSFWorkbook workbook = HSSFTestDataSamples.openSampleWorkbook(filename); HSSFWorkbook workbook = HSSFTestDataSamples.openSampleWorkbook(filename);
confirmReadMeSheet(workbook, clazz); confirmReadMeSheet(workbook, clazz);



+ 1
- 1
poi/src/test/java/org/apache/poi/ss/formula/functions/TestBooleanFunctionsFromSpreadsheet.java View File

*/ */
class TestBooleanFunctionsFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet { class TestBooleanFunctionsFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet {
public static Stream<Arguments> data() throws Exception { public static Stream<Arguments> data() throws Exception {
return data(TestBooleanFunctionsFromSpreadsheet.class, "BooleanFunctionsTestCaseData.xls");
return dataFromClass(TestBooleanFunctionsFromSpreadsheet.class, "BooleanFunctionsTestCaseData.xls");
} }
} }

+ 1
- 1
poi/src/test/java/org/apache/poi/ss/formula/functions/TestCodeFunctionsFromSpreadsheet.java View File

*/ */
class TestCodeFunctionsFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet { class TestCodeFunctionsFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet {
public static Stream<Arguments> data() throws Exception { public static Stream<Arguments> data() throws Exception {
return data(TestCodeFunctionsFromSpreadsheet.class, "CodeFunctionTestCaseData.xls");
return dataFromClass(TestCodeFunctionsFromSpreadsheet.class, "CodeFunctionTestCaseData.xls");
} }
} }

+ 1
- 1
poi/src/test/java/org/apache/poi/ss/formula/functions/TestComplexFunctionsFromSpreadsheet.java View File

*/ */
class TestComplexFunctionsFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet { class TestComplexFunctionsFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet {
public static Stream<Arguments> data() throws Exception { public static Stream<Arguments> data() throws Exception {
return data(TestComplexFunctionsFromSpreadsheet.class, "ComplexFunctionTestCaseData.xls");
return dataFromClass(TestComplexFunctionsFromSpreadsheet.class, "ComplexFunctionTestCaseData.xls");
} }
} }

+ 1
- 1
poi/src/test/java/org/apache/poi/ss/formula/functions/TestDGetFunctionsFromSpreadsheet.java View File

*/ */
class TestDGetFunctionsFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet { class TestDGetFunctionsFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet {
public static Stream<Arguments> data() throws Exception { public static Stream<Arguments> data() throws Exception {
return data(TestDGetFunctionsFromSpreadsheet.class, "DGet.xls");
return dataFromClass(TestDGetFunctionsFromSpreadsheet.class, "DGet.xls");
} }
} }

+ 1
- 1
poi/src/test/java/org/apache/poi/ss/formula/functions/TestDStarFunctionsFromSpreadsheet.java View File

*/ */
class TestDStarFunctionsFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet { class TestDStarFunctionsFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet {
public static Stream<Arguments> data() throws Exception { public static Stream<Arguments> data() throws Exception {
return data(TestDStarFunctionsFromSpreadsheet.class, "DStar.xls");
return dataFromClass(TestDStarFunctionsFromSpreadsheet.class, "DStar.xls");
} }
} }

+ 1
- 1
poi/src/test/java/org/apache/poi/ss/formula/functions/TestDateTimeToNumberFromSpreadsheet.java View File



class TestDateTimeToNumberFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet { class TestDateTimeToNumberFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet {
public static Stream<Arguments> data() throws Exception { public static Stream<Arguments> data() throws Exception {
return data(TestDateTimeToNumberFromSpreadsheet.class, "DateTimeToNumberTestCases.xls");
return dataFromClass(TestDateTimeToNumberFromSpreadsheet.class, "DateTimeToNumberTestCases.xls");
} }
} }

+ 1
- 1
poi/src/test/java/org/apache/poi/ss/formula/functions/TestDeltaFunctionsFromSpreadsheet.java View File

*/ */
class TestDeltaFunctionsFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet { class TestDeltaFunctionsFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet {
public static Stream<Arguments> data() throws Exception { public static Stream<Arguments> data() throws Exception {
return data(TestDeltaFunctionsFromSpreadsheet.class, "DeltaFunctionTestCaseData.xls");
return dataFromClass(TestDeltaFunctionsFromSpreadsheet.class, "DeltaFunctionTestCaseData.xls");
} }
} }

+ 1
- 1
poi/src/test/java/org/apache/poi/ss/formula/functions/TestFactDoubleFunctionsFromSpreadsheet.java View File

*/ */
class TestFactDoubleFunctionsFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet { class TestFactDoubleFunctionsFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet {
public static Stream<Arguments> data() throws Exception { public static Stream<Arguments> data() throws Exception {
return data(TestFactDoubleFunctionsFromSpreadsheet.class, "FactDoubleFunctionTestCaseData.xls");
return dataFromClass(TestFactDoubleFunctionsFromSpreadsheet.class, "FactDoubleFunctionTestCaseData.xls");
} }
} }

+ 1
- 1
poi/src/test/java/org/apache/poi/ss/formula/functions/TestFixedFunctionsFromSpreadsheet.java View File

*/ */
class TestFixedFunctionsFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet { class TestFixedFunctionsFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet {
public static Stream<Arguments> data() throws Exception { public static Stream<Arguments> data() throws Exception {
return data(TestFixedFunctionsFromSpreadsheet.class, "57003-FixedFunctionTestCaseData.xls");
return dataFromClass(TestFixedFunctionsFromSpreadsheet.class, "57003-FixedFunctionTestCaseData.xls");
} }
} }

+ 1
- 1
poi/src/test/java/org/apache/poi/ss/formula/functions/TestIFFunctionFromSpreadsheet.java View File

*/ */
class TestIFFunctionFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet { class TestIFFunctionFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet {
public static Stream<Arguments> data() throws Exception { public static Stream<Arguments> data() throws Exception {
return data(TestIFFunctionFromSpreadsheet.class, "IfFunctionTestCaseData.xls");
return dataFromClass(TestIFFunctionFromSpreadsheet.class, "IfFunctionTestCaseData.xls");
} }
} }

+ 1
- 1
poi/src/test/java/org/apache/poi/ss/formula/functions/TestIfnaFromSpreadsheet.java View File

class TestIfnaFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet { class TestIfnaFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet {


public static Stream<Arguments> data() throws Exception { public static Stream<Arguments> data() throws Exception {
return data(TestIfnaFromSpreadsheet.class, "IfNaTestCaseData.xls");
return dataFromClass(TestIfnaFromSpreadsheet.class, "IfNaTestCaseData.xls");
} }
} }

+ 1
- 1
poi/src/test/java/org/apache/poi/ss/formula/functions/TestImRealFunctionsFromSpreadsheet.java View File

*/ */
class TestImRealFunctionsFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet { class TestImRealFunctionsFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet {
public static Stream<Arguments> data() throws Exception { public static Stream<Arguments> data() throws Exception {
return data(TestImRealFunctionsFromSpreadsheet.class, "ImRealFunctionTestCaseData.xls");
return dataFromClass(TestImRealFunctionsFromSpreadsheet.class, "ImRealFunctionTestCaseData.xls");
} }
} }

+ 1
- 1
poi/src/test/java/org/apache/poi/ss/formula/functions/TestImaginaryFunctionsFromSpreadsheet.java View File

*/ */
class TestImaginaryFunctionsFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet { class TestImaginaryFunctionsFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet {
public static Stream<Arguments> data() throws Exception { public static Stream<Arguments> data() throws Exception {
return data(TestImaginaryFunctionsFromSpreadsheet.class, "ImaginaryFunctionTestCaseData.xls");
return dataFromClass(TestImaginaryFunctionsFromSpreadsheet.class, "ImaginaryFunctionTestCaseData.xls");
} }
} }

+ 1
- 1
poi/src/test/java/org/apache/poi/ss/formula/functions/TestIndexFunctionFromSpreadsheet.java View File

*/ */
final class TestIndexFunctionFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet { final class TestIndexFunctionFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet {
public static Stream<Arguments> data() throws Exception { public static Stream<Arguments> data() throws Exception {
return data(TestIndexFunctionFromSpreadsheet.class, "IndexFunctionTestCaseData.xls");
return dataFromClass(TestIndexFunctionFromSpreadsheet.class, "IndexFunctionTestCaseData.xls");
} }
} }

+ 1
- 1
poi/src/test/java/org/apache/poi/ss/formula/functions/TestIndirectFunctionFromSpreadsheet.java View File

*/ */
final class TestIndirectFunctionFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet { final class TestIndirectFunctionFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet {
public static Stream<Arguments> data() throws Exception { public static Stream<Arguments> data() throws Exception {
return data(TestIndirectFunctionFromSpreadsheet.class, "IndirectFunctionTestCaseData.xls");
return dataFromClass(TestIndirectFunctionFromSpreadsheet.class, "IndirectFunctionTestCaseData.xls");
} }
} }

+ 1
- 1
poi/src/test/java/org/apache/poi/ss/formula/functions/TestLogicalFunctionsFromSpreadsheet.java View File

*/ */
class TestLogicalFunctionsFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet { class TestLogicalFunctionsFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet {
public static Stream<Arguments> data() throws Exception { public static Stream<Arguments> data() throws Exception {
return data(TestLogicalFunctionsFromSpreadsheet.class, "LogicalFunctionsTestCaseData.xls");
return dataFromClass(TestLogicalFunctionsFromSpreadsheet.class, "LogicalFunctionsTestCaseData.xls");
} }
} }

+ 1
- 1
poi/src/test/java/org/apache/poi/ss/formula/functions/TestLookupFunctionsFromSpreadsheet.java View File

*/ */
final class TestLookupFunctionsFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet { final class TestLookupFunctionsFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet {
public static Stream<Arguments> data() throws Exception { public static Stream<Arguments> data() throws Exception {
return data(TestLookupFunctionsFromSpreadsheet.class, "LookupFunctionsTestCaseData.xls");
return dataFromClass(TestLookupFunctionsFromSpreadsheet.class, "LookupFunctionsTestCaseData.xls");
} }
} }

+ 1
- 1
poi/src/test/java/org/apache/poi/ss/formula/functions/TestMatchFunctionsFromSpreadsheet.java View File

*/ */
final class TestMatchFunctionsFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet { final class TestMatchFunctionsFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet {
public static Stream<Arguments> data() throws Exception { public static Stream<Arguments> data() throws Exception {
return data(TestMatchFunctionsFromSpreadsheet.class, "MatchFunctionTestCaseData.xls");
return dataFromClass(TestMatchFunctionsFromSpreadsheet.class, "MatchFunctionTestCaseData.xls");
} }
} }

+ 1
- 1
poi/src/test/java/org/apache/poi/ss/formula/functions/TestQuotientFunctionsFromSpreadsheet.java View File

*/ */
class TestQuotientFunctionsFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet { class TestQuotientFunctionsFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet {
public static Stream<Arguments> data() throws Exception { public static Stream<Arguments> data() throws Exception {
return data(TestQuotientFunctionsFromSpreadsheet.class, "QuotientFunctionTestCaseData.xls");
return dataFromClass(TestQuotientFunctionsFromSpreadsheet.class, "QuotientFunctionTestCaseData.xls");
} }
} }

+ 1
- 1
poi/src/test/java/org/apache/poi/ss/formula/functions/TestReptFunctionsFromSpreadsheet.java View File

*/ */
class TestReptFunctionsFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet { class TestReptFunctionsFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet {
public static Stream<Arguments> data() throws Exception { public static Stream<Arguments> data() throws Exception {
return data(TestReptFunctionsFromSpreadsheet.class, "ReptFunctionTestCaseData.xls");
return dataFromClass(TestReptFunctionsFromSpreadsheet.class, "ReptFunctionTestCaseData.xls");
} }
} }

+ 1
- 1
poi/src/test/java/org/apache/poi/ss/formula/functions/TestRomanFunctionsFromSpreadsheet.java View File

*/ */
class TestRomanFunctionsFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet { class TestRomanFunctionsFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet {
public static Stream<Arguments> data() throws Exception { public static Stream<Arguments> data() throws Exception {
return data(TestRomanFunctionsFromSpreadsheet.class, "RomanFunctionTestCaseData.xls");
return dataFromClass(TestRomanFunctionsFromSpreadsheet.class, "RomanFunctionTestCaseData.xls");
} }
} }

+ 1
- 1
poi/src/test/java/org/apache/poi/ss/formula/functions/TestTrendFunctionsFromSpreadsheet.java View File

*/ */
class TestTrendFunctionsFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet { class TestTrendFunctionsFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet {
public static Stream<Arguments> data() throws Exception { public static Stream<Arguments> data() throws Exception {
return data(TestTrendFunctionsFromSpreadsheet.class, "Trend.xls");
return dataFromClass(TestTrendFunctionsFromSpreadsheet.class, "Trend.xls");
} }
} }

+ 1
- 1
poi/src/test/java/org/apache/poi/ss/formula/functions/TestTwoOperandNumericFunctionsFromSpreadsheet.java View File

*/ */
class TestTwoOperandNumericFunctionsFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet { class TestTwoOperandNumericFunctionsFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet {
public static Stream<Arguments> data() throws Exception { public static Stream<Arguments> data() throws Exception {
return data(TestTwoOperandNumericFunctionsFromSpreadsheet.class, "TwoOperandNumericFunctionTestCaseData.xls");
return dataFromClass(TestTwoOperandNumericFunctionsFromSpreadsheet.class, "TwoOperandNumericFunctionTestCaseData.xls");
} }
} }

+ 1
- 1
poi/src/test/java/org/apache/poi/ss/formula/functions/TestWeekNumFunctionsFromSpreadsheet.java View File

*/ */
class TestWeekNumFunctionsFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet { class TestWeekNumFunctionsFromSpreadsheet extends BaseTestFunctionsFromSpreadsheet {
public static Stream<Arguments> data() throws Exception { public static Stream<Arguments> data() throws Exception {
return data(TestWeekNumFunctionsFromSpreadsheet.class, "WeekNumFunctionTestCaseData.xls");
return dataFromClass(TestWeekNumFunctionsFromSpreadsheet.class, "WeekNumFunctionTestCaseData.xls");
} }
} }

+ 1
- 1
poi/src/test/java/org/apache/poi/ss/formula/functions/TestWeekNumFunctionsFromSpreadsheet2013.java View File

class TestWeekNumFunctionsFromSpreadsheet2013 extends BaseTestFunctionsFromSpreadsheet { class TestWeekNumFunctionsFromSpreadsheet2013 extends BaseTestFunctionsFromSpreadsheet {
public static Stream<Arguments> data() throws Exception { public static Stream<Arguments> data() throws Exception {
//Only open this file with Excel 2013 to keep binary specific to that version //Only open this file with Excel 2013 to keep binary specific to that version
return data(TestWeekNumFunctionsFromSpreadsheet2013.class, "WeekNumFunctionTestCaseData2013.xls");
return dataFromClass(TestWeekNumFunctionsFromSpreadsheet2013.class, "WeekNumFunctionTestCaseData2013.xls");
} }
} }

Loading…
Cancel
Save