org.apache.maven.shared.release.exec
Class TeeOutputStreamTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.maven.shared.release.exec.TeeOutputStreamTest
All Implemented Interfaces:
Test

public class TeeOutputStreamTest
extends TestCase

Test the output stream that tees output both to a stream and into an internal buffer for later.

Version:
$Id: TeeOutputStreamTest.java 735346 2009-01-17 22:33:36Z bentmann $
Author:
Benjamin Bentmann

Constructor Summary
TeeOutputStreamTest()
           
 
Method Summary
protected  void setUp()
           
 void testConsumeLine()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TeeOutputStreamTest

public TeeOutputStreamTest()
Method Detail

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class TestCase
Throws:
Exception

testConsumeLine

public void testConsumeLine()
                     throws Exception
Throws:
Exception


Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.