use of org.jmeterplugins.repository.PluginManager in project jmeter-plugins-manager by undera.
the class LoggerPanelWrappingTest method testFlow.
@Test
public void testFlow() throws Exception {
if (!GraphicsEnvironment.getLocalGraphicsEnvironment().isHeadlessInstance()) {
PluginManager pmgr = new PluginManager();
LoggerPanelWrapping wrapping = new LoggerPanelWrapping(pmgr);
PluginSuggester suggester = new PluginSuggester(pmgr);
wrapping.setSuggester(suggester);
assertEquals(suggester, wrapping.getSuggester());
LogEvent event = new LogEvent();
event.setCategory("SaveService");
event.setMessage("Save File");
wrapping.processEvent(event);
}
}
Aggregations