Search in sources :

Example 1 with CheckReloadJob

use of nl.nn.adapterframework.scheduler.job.CheckReloadJob in project iaf by ibissource.

the class CheckReloadJobTest method setup.

@Override
@Before
public void setup() throws Exception {
    super.setup();
    runMigrator("Migrator/Ibisconfig_4_unittests_changeset.xml");
    configuration = new TestConfiguration();
    jobDef = new CheckReloadJob() {

        @Override
        protected String getDataSource() {
            return getDataSourceName();
        }
    };
    jobDef.setName("CheckReloadJob");
    configuration.autowireByName(jobDef);
    configuration.configure();
}
Also used : TestConfiguration(nl.nn.adapterframework.testutil.TestConfiguration) CheckReloadJob(nl.nn.adapterframework.scheduler.job.CheckReloadJob) Before(org.junit.Before)

Aggregations

CheckReloadJob (nl.nn.adapterframework.scheduler.job.CheckReloadJob)1 TestConfiguration (nl.nn.adapterframework.testutil.TestConfiguration)1 Before (org.junit.Before)1