IP Library Granted Patent US 8,255,861
Granted Patent B2
US 8,255,861 · App. 12/909,562 · Granted Aug 28, 2012

Efficient replaying of autograded coverage regressions and performance verification with directed testcases

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,255,861
App. No.
12/909,562
Granted
Aug 28, 2012
Kind
B2
Abstract

An approach is provided that receives a correlation data structure from a memory. The correlation data structure indicates a number of expected test event triggers that correspond to a test case that includes a number of test events. The test case is executed by a computer processor, the execution resulting in one or more resultant data structures stored in the memory. The resultant data structures indicate one or more actual test event triggers that occurred during the execution. The expected test event triggers are compared to the actual test event triggers. If the comparison reveals one or more mismatches, a trigger mismatch notification is provided to a user of the computer.

Claims (71)

1. A computer-implemented method comprising:

receiving a correlation data structure from a memory, wherein the correlation data structure indicates a plurality of expected test event triggers corresponding to a test case that includes a plurality of test events;

executing the test case with a computer processor, wherein the executing results in one or more resultant data structures stored in the memory, wherein the resultant data structures indicate one or more actual test event triggers that occurred during the execution;

first comparing the expected test event triggers to the actual test event triggers; and

in response to the first comparing revealing one or more mismatches, providing a trigger mismatch notification, wherein the trigger mismatch notification indicates the one or more mismatches resulting from the first comparison.

2. The method of claim 1 , wherein the expected test event triggers includes an expected trigger count corresponding to each of the expected test event triggers, and wherein the resultant data structures includes an actual trigger count corresponding to a number of times that each of the actual test event triggers occurred, the method further comprising:

second comparing the expected trigger counts to the actual trigger counts; and

in response to the second comparing revealing a mismatch, providing a trigger count mismatch notification to a user, wherein the trigger count mismatch notification indicates the one mismatch or more mismatches resulting from the second comparison comparing.

3. The method of claim 2 further comprising:

selecting a test case coverage category, wherein the received correlation data structure corresponds to the selected test case coverage category, and wherein the test case corresponds to the selected test case coverage category.

4. The method of claim 2 further comprising:

prior to the executing, receiving a selection that indicates whether the test case is autograded;

in response to the receiving the selection that indicates that the test case is autograded:

retrieving an autograde chart that indicates one or more events that were triggered when the test case was executed; and

creating the correlation data structure using the autograde chart as an input, wherein the correlation data structure indicates the one or more events that were triggered when the test case was executed.

5. The method of claim 2 , further comprising:

selecting a set of triggering test patterns from a set of one or more triggering test patterns that correspond to the test case;

defining one or more relations between a plurality of events included in the selected set of triggering test patterns; and

creating the correlation data structure based on the plurality of events included in the selected set of triggering test patterns that are expected to be triggered when the test case is executed.

6. The method of claim 5 , wherein the creating includes inclusion of the expected trigger counts in the correlation data structure based on a number of times each of the triggering test patterns are expected to be triggered.

7. The method of claim 2 further comprising:

receiving a list of a plurality of events expected to be triggered when the test case is executed; and

creating the correlation data structure based on the received list of the plurality of events.

8. A computer program product in a computer-readable device comprising functional descriptive material that, when executed by a computer, directs the computer to perform actions comprising:

receiving a correlation data structure from a memory, wherein the correlation data structure indicates a plurality of expected test event triggers corresponding to a test case that includes a plurality of test events;

executing the test case with a computer processor, wherein the executing results in one or more resultant data structures stored in the memory, wherein the resultant data structures indicate one or more actual test event triggers that occurred during the execution;

first comparing the expected test event triggers to the actual test event triggers; and

in response to the first comparing revealing one or more mismatches, providing a trigger mismatch notification, wherein the trigger mismatch notification indicates the one or more mismatches resulting from the first comparison.

9. The computer program product of claim 8 , wherein the expected test event triggers includes an expected trigger count corresponding to each of the expected test event triggers, and wherein the resultant data structures includes an actual trigger count corresponding to a number of times that each of the actual test event triggers occurred, wherein the functional descriptive material, when executed by the computer, causes the computer to perform additional actions comprising:

second comparing the expected trigger counts to the actual trigger counts; and

in response to the second comparing revealing a mismatch, providing a trigger count mismatch notification to a user, wherein the trigger count mismatch notification indicates the one mismatches or more mismatches resulting from the second comparison.

