@UnitTest public class ConstantTextFragmentUnitTest extends AbstractScriptFragmentTest<ConstantTextFragment>
fragment| Constructor and Description |
|---|
ConstantTextFragmentUnitTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setup() |
void |
testAddedLinesPreserveTheOrderInTheFragment() |
void |
testCommentCanBeAdded() |
void |
testContentCanBeReadFromTheInputStream() |
void |
testEmptyLineCanBeAdded() |
void |
testNullCannotBeAdded() |
void |
testScriptFragmentIsEmptyBeforeAnyLineWasAdded() |
void |
testSomeTextCanBeAdded() |
assertLineIsInTheFragment, assertLineWasNotAdded, readContentFromTheInputStream, testLineThatShouldBeAdded, testLineThatShouldNotBeAddedpublic void setup()
public void testScriptFragmentIsEmptyBeforeAnyLineWasAdded()
public void testCommentCanBeAdded()
throws java.io.IOException
java.io.IOExceptionpublic void testEmptyLineCanBeAdded()
throws java.io.IOException
java.io.IOExceptionpublic void testNullCannotBeAdded()
throws java.io.IOException
java.io.IOExceptionpublic void testSomeTextCanBeAdded()
throws java.io.IOException
java.io.IOExceptionpublic void testAddedLinesPreserveTheOrderInTheFragment()
throws java.io.IOException
java.io.IOExceptionpublic void testContentCanBeReadFromTheInputStream()
throws java.io.IOException
java.io.IOExceptionCopyright © 2018 SAP SE. All Rights Reserved.