Class TestMain


  • public class TestMain
    extends Object
    Test of Main function.
    Author:
    Kai Kretschmann
    • Constructor Detail

      • TestMain

        public TestMain()
    • Method Detail

      • setUp

        @BeforeEach
        public void setUp()
                   throws Exception
        Test Before method.
        Throws:
        Exception - in case of error
      • tearDown

        @AfterEach
        public void tearDown()
                      throws Exception
        Test After method.
        Throws:
        Exception - in case of error
      • testMainStaticHelp

        @Test
        public void testMainStaticHelp()
        Test method help for Main function via static main.
      • testMainStaticNoargs

        @Test
        public void testMainStaticNoargs()
        Test method no parameters error for Main function via static main.
      • testMainStaticTwolayer

        @Test
        public void testMainStaticTwolayer()
        Test method two layer for Main function.
      • testMainHelp

        @Test
        public void testMainHelp()
        Test method help for Main function.
      • testMainNoargs

        @Test
        public void testMainNoargs()
        Test method no parameters error for Main function.
      • testMainUnknownargs

        @Test
        public void testMainUnknownargs()
        Test method unknown parameters error for Main function.
      • testMainMissingArgs

        @Test
        public void testMainMissingArgs()
        Test method missing parameters for Main function.
      • testMainMissingParams

        @Test
        public void testMainMissingParams()
        Test method missing parameters for Main function.
      • testMainEncode

        @Test
        public void testMainEncode()
        Test method encode call for Main function.
      • testMainDecode

        @Test
        public void testMainDecode()
        Test method decode call for Main function.
      • testMainShortEncode

        @Test
        public void testMainShortEncode()
        Test method short encode call for Main function.
      • testMainShortDecode

        @Test
        public void testMainShortDecode()
        Test method decode call for Main function.
      • testMainUnknownLayer

        @Test
        public void testMainUnknownLayer()
        Test method unknown layer for Main function.
      • testMainOnelayer

        @Test
        public void testMainOnelayer()
        Test method one layer for Main function.
      • testMainTwolayer

        @Test
        public void testMainTwolayer()
        Test method two layer for Main function.
      • testMainPassword

        @Test
        public void testMainPassword()
        Test method two layer for Main function.
      • testMainNolayer

        @Test
        public void testMainNolayer()
        Test method no layer for Main function.
      • testMainMissingInputFile

        @Test
        public void testMainMissingInputFile()
        Test method missing input file for Main function.
      • testMainMissingConfigFile

        @Test
        public void testMainMissingConfigFile()
        Test method missing config file for Main function.
      • testMainEncDec

        @Test
        public void testMainEncDec()
        Test method normal for Main function.
      • testMainBase64EncDec

        @Test
        public void testMainBase64EncDec()
        Test method normal for Main function including base64 encoding.
      • testMainBase64EncDecTexttwice

        @Test
        public void testMainBase64EncDecTexttwice()
        Test method normal for Main function including base64 encoding.
      • testMainBinaryEncDec

        @Test
        public void testMainBinaryEncDec()
        Test method binary data for Main function.