10. The computer program product of claim 9 , wherein the functional descriptive material, when executed by the computer, causes the computer to perform an additional action comprising:

selecting a test case coverage category, wherein the received correlation data structure corresponds to the selected test case coverage category, and wherein the test case corresponds to the selected test case coverage category.

11. The computer program product of claim 9 , wherein the functional descriptive material, when executed by the computer, causes the computer to perform an additional action comprising:

prior to the executing, receiving a selection that indicates whether the test case is autograded;

in response to the receiving the selection that indicates that the test case is autograded:

retrieving an autograde chart that indicates one or more events that were triggered when the test case was executed; and

creating the correlation data structure using the autograde chart as an input, wherein the correlation data structure indicates the one or more events that were triggered when the test case was executed.

12. The computer program product of claim 9 , wherein the functional descriptive material, when executed by the computer, causes the computer to perform additional actions comprising:

selecting a set of triggering test patterns from a set of one or more triggering test patterns that correspond to the test case;

defining one or more relations between a plurality of events included in the selected set of triggering test patterns; and

creating the correlation data structure based on the plurality of events included in the selected set of triggering test patterns that are expected to be triggered when the test case is executed.

13. The computer program product of claim 12 , wherein the creating includes inclusion of the expected trigger counts in the correlation data structure based on a number of times each of the triggering test patterns are expected to be triggered.

14. The computer program product of claim 9 , wherein the functional descriptive material, when executed by the computer, causes the computer to perform additional actions comprising:

receiving a list of a plurality of events expected to be triggered when the test case is executed; and

creating the correlation data structure based on the received list of the plurality of events.

15. A data processing system comprising:

one or more processors;

at least one memory associated with the one or more processors; and

a set of instructions contained in the at least one memory, wherein the one or more processors execute the set of instructions to perform actions of:

receiving a correlation data structure from a memory, wherein the correlation data structure indicates a plurality of expected test event triggers corresponding to a test case that includes a plurality of test events;

executing the test case with a computer processor, the wherein the executing results in one or more resultant data structures stored in the memory, wherein the resultant data structures indicate one or more actual test event triggers that occurred during the execution;

first comparing the expected test event triggers to the actual test event triggers; and

in response to the first comparing revealing one or more mismatches, providing a trigger mismatch notification, wherein the trigger mismatch notification indicates the one or more mismatches resulting from the first comparison.

16. The data processing system of claim 15 , wherein the expected test event triggers includes an expected trigger count corresponding to each of the expected test event triggers, and wherein the resultant data structures includes an actual trigger count corresponding to a number of times that each of the actual test event triggers occurred, and wherein the one or more processors execute the set of instructions to perform additional actions of:

second comparing the expected trigger counts to the actual trigger counts; and

in response to the second comparing revealing a mismatch, providing a trigger count mismatch notification to a user, wherein the trigger count mismatch notification indicates the one mismatch or more mismatches resulting from the second comparison.

17. The data processing system of claim 16 , wherein the one or more processors execute the set of instructions to perform an additional action of:

selecting a test case coverage category, wherein the received correlation data structure corresponds to the selected test case coverage category, and wherein the test case corresponds to the selected test case coverage category.

18. The data processing system of claim 16 , wherein the one or more processors execute the set of instructions to perform an additional action of:

prior to the executing, receiving a selection that indicates whether the test case is autograded;

in response to the receiving the selection that indicates that the test case is autograded:

retrieving an autograde chart that indicates one or more events that were triggered when the test case was executed; and

creating the correlation data structure using the autograde chart as an input, wherein the correlation data structure indicates the one or more events that were triggered when the test case was executed.

19. The data processing system of claim 16 , wherein the one or more processors execute the set of instructions to perform additional actions of:

selecting a set of triggering test patterns from a set of one or more triggering test patterns that correspond to the test case;

defining one or more relations between a plurality of events included in the selected set of triggering test patterns; and

creating the correlation data structure based on the plurality of events included in the selected set of triggering test patterns that are expected to be triggered when the test case is executed, and wherein the creating includes inclusion of the expected trigger counts in the correlation data structure based on a number of times each of the triggering test patterns are expected to be triggered.

20. The data processing system of claim 16 , wherein the one or more processors execute the set of instructions to perform additional actions of:

receiving a list of a plurality of events expected to be triggered when the test case is executed; and

creating the correlation data structure based on the received list of the plurality of events.

