org.apache.commons.net.io
Class DotTerminatedMessageReaderTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.commons.net.io.DotTerminatedMessageReaderTest
All Implemented Interfaces:
junit.framework.Test

public class DotTerminatedMessageReaderTest
extends junit.framework.TestCase


Constructor Summary
DotTerminatedMessageReaderTest()
           
 
Method Summary
 void testDoubleCrBeforeDot()
           
 void testEmbeddedDot1()
           
 void testEmbeddedDot2()
           
 void testEmbeddedDot3()
           
 void testEmbeddedDot4()
           
 void testEmbeddedNewlines()
           
 void testLeadingDot()
           
 void testReadLine1()
           
 void testReadLine2()
           
 void testReadSimpleStringCrLfLineEnding()
           
 void testReadSimpleStringLfLineEnding()
           
 void testSingleDotWithTrailingText()
           
 
Methods inherited from class junit.framework.TestCase
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DotTerminatedMessageReaderTest

public DotTerminatedMessageReaderTest()
Method Detail

testReadSimpleStringCrLfLineEnding

public void testReadSimpleStringCrLfLineEnding()
                                        throws IOException
Throws:
IOException

testReadSimpleStringLfLineEnding

public void testReadSimpleStringLfLineEnding()
                                      throws IOException
Throws:
IOException

testEmbeddedNewlines

public void testEmbeddedNewlines()
                          throws IOException
Throws:
IOException

testDoubleCrBeforeDot

public void testDoubleCrBeforeDot()
                           throws IOException
Throws:
IOException

testLeadingDot

public void testLeadingDot()
                    throws IOException
Throws:
IOException

testEmbeddedDot1

public void testEmbeddedDot1()
                      throws IOException
Throws:
IOException

testEmbeddedDot2

public void testEmbeddedDot2()
                      throws IOException
Throws:
IOException

testEmbeddedDot3

public void testEmbeddedDot3()
                      throws IOException
Throws:
IOException

testEmbeddedDot4

public void testEmbeddedDot4()
                      throws IOException
Throws:
IOException

testReadLine1

public void testReadLine1()
                   throws Exception
Throws:
Exception

testReadLine2

public void testReadLine2()
                   throws Exception
Throws:
Exception

testSingleDotWithTrailingText

public void testSingleDotWithTrailingText()
                                   throws IOException
Throws:
IOException


Copyright © 2001-2014 The Apache Software Foundation. All Rights Reserved.