use of com.serotonin.m2m2.vo.dataSource.mock.MockDataSourceDefinition in project ma-core-public by infiniteautomation.
the class MangoTestBase method staticSetup.
@BeforeClass
public static void staticSetup() throws IOException {
// Configure Log4j2
ConfigurationSource source = new ConfigurationSource(MangoTestBase.class.getClass().getResource("/test-log4j2.xml").openStream());
Configurator.initialize(null, source);
List<ModuleElementDefinition> definitions = new ArrayList<>();
definitions.add(new MockDataSourceDefinition());
addModule("BaseTest", definitions);
}
Aggregations