use of org.eclipse.linuxtools.systemtap.ui.consolelog.structures.ConsoleStreamDaemon in project linuxtools by eclipse.
the class ConsoleStreamDaemonTest method testConsoleStreamDaemon.
@Test
public void testConsoleStreamDaemon() {
assertNotNull(daemon);
ConsoleStreamDaemon csd = new ConsoleStreamDaemon(null);
assertNotNull(csd);
csd = new ConsoleStreamDaemon(ScriptConsole.getInstance("test"));
assertNotNull(csd);
}
use of org.eclipse.linuxtools.systemtap.ui.consolelog.structures.ConsoleStreamDaemon in project linuxtools by eclipse.
the class ConsoleStreamDaemonTest method setUp.
@Before
public void setUp() {
StreamGobbler gobbler = new StreamGobbler(System.in);
gobbler.start();
daemon = new ConsoleStreamDaemon(null);
}
use of org.eclipse.linuxtools.systemtap.ui.consolelog.structures.ConsoleStreamDaemon in project linuxtools by eclipse.
the class ErrorStreamDaemonTest method testIsDisposed.
@Test
public void testIsDisposed() {
ConsoleStreamDaemon csd = new ConsoleStreamDaemon(null);
assertFalse(csd.isDisposed());
csd.dispose();
assertTrue(csd.isDisposed());
}
use of org.eclipse.linuxtools.systemtap.ui.consolelog.structures.ConsoleStreamDaemon in project linuxtools by eclipse.
the class ConsoleStreamDaemonTest method testIsDisposed.
@Test
public void testIsDisposed() {
ConsoleStreamDaemon csd = new ConsoleStreamDaemon(null);
assertFalse(csd.isDisposed());
csd.dispose();
assertTrue(csd.isDisposed());
}
use of org.eclipse.linuxtools.systemtap.ui.consolelog.structures.ConsoleStreamDaemon in project linuxtools by eclipse.
the class ErrorStreamDaemonTest method testConsoleStreamDaemon.
@Test
public void testConsoleStreamDaemon() {
assertNotNull(daemon);
ConsoleStreamDaemon csd = new ConsoleStreamDaemon(null);
assertNotNull(csd);
csd = new ConsoleStreamDaemon(ScriptConsole.getInstance("test"));
assertNotNull(csd);
}
Aggregations