|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.jcoderz.commons.connector.file.FsTestCase
org.jcoderz.commons.connector.file.FsConnectionInterfaceTest
public class FsConnectionInterfaceTest
Test the File interface.
| Constructor Summary | |
|---|---|
FsConnectionInterfaceTest()
|
|
| Method Summary | |
|---|---|
void |
setUp()
|
void |
tearDown()
|
void |
testCreateFile()
Tests methods creating new files. |
void |
testFileInputStreamBasePath()
Tests the method FsConnection.getFileInputStream(String). |
void |
testIsExists()
Tests the method FsConnection.isExists(String). |
void |
testList()
Tests the method FsConnection.listFiles(String). |
void |
testMoveFile()
Tests the method FsConnection.moveFile(String, String). |
void |
testRafBasePath()
Tests the method FsConnection.getRandomAccessFile(String, String). |
void |
testRafConnectionClosed()
Tests the behaviour of the instance RandomAccessFile after the connection has been closed. |
void |
testRenameFile()
Tests the method FsConnection.renameFile(String, String). |
void |
testRenameToTempFile()
Tests the method FsConnection.renameToTempFile(String). |
void |
testTempDir()
The tmp dir used during filegeneration must be configurable. |
| Methods inherited from class org.jcoderz.commons.connector.file.FsTestCase |
|---|
getConnection, getConnection, getConnectionManager |
| 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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FsConnectionInterfaceTest()
| Method Detail |
|---|
public void setUp()
throws Exception
setUp in class TestCaseExceptionpublic void testIsExists()
FsConnection.isExists(String).
public void testRenameFile()
FsConnection.renameFile(String, String).
public void testList()
FsConnection.listFiles(String).
public void testRafBasePath()
FsConnection.getRandomAccessFile(String, String).
public void testRafConnectionClosed()
public void testCreateFile()
public void testRenameToTempFile()
FsConnection.renameToTempFile(String).
public void testFileInputStreamBasePath()
FsConnection.getFileInputStream(String).
public void testMoveFile()
FsConnection.moveFile(String, String).
public void tearDown()
throws Exception
tearDown in class TestCaseExceptionpublic void testTempDir()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||