aboutsummaryrefslogtreecommitdiffstats
path: root/src/testcases/org/apache/poi/TestPOIDocumentMain.java
diff options
context:
space:
mode:
authorNick Burch <nick@apache.org>2015-05-11 18:04:30 +0000
committerNick Burch <nick@apache.org>2015-05-11 18:04:30 +0000
commit32579cda68087cce7ccaab56240d6bfa7e59ec4d (patch)
treee9e1f4616b5b300a94280ad8b3079e27a17ccb81 /src/testcases/org/apache/poi/TestPOIDocumentMain.java
parent680740dc252be1a172dc5d298b4ee09b30431665 (diff)
downloadpoi-32579cda68087cce7ccaab56240d6bfa7e59ec4d.tar.gz
poi-32579cda68087cce7ccaab56240d6bfa7e59ec4d.zip
#56791 More updates from OPOIFS to NPOIFS
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1678783 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/testcases/org/apache/poi/TestPOIDocumentMain.java')
-rw-r--r--src/testcases/org/apache/poi/TestPOIDocumentMain.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/testcases/org/apache/poi/TestPOIDocumentMain.java b/src/testcases/org/apache/poi/TestPOIDocumentMain.java
index 67552588f1..4ababd6f46 100644
--- a/src/testcases/org/apache/poi/TestPOIDocumentMain.java
+++ b/src/testcases/org/apache/poi/TestPOIDocumentMain.java
@@ -26,6 +26,7 @@ import junit.framework.TestCase;
import org.apache.poi.hssf.HSSFTestDataSamples;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
+import org.apache.poi.poifs.filesystem.NPOIFSFileSystem;
import org.apache.poi.poifs.filesystem.POIFSFileSystem;
/**
@@ -72,7 +73,7 @@ public final class TestPOIDocumentMain extends TestCase {
public void testWriteProperties() throws Exception {
// Just check we can write them back out into a filesystem
- POIFSFileSystem outFS = new POIFSFileSystem();
+ NPOIFSFileSystem outFS = new NPOIFSFileSystem();
doc.readProperties();
doc.writeProperties(outFS);
@@ -89,7 +90,7 @@ public final class TestPOIDocumentMain extends TestCase {
ByteArrayOutputStream baos = new ByteArrayOutputStream();
// Write them out
- POIFSFileSystem outFS = new POIFSFileSystem();
+ NPOIFSFileSystem outFS = new NPOIFSFileSystem();
doc.readProperties();
doc.writeProperties(outFS);
outFS.writeFilesystem(baos);