mirror of
https://github.com/apache/poi.git
synced 2026-02-27 20:40:08 +08:00
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
e55a1b63e1
commit
3073f62b92
@ -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…
x
Reference in New Issue
Block a user