IP Library Granted Patent US 8,291,385
Granted Patent B2
US 8,291,385 · App. 12/917,414 · Granted Oct 16, 2012

Method and system for testing a software program

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,291,385
App. No.
12/917,414
Granted
Oct 16, 2012
Kind
B2
Abstract

Methods and systems for testing a software program are provided. The methods include receiving a textual input for testing at least one static type used by the software program. The textual input of an embodiment is pre-linked to the at least one static type. The method includes creating a dynamic type based on the textual input in a dynamically typed language. The dynamic type is populated based on a predefined set of test vectors and is then passed on to the software program. The software program is executed using the dynamic type. Executing the software program by using the dynamic type invokes the at least one static type used by the software program.

Claims (32)

1. A method to test a software program, comprising:

creating an import definition of a static type, associated with the software program, in a language that uses a dynamic type;

providing a reference to the static type via the import definition;

receiving a textual input that is pre-linked to the import definition; and

executing the software program using a created dynamic type to invoke the static type based on the reference and testing the static type.

2. The method of claim 1 , wherein the invoking comprises:

creating the dynamic type in the language based on the textual input.

3. The method of claim 2 , wherein the creating the dynamic type includes populating the dynamic type with a predefined test vector.

4. The method of claim 1 , wherein the testing the static type includes testing the static type without creating an adaptation layer for the static type.

5. The method of claim 1 , wherein the software program is an 802.16 protocol software program.

6. The method of claim 1 , wherein the language that uses the dynamic type is a scripting language.

7. The method of claim 1 , wherein the receiving the textual input includes receiving the textual input via a markup language.

8. A test device to test a software program, comprising:

a binder configured to create an import definition of a static type, associated with the software program, in a language that uses a dynamic type, the import definition providing a reference to the static type;

a receiver configured to receive a textual input that is pre-linked to the import definition; and

a processor configured to execute though software program by using a created dynamic type to invoke the static type based on the reference and testing the static type.

9. The test device of claim 8 , further comprising:

a creator configured to create the dynamic type in the language based on the textual input.

10. The test device of claim 9 , wherein the creator is configured to populate the dynamic type with a predefined test vector.

11. The test device of claim 8 , wherein the test device is configured to test the static type without creating an adaptation layer for the static type.

12. The test device of claim 8 , wherein the software program is an 802.16 protocol software program.

13. The test device of claim 8 , wherein the language that uses the dynamic type is a scripting language.

14. The test device of claim 8 , wherein the receiver is configured to receive the textual input via a markup language.

15. A test device to test a software program, comprising:

a receiver configured to receive a textual input for testing the software program using at least one static type used by the software program, the textual input being pre-linked to the at least one static type;

a creator configured to create a dynamic type based on the textual input in a dynamically typed language;

a processor configured to execute the software program by using the dynamic type invoking the at least one static type used by the software program; and

a generator configured to create an import definition of the at least one static type used by the software program, the import definition being created in the dynamically typed language and being pre-linked to the textual input.

16. The test device of claim 15 , wherein the generator is a Simplified Wrapper and Interface Generator (SWIG).

17. The test device of claim 15 , wherein the software program is written in a statically typed language.

18. The test device of claim 15 , wherein the software program is a protocol software program.

19. The test device of claim 15 , wherein the protocol software program is an 802.16 protocol software program.

Assignments (6)
CORRECTIVE ASSIGNMENT TO CORRECT THE EFFECTIVE DATE OF MERGER TO 09/05/2018 PREVIOUSLY RECORDED AT REEL: 047230 FRAME: 0133. ASSIGNOR(S) HEREBY CONFIRMS THE MERGER. Recorded Oct 29, 2018
From: AVAGO TECHNOLOGIES GENERAL IP (SINGAPORE) PTE. LTD.
To: AVAGO TECHNOLOGIES INTERNATIONAL SALES PTE. LIMITED
Reel/Frame 047630/0456 →
MERGER Recorded Oct 4, 2018
From: AVAGO TECHNOLOGIES GENERAL IP (SINGAPORE) PTE. LTD.
To: AVAGO TECHNOLOGIES INTERNATIONAL SALES PTE. LIMITED
Reel/Frame 047230/0133 →
TERMINATION AND RELEASE OF SECURITY INTEREST IN PATENTS Recorded Feb 3, 2017
From: BANK OF AMERICA, N.A., AS COLLATERAL AGENT
To: BROADCOM CORPORATION
Reel/Frame 041712/0001 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 1, 2017
From: BROADCOM CORPORATION
To: AVAGO TECHNOLOGIES GENERAL IP (SINGAPORE) PTE. LTD.
Reel/Frame 041706/0001 →
PATENT SECURITY AGREEMENT Recorded Feb 11, 2016
From: BROADCOM CORPORATION
To: BANK OF AMERICA, N.A., AS COLLATERAL AGENT
Reel/Frame 037806/0001 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 13, 2010
From: BECEEM COMMUNICATIONS, INC.
To: BROADCOM CORPORATION
Reel/Frame 025473/0591 →