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
This commit is contained in:
Nick Burch 2008-02-15 10:30:10 +00:00
parent 4a7276e4ee
commit 28b1858b3e
2 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ public class TestDataValidation extends TestCase
public void testDataValidation() throws Exception public void testDataValidation() throws Exception
{ {
System.out.println("\nTest no. 2 - Test Excel's Data validation mechanism"); 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(); HSSFWorkbook wb = new HSSFWorkbook();
HSSFCellStyle style_1 = this.createStyle( wb, HSSFCellStyle.ALIGN_LEFT ); HSSFCellStyle style_1 = this.createStyle( wb, HSSFCellStyle.ALIGN_LEFT );