mirror of https://github.com/apache/poi.git
Force OPOIFS test to explicitly create OPOIFS instance
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1681802 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d617309024
commit
f51479df57
|
@ -67,9 +67,9 @@ public final class TestFileSystemBugs extends TestCase {
|
||||||
if (openedFSs == null) openedFSs = new ArrayList<NPOIFSFileSystem>();
|
if (openedFSs == null) openedFSs = new ArrayList<NPOIFSFileSystem>();
|
||||||
openedFSs.add(nfs);
|
openedFSs.add(nfs);
|
||||||
|
|
||||||
POIFSFileSystem ofs = null;
|
OPOIFSFileSystem ofs = null;
|
||||||
try {
|
try {
|
||||||
ofs = new POIFSFileSystem(inps[1]);
|
ofs = new OPOIFSFileSystem(inps[1]);
|
||||||
if (oldFails) fail("POIFSFileSystem should have failed but didn't");
|
if (oldFails) fail("POIFSFileSystem should have failed but didn't");
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
if (!oldFails) throw e;
|
if (!oldFails) throw e;
|
||||||
|
|
Loading…
Reference in New Issue