Return-Path: Delivered-To: apmail-poi-commits-archive@minotaur.apache.org Received: (qmail 3721 invoked from network); 29 Jul 2010 12:03:25 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 29 Jul 2010 12:03:25 -0000 Received: (qmail 47739 invoked by uid 500); 29 Jul 2010 12:03:25 -0000 Delivered-To: apmail-poi-commits-archive@poi.apache.org Received: (qmail 47702 invoked by uid 500); 29 Jul 2010 12:03:24 -0000 Mailing-List: contact commits-help@poi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@poi.apache.org Delivered-To: mailing list commits@poi.apache.org Received: (qmail 47695 invoked by uid 99); 29 Jul 2010 12:03:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Jul 2010 12:03:24 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Jul 2010 12:03:21 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 0B51D23889B3; Thu, 29 Jul 2010 12:02:04 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r980417 - /poi/trunk/src/ooxml/testcases/org/apache/poi/xslf/TestXSLFSlideShow.java Date: Thu, 29 Jul 2010 12:02:04 -0000 To: commits@poi.apache.org From: nick@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20100729120204.0B51D23889B3@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: nick Date: Thu Jul 29 12:02:03 2010 New Revision: 980417 URL: http://svn.apache.org/viewvc?rev=980417&view=rev Log: Commit unit test change too Modified: poi/trunk/src/ooxml/testcases/org/apache/poi/xslf/TestXSLFSlideShow.java Modified: poi/trunk/src/ooxml/testcases/org/apache/poi/xslf/TestXSLFSlideShow.java URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/testcases/org/apache/poi/xslf/TestXSLFSlideShow.java?rev=980417&r1=980416&r2=980417&view=diff ============================================================================== --- poi/trunk/src/ooxml/testcases/org/apache/poi/xslf/TestXSLFSlideShow.java (original) +++ poi/trunk/src/ooxml/testcases/org/apache/poi/xslf/TestXSLFSlideShow.java Thu Jul 29 12:02:03 2010 @@ -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 T 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); --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org For additional commands, e-mail: commits-help@poi.apache.org