From e532adfb31e3745df40a861d7b1ffc916fd4cab2 Mon Sep 17 00:00:00 2001 From: Jeremias Maerki Date: Thu, 22 Dec 2005 09:47:40 +0000 Subject: [PATCH] Adjust to changes in KnuthSequence. 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 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)); -- 2.39.5