]> source.dussan.org Git - poi.git/commitdiff
To avoid confusion and repeated changes in svn, update the TestDataValidation test...
authorNick Burch <nick@apache.org>
Fri, 15 Feb 2008 10:30:10 +0000 (10:30 +0000)
committerNick Burch <nick@apache.org>
Fri, 15 Feb 2008 10:30:10 +0000 (10:30 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@627999 13f79535-47bb-0310-9956-ffa450edef68

src/testcases/org/apache/poi/hssf/data/TestDataValidation.xls [deleted file]
src/testcases/org/apache/poi/hssf/usermodel/TestDataValidation.java

diff --git a/src/testcases/org/apache/poi/hssf/data/TestDataValidation.xls b/src/testcases/org/apache/poi/hssf/data/TestDataValidation.xls
deleted file mode 100644 (file)
index 5241369..0000000
Binary files a/src/testcases/org/apache/poi/hssf/data/TestDataValidation.xls and /dev/null differ
index f970ff26f1f5db48b36567e0a98d01be8c90922b..34885e7a21d88ec843ba926776cdf4006099fe74 100644 (file)
@@ -51,7 +51,7 @@ public class TestDataValidation extends TestCase
   public void testDataValidation() throws Exception
   {
     System.out.println("\nTest no. 2 - Test Excel's Data validation mechanism");
-    String resultFile   = System.getProperty("HSSF.testdata.path")+"/TestDataValidation.xls";
+    String resultFile   = System.getProperty("java.io.tmpdir")+File.separator+"TestDataValidation.xls";
     HSSFWorkbook wb = new HSSFWorkbook();
 
     HSSFCellStyle style_1 = this.createStyle( wb, HSSFCellStyle.ALIGN_LEFT );