×

Interactive domain configuration

  • US 7,685,571 B2
  • Filed: 08/27/2003
  • Issued: 03/23/2010
  • Est. Priority Date: 08/27/2003
  • Status: Active Grant
First Claim
Patent Images

1. A computer implemented method for producing data domain information structures and associated values, sets of values and/or tuples for testing or validation of a computer program, the method comprising:

  • generating a reflection of the computer program comprising constructs, wherein the computer program constructs comprise one or more first data structure elements and a second data structure element, the one or more first data structure elements and the second data structure element comprising data types, data fields, functions, methods and/or parameters of the computer program;

    annotating the one or more first data structure elements and the second data structure element with information related to the purpose of domain configuration;

    configuring one or more first data domains corresponding to the one or more first data structure elements and a second data domain corresponding to the second data structure element, the configuring comprising generating one or more structural language expressions for representing/evaluating the one or more first data structure elements and the second data structure element and for defining relationships among the one or more first data structure elements and the second data structure element in terms of type/method inheritance and types;

    wherein generating the one or more structural language expressions includes generating at least one of;

    if the second data structure element is a first data type comprising a plurality a sub-types, at least one structural language expression denoting a union of one or more of the one or more first data domains corresponding to the one or more first data structure elements that are sub-types of the first data type;

    if the second data structure element is a sub-type, data field or parameter of a second data type, at least one structural language expression indicating that the second data domain can be inherited from one of the one or more first data structure elements that are of the second data type;

    if the second data structure element is a method, at least one structural language expression denoting inheritance relationships between types and subtypes of the second data structure element and types and subtypes of the one or more first data structure elements wherein the one or more first data structure elements represent parameters of another method described in the one or more first data domains; and

    at least one structural language expression comprising a Cartesian product as an invocable method to cross-relate the second data structure element with one or more data domains corresponding to the one or more first data structure elements; and

    compiling the annotated one or more first data structure elements and the second data structure element to produce values, sets of values and/or tuples of the one or more first data domains and the second data domain; and

    testing or validating the computer program using at least one of the values, sets of values and/or tuples from the one or more first data domains and the second data domain.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×