]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Added license header to disabled testcases XML file. Removed obsolete files and code.
authorJoerg Pietschmann <pietsch@apache.org>
Sun, 20 Nov 2005 22:22:10 +0000 (22:22 +0000)
committerJoerg Pietschmann <pietsch@apache.org>
Sun, 20 Nov 2005 22:22:10 +0000 (22:22 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@345785 13f79535-47bb-0310-9956-ffa450edef68

test/fotree/disabled-testcases.txt [deleted file]
test/fotree/disabled-testcases.xml
test/java/org/apache/fop/layoutengine/LayoutEngineTestSuite.java
test/layoutengine/disabled-testcases.dtd
test/layoutengine/disabled-testcases.txt [deleted file]
test/layoutengine/disabled-testcases.xml

diff --git a/test/fotree/disabled-testcases.txt b/test/fotree/disabled-testcases.txt
deleted file mode 100644 (file)
index 59cd3c9..0000000
+++ /dev/null
@@ -1 +0,0 @@
-demo-test-failure.fo
index 0b13bb1dffd5db0d11208bbcfe4b73742d06b1cf..2b7ae2ad6d0f8a224f4416605fd02619bc748be6 100755 (executable)
@@ -1,4 +1,20 @@
 <?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: $ -->
 <disabled-testcases>
   <testcase>
     <name>demo test failure</name>
index f09b8497115b24cb87a9c079d0b80bfc73f8ac8d..f90d9f8e79094c754a8e5b03b106723f5dd9b072 100644 (file)
@@ -63,17 +63,6 @@ public class LayoutEngineTestSuite {
         DebugHelper.registerStandardElementListObservers();
     }
     
-    public static String[] readLinesFromFile(File f) throws IOException {
-        List lines = new java.util.ArrayList();
-        Reader reader = new FileReader(f);
-        BufferedReader br = new BufferedReader(reader);
-        String line;
-        while ((line = br.readLine()) != null) {
-            lines.add(line);
-        }
-        return (String[])lines.toArray(new String[lines.size()]);
-    }
-    
     public static String[] readDisabledTestcases(File f) throws IOException {
         List lines = new java.util.ArrayList();
         Source stylesheet = new StreamSource(
@@ -133,7 +122,6 @@ public class LayoutEngineTestSuite {
         String disabled = System.getProperty("fop.layoutengine.disabled");
         if (disabled != null && disabled.length() > 0) {
             filter = new AndFileFilter(new NotFileFilter(
-//                           new NameFileFilter(readLinesFromFile(new File(disabled)))),
                            new NameFileFilter(readDisabledTestcases(new File(disabled)))),
                     filter);
         }
index f9919816926ca11cb5329c5061b321f93a5dc556..d3db579742d8123691718e909ec0c278724525ab 100755 (executable)
@@ -1,3 +1,19 @@
+<!--\r
+  Copyright 2005 The Apache Software Foundation\r
+\r
+  Licensed under the Apache License, Version 2.0 (the "License");\r
+  you may not use this file except in compliance with the License.\r
+  You may obtain a copy of the License at\r
+\r
+       http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+  Unless required by applicable law or agreed to in writing, software\r
+  distributed under the License is distributed on an "AS IS" BASIS,\r
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+  See the License for the specific language governing permissions and\r
+  limitations under the License.\r
+-->\r
+<!-- $Id: $ -->\r
 <!ELEMENT disabled-testcases (testcase)*>\r
 <!ELEMENT testcase (name?,file,description?,reference*)>\r
 <!ATTLIST testcase id ID #IMPLIED>\r
diff --git a/test/layoutengine/disabled-testcases.txt b/test/layoutengine/disabled-testcases.txt
deleted file mode 100644 (file)
index 8bb23ac..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-block-container_reference-orientation_bug36391.xml
-block-container_space-before_space-after_3.xml
-block_font-stretch.xml
-block_linefeed-treatment.xml
-block_padding_2.xml
-block_space-before_space-after_8.xml
-block_white-space-collapse_2.xml
-block_white-space-treatment_1.xml
-block_white-space-treatment_2.xml
-block_word-spacing.xml
-block_word-spacing_text-align_justify.xml
-external-graphic_oversized.xml
-footnote_space-resolution.xml
-inline-block_keep-together.xml
-inline_block_nested_3.xml
-inline-container_block_nested.xml
-inline-container_border_padding.xml
-inline_letter-spacing.xml
-inline_word-spacing.xml
-inline_word-spacing_text-align_justify.xml
-leader-alignment.xml
-leader_leader-pattern_use-content_bug.xml
-list-block_keep-with-previous.xml
-list-item_block_keep-with-previous.xml
-marker_bug.xml
-page-breaking_4.xml
-page-breaking_6.xml
-page-height_indefinite_simple.xml
-page-number-citation_background-image.xml
-page-number-citation_complex_1.xml
-page-number-citation_complex_2.xml
-page-number_initial-page-number_2.xml
-region-body_column-count_footnote.xml
-region-body_column-count_bug36356.xml
-table-body_background-image.xml
-table_border-collapse_collapse_1.xml
-table_border-collapse_collapse_2.xml
-table_border_padding.xml
-table-cell_block_keep-with-previous.xml
-table-cell_border_padding_conditionality.xml
-table-column_first-row-width.xml
-table-header_background-image.xml
-table-row_keep-with-previous.xml
-table_table-layout_fixed_2.xml
-table_border-width_conditionality.xml
index b1debef39b71ce4d19f3485e137535489c66450c..1089827d9160935a06e4b4e0377894e62c211ca7 100755 (executable)
@@ -1,5 +1,21 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE disabled-testcases SYSTEM "disabled-testcases.dtd">
+<!--
+  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: $ -->
+<!--DOCTYPE disabled-testcases SYSTEM "disabled-testcases.dtd"-->
 <disabled-testcases>
   <testcase>
     <name>block-container reference-orientation bug36391</name>