public class LockableFileWriterTest extends FileBasedTestCase
| Constructor and Description |
|---|
LockableFileWriterTest(String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
void |
tearDown() |
void |
testAlternateLockDir() |
void |
testConstructor_File_directory() |
void |
testConstructor_File_encoding_badEncoding() |
void |
testConstructor_File_nullFile() |
void |
testConstructor_fileName_nullFile() |
void |
testFileLocked() |
void |
testFileNotLocked() |
assertEqualContent, assertEqualContent, checkFile, checkWrite, checkWrite, createFile, createLineBasedFile, deleteFile, generateTestData, generateTestData, getTestDirectory, newFileassertEquals, 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, toStringpublic LockableFileWriterTest(String name)
public void setUp()
setUp in class junit.framework.TestCasepublic void tearDown()
tearDown in class junit.framework.TestCasepublic void testFileLocked() throws IOException
IOExceptionpublic void testAlternateLockDir() throws IOException
IOExceptionpublic void testFileNotLocked() throws IOException
IOExceptionpublic void testConstructor_File_encoding_badEncoding() throws IOException
IOExceptionpublic void testConstructor_File_directory()
public void testConstructor_File_nullFile() throws IOException
IOExceptionpublic void testConstructor_fileName_nullFile() throws IOException
IOExceptionCopyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.