Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • xorg/test/xorg-integration-tests
  • p12tic/xorg-integration-tests
  • whot/xorg-integration-tests
  • alanc/xorg-integration-tests
4 results
Show changes
Commits on Source (6)
Showing
with 4 additions and 81 deletions
......@@ -22,9 +22,6 @@
*
*/
#if HAVE_CONFIG_H
#include <config.h>
#endif
#include "helpers.h"
#include <math.h>
......
......@@ -22,9 +22,6 @@
*
*/
#if HAVE_CONFIG_H
#include <config.h>
#endif
#ifndef _HELPERS_H_
#define _HELPERS_H_
......
......@@ -22,9 +22,6 @@
*
*/
#if HAVE_CONFIG_H
#include <config.h>
#endif
#ifndef _VIDEO_DRIVER_TEST_H_
#define _VIDEO_DRIVER_TEST_H_
......
......@@ -22,15 +22,12 @@
*
*/
#if HAVE_CONFIG_H
#include <config.h>
#endif
#include <X11/Xlib.h>
#ifndef _XIT_EVENT_H_
#define _XIT_EVENT_H_
#include <X11/Xlib.h>
#include <xorg/gtest/xorg-gtest.h>
/**
* Usage:
* ASSERT_EVENT(XIDeviceEvent, myevent, dpy, GenericEvent, xi2_opcode, XI_ButtonPress);
......@@ -89,7 +86,7 @@ public:
template<typename EventType>
XITEvent<EventType>::XITEvent(::Display *dpy, int type, int opcode, int evtype)
{
if (!XPending(dpy) && !xorg::testing::XServer::WaitForEventOfType(dpy, type, opcode, evtype)) {
if (!xorg::testing::XServer::WaitForEvent(dpy)) {
ADD_FAILURE() << "Event not received before timeout";
ev = NULL;
return;
......
......@@ -22,10 +22,6 @@
*
*/
#if HAVE_CONFIG_H
#include <config.h>
#endif
#include <xit-property.h>
bool DevicePropertyExists(::Display *dpy, int deviceid, const std::string &propname) {
......
......@@ -22,9 +22,6 @@
*
*/
#if HAVE_CONFIG_H
#include <config.h>
#endif
#ifndef _ATOM_HELPERS_H_
#define _ATOM_HELPERS_H_
......
......@@ -22,9 +22,6 @@
*
*/
#if HAVE_CONFIG_H
#include <config.h>
#endif
#include <stdexcept>
#include <xorg/gtest/xorg-gtest.h>
......
......@@ -22,9 +22,6 @@
*
*/
#if HAVE_CONFIG_H
#include <config.h>
#endif
#ifndef _XIT_SERVER_INPUT_TEST_H_
#define _XIT_SERVER_INPUT_TEST_H_
......
......@@ -22,10 +22,6 @@
*
*/
#if HAVE_CONFIG_H
#include <config.h>
#endif
#include <fstream>
#include "xit-server-test.h"
......
......@@ -22,10 +22,6 @@
*
*/
#if HAVE_CONFIG_H
#include <config.h>
#endif
#ifndef _XIT_SERVER_TEST_H_
#define _XIT_SERVER_TEST_H_
......
......@@ -22,10 +22,6 @@
*
*/
#if HAVE_CONFIG_H
#include <config.h>
#endif
#include "xit-server.h"
#include "helpers.h"
......
......@@ -22,10 +22,6 @@
*
*/
#if HAVE_CONFIG_H
#include <config.h>
#endif
#ifndef _XIT_SERVER_H
#define _XIT_SERVER_H
......
......@@ -22,9 +22,6 @@
*
*/
#if HAVE_CONFIG_H
#include <config.h>
#endif
#include <fstream>
#include <sstream>
#include <unistd.h>
......
......@@ -22,9 +22,6 @@
*
*/
#if HAVE_CONFIG_H
#include <config.h>
#endif
#ifndef _XORGCONFIG_H_
#define _XORGCONFIG_H_
......
......@@ -22,9 +22,6 @@
*
*/
#if HAVE_CONFIG_H
#include <config.h>
#endif
#include <stdexcept>
#include <fstream>
#include <xorg/gtest/xorg-gtest.h>
......
......@@ -22,10 +22,6 @@
*
*/
#if HAVE_CONFIG_H
#include <config.h>
#endif
#include <linux/input.h>
#include <xorg/gtest/xorg-gtest.h>
......
......@@ -22,10 +22,6 @@
*
*/
#if HAVE_CONFIG_H
#include <config.h>
#endif
#include <linux/input.h>
#include <xorg/gtest/xorg-gtest.h>
......
......@@ -22,10 +22,6 @@
*
*/
#if HAVE_CONFIG_H
#include <config.h>
#endif
#ifndef _BARRIERS_COMMON_H_
#define _BARRIERS_COMMON_H_
......
......@@ -22,10 +22,6 @@
*
*/
#if HAVE_CONFIG_H
#include <config.h>
#endif
#include <xorg/gtest/xorg-gtest.h>
#include <X11/Xlib.h>
......@@ -36,8 +32,6 @@
#include "barriers-common.h"
#include "helpers.h"
#if HAVE_FIXES5
using namespace xorg::testing::inputtest;
static Bool
......@@ -103,4 +97,3 @@ TEST_F(BarrierDevices, BarrierBlocksCorrectDevices)
XFixesDestroyPointerBarrier (dpy, barrier);
}
#endif /* HAVE_FIXES5 */
......@@ -22,10 +22,6 @@
*
*/
#if HAVE_CONFIG_H
#include <config.h>
#endif
#include <xorg/gtest/xorg-gtest.h>
#include <X11/Xlib.h>
......@@ -36,8 +32,6 @@
#include "barriers-common.h"
#include "helpers.h"
#if HAVE_FIXES5
class BarrierConstrained : public BarrierTest {};
#define ASSERT_PTR_POS(x, y) \
......@@ -426,5 +420,3 @@ TEST_F(BarrierConstrained, HorizontalBarrierBothDirectionsYBlocksNoMotion)
XFixesDestroyPointerBarrier (dpy, barrier);
}
#endif /* HAVE_FIXES5 */