org.apache.commons.net.tftp
Class TFTPTest

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

public class TFTPTest
extends junit.framework.TestCase

Test the TFTP Server and TFTP Client by creating some files in the system temp folder and then uploading and downloading them.

Author:
Dan Armbrust

Constructor Summary
TFTPTest()
           
 
Method Summary
protected  void tearDown()
           
 void testASCIIDownloads()
           
 void testASCIIUploads()
           
 void testHugeDownloads()
           
 void testHugeUploads()
           
 void testTFTPBinaryDownloads()
           
 void testTFTPBinaryUploads()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, 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

TFTPTest

public TFTPTest()
Method Detail

tearDown

protected void tearDown()
                 throws Exception
Overrides:
tearDown in class junit.framework.TestCase
Throws:
Exception

testTFTPBinaryDownloads

public void testTFTPBinaryDownloads()
                             throws Exception
Throws:
Exception

testASCIIDownloads

public void testASCIIDownloads()
                        throws Exception
Throws:
Exception

testTFTPBinaryUploads

public void testTFTPBinaryUploads()
                           throws Exception
Throws:
Exception

testASCIIUploads

public void testASCIIUploads()
                      throws Exception
Throws:
Exception

testHugeUploads

public void testHugeUploads()
                     throws Exception
Throws:
Exception

testHugeDownloads

public void testHugeDownloads()
                       throws Exception
Throws:
Exception


Copyright © 1997-2010 Apache Software Foundation. All Rights Reserved.