Search in sources :

Example 1 with TopologyProvider

use of org.opennms.features.topology.link.TopologyProvider in project opennms by OpenNMS.

the class TopologyIT method canSelectKnownTopologyProviders.

@Test
public void canSelectKnownTopologyProviders() throws InterruptedException {
    for (Field eachField : TopologyProvider.class.getDeclaredFields()) {
        try {
            TopologyProvider topologyProvider = (TopologyProvider) eachField.get(null);
            topologyUiPage.selectTopologyProvider(topologyProvider);
        } catch (IllegalAccessException e) {
            throw Throwables.propagate(e);
        }
    }
}
Also used : Field(java.lang.reflect.Field) TopologyProvider(org.opennms.features.topology.link.TopologyProvider) Test(org.junit.Test)

Aggregations

Field (java.lang.reflect.Field)1 Test (org.junit.Test)1 TopologyProvider (org.opennms.features.topology.link.TopologyProvider)1