Search in sources :

Example 1 with DefaultOnmsReportConfigDao

use of org.opennms.netmgt.dao.jaxb.DefaultOnmsReportConfigDao in project opennms by OpenNMS.

the class DefaultParameterConversionServiceTest method setUp.

@BeforeClass
public static void setUp() throws Exception {
    Resource resource = new ClassPathResource("/opennms-reports-testdata.xml");
    m_dao = new DefaultOnmsReportConfigDao();
    m_dao.setConfigResource(resource);
    m_dao.afterPropertiesSet();
    m_conversionService = new DefaultParameterConversionService();
}
Also used : ClassPathResource(org.springframework.core.io.ClassPathResource) Resource(org.springframework.core.io.Resource) DefaultOnmsReportConfigDao(org.opennms.netmgt.dao.jaxb.DefaultOnmsReportConfigDao) ClassPathResource(org.springframework.core.io.ClassPathResource) BeforeClass(org.junit.BeforeClass)

Aggregations

BeforeClass (org.junit.BeforeClass)1 DefaultOnmsReportConfigDao (org.opennms.netmgt.dao.jaxb.DefaultOnmsReportConfigDao)1 ClassPathResource (org.springframework.core.io.ClassPathResource)1 Resource (org.springframework.core.io.Resource)1