aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNick Burch <nick@apache.org>2008-02-15 10:30:10 +0000
committerNick Burch <nick@apache.org>2008-02-15 10:30:10 +0000
commite8bc2c0c40856ab72d2ee10fa3c765e9cbc591f9 (patch)
tree09d80593bcab20a3580b709b6eecfe5bc8606746
parent2598100690fe56d623b46352d1da6a267c26f8ed (diff)
downloadpoi-e8bc2c0c40856ab72d2ee10fa3c765e9cbc591f9.tar.gz
poi-e8bc2c0c40856ab72d2ee10fa3c765e9cbc591f9.zip
To avoid confusion and repeated changes in svn, update the TestDataValidation test to output its file (that needs opening in excel to check to output) into the system tmp directory
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@627999 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--src/testcases/org/apache/poi/hssf/data/TestDataValidation.xlsbin21504 -> 0 bytes
-rw-r--r--src/testcases/org/apache/poi/hssf/usermodel/TestDataValidation.java2
2 files changed, 1 insertions, 1 deletions
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
index 5241369212..0000000000
--- a/src/testcases/org/apache/poi/hssf/data/TestDataValidation.xls
+++ /dev/null
Binary files differ
diff --git a/src/testcases/org/apache/poi/hssf/usermodel/TestDataValidation.java b/src/testcases/org/apache/poi/hssf/usermodel/TestDataValidation.java
index f970ff26f1..34885e7a21 100644
--- a/src/testcases/org/apache/poi/hssf/usermodel/TestDataValidation.java
+++ b/src/testcases/org/apache/poi/hssf/usermodel/TestDataValidation.java
@@ -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 );