Patent ID: 8842124
Filing Date: 2014-09-23
Classification: G06F,G06T

Abstract:
1. A non-transitory computer-readable medium storing thereon instructions for providing a declarative user interface for testing graphics programs, the instructions comprising: first instructions that implement an application programming interface (API) that, when used in a program executable on a general-purpose processor, specifies: (i) a graphics program to be tested, wherein the graphics program is stored on a computer-readable medium and includes a plurality of instructions executable on a graphics card, (ii) a test input to be applied to the graphics program, and (iii) an expected result of executing the graphics program on the graphics card when the test input is applied to the graphics program; the instructions further comprising: second instructions that implement a test code generator that, when executed on the general-purpose processor, is configured to: process a test specification program that invokes the API to specify the graphics program, the test input, and the expected result; and automatically generate a test graphics program based on the specified graphics program, wherein the test graphics program is configured to execute on the graphics card to test the graphics program using the specified test input and the specified expected result.