org.mule.transport.ftp.server
Class ServerTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.mule.transport.ftp.server.ServerTest
All Implemented Interfaces:
junit.framework.Test

public class ServerTest
extends junit.framework.TestCase

Tests for the embedded ftp server startup, log in, and shutdown.


Constructor Summary
ServerTest()
           
 
Method Summary
 void setUp()
           
 void tearDown()
           
 void testServer()
          Sanity test that the embedded ftp server is working.
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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

ServerTest

public ServerTest()
Method Detail

setUp

public void setUp()
           throws java.lang.Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
java.lang.Exception

testServer

public void testServer()
                throws java.lang.Exception
Sanity test that the embedded ftp server is working. Useful as a first step if the ftp transport tests are failing.

Throws:
java.lang.Exception

tearDown

public void tearDown()
Overrides:
tearDown in class junit.framework.TestCase


Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.