aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/java/org/apache/fop/render/intermediate/AbstractIFPainterTestCase.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/java/org/apache/fop/render/intermediate/AbstractIFPainterTestCase.java b/test/java/org/apache/fop/render/intermediate/AbstractIFPainterTestCase.java
index ebe7f17b5..0f3e6e847 100644
--- a/test/java/org/apache/fop/render/intermediate/AbstractIFPainterTestCase.java
+++ b/test/java/org/apache/fop/render/intermediate/AbstractIFPainterTestCase.java
@@ -29,6 +29,7 @@ import org.w3c.dom.Document;
import org.apache.fop.fonts.FontInfo;
import org.apache.fop.fonts.FontTriplet;
import org.apache.fop.render.RenderingContext;
+import org.apache.fop.traits.BorderProps;
import static org.junit.Assert.assertEquals;
import static org.mockito.Mockito.mock;
@@ -76,6 +77,13 @@ public class AbstractIFPainterTestCase {
public void drawText(int x, int y, int letterSpacing, int wordSpacing, int[][] dp,
String text) throws IFException {
}
+
+ public void clipBackground(Rectangle rect, BorderProps bpsBefore,
+ BorderProps bpsAfter, BorderProps bpsStart,
+ BorderProps bpsEnd) throws IFException {
+ // TODO Auto-generated method stub
+ throw new UnsupportedOperationException();
+ }
};
FontInfo fontInfo = mock(FontInfo.class);
when(handler.getFontInfo()).thenReturn(fontInfo);