Package daikon.test

Class InvariantFormatTester


  • public class InvariantFormatTester
    extends Object
    This is a tester for the formatting of invariants in different modes that is configurable by file input. It can test practically any invariant in the Daikon system given the appropriate commands. The test are configured from the InvariantFormatTest.commands file and errors that occur are written to the InvariantFormatTest.diffs file. More detail on the expected formats of these files is in Daikon developer manual.
    • Method Detail

      • main

        public static void main​(String[] args)
        This function allows this test to be run from the command line instead of its usual method, which is through the Daikon MasterTester.
        Parameters:
        args - arguments to the main function, which control options to the program. As of now there is only one option, "--generate_goals", which will generate goal information for the selected tests assuming the output that the tests provide is the correct output.
      • testFormats

        public void testFormats()
        This function is the actual function performed when this class is run through JUnit.