[Grace-core] Test Cases

Jameson McCowan mjameson at cs.pdx.edu
Thu Nov 7 20:11:53 PST 2013


While working on making a GUnit test suite it was found that at least 9 of the test cases for minigrace error on standard visibility settings in the javascript backend. These are valid errors, and as such the test cases should probably be updated to be in line with the new standard visibility rules.

Errors:
    test_014_objectvar: Requested confidential method 'v' on Object from outside.
    test_015_objectdef: Requested confidential method 'c' on Object from outside.    test_017_objectvarassign: Requested confidential method 'val' on Object from outside.
    test_030_operatoroverload: Requested confidential method 'value' on Object from outside.
    test_098_defobjouter: Requested confidential method 'inner' on Object from outside.
    test_118_matchcasesimple: Requested confidential method 'left' on Object from outside.
    test_119_matchcasedestructuring: Requested confidential method 'extract' on Object from outside.
    test_129_anontype: Requested confidential method 'bar' on Object from outside.
    test_131_anonintersection: Requested confidential method 'bar' on Object from outside.

Jameson


More information about the Grace-core mailing list