Updated to support Git and Jenkins
This commit is contained in:
parent
e7fa4ab98a
commit
7abbb54444
|
@ -24,7 +24,6 @@ public class GwtTestWidgetCommonEvent extends GWTTestCase {
|
|||
return "org.gcube.portlets.user.td.widgetcommonevent.WidgetCommonEventJUnit";
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Test Events fire
|
||||
*/
|
||||
|
@ -33,9 +32,7 @@ public class GwtTestWidgetCommonEvent extends GWTTestCase {
|
|||
|
||||
SimpleEventBus eventBus = new SimpleEventBus();
|
||||
|
||||
eventBus.addHandler(RibbonEvent.TYPE,
|
||||
new RibbonEvent.RibbonEventHandler() {
|
||||
|
||||
eventBus.addHandler(RibbonEvent.TYPE, new RibbonEvent.RibbonEventHandler() {
|
||||
|
||||
public void onRibbon(RibbonEvent event) {
|
||||
doRibbonCommand(event);
|
||||
|
@ -47,7 +44,6 @@ public class GwtTestWidgetCommonEvent extends GWTTestCase {
|
|||
eventBus.fireEvent(new RibbonEvent(RibbonType.IMPORT_CSV));
|
||||
eventBus.fireEvent(new RibbonEvent(RibbonType.IMPORT_JSON));
|
||||
|
||||
|
||||
}
|
||||
|
||||
private void doRibbonCommand(RibbonEvent event) {
|
||||
|
@ -67,8 +63,7 @@ public class GwtTestWidgetCommonEvent extends GWTTestCase {
|
|||
break;
|
||||
}
|
||||
} catch (Exception e) {
|
||||
System.out.println("doRibbonCommand Error : " + e.getLocalizedMessage()
|
||||
+ " \n " + e.getMessage());
|
||||
System.out.println("doRibbonCommand Error : " + e.getLocalizedMessage() + " \n " + e.getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue