Class ConstantTextFragmentUnitTest
- java.lang.Object
-
- com.hybris.datahub.core.services.impl.AbstractScriptFragmentTest<ConstantTextFragment>
-
- com.hybris.datahub.core.services.impl.ConstantTextFragmentUnitTest
-
@UnitTest public class ConstantTextFragmentUnitTest extends AbstractScriptFragmentTest<ConstantTextFragment>
-
-
Field Summary
-
Fields inherited from class com.hybris.datahub.core.services.impl.AbstractScriptFragmentTest
fragment
-
-
Constructor Summary
Constructors Constructor Description ConstantTextFragmentUnitTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetup()voidtestAddedLinesPreserveTheOrderInTheFragment()voidtestCommentCanBeAdded()voidtestContentCanBeReadFromTheInputStream()voidtestEmptyLineCanBeAdded()voidtestNullCannotBeAdded()voidtestScriptFragmentIsEmptyBeforeAnyLineWasAdded()voidtestSomeTextCanBeAdded()-
Methods inherited from class com.hybris.datahub.core.services.impl.AbstractScriptFragmentTest
assertLineIsInTheFragment, assertLineWasNotAdded, readContentFromTheInputStream, testLineThatShouldBeAdded, testLineThatShouldNotBeAdded
-
-
-
-
Method Detail
-
setup
public void setup()
-
testScriptFragmentIsEmptyBeforeAnyLineWasAdded
public void testScriptFragmentIsEmptyBeforeAnyLineWasAdded()
-
testCommentCanBeAdded
public void testCommentCanBeAdded() throws java.io.IOException- Throws:
java.io.IOException
-
testEmptyLineCanBeAdded
public void testEmptyLineCanBeAdded() throws java.io.IOException- Throws:
java.io.IOException
-
testNullCannotBeAdded
public void testNullCannotBeAdded() throws java.io.IOException- Throws:
java.io.IOException
-
testSomeTextCanBeAdded
public void testSomeTextCanBeAdded() throws java.io.IOException- Throws:
java.io.IOException
-
testAddedLinesPreserveTheOrderInTheFragment
public void testAddedLinesPreserveTheOrderInTheFragment() throws java.io.IOException- Throws:
java.io.IOException
-
testContentCanBeReadFromTheInputStream
public void testContentCanBeReadFromTheInputStream() throws java.io.IOException- Throws:
java.io.IOException
-
-