US6023580A
Expired / Lapsed
US
⏱️ 0.0 years remaining
Apparatus and method for testing computer systems
Assignee: Cloud Software Group Inc
•
Filing: 1997-07-03
•
Granted: 2000-02-08
•
Expires: 2017-07-03
Abstract
Abstract A white box testing method tests public interfaces within a component of a software system. A setup function is executed to configure a nested public interface within the component to raise an exception. Initialization code is executed that calls the setup function. Test code is executed that calls the component and that evaluates how the component handles the exception raised by the nested public interface. Code is executed within the nested public interface to determine whether the setup function has been called and to raise the exception in response to an affirmative determination.
Inventors
- 👤 Daniel J. Sifter
Bibliographic Details
Application Number
—
Jurisdiction
US
Data Source
google_patents
Last Synchronized
2026-11-02 15:57
CPC Classifications
G; G06; G06F; G06F11/00; G06F11/36; G06F11/3668; G06F11/3672
Claims Analysis
Total Claims: 24
Claim 1
Independent Claim
140 words
A white box testing method for testing how code of a software system being executed by a computer reacts to an exception raised by a public interface that is nested within a component the method comprising: providing a setup function for execution by the computer that, when called by code executing by the computer, is executed by the computer to configure the nested public interface within the component to raise an exception; providing initialization code for execution by the computer that, when executed by the computer, calls the setup function; and providing test code for execution by the computer that, when executed by the computer, calls the component so as to cause the public interface nested within the component to raise an exception, wherein the test code evaluates how the component handles the exception raised by the nested public interface.
Claim 2
Dependent Claim
140 words
A white box testing method for testing how code of a software system being executed by a computer reacts to an exception raised by a public interface that is nested within a component the method comprising: providing a setup function for execution by the computer that, when called by code executing by the computer, is executed by the computer to configure the nested public interface within the component to raise an exception; providing initialization code for execution by the computer that, when executed by the computer, calls the setup function; and providing test code for execution by the computer that, when executed by the computer, calls the component so as to cause the public interface nested within the component to raise an exception, wherein the test code evaluates how the component handles the exception raised by the nested public interface.
Claim 3
Dependent Claim
61 words
The white box testing method of claim 1, and further including: providing code within the nested public interface of the component for execution by the computer that, when executed by the computer, determines whether the setup function has been called to configure the nested public interface to raise an exception and that raises the exception in response to an affirmative determination.
Claim 4
Dependent Claim
58 words
The white box testing method of claim 1, wherein the setup function, when executed by the computer, takes an input "nextOccurrence" argument; and the setup function, when executed by the computer, configures the nested public interface to not raise the exception until the nested public interface has been called a number of times represented by the nextOccurrence argument.
Claim 5
Dependent Claim
69 words
The white box testing method of claim 1, wherein the setup function, when executed by the computer, takes an input "nextOccurrence" argument; and if the nextOccurrence argument so indicates, when the setup, function is executed by the computer, the setup function configures the nested public interface to not raise the exception until the nested public interface has been called a number of times as determined from a random function.
Claim 6
Dependent Claim
94 words
The white box testing method of claim 1, wherein the exception is a first exception; the setup function, when called, is executed by the computer to configure the nested public interface within the component to raise both the first exception and a second exception; and the test code calls the component so as to cause the public interface nested within the component to raise both the first exception and the second exception, wherein the test code evaluates how the component handles the first exception and the second exception raised by the nested public interface.
Claim 7
Dependent Claim
37 words
The white box testing method of claim 1, wherein the test code, when executed by the computer, includes code that when executed starts a plurality of threads, wherein each thread executes code for a separate test case.
Claim 8
Dependent Claim
27 words
The white box testing method of claim 6, wherein the test code, when executed by the computer, schedules the plurality of threads responsive to an ordering member.
Claim 9
Dependent Claim
112 words
A white box testing method for testing how code of a software system being executed by a computer reacts to an exception raised by a public interface that is nested within a component, the method comprising: executing by the computer a setup function to configure the nested public interface within the component, when executed by the computer, to raise an exception; executing by the computer initialization code that calls the setup function; and executing by the computer test code that calls the component so as to cause the public interface within the component to raise an exception and that evaluates how the component handles the exception raised by the nested public interface.
Claim 10
Dependent Claim
112 words
A white box testing method for testing how code of a software system being executed by a computer reacts to an exception raised by a public interface that is nested within a component, the method comprising: executing by the computer a setup function to configure the nested public interface within the component, when executed by the computer, to raise an exception; executing by the computer initialization code that calls the setup function; and executing by the computer test code that calls the component so as to cause the public interface within the component to raise an exception and that evaluates how the component handles the exception raised by the nested public interface.
Claim 11
Dependent Claim
54 words
The white box testing method of claim 8, and further including: executing code by the computer within the nested public interface of the component to determine whether the setup function has been called to configure the nested public interface to raise an exception and to raise the exception in response to an affirmative determination.
Claim 12
Dependent Claim
63 words
The white box testing method of claim 8, wherein the setup function, when executed by the computer, takes an input "nextOccurrence" argument; and the step of executing the setup function by the computer includes the computer configuring the nested public interface to not raise the exception until the nested public interface has been called a number of times represented by the nextOccurrence argument.
Claim 13
Dependent Claim
68 words
The white box testing method of claim 8, wherein the setup function, when executed by the computer, takes an input "nextOccurrence" argument; and the step of executing the setup function by the computer includes, if the nextOccurrence argument so indicates, configuring the nested public interface to not raise the exception until the nested public interface has been called a number of times as determined from a random function.
Claim 14
Dependent Claim
105 words
The white box testing method of claim 8, wherein the exception is a first exception; the step of executing the setup function by the computer includes configuring the nested public interface within the component to, when executed by the computer, raise both the first exception and a second exception; and the step of executing the test code by the computer includes calling the component so as to cause the public interface nested within the component to raise both the first exception and the second exception and then evaluating how the component handles the first exception and the second exception raised by the nested public interface.
Claim 15
Dependent Claim
32 words
The white box testing method of claim 8, wherein the test code, when executed by the computer, starts a plurality of threads, where each thread executes code for a separate test case.
Claim 16
Dependent Claim
27 words
The white box testing method of claim 12, wherein the test code, when executed by the computer, schedules the plurality of threads responsive to an ordering member.
Claim 17
Dependent Claim
159 words
An article of manufacture comprising a computer useable medium having computer-readable white box testing program code embodied therein, the white box testing code for configuring a computer to test a public interface nested within a component of a software system being executed by the computer, the white box testing code embodied in the article of manufacture comprising: setup function computer readable software means that, when called by code executing by the computer, is executed by the computer to configure the nested public interface within the component to raise an exception; initialization code computer readable software means for execution by the computer that, when executed by the computer, calls the setup function; and test code computer readable software means that, when executed by the computer, calls the component so as to cause the public interface nested within the component to raise an exception, wherein the test code evaluates how the component handles the exception raised by the nested public interface.
Claim 18
Dependent Claim
159 words
An article of manufacture comprising a computer useable medium having computer-readable white box testing program code embodied therein, the white box testing code for configuring a computer to test a public interface nested within a component of a software system being executed by the computer, the white box testing code embodied in the article of manufacture comprising: setup function computer readable software means that, when called by code executing by the computer, is executed by the computer to configure the nested public interface within the component to raise an exception; initialization code computer readable software means for execution by the computer that, when executed by the computer, calls the setup function; and test code computer readable software means that, when executed by the computer, calls the component so as to cause the public interface nested within the component to raise an exception, wherein the test code evaluates how the component handles the exception raised by the nested public interface.
Claim 19
Dependent Claim
61 words
The article of manufacture of claim 15, and further including: determining and raising computer readable code means within the nested public interface for execution by the computer that, when executed by the computer, determines whether the setup function has been called to configure the nested public interface to raise an exception and raises the exception in response to an affirmative determination.
Claim 20
Dependent Claim
67 words
The article of manufacture of claim 15, wherein the setup function computer readable software code means, when executed by the computer, takes an input "nextOccurrence" argument; and the setup function computer readable software code means, when executed by the computer, configures the nested public interface to not raise the exception until the nested public interface has been called a number of times represented by the nextOccurrence argument.
Claim 21
Dependent Claim
73 words
The article of manufacture of claim 15, wherein the setup function computer readable software code means, when executed by the computer, takes an input "nextOccurrence" argument; and if the nextOccurrence argument so indicates, the setup function computer readable code means, when executed by the computer, configures the nested public interface to not raise the exception until the nested public interface has been called a number of times as determined from a random function.
Claim 22
Dependent Claim
109 words
The article of manufacture of claim 15, wherein the exception is a first exception; the setup function computer readable code means, when called, is executed by the computer to configure the nested public interface within the component to, when executed by the computer, raise both the first exception and a second exception; and the test code computer readable code means that, when executed by the computer, calls the component so as to cause the public interface nested within the component to raise both the first exception and the second exception and evaluates how the component handles the first exception and the second exception raised by the nested public interface.
Claim 23
Dependent Claim
41 words
The article of manufacture of claim 15, wherein the test code computer readable code means includes computer readable code means that, when executed by the computer, start a plurality of threads, wherein each thread executes code for a separate test case.
Claim 24
Dependent Claim
30 words
The article of manufacture of claim 20, wherein the test code computer readable code means, when executed by the computer, schedules the plurality of threads responsive to an ordering member.
References Cited (Backward Citations)
US4819233A
Cited
US5495571A
Cited
USPTO Annuity & Maintenance Windows
| Annuity Stage | Window Opens | Payment Deadline | Surcharge Period Until | Estimated Fee | Status |
|---|---|---|---|---|---|
| 3.5 Years (Year 4) | 2003-02-07 | 2003-08-09 | 2004-02-08 | $2000.00 | Window Closed / Lapsed |
| 7.5 Years (Year 8) | 2007-02-07 | 2007-08-09 | 2008-02-08 | $3760.00 | Window Closed / Lapsed |
| 11.5 Years (Year 12) | 2011-02-07 | 2011-08-09 | 2012-02-08 | $7700.00 | Window Closed / Lapsed |