xorg-gtest  0.1
Xorg testing extension to Google Test
xorg::testing::XIOError Class Reference

#include <xorg-gtest-xserver.h>

Inheritance diagram for xorg::testing::XIOError:

Public Member Functions

 XIOError (const std::string &msg)
 Create a new XIOError with the given message. More...
 

Detailed Description

Exception thrown if the display connection encounters an IO error and calls the XIOErrorHandler function.

This exception requires an XIOErrorHandler to be registered. XServer::Start() will register this error handler. For tests that do not use the provided XServer object, call XServer::RegisterXIOErrorHandler() instead.

Constructor & Destructor Documentation

◆ XIOError()

xorg::testing::XIOError::XIOError ( const std::string &  msg)
inline

Create a new XIOError with the given message.


The documentation for this class was generated from the following file: