use of com.mvp4g.rebind.test_tools.GeneratorContextStub in project mvp4g by mvp4g.
the class AbstractMvp4gAnnotationLoaderTest method setUp.
@Before
public void setUp() {
GeneratorContextStub context = new GeneratorContextStub();
oracle = context.getTypeOracleStub();
configuration = new Mvp4gConfiguration(null, context);
loader = createLoader();
}
use of com.mvp4g.rebind.test_tools.GeneratorContextStub in project mvp4g by mvp4g.
the class Mvp4gConfigurationTest method setUp.
@Before
public void setUp() {
GeneratorContextStub context = new GeneratorContextStub();
builder = new UnitTestTreeLogger.Builder();
logger = builder.createLogger();
oracle = context.getTypeOracleStub();
// oracle.addClass( SimpleView01.class );
configuration = new Mvp4gConfiguration(logger, context);
presenters = configuration.getPresenters();
views = configuration.getViews();
events = configuration.getEvents();
services = configuration.getServices();
historyConverters = configuration.getHistoryConverters();
childModules = configuration.getChildModules();
eventHandlers = configuration.getEventHandlers();
eventFilters = configuration.getEventFilters();
configuration.setStart(new StartElement());
configuration.setHistory(new HistoryElement());
configuration.setModule(oracle.addClass(Mvp4gModule.class));
}
use of com.mvp4g.rebind.test_tools.GeneratorContextStub in project mvp4g by mvp4g.
the class TestMvp4gRunAsyncGenerator method setUp.
@Before
public void setUp() {
generator = new Mvp4gRunAsyncGenerator();
sourceWriter = new SourceWriterTestStub();
GeneratorContextStub context = new GeneratorContextStub();
oracle = context.getTypeOracleStub();
}
use of com.mvp4g.rebind.test_tools.GeneratorContextStub in project mvp4g by mvp4g.
the class EventsAnnotationsLoaderTest method setUp.
@Before
public void setUp() {
GeneratorContextStub context = new GeneratorContextStub();
oracle = context.getTypeOracleStub();
configuration = new Mvp4gConfiguration(null, context);
configuration.setModule(oracle.addClass(Mvp4gModule.class));
loader = new EventsAnnotationsLoader();
}
Aggregations