Patent ID: 6370589
Filing Date: 2002-04-09
Classification: G06F

Abstract:
A method for performing at least one test on at least one of the objects of an object-oriented program capable of running in parallel on a computer, comprising:a) instrumenting an operating system of the computer under which the object-oriented program is intended to run for any number of tests just once in a form that for a test case it accesses information mapping source code language semantics to physical addresses, b) before a test, establishing items of information mapping source code language semantics to physical addresses between source code and object code of the object-oriented program from specifications of concurrent classes of the object-oriented program by parsing their source code, and the program elements to be tested are made known to the computer in a suitable way as test subjects, c) the communication between parallel running objects takes place by method calls, which are a component part of the object-oriented programming language, d) in every communication between two parallel running objects it is tested whether the called or the calling object or the methods used is a test subject, e) if d) applies, the test case occurs and for the test interactively input test commands or test commands read in from files are processed, f) the test inputs and outputs take place on the source code level of the object-oriented programming language, the information mapping source code language semantics to physical addresses generated under b) being accessed to establish the connection between source code and object code according to a), g) the relative runtime behavior of the objects of the tested object-oriented program is not changed by providing that during the processing of the test commands these objects are excluded from the scheduling of the operating system and the system clock is paused.