xmlgraphics-fop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jerem...@apache.org
Subject cvs commit: xml-fop/test/layoutengine disabled-testcases.txt
Date Tue, 21 Jun 2005 12:04:13 GMT
jeremias    2005/06/21 05:04:12

  Modified:    test/layoutengine disabled-testcases.txt
  Added:       test/layoutengine/testcases wrapper1.xml inline1.xml
  Log:
  Test cases showing ClassCastExceptions with fo:blocks inside fo:inline and fo:wrapper because
InlineLayoutManager currently doesn't expect block-level nodes.
  
  Revision  Changes    Path
  1.1                  xml-fop/test/layoutengine/testcases/wrapper1.xml
  
  Index: wrapper1.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  <!--
    Copyright 2005 The Apache Software Foundation
  
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at
  
         http://www.apache.org/licenses/LICENSE-2.0
  
    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
  -->
  <!-- $Id: wrapper1.xml,v 1.1 2005/06/21 12:04:12 jeremias Exp $ -->
  <testcase>
    <info>
      <p>
        This test checks fo:wrapper and nested nodes.
      </p>
    </info>
    <fo>
      <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:svg="http://www.w3.org/2000/svg">
        <fo:layout-master-set>
          <fo:simple-page-master master-name="normal" page-width="5in" page-height="5in">
            <fo:region-body/>
          </fo:simple-page-master>
        </fo:layout-master-set>
        <fo:page-sequence master-reference="normal" white-space-collapse="true">
          <fo:flow flow-name="xsl-region-body">
            <fo:block><fo:wrapper>part1<fo:block/>part2</fo:wrapper></fo:block>
          </fo:flow>
        </fo:page-sequence>
      </fo:root>
    </fo>
    <checks>
      <!-- currently causes a ClassCastException -->
    </checks>
  </testcase>
  
  
  
  1.1                  xml-fop/test/layoutengine/testcases/inline1.xml
  
  Index: inline1.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  <!--
    Copyright 2005 The Apache Software Foundation
  
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at
  
         http://www.apache.org/licenses/LICENSE-2.0
  
    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
  -->
  <!-- $Id: inline1.xml,v 1.1 2005/06/21 12:04:12 jeremias Exp $ -->
  <testcase>
    <info>
      <p>
        This test checks fo:inline and nested nodes.
      </p>
    </info>
    <fo>
      <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:svg="http://www.w3.org/2000/svg">
        <fo:layout-master-set>
          <fo:simple-page-master master-name="normal" page-width="5in" page-height="5in">
            <fo:region-body/>
          </fo:simple-page-master>
        </fo:layout-master-set>
        <fo:page-sequence master-reference="normal" white-space-collapse="true">
          <fo:flow flow-name="xsl-region-body">
            <fo:block><fo:inline>part1<fo:block/>part2</fo:inline></fo:block>
          </fo:flow>
        </fo:page-sequence>
      </fo:root>
    </fo>
    <checks>
      <!-- currently causes a ClassCastException -->
    </checks>
  </testcase>
  
  
  
  1.29      +2 -0      xml-fop/test/layoutengine/disabled-testcases.txt
  
  Index: disabled-testcases.txt
  ===================================================================
  RCS file: /home/cvs/xml-fop/test/layoutengine/disabled-testcases.txt,v
  retrieving revision 1.28
  retrieving revision 1.29
  diff -u -r1.28 -r1.29
  --- disabled-testcases.txt	14 Jun 2005 16:16:44 -0000	1.28
  +++ disabled-testcases.txt	21 Jun 2005 12:04:12 -0000	1.29
  @@ -1,5 +1,6 @@
   external-graphic1.xml
   external-graphic2.xml
  +inline1.xml
   keep-with-previous2.xml
   keep-with-previous3.xml
   keep-with-previous4.xml
  @@ -9,3 +10,4 @@
   table-border-collapse1.xml
   table-border-collapse2.xml
   table-fixed2.xml
  +wrapper1.xml
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org


Mime
View raw message