From 620eb2179606227b35dc81ec625c2dc5eb61baf2 Mon Sep 17 00:00:00 2001 From: Nick Burch Date: Thu, 29 Jul 2010 12:02:03 +0000 Subject: [PATCH] Commit unit test change too git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@980417 13f79535-47bb-0310-9956-ffa450edef68 --- src/ooxml/testcases/org/apache/poi/xslf/TestXSLFSlideShow.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ooxml/testcases/org/apache/poi/xslf/TestXSLFSlideShow.java b/src/ooxml/testcases/org/apache/poi/xslf/TestXSLFSlideShow.java index b39d569bc4..25f7012d37 100644 --- a/src/ooxml/testcases/org/apache/poi/xslf/TestXSLFSlideShow.java +++ b/src/ooxml/testcases/org/apache/poi/xslf/TestXSLFSlideShow.java @@ -21,6 +21,7 @@ import junit.framework.TestCase; import org.apache.poi.POIDataSamples; import org.apache.poi.openxml4j.opc.OPCPackage; import org.apache.poi.openxml4j.opc.PackagePart; +import org.apache.poi.xslf.usermodel.XSLFRelation; import org.openxmlformats.schemas.presentationml.x2006.main.CTSlideIdListEntry; import org.openxmlformats.schemas.presentationml.x2006.main.CTSlideMasterIdListEntry; @@ -35,7 +36,7 @@ public class TestXSLFSlideShow extends TestCase { public void testContainsMainContentType() throws Exception { boolean found = false; for(PackagePart part : pack.getParts()) { - if(part.getContentType().equals(XSLFSlideShow.MAIN_CONTENT_TYPE)) { + if(part.getContentType().equals(XSLFRelation.MAIN.getContentType())) { found = true; } //System.out.println(part); -- 2.39.5