aboutsummaryrefslogtreecommitdiffstats
path: root/src/testcases/org/apache/poi
diff options
context:
space:
mode:
authorJaven O'Neal <onealj@apache.org>2016-01-03 01:26:29 +0000
committerJaven O'Neal <onealj@apache.org>2016-01-03 01:26:29 +0000
commit0f609b18b017bef362bd6068591e5ee1124b8ecf (patch)
tree14a841bb3a7855b397844aa1c2975cc8e27bdcec /src/testcases/org/apache/poi
parent9ff52e8254a2511ff69a4c91b826ce437409decc (diff)
downloadpoi-0f609b18b017bef362bd6068591e5ee1124b8ecf.tar.gz
poi-0f609b18b017bef362bd6068591e5ee1124b8ecf.zip
test XSLF SlideShowFactory creation methods individually for more granular unit test results
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1722695 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/testcases/org/apache/poi')
-rw-r--r--src/testcases/org/apache/poi/sl/usermodel/BaseTestSlideShowFactory.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/testcases/org/apache/poi/sl/usermodel/BaseTestSlideShowFactory.java b/src/testcases/org/apache/poi/sl/usermodel/BaseTestSlideShowFactory.java
index afffbf44f2..a2998053b5 100644
--- a/src/testcases/org/apache/poi/sl/usermodel/BaseTestSlideShowFactory.java
+++ b/src/testcases/org/apache/poi/sl/usermodel/BaseTestSlideShowFactory.java
@@ -30,7 +30,7 @@ import org.apache.poi.poifs.filesystem.NPOIFSFileSystem;
public class BaseTestSlideShowFactory {
private static POIDataSamples _slTests = POIDataSamples.getSlideShowInstance();
- private static void testFactoryFromFile(String file) throws Exception {
+ protected static void testFactoryFromFile(String file) throws Exception {
SlideShow<?,?> ss;
// from file
ss = SlideShowFactory.create(fromFile(file));
@@ -38,7 +38,7 @@ public class BaseTestSlideShowFactory {
ss.close();
}
- private static void testFactoryFromStream(String file) throws Exception {
+ protected static void testFactoryFromStream(String file) throws Exception {
SlideShow<?,?> ss;
// from stream
ss = SlideShowFactory.create(fromStream(file));
@@ -46,7 +46,7 @@ public class BaseTestSlideShowFactory {
ss.close();
}
- private static void testFactoryFromNative(String file) throws Exception {
+ protected static void testFactoryFromNative(String file) throws Exception {
SlideShow<?,?> ss;
// from NPOIFS
if (!file.contains("pptx")) {
@@ -58,7 +58,7 @@ public class BaseTestSlideShowFactory {
}
}
- private static void testFactoryFromProtectedFile(String protectedFile, String password) throws Exception {
+ protected static void testFactoryFromProtectedFile(String protectedFile, String password) throws Exception {
SlideShow<?,?> ss;
// from protected file
ss = SlideShowFactory.create(fromFile(protectedFile), password);
@@ -66,7 +66,7 @@ public class BaseTestSlideShowFactory {
ss.close();
}
- private static void testFactoryFromProtectedStream(String protectedFile, String password) throws Exception {
+ protected static void testFactoryFromProtectedStream(String protectedFile, String password) throws Exception {
SlideShow<?,?> ss;
// from protected stream
ss = SlideShowFactory.create(fromStream(protectedFile), password);
@@ -74,7 +74,7 @@ public class BaseTestSlideShowFactory {
ss.close();
}
- private static void testFactoryFromProtectedNative(String protectedFile, String password) throws Exception {
+ protected static void testFactoryFromProtectedNative(String protectedFile, String password) throws Exception {
SlideShow<?,?> ss;
// from protected NPOIFS
NPOIFSFileSystem npoifs = new NPOIFSFileSystem(fromFile(protectedFile));