Search in sources :

Example 21 with EventBusElement

use of com.mvp4g.rebind.config.element.EventBusElement in project mvp4g by mvp4g.

the class Mvp4gConfigurationTest method testRemoveClearHistory.

@Test
public void testRemoveClearHistory() throws InvalidMvp4gConfigurationException {
    HistoryConverterElement e = new HistoryConverterElement();
    e.setClassName(ClearHistory.class.getCanonicalName());
    historyConverters.add(e);
    EventBusElement eventBus = new EventBusElement(EventBus.class.getName(), BaseEventBus.class.getName(), false);
    configuration.setEventBus(eventBus);
    configuration.validateHistoryConverters();
}
Also used : HistoryConverterElement(com.mvp4g.rebind.config.element.HistoryConverterElement) ClearHistory(com.mvp4g.client.history.ClearHistory) EventBusElement(com.mvp4g.rebind.config.element.EventBusElement) BaseEventBus(com.mvp4g.client.event.BaseEventBus) EventBus(com.mvp4g.client.event.EventBus) BaseEventBus(com.mvp4g.client.event.BaseEventBus) Test(org.junit.Test)

Aggregations

EventBusElement (com.mvp4g.rebind.config.element.EventBusElement)21 Test (org.junit.Test)20 BaseEventBus (com.mvp4g.client.event.BaseEventBus)19 EventBusWithLookup (com.mvp4g.client.event.EventBusWithLookup)11 EventElement (com.mvp4g.rebind.config.element.EventElement)11 PresenterElement (com.mvp4g.rebind.config.element.PresenterElement)8 EventBus (com.mvp4g.client.event.EventBus)7 EventHandlerElement (com.mvp4g.rebind.config.element.EventHandlerElement)7 InvalidTypeException (com.mvp4g.rebind.exception.InvalidTypeException)5 ViewElement (com.mvp4g.rebind.config.element.ViewElement)3 InvalidMvp4gConfigurationException (com.mvp4g.rebind.exception.InvalidMvp4gConfigurationException)3 Modules (com.mvp4g.rebind.test_tools.Modules)3 JClassType (com.google.gwt.core.ext.typeinfo.JClassType)2 EventFilterElement (com.mvp4g.rebind.config.element.EventFilterElement)2 HistoryConverterElement (com.mvp4g.rebind.config.element.HistoryConverterElement)2 HistoryElement (com.mvp4g.rebind.config.element.HistoryElement)2 StartElement (com.mvp4g.rebind.config.element.StartElement)2 InvalidClassException (com.mvp4g.rebind.exception.InvalidClassException)2 Loaders (com.mvp4g.rebind.test_tools.Loaders)2 OneObject (com.mvp4g.rebind.test_tools.OneObject)2