Assignments (14)
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE APPLICATION 11759915 AND REPLACE IT WITH APPLICATION 11759935 PREVIOUSLY RECORDED ON REEL 040925 FRAME 0001. ASSIGNOR(S) HEREBY CONFIRMS THE RELEASE OF SECURITY INTEREST. Recorded Feb 17, 2020
From: MORGAN STANLEY SENIOR FUNDING, INC.
To: NXP, B.V. F/K/A FREESCALE SEMICONDUCTOR, INC.
Reel/Frame 052917/0001 →
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE APPLICATION 11759915 AND REPLACE IT WITH APPLICATION 11759935 PREVIOUSLY RECORDED ON REEL 040928 FRAME 0001. ASSIGNOR(S) HEREBY CONFIRMS THE RELEASE OF SECURITY INTEREST. Recorded Jan 17, 2020
From: MORGAN STANLEY SENIOR FUNDING, INC.
To: NXP B.V.
Reel/Frame 052915/0001 →
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE APPLICATION 11759915 AND REPLACE IT WITH APPLICATION 11759935 PREVIOUSLY RECORDED ON REEL 037486 FRAME 0517. ASSIGNOR(S) HEREBY CONFIRMS THE ASSIGNMENT AND ASSUMPTION OF SECURITY INTEREST IN PATENTS. Recorded Dec 10, 2019
From: CITIBANK, N.A.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 053547/0421 →
CORRECTIVE ASSIGNMENT TO CORRECT THE TO CORRECT THE APPLICATION NO. FROM 13,883,290 TO 13,833,290 PREVIOUSLY RECORDED ON REEL 041703 FRAME 0536. ASSIGNOR(S) HEREBY CONFIRMS THE THE ASSIGNMENT AND ASSUMPTION OF SECURITY INTEREST IN PATENTS.. Recorded Feb 20, 2019
From: MORGAN STANLEY SENIOR FUNDING, INC.
To: SHENZHEN XINGUODU TECHNOLOGY CO., LTD.
Reel/Frame 048734/0001 →
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE PATENTS 8108266 AND 8062324 AND REPLACE THEM WITH 6108266 AND 8060324 PREVIOUSLY RECORDED ON REEL 037518 FRAME 0292. ASSIGNOR(S) HEREBY CONFIRMS THE ASSIGNMENT AND ASSUMPTION OF SECURITY INTEREST IN PATENTS. Recorded Feb 1, 2017
From: CITIBANK, N.A.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 041703/0536 →
RELEASE OF SECURITY INTEREST Recorded Nov 7, 2016
From: MORGAN STANLEY SENIOR FUNDING, INC.
To: NXP B.V.
Reel/Frame 040928/0001 →
RELEASE OF SECURITY INTEREST Recorded Sep 21, 2016
From: MORGAN STANLEY SENIOR FUNDING, INC.
To: NXP, B.V., F/K/A FREESCALE SEMICONDUCTOR, INC.
Reel/Frame 040925/0001 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 4, 2016
From: FREESCALE SEMICONDUCTOR, INC.
To: NORTH STAR INNOVATIONS INC.
Reel/Frame 037694/0264 →
ASSIGNMENT AND ASSUMPTION OF SECURITY INTEREST IN PATENTS Recorded Jan 13, 2016
From: CITIBANK, N.A.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 037518/0292 →
ASSIGNMENT AND ASSUMPTION OF SECURITY INTEREST IN PATENTS Recorded Jan 12, 2016
From: CITIBANK, N.A.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 037486/0517 →
PATENT RELEASE Recorded Dec 21, 2015
From: CITIBANK, N.A., AS COLLATERAL AGENT
To: FREESCALE SEMICONDUCTOR, INC.
Reel/Frame 037357/0285 →
PATENT RELEASE Recorded Dec 21, 2015
From: CITIBANK, N.A., AS COLLATERAL AGENT
To: FREESCALE SEMICONDUCTOR, INC.
Reel/Frame 037357/0334 →
PATENT RELEASE Recorded Dec 21, 2015
From: CITIBANK, N.A., AS COLLATERAL AGENT
To: FREESCALE SEMICONDUCTOR, INC.
Reel/Frame 037357/0387 →
SECURITY AGREEMENT Recorded Nov 6, 2013
From: FREESCALE SEMICONDUCTOR, INC.
To: CITIBANK, N.A., AS NOTES COLLATERAL AGENT
Reel/Frame 031591/0266 →