发明名称 Tool-based testing for composited systems
摘要 Tool-based testing of composited systems indirectly tests properties of a dynamic linked library for a desktop compositor such as DWMCore.dll via an algebraic structure of tools that define composition and rendering properties and derive equivalent resource models. The system tests for undesired side effects by examining characteristics of pixels from complicated render operations and employs a framework to test the composition and rendering of Desktop Windows Manager directly on the DWMCore.dll Application Programming Interface. The process includes mimicking uDWM.dll behavior by using resources with test patterns to take controlled measurements and validate primitives. The framework includes an infrastructure, a resource model, and tools. Each tool exposes a different composition or rendering property. A tool combinator exposes high level composition properties, including correct overlapping of transparent content and visual transformation (translation, scale, color transforms, etc.) by taking tools as input and using visual tree constructs to combine them.
申请公布号 US9069905(B2) 申请公布日期 2015.06.30
申请号 US201213550431 申请日期 2012.07.16
申请人 Microsoft Technology Licensing, LLC 发明人 Olszta Pawel W;Bhagvat Deepali A;Ali Imran
分类号 G06F9/44;G06F11/36 主分类号 G06F9/44
代理机构 代理人 Churna Timothy;Drakos Kate;Minhas Micky
主权项 1. A system for validating output of a composited system in a test suite, the system comprising: one or more processing devices; a memory; and one or more modules stored on the memory and executable by the one or more processing devices to: communicate with a shared library for a desktop compositor directly by forming a dedicated channel with the shared library and creating a render target after the dedicated channel is formed;render primitives by adding nodes to a visual tree, where the created render target acts as a root of the visual tree;generate a graphics oracle to predict a rendering; andcompare composition or rendering primitives against the graphics oracle based on at least a portion of the visual tree; andoutput error information if the comparison produces a result greater than a threshold of human perception.
地址 Redmond WA US