Example class for how to subclass tests.
More...
|
virtual void | SetUp (void) |
| Tries to connect to an X server instance. More...
|
|
Example class for how to subclass tests.
- Examples:
- xorg-gtest-environment-example.cpp.
◆ SetUp()
virtual void SubTest::SetUp |
( |
void |
| ) |
|
|
inlinevirtual |
Tries to connect to an X server instance.
Fails if no X server is running. Updates the display object. Reimplemented from ::testing::Test. See Google Test documentation for details.
- Postcondition
- Subsequent calls to Display() return a valid pointer or NULL if an error occured.
- Exceptions
-
std::runtime_error | if no X server is running. |
Reimplemented from xorg::testing::Test.
◆ example_prop
Atom SubTest::example_prop |
|
protected |
Example property that we'll use in the test.
The documentation for this class was generated from the following file:
- /build/xorg-gtest-5RRfdT/xorg-gtest-0.7.1/examples/xorg-gtest-environment-example.cpp