Class SegmentedFileTest
- java.lang.Object
-
- net.stoerr.ai.aigenpipeline.framework.task.SegmentedFileTest
-
public class SegmentedFileTest extends Object
-
-
Constructor Summary
Constructors Constructor Description SegmentedFileTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
multilineSeparator()
void
readsAndSplitsFileCorrectly()
void
setUp()
void
tearDown()
void
testInfilePrompt()
void
testInfilePromptNoEndMarker()
void
throwsExceptionWhenSeparatorMatchesSegment()
void
throwsExceptionWhenSeparatorNotFound()
void
wholeLineRegex()
void
writesSegmentCorrectly()
-
-
-
Method Detail
-
setUp
public void setUp() throws IOException
- Throws:
IOException
-
tearDown
public void tearDown()
-
readsAndSplitsFileCorrectly
public void readsAndSplitsFileCorrectly() throws IOException
- Throws:
IOException
-
writesSegmentCorrectly
public void writesSegmentCorrectly() throws IOException
- Throws:
IOException
-
throwsExceptionWhenSeparatorNotFound
public void throwsExceptionWhenSeparatorNotFound() throws IOException
- Throws:
IOException
-
throwsExceptionWhenSeparatorMatchesSegment
public void throwsExceptionWhenSeparatorMatchesSegment() throws IOException
- Throws:
IOException
-
multilineSeparator
public void multilineSeparator() throws IOException
- Throws:
IOException
-
wholeLineRegex
public void wholeLineRegex()
-
testInfilePrompt
public void testInfilePrompt() throws IOException
- Throws:
IOException
-
testInfilePromptNoEndMarker
public void testInfilePromptNoEndMarker() throws IOException
- Throws:
IOException
-
-