]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Adjust to changes in KnuthSequence.
authorJeremias Maerki <jeremias@apache.org>
Thu, 22 Dec 2005 09:47:40 +0000 (09:47 +0000)
committerJeremias Maerki <jeremias@apache.org>
Thu, 22 Dec 2005 09:47:40 +0000 (09:47 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@358544 13f79535-47bb-0310-9956-ffa450edef68

test/java/org/apache/fop/KnuthAlgorithmTestCase.java

index 39d4190ffc7a8a7e5e0f74e0e3f102e6dab7f645..1e78e2d694d1395f4e182ea2506b0edb71f23f1e 100644 (file)
@@ -20,6 +20,7 @@ package org.apache.fop;
 
 import java.util.List;
 
+import org.apache.fop.layoutmgr.BlockKnuthSequence;
 import org.apache.fop.layoutmgr.BreakingAlgorithm;
 import org.apache.fop.layoutmgr.ElementListObserver;
 import org.apache.fop.layoutmgr.KnuthBox;
@@ -41,7 +42,7 @@ public class KnuthAlgorithmTestCase extends TestCase {
     }
 
     private KnuthSequence getKnuthSequence1() {
-        KnuthSequence seq = new KnuthSequence();
+        KnuthSequence seq = new BlockKnuthSequence();
         for (int i = 0; i < 5; i++) {
             seq.add(new KnuthBox(0, null, true));
             seq.add(new KnuthPenalty(0, KnuthPenalty.INFINITE, false, null, true));