public class LogCaptureConfiguration extends Object
Constructor and Description |
---|
LogCaptureConfiguration() |
Modifier and Type | Method and Description |
---|---|
List<Line> |
getExcludedLines() |
List<Line> |
getExpectedLines() |
void |
registerExcludeRegexes(String... excludeLineRegexes) |
void |
registerExcludes(String... excludeLines) |
void |
registerExpected(String... expectedLines) |
void |
registerExpectedRegexes(String... expectedLineRegexes) |
public void registerExcludes(String... excludeLines)
excludeLines
- the lines to exclude from failing the testpublic void registerExcludeRegexes(String... excludeLineRegexes)
excludeLineRegexes
- the lines to exclude from failing the test (defined as regexes)public void registerExpected(String... expectedLines)
expectedLines
- the failing lines to expectpublic void registerExpectedRegexes(String... expectedLineRegexes)
expectedLineRegexes
- the failing lines to expect (defined as regexes)public List<Line> getExcludedLines()
Copyright © 2004–2019 XWiki. All rights reserved.