xorg-gtest 0.1
Xorg testing extension to Google Test
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.

#include <xorg/gtest/test.h>

using namespace xorg::testing;

TEST_F(Test, DummyXorgServerTest) {

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

}
 All Classes Functions