]> source.dussan.org Git - poi.git/commitdiff
Use parameter in unit test
authorDominik Stadler <centic@apache.org>
Wed, 30 Dec 2015 20:31:56 +0000 (20:31 +0000)
committerDominik Stadler <centic@apache.org>
Wed, 30 Dec 2015 20:31:56 +0000 (20:31 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1722412 13f79535-47bb-0310-9956-ffa450edef68

src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFSlideShowFactory.java

index 8b9ac979f282b09f8563db379bc31235d194a7d9..b4a87337abd9ba36931db56da461245b8492a741 100644 (file)
@@ -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();