From: Jeremias Maerki Date: Thu, 22 Dec 2005 09:47:40 +0000 (+0000) Subject: Adjust to changes in KnuthSequence. X-Git-Tag: fop-0_92-beta~274 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e532adfb31e3745df40a861d7b1ffc916fd4cab2;p=xmlgraphics-fop.git Adjust to changes in KnuthSequence. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@358544 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/test/java/org/apache/fop/KnuthAlgorithmTestCase.java b/test/java/org/apache/fop/KnuthAlgorithmTestCase.java index 39d4190ff..1e78e2d69 100644 --- a/test/java/org/apache/fop/KnuthAlgorithmTestCase.java +++ b/test/java/org/apache/fop/KnuthAlgorithmTestCase.java @@ -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));