Feature #2194
Feature #2074: add CAN-QUERY() and CAN-SET() support
Creating testcases to check legacy attributes for resources used in CAN-QUERY/CAN-SET statement converion code
0%
History
#1 Updated by Eugenie Lyzenko over 10 years ago
The goal is to provide the 4GL code that is able to check all possible resource/attribute pair for correct result with code converted from CAN-QUERY/CAN-SET 4GL statements.
One of the possible way to implement:
To identify all cases, a testcase to check for "this resource doesn't support these attribute/method list" can be used also; the testcase can be built like this:
build a file with all attributes/methods defined in 4GL for each resource, use CAN-QUERY/CAN-SET against the all attributes/methods list; the result off these two method calls will be checked with the file which holds the expected result for each resource. If the attribute/method is not in the list for that resource, it is assumed the attribute/method is not supported and both return false; else, the values must match.