Class ConstantTextFragmentUnitTest

    • Constructor Detail

      • ConstantTextFragmentUnitTest

        public ConstantTextFragmentUnitTest()
    • 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