Class IntegrationTest

    • Constructor Detail

      • IntegrationTest

        public IntegrationTest()
    • Method Detail

      • command

        public java.lang.String command​(CommandLine command)
        Run a 'command' and return everything printed to stdout
      • command

        public void command​(CommandLine command,
                            java.lang.String expectedOutputFile)
        Run a command and compare to an expected output (form a file)
      • showCommand

        public java.lang.String showCommand​(CommandLine command)
        Show command (as a command line)
      • showDiff

        public java.lang.String showDiff​(java.lang.String s1,
                                         java.lang.String s2)
        Show the difference between who string (multi-line strings)
      • showDiffLine

        public java.lang.String showDiffLine​(java.lang.String l1,
                                             java.lang.String l2)
        Show difference between two lines