summaryrefslogtreecommitdiff
path: root/examples/xorg-gtest.cpp
blob: 529fdda490150c5472fc7ae720db30e9767e98dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include <xorg/gtest/test.h>

using namespace xorg::testing;

/**
 * @example xorg-gtest.cpp
 *
 * This is an example for using the fixture
 * xorg::testing::Test for your own tests. Please
 * make sure that you have the X.org dummy display
 * driver installed on your system and that you execute
 * the test with root privileges.
 */
TEST_F(Test, DummyXorgServerTest) {

  EXPECT_NE(0, DefaultRootWindow(Display()));

}