Method and apparatus for testing object oriented programming...

G - Physics – 06 – F

Patent

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

G06F 9/445 (2006.01) G06F 9/45 (2006.01)

Patent

CA 2201618

The invention provides methods and apparatus for generating, from a source signal defining a subject class to be tested (40), an inspection signal defining an inspection class (34) that has one or more members for: (i) generating a test object as an instantiation of the subject class or a class derived therefrom, (ii) invoking one or more of the selected method members of the test object, and (iii) generating a reporting signal based on an outcome of invocation of those members. The inspection class, as defined by the inspection signal, can include one or more method members (50f), referred to as "inspection members", for testing corresponding method members of the test object (and, therefore, in the subject class). So-called "test suite members" (50a-50e), that are also defined as part of the inspection class, exercise the inspection members. The invention also provides methods and apparatus for responding to an inspection signal to create an inspection object instantiating the inspection class. Members of the inspection object are invoked to create the test object (80), to invoke method members thereof and to generate a signal reporting an effect of such invocation. The test object members can be invoked by corresponding inspection members of the inspection class, which in turn can be invoked by test suite members of the inspection class.

L'invention concerne des procédés et un appareil pour générer, à partir d'un signal source définissant une classe de sujets à tester (40), un signal d'inspection définissant une classe d'inspection (34) qui comprend un ou plusieurs éléments pour (i) générer un objet d'essai se présentant sous forme d'instanciation de la classe de sujets ou d'une classe dérivée de celle-ci, (ii) invoquer un ou plusieurs des éléments de méthode sélectionnés de l'objet d'essai, et (iii) générer un signal rendant compte basé sur un résultat de l'appel de ces éléments. La classe d'inspection, conformément à la définition donnée par le signal d'inspection, peut comprendre un ou plusieurs éléments de méthode (50f) appelés "éléments d'inspection", afin de tester les éléments de méthode correspondants de l'objet d'essai (et donc dans la classe de sujets). Des éléments appelés "éléments de suite d'essais" (50a-50e) qui sont également définis comme faisant partie intégrante de la classe d'inspection, exercent les éléments d'inspection. L'invention concerne également des procédés et un appareil conçus pour répondre à un signal d'inspection afin de créer un objet d'inspection instanciant la classe d'inspection. Les éléments de l'objet d'inspection sont invoqués pour la création de l'objet d'essai (80), et l'invocation de ses éléments de méthode et la génération d'un signal rendant compte d'un effet de l'appel. Les éléments de l'objet d'essai peuvent être invoqués par les éléments d'inspection correspondants de la classe d'inspection qui, à leur tour, peuvent être invoqués par les éléments de suite d'essais de la classe d'inspection.

LandOfFree

Say what you really think

Search LandOfFree.com for Canadian inventors and patents. Rate them and share your experience with other people.

Rating

Method and apparatus for testing object oriented programming... does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Method and apparatus for testing object oriented programming..., we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Method and apparatus for testing object oriented programming... will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFCA-PAI-O-2070078

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.