diff options
author | sdimov | 2011-05-04 14:07:19 +0000 |
---|---|---|
committer | sdimov | 2011-05-04 14:07:19 +0000 |
commit | 9e72ff45e1abf1957ad3adc69115f51050436344 (patch) | |
tree | 78ae60b497b960f3ca69e39340fd2f3b3571b188 | |
parent | fb8648d22a00064393e7ce221ecca2620959a602 (diff) | |
download | webtools.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.java | 3 |
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); } |