Methods Summary |
---|
public static void | main(java.lang.String[] args)
if (args.length == 0){
junit.textui.TestRunner.run(NullOutputTest.class);
} else {
junit.textui.TestRunner.run(makeSuite(args));
}
|
private static junit.framework.TestSuite | makeSuite(java.lang.String[] args)
final TestSuite ts = new TestSuite();
for (int i = 0; i < args.length; i++){
ts.addTest(new NullOutputTest(args[i]));
}
return ts;
|
private void | nyi()
fail("Not Yet Implemented");
|
protected void | setUp()
|
protected void | tearDown()
|
public void | testIt()
final NullOutput no = new NullOutput();
final String m = "a message";
final Object o = (Object) "an object";
no.print(m);
no.print(o);
no.println(m);
no.println(o);
no.close();
no.flush();
no.close();
no.println(m);
|