C

TestVerifier Class

class SafeRenderer::TestVerifier

The TestVerifier class provides the output verifier implementation for the Qt GUI adaptation. More...

Header: #include <TestVerifier>
Since: QtSafeRenderer 2.0
Inherits: SafeRenderer::OutputVerifierInterface

Public Functions

TestVerifier()
void setWindow(QWindow *windowPtr)

Reimplemented Public Functions

virtual void verifyOutput() override

Detailed Description

Implements the OutputVerifierInterface abstract interface for the Qt GUI adaptation. This implementation is aimed only for testing purposes to test the verification logic in the host environment.

Member Function Documentation

TestVerifier::TestVerifier()

Constructs a TestVerifier object with a verifierArg. verifierArg is the reference to the output verification requests queue.

void TestVerifier::setWindow(QWindow *windowPtr)

Overrides the screen component to be verified. windowPtr Pointer to the QWindow object that needs to be verified.

[override virtual] void TestVerifier::verifyOutput()

Verify the output for given verification regions in verification queue. Adds results of the verification to the verification results queue.

If m_window pointer is not set, the testverifier does verification for the primary screen.

Available under certain Qt licenses.
Find out more.