Methods and systems for managing an application's relationship to its run-time environment
First Claim
1. A method for using a framework module to run an application, the framework module comprising an application table and a parameter table, the application table comprising one or more application table entries, the parameter table comprising one or more parameter table entries, the method comprising:
- selecting an application table entry; and
processing the selected application table entry, the processing comprising;
running a global initialize function referenced by the selected application table entry, running a sub-application referenced by the selected application table entry with one or more parameters referenced by one or more parameter table entries, and running a global terminate function referenced by the selected application table entry.
4 Assignments
0 Petitions
Accused Products
Abstract
Disclosed are a framework for managing an application'"'"'s relationship to its run-time environment and an engine that accepts the framework as input and runs the application within the environment. Aspects of the framework and engine may be changed to suit a changing environment without changing the application itself. By managing details of the environment, the invention leaves developers free to focus on the specific tasks of the application. The framework also allows the engine to provide standardized services such as deadlock and leak detection, progress monitoring, and results logging. As an example, the application may be a software test suite. The invention allows the test suite to be run single- or multi-threaded and with individual tests within the suite running consecutively or concurrently. The invention can be parameterized to accommodate different testing goals, such as basic variation testing, regression testing, and stress testing, without changing the test suite itself.
48 Citations
34 Claims
-
1. A method for using a framework module to run an application, the framework module comprising an application table and a parameter table, the application table comprising one or more application table entries, the parameter table comprising one or more parameter table entries, the method comprising:
-
selecting an application table entry; and
processing the selected application table entry, the processing comprising;
running a global initialize function referenced by the selected application table entry, running a sub-application referenced by the selected application table entry with one or more parameters referenced by one or more parameter table entries, and running a global terminate function referenced by the selected application table entry. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A method for building a framework module for running an application, the framework module comprising an application table and a parameter table, the application comprising one or more sub-applications, the method comprising:
-
collecting data specifying one or more sub-applications composing the application;
collecting data specifying one or more parameters to the one or more sub-applications;
creating the application table, the creating of the application table comprising creating an application table entry for each of the one or more specified sub-applications, the creating of an application table entry comprising creating a reference to a global initialize function, creating a reference to a global terminate function, and creating a reference to the sub-application; and
creating the parameter table, the creating of the parameter table comprising creating a parameter table entry for each of the one or more specified sub-application parameters, the creating of a parameter table entry comprising creating a reference to a name of the parameter and creating a reference to a type of the parameter. - View Dependent Claims (12, 13, 14, 15)
-
-
16. A computer-readable medium having stored thereon a data structure, the data structure comprising:
-
a first data field containing data representing a global initialize function;
a second data field containing data representing a global terminate function; and
a third data field containing data representing an application function. - View Dependent Claims (17, 18, 19, 20, 21, 22)
-
-
23. A computer-readable medium having stored thereon a data structure, the data structure comprising:
-
a first data field containing data representing an application table, the application table comprising an application table entry; and
a second data field containing data representing a parameter table, the parameter table comprising a parameter table entry. - View Dependent Claims (24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34)
-
Specification