Package daikon.test

Class VarInfoNameTest


  • public class VarInfoNameTest
    extends Object
    This tests various aspects of VarInfoName's and transforming VarInfoName's. This calls VarInfoNameDriver after parsing all input files of the name "varInfoNameTest.foo". VarInfoNameDriver does transform tests, and its output is compared to the "varInfoNameTest.foo.goal" file by this.

    To add a new test case, add a line to the foo file and a line to the goal file with intended output. Format of the foo file is output method, followed by a variable name. Output methods are defined in VarInfoNameDriver. To add a new transformation method (which can then be tested in test cases) add a static Handler implementation to VarInfoNameDriver modeled after one of the ones already present and add a static {} line after to add the handler to the list of handlers.