Invention Application
- Patent Title: MOCK OBJECT GENERATION
-
Application No.: PCT/US2015/047902Application Date: 2015-09-01
-
Publication No.: WO2016036716A1Publication Date: 2016-03-10
- Inventor: CLARK, Brendan Joseph
- Applicant: HOME BOX OFFICE, INC.
- Applicant Address: 1100 Avenue of the Americas New York, New York 10036 US
- Assignee: HOME BOX OFFICE, INC.
- Current Assignee: HOME BOX OFFICE, INC.
- Current Assignee Address: 1100 Avenue of the Americas New York, New York 10036 US
- Agency: MICHALIK, Albert et al.
- Priority: US62/046,090 20140904; US14/841,597 20150831
- Main IPC: G06F11/36
- IPC: G06F11/36
Abstract:
The disclosure is generally directed towards automatically generating a mock object from a description of a real object, such as for use in testing. Mock object generation logic parses the description to determine interface(s) of the real object, which are replicated in the mock object, and to determine method(s) of the real object, which are simulated in the mock object. The mock object generation logic may generate a description of the mock object that is then compiled into the mock object for execution. Data types may be validated so that the arguments and/or return values from the mock object meet the expectations of a calling object.
Information query