org.jcoderz.commons.connector.file
Class FsConnectionServerTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.jcoderz.commons.TestCase
              extended by org.jcoderz.commons.ServerTestCase
                  extended by org.jcoderz.commons.connector.file.FsConnectionServerTest
All Implemented Interfaces:
Test

public class FsConnectionServerTest
extends ServerTestCase

Server testcases for the commons file connector.


Constructor Summary
FsConnectionServerTest()
           
 
Method Summary
static Test suite()
          Creates the testsuite.
 void testBigFile()
          Tests handling of big files.
 void testCloseConnection()
          Tests connection reusage.
 void testCloseConnection3()
          Tests FsConnection.close().
 void testConnectionLookup()
          Tests FsConnection lookup.
 void testCreateTempFile()
          Tests the methd FsConnection.createTempFile().
 void testUserProperties()
          Tests handling of big files.
 
Methods inherited from class org.jcoderz.commons.ServerTestCase
createTestSession, getTestServletUrl, getWeblogicDomainDir, runBare, runBareAtServer
 
Methods inherited from class org.jcoderz.commons.TestCase
getBaseDir, getHostName, getSuite, hasTestCases
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runTest, setName, setUp, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FsConnectionServerTest

public FsConnectionServerTest()
Method Detail

suite

public static Test suite()
Creates the testsuite.

Returns:
Test The testsuite

testConnectionLookup

public void testConnectionLookup()
Tests FsConnection lookup.


testCloseConnection

public void testCloseConnection()
Tests connection reusage.


testCloseConnection3

public void testCloseConnection3()
Tests FsConnection.close().


testCreateTempFile

public void testCreateTempFile()
Tests the methd FsConnection.createTempFile().


testBigFile

public void testBigFile()
Tests handling of big files.


testUserProperties

public void testUserProperties()
Tests handling of big files.



Copyright 2007 The jCoderZ Project.