Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsdimov2011-05-04 14:07:19 +0000
committersdimov2011-05-04 14:07:19 +0000
commit9e72ff45e1abf1957ad3adc69115f51050436344 (patch)
tree78ae60b497b960f3ca69e39340fd2f3b3571b188
parentfb8648d22a00064393e7ce221ecca2620959a602 (diff)
downloadwebtools.dali-9e72ff45e1abf1957ad3adc69115f51050436344.tar.gz
webtools.dali-9e72ff45e1abf1957ad3adc69115f51050436344.tar.xz
webtools.dali-9e72ff45e1abf1957ad3adc69115f51050436344.zip
Fix for failing test
-rw-r--r--jpa_diagram_editor/tests/org.eclipse.jpt.jpadiagrameditor.ui.tests/src/org/eclipse/jpt/jpadiagrameditor/ui/tests/internal/feature/AddJPAEntityFeatureTest.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/jpa_diagram_editor/tests/org.eclipse.jpt.jpadiagrameditor.ui.tests/src/org/eclipse/jpt/jpadiagrameditor/ui/tests/internal/feature/AddJPAEntityFeatureTest.java b/jpa_diagram_editor/tests/org.eclipse.jpt.jpadiagrameditor.ui.tests/src/org/eclipse/jpt/jpadiagrameditor/ui/tests/internal/feature/AddJPAEntityFeatureTest.java
index edabfaf27b..f586ba2321 100644
--- a/jpa_diagram_editor/tests/org.eclipse.jpt.jpadiagrameditor.ui.tests/src/org/eclipse/jpt/jpadiagrameditor/ui/tests/internal/feature/AddJPAEntityFeatureTest.java
+++ b/jpa_diagram_editor/tests/org.eclipse.jpt.jpadiagrameditor.ui.tests/src/org/eclipse/jpt/jpadiagrameditor/ui/tests/internal/feature/AddJPAEntityFeatureTest.java
@@ -67,7 +67,8 @@ public class AddJPAEntityFeatureTest {
EasyMock.expectLastCall().asStub();
c1.setBlue(EasyMock.anyInt());
EasyMock.expectLastCall().asStub();
-
+ EList<Font> fonts = new BasicInternalEList<Font>(Font.class);
+ expect(d.getFonts()).andStubReturn(fonts);
replay(d, c, c1, idp, featureProvider);
}

Back to the top