METHOD AND COMPUTER PROGRAM PRODUCT FOR SIMPLIFYING CONSTRUCTION OF A PROGRAM FOR TESTING COMPUTER SOFTWARE SUBROUTINES IN AN APPLICATION PROGRAMMING INTERFACE

Patent №

US 5,774,725

Granted

1998-06-30

Filed 1996

Owner

MICROSOFT CORPORATION

AI components

1

hardware

Assignment

Recorded

Dataset

AIPD

2023_r1 edition

Application

08672647

Method and computer program product for testing software subroutines in an application programming interface. In an exemplary embodiment, a C++ class hierarchy is established for creating a set of intrinsic data element objects containing values of base parameters and a set of list data element objects representing grouped data structures and the subroutines themselves by containing a root-level parameter list for the subroutine, The classes representing each type of base parameter type have associated therewith program code means for creating a user interface for editing the values of such data elements. The list class contains associated program code means for generating a dialog box to display the contents of the grouped data element and provide means to initiate editing of the individual data element values. The data element objects are created by instantiating the appropriate C++ class for a base parameter, grouped data structure, or root-level parameter list. A test program using the C++ class hierarchy that allows easy editing of subroutine values can be quickly and reliably written by instantiating classes to mimic the parameters of subroutines being tested and since the user interface is included. As embodied, the invention lends itself to easy adaptation for nested data structures and for dynamic data allocation situations that are particularly troublesome for test program creation.

AI classification

AI hardware1.00
Evolutionary computation0.04
Natural language0.01
Vision0.01
Speech0.00
Machine learning0.00
Planning0.00
Knowledge representation0.00

Ownership

MICROSOFT CORPORATION

assignment · 80790489

Assignors

YADAV, HANUMANT K., WITTEL WALTER I., JR.

On an employer assignment, the assignors are typically the inventors.

© 2026 NYSGPT2525 LLC