public class ContextualFileHandlerTest extends Object
| Constructor and Description |
|---|
ContextualFileHandlerTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
before() |
void |
testConfigurationWithAllPropertiesSet() |
void |
testConstructionWithEmptyLogFilename() |
void |
testConstructionWithFileSeparatorInLogFilename() |
void |
testConstructionWithLoopPropertyInBasedir() |
void |
testConstructionWithResolvablePropertyInBasedir() |
void |
testConstructionWithUnresolvedPropertyInBasedir() |
void |
testDefaultConfiguration() |
void |
testPublishAppendsInLogFileIfPresent() |
void |
testPublishAppendsInLogFileIfPresentBetweenTwoRuns() |
void |
testPublishButInvalidLogFilePath() |
void |
testPublishCreatesLogFileIfAbsent() |
void |
testPublishOnSeveralDifferentFilesConcurrently() |
void |
testPublishWithLoopPropertyInFilename() |
void |
testPublishWithLoopPropertyInSubdir() |
void |
testPublishWithUnresolvedPropertyInLogFilename() |
void |
testPublishWithUnresolvedPropertyInSubdir() |
public void before()
public void testConfigurationWithAllPropertiesSet()
throws Exception
Exceptionpublic void testConstructionWithEmptyLogFilename()
throws Exception
Exceptionpublic void testConstructionWithFileSeparatorInLogFilename()
throws Exception
Exceptionpublic void testConstructionWithLoopPropertyInBasedir()
throws Exception
Exceptionpublic void testConstructionWithResolvablePropertyInBasedir()
throws Exception
Exceptionpublic void testConstructionWithUnresolvedPropertyInBasedir()
throws Exception
Exceptionpublic void testPublishWithUnresolvedPropertyInSubdir()
throws Exception
Exceptionpublic void testPublishWithUnresolvedPropertyInLogFilename()
throws Exception
Exceptionpublic void testPublishButInvalidLogFilePath()
throws Exception
Exceptionpublic void testPublishWithLoopPropertyInSubdir()
throws Exception
Exceptionpublic void testPublishWithLoopPropertyInFilename()
throws Exception
Exceptionpublic void testPublishCreatesLogFileIfAbsent()
throws Exception
Exceptionpublic void testPublishAppendsInLogFileIfPresentBetweenTwoRuns()
throws Exception
Exceptionpublic void testPublishAppendsInLogFileIfPresent()
throws Exception
ExceptionCopyright © 2010-2018 Linagora. All Rights Reserved.