Use parameter in unit test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1722412 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
902830cf14
commit
5344aa12cd
@ -49,7 +49,7 @@ public final class TestXSLFSlideShowFactory extends BaseTestSlideShowFactory {
|
||||
EncryptionInfo info = new EncryptionInfo(EncryptionMode.agile);
|
||||
Encryptor enc = info.getEncryptor();
|
||||
enc.confirmPassword(password);
|
||||
InputStream fis = _slTests.openResourceAsStream("SampleShow.pptx");
|
||||
InputStream fis = _slTests.openResourceAsStream(basefile);
|
||||
OutputStream os = enc.getDataStream(fs);
|
||||
IOUtils.copy(fis, os);
|
||||
os.close();
|
||||
|
Loading…
Reference in New Issue
Block a user