Author: vyemialyanchyk
Date: 2009-09-03 06:51:10 -0400 (Thu, 03 Sep 2009)
New Revision: 17441
Modified:
branches/jbosstools-3.1.0.M3/hibernatetools/tests/org.jboss.tools.hibernate.ui.test/src/org/jboss/tools/hibernate/ui/diagram/editors/actions/test/ExportImageActionTest.java
Log:
try to fix junit test on hudson
Modified:
branches/jbosstools-3.1.0.M3/hibernatetools/tests/org.jboss.tools.hibernate.ui.test/src/org/jboss/tools/hibernate/ui/diagram/editors/actions/test/ExportImageActionTest.java
===================================================================
---
branches/jbosstools-3.1.0.M3/hibernatetools/tests/org.jboss.tools.hibernate.ui.test/src/org/jboss/tools/hibernate/ui/diagram/editors/actions/test/ExportImageActionTest.java 2009-09-03
10:45:38 UTC (rev 17440)
+++
branches/jbosstools-3.1.0.M3/hibernatetools/tests/org.jboss.tools.hibernate.ui.test/src/org/jboss/tools/hibernate/ui/diagram/editors/actions/test/ExportImageActionTest.java 2009-09-03
10:51:10 UTC (rev 17441)
@@ -62,6 +62,9 @@
oneOf(saveDialog).open();
will(returnValue(filePath));
+ allowing(editor).getSite();
+ will(returnValue(null));
+
allowing(editor).getEditPartViewer();
will(returnValue(graphicalViewer));
Show replies by date