Class IntegrationTest

    • Constructor Summary

      Constructors 
      Constructor Description
      IntegrationTest()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String command​(CommandLine command)
      Run a 'command' and return everything printed to stdout
      void command​(CommandLine command, java.lang.String expectedOutputFile)
      Run a command and compare to an expected output (form a file)
      java.lang.String showCommand​(CommandLine command)
      Show command (as a command line)
      java.lang.String showDiff​(java.lang.String s1, java.lang.String s2)
      Show the difference between who string (multi-line strings)
      java.lang.String showDiffLine​(java.lang.String l1, java.lang.String l2)
      Show difference between two lines
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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