@Test public void testProcessCommentLineITestLine() { assertFalse (mPrinter.anyInput ()); TestLineImpl testLine = new TestLineImpl (); testLine.createParts (2); testLine.setPart (0, ""); testLine.setPart (1, "something"); mConsole.processCommentLine (testLine); assertTrue (mPrinter.anyInput ()); }
@Override public void processCommentLine (final String testLine) { mStream.println ("comment: " + testLine); }
Console implements TestLineSubscriber, TestResultSubscriber { @Override public void processCommentLine (final String testLine) { mStream.println ("comment: " + testLine); } }
Console implements TestLineSubscriber, TestResultSubscriber { @Override public void processCommentLine (final String testLine) { mStream.println ("comment: " + testLine); } Console();   Console(PrintStream stream); }
Console implements TestLineSubscriber, TestResultSubscriber { @Override public void processCommentLine (final String testLine) { mStream.println ("comment: " + testLine); } Console();   Console(PrintStream stream); @Override void start(Date dateTime); @Override void finish(Date dateTime); @Override void processTestLine(final TestLine testLine); @Override void processCommentLine(final String testLine); @Override void processCommentLine(final TestLine testLine); @Override void processStackTrace(String[] stackTraceLines); @Override void processError(final String error); @Override void processWarning(final String warning); @Override void processInfo(final String message); @Override void processLink(String url); @Override void processEndSection(); @Override void processIncreaseLevel(); @Override void processDecreaseLevel(); @Override void processEndOfTestLine(); }
Console implements TestLineSubscriber, TestResultSubscriber { @Override public void processCommentLine (final String testLine) { mStream.println ("comment: " + testLine); } Console();   Console(PrintStream stream); @Override void start(Date dateTime); @Override void finish(Date dateTime); @Override void processTestLine(final TestLine testLine); @Override void processCommentLine(final String testLine); @Override void processCommentLine(final TestLine testLine); @Override void processStackTrace(String[] stackTraceLines); @Override void processError(final String error); @Override void processWarning(final String warning); @Override void processInfo(final String message); @Override void processLink(String url); @Override void processEndSection(); @Override void processIncreaseLevel(); @Override void processDecreaseLevel(); @Override void processEndOfTestLine();  }