diff options
author | Liang Qi <liang.qi@qt.io> | 2016-08-23 08:01:14 +0200 |
---|---|---|
committer | Paul Olav Tvete <paul.tvete@qt.io> | 2016-08-23 12:28:25 +0200 |
commit | 6b7a94b56aa4c3ce21ecf093baba03f0cd7582ed (patch) | |
tree | 455596965d022c63d2c21ca615babf92c9ec74cf /tests | |
parent | 625f257e4857dd21653fccf0e7dd4010a60bc45d (diff) | |
parent | 2cc758045e322873ad58f675a70c8d8366b5c318 (diff) | |
download | qtwayland-6b7a94b56aa4c3ce21ecf093baba03f0cd7582ed.tar.gz |
Merge remote-tracking branch 'origin/5.6' into 5.7
Conflicts:
tests/auto/compositor/compositor.pro
tests/auto/compositor/compositor/compositor.pro
Change-Id: Id9f3cf97ca3b600bdafba846908643ff0f8964b9
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/client/client.pro | 26 | ||||
-rw-r--r-- | tests/auto/client/client/client.pro | 28 | ||||
-rw-r--r-- | tests/auto/client/client/mockcompositor.cpp (renamed from tests/auto/client/mockcompositor.cpp) | 0 | ||||
-rw-r--r-- | tests/auto/client/client/mockcompositor.h (renamed from tests/auto/client/mockcompositor.h) | 0 | ||||
-rw-r--r-- | tests/auto/client/client/mockinput.cpp (renamed from tests/auto/client/mockinput.cpp) | 0 | ||||
-rw-r--r-- | tests/auto/client/client/mockinput.h (renamed from tests/auto/client/mockinput.h) | 0 | ||||
-rw-r--r-- | tests/auto/client/client/mockoutput.cpp (renamed from tests/auto/client/mockoutput.cpp) | 0 | ||||
-rw-r--r-- | tests/auto/client/client/mockshell.cpp (renamed from tests/auto/client/mockshell.cpp) | 0 | ||||
-rw-r--r-- | tests/auto/client/client/mocksurface.cpp (renamed from tests/auto/client/mocksurface.cpp) | 0 | ||||
-rw-r--r-- | tests/auto/client/client/mocksurface.h (renamed from tests/auto/client/mocksurface.h) | 0 | ||||
-rw-r--r-- | tests/auto/client/client/tst_client.cpp (renamed from tests/auto/client/tst_client.cpp) | 0 | ||||
-rw-r--r-- | tests/auto/compositor/compositor.pro | 39 | ||||
-rw-r--r-- | tests/auto/compositor/compositor/BLACKLIST (renamed from tests/auto/compositor/BLACKLIST) | 0 | ||||
-rw-r--r-- | tests/auto/compositor/compositor/compositor.pro | 40 | ||||
-rw-r--r-- | tests/auto/compositor/compositor/mockclient.cpp (renamed from tests/auto/compositor/mockclient.cpp) | 0 | ||||
-rw-r--r-- | tests/auto/compositor/compositor/mockclient.h (renamed from tests/auto/compositor/mockclient.h) | 0 | ||||
-rw-r--r-- | tests/auto/compositor/compositor/mockseat.cpp (renamed from tests/auto/compositor/mockseat.cpp) | 0 | ||||
-rw-r--r-- | tests/auto/compositor/compositor/mockseat.h (renamed from tests/auto/compositor/mockseat.h) | 0 | ||||
-rw-r--r-- | tests/auto/compositor/compositor/testcompositor.cpp (renamed from tests/auto/compositor/testcompositor.cpp) | 0 | ||||
-rw-r--r-- | tests/auto/compositor/compositor/testcompositor.h (renamed from tests/auto/compositor/testcompositor.h) | 0 | ||||
-rw-r--r-- | tests/auto/compositor/compositor/testinputdevice.cpp (renamed from tests/auto/compositor/testinputdevice.cpp) | 0 | ||||
-rw-r--r-- | tests/auto/compositor/compositor/testinputdevice.h (renamed from tests/auto/compositor/testinputdevice.h) | 0 | ||||
-rw-r--r-- | tests/auto/compositor/compositor/testkeyboardgrabber.cpp (renamed from tests/auto/compositor/testkeyboardgrabber.cpp) | 0 | ||||
-rw-r--r-- | tests/auto/compositor/compositor/testkeyboardgrabber.h (renamed from tests/auto/compositor/testkeyboardgrabber.h) | 0 | ||||
-rw-r--r-- | tests/auto/compositor/compositor/tst_compositor.cpp (renamed from tests/auto/compositor/tst_compositor.cpp) | 0 | ||||
-rw-r--r-- | tests/global/.gitignore | 1 |
26 files changed, 73 insertions, 61 deletions
diff --git a/tests/auto/client/client.pro b/tests/auto/client/client.pro index eaf6c6e9..916b3abe 100644 --- a/tests/auto/client/client.pro +++ b/tests/auto/client/client.pro @@ -1,25 +1,3 @@ -CONFIG += testcase link_pkgconfig -TARGET = tst_client +TEMPLATE=subdirs -QT += testlib -QT += core-private gui-private - -!contains(QT_CONFIG, no-pkg-config) { - PKGCONFIG += wayland-client wayland-server -} else { - LIBS += -lwayland-client -lwayland-server -} - -CONFIG += wayland-scanner -WAYLANDSERVERSOURCES += \ - ../../../src/3rdparty/protocol/wayland.xml - -SOURCES += tst_client.cpp \ - mockcompositor.cpp \ - mockinput.cpp \ - mockshell.cpp \ - mocksurface.cpp \ - mockoutput.cpp -HEADERS += mockcompositor.h \ - mockinput.h \ - mocksurface.h \ +SUBDIRS += client diff --git a/tests/auto/client/client/client.pro b/tests/auto/client/client/client.pro new file mode 100644 index 00000000..006d130a --- /dev/null +++ b/tests/auto/client/client/client.pro @@ -0,0 +1,28 @@ +CONFIG += testcase link_pkgconfig +TARGET = tst_client + +QT += testlib +QT += core-private gui-private + +!contains(QT_CONFIG, no-pkg-config) { + PKGCONFIG += wayland-client wayland-server +} else { + LIBS += -lwayland-client -lwayland-server +} + +CONFIG += wayland-scanner +WAYLANDSERVERSOURCES += \ + ../../../../src/3rdparty/protocol/wayland.xml + +SOURCES += \ + tst_client.cpp \ + mockcompositor.cpp \ + mockinput.cpp \ + mockshell.cpp \ + mocksurface.cpp \ + mockoutput.cpp + +HEADERS += \ + mockcompositor.h \ + mockinput.h \ + mocksurface.h diff --git a/tests/auto/client/mockcompositor.cpp b/tests/auto/client/client/mockcompositor.cpp index c00d24bc..c00d24bc 100644 --- a/tests/auto/client/mockcompositor.cpp +++ b/tests/auto/client/client/mockcompositor.cpp diff --git a/tests/auto/client/mockcompositor.h b/tests/auto/client/client/mockcompositor.h index dd6450fc..dd6450fc 100644 --- a/tests/auto/client/mockcompositor.h +++ b/tests/auto/client/client/mockcompositor.h diff --git a/tests/auto/client/mockinput.cpp b/tests/auto/client/client/mockinput.cpp index fe06bf79..fe06bf79 100644 --- a/tests/auto/client/mockinput.cpp +++ b/tests/auto/client/client/mockinput.cpp diff --git a/tests/auto/client/mockinput.h b/tests/auto/client/client/mockinput.h index 031be2a4..031be2a4 100644 --- a/tests/auto/client/mockinput.h +++ b/tests/auto/client/client/mockinput.h diff --git a/tests/auto/client/mockoutput.cpp b/tests/auto/client/client/mockoutput.cpp index 05738716..05738716 100644 --- a/tests/auto/client/mockoutput.cpp +++ b/tests/auto/client/client/mockoutput.cpp diff --git a/tests/auto/client/mockshell.cpp b/tests/auto/client/client/mockshell.cpp index 2ce5965a..2ce5965a 100644 --- a/tests/auto/client/mockshell.cpp +++ b/tests/auto/client/client/mockshell.cpp diff --git a/tests/auto/client/mocksurface.cpp b/tests/auto/client/client/mocksurface.cpp index 749a1470..749a1470 100644 --- a/tests/auto/client/mocksurface.cpp +++ b/tests/auto/client/client/mocksurface.cpp diff --git a/tests/auto/client/mocksurface.h b/tests/auto/client/client/mocksurface.h index d04386ac..d04386ac 100644 --- a/tests/auto/client/mocksurface.h +++ b/tests/auto/client/client/mocksurface.h diff --git a/tests/auto/client/tst_client.cpp b/tests/auto/client/client/tst_client.cpp index 74363ef5..74363ef5 100644 --- a/tests/auto/client/tst_client.cpp +++ b/tests/auto/client/client/tst_client.cpp diff --git a/tests/auto/compositor/compositor.pro b/tests/auto/compositor/compositor.pro index 9f9044fd..6bf2aef6 100644 --- a/tests/auto/compositor/compositor.pro +++ b/tests/auto/compositor/compositor.pro @@ -1,38 +1,3 @@ -CONFIG += testcase link_pkgconfig -CONFIG += wayland-scanner -TARGET = tst_compositor +TEMPLATE=subdirs -QT += testlib -QT += core-private gui-private waylandcompositor waylandcompositor-private - -!contains(QT_CONFIG, no-pkg-config) { - PKGCONFIG += wayland-client wayland-server -} else { - LIBS += -lwayland-client -lwayland-server -} - -config_xkbcommon { - !contains(QT_CONFIG, no-pkg-config) { - PKGCONFIG_PRIVATE += xkbcommon - } else { - LIBS_PRIVATE += -lxkbcommon - } -} else { - DEFINES += QT_NO_WAYLAND_XKB -} - -WAYLANDCLIENTSOURCES += \ - ../../../src/3rdparty/protocol/xdg-shell.xml \ - -SOURCES += tst_compositor.cpp \ - testcompositor.cpp \ - testkeyboardgrabber.cpp \ - mockclient.cpp \ - mockseat.cpp \ - testinputdevice.cpp - -HEADERS += testcompositor.h \ - testkeyboardgrabber.h \ - mockclient.h \ - mockseat.h \ - testinputdevice.h +SUBDIRS += compositor diff --git a/tests/auto/compositor/BLACKLIST b/tests/auto/compositor/compositor/BLACKLIST index df4672be..df4672be 100644 --- a/tests/auto/compositor/BLACKLIST +++ b/tests/auto/compositor/compositor/BLACKLIST diff --git a/tests/auto/compositor/compositor/compositor.pro b/tests/auto/compositor/compositor/compositor.pro new file mode 100644 index 00000000..d85c3048 --- /dev/null +++ b/tests/auto/compositor/compositor/compositor.pro @@ -0,0 +1,40 @@ +CONFIG += testcase link_pkgconfig +CONFIG += wayland-scanner +TARGET = tst_compositor + +QT += testlib +QT += core-private gui-private waylandcompositor waylandcompositor-private + +!contains(QT_CONFIG, no-pkg-config) { + PKGCONFIG += wayland-client wayland-server +} else { + LIBS += -lwayland-client -lwayland-server +} + +config_xkbcommon { + !contains(QT_CONFIG, no-pkg-config) { + PKGCONFIG_PRIVATE += xkbcommon + } else { + LIBS_PRIVATE += -lxkbcommon + } +} else { + DEFINES += QT_NO_WAYLAND_XKB +} + +WAYLANDCLIENTSOURCES += \ + ../../../../src/3rdparty/protocol/xdg-shell.xml \ + +SOURCES += \ + tst_compositor.cpp \ + testcompositor.cpp \ + testkeyboardgrabber.cpp \ + mockclient.cpp \ + mockseat.cpp \ + testinputdevice.cpp + +HEADERS += \ + testcompositor.h \ + testkeyboardgrabber.h \ + mockclient.h \ + mockseat.h \ + testinputdevice.h diff --git a/tests/auto/compositor/mockclient.cpp b/tests/auto/compositor/compositor/mockclient.cpp index 9b6d327a..9b6d327a 100644 --- a/tests/auto/compositor/mockclient.cpp +++ b/tests/auto/compositor/compositor/mockclient.cpp diff --git a/tests/auto/compositor/mockclient.h b/tests/auto/compositor/compositor/mockclient.h index 33ada638..33ada638 100644 --- a/tests/auto/compositor/mockclient.h +++ b/tests/auto/compositor/compositor/mockclient.h diff --git a/tests/auto/compositor/mockseat.cpp b/tests/auto/compositor/compositor/mockseat.cpp index 29c4a4e1..29c4a4e1 100644 --- a/tests/auto/compositor/mockseat.cpp +++ b/tests/auto/compositor/compositor/mockseat.cpp diff --git a/tests/auto/compositor/mockseat.h b/tests/auto/compositor/compositor/mockseat.h index 1c6d324c..1c6d324c 100644 --- a/tests/auto/compositor/mockseat.h +++ b/tests/auto/compositor/compositor/mockseat.h diff --git a/tests/auto/compositor/testcompositor.cpp b/tests/auto/compositor/compositor/testcompositor.cpp index dfa26a54..dfa26a54 100644 --- a/tests/auto/compositor/testcompositor.cpp +++ b/tests/auto/compositor/compositor/testcompositor.cpp diff --git a/tests/auto/compositor/testcompositor.h b/tests/auto/compositor/compositor/testcompositor.h index fb5909d1..fb5909d1 100644 --- a/tests/auto/compositor/testcompositor.h +++ b/tests/auto/compositor/compositor/testcompositor.h diff --git a/tests/auto/compositor/testinputdevice.cpp b/tests/auto/compositor/compositor/testinputdevice.cpp index 5c02dff8..5c02dff8 100644 --- a/tests/auto/compositor/testinputdevice.cpp +++ b/tests/auto/compositor/compositor/testinputdevice.cpp diff --git a/tests/auto/compositor/testinputdevice.h b/tests/auto/compositor/compositor/testinputdevice.h index e6134aa1..e6134aa1 100644 --- a/tests/auto/compositor/testinputdevice.h +++ b/tests/auto/compositor/compositor/testinputdevice.h diff --git a/tests/auto/compositor/testkeyboardgrabber.cpp b/tests/auto/compositor/compositor/testkeyboardgrabber.cpp index 315b7f4f..315b7f4f 100644 --- a/tests/auto/compositor/testkeyboardgrabber.cpp +++ b/tests/auto/compositor/compositor/testkeyboardgrabber.cpp diff --git a/tests/auto/compositor/testkeyboardgrabber.h b/tests/auto/compositor/compositor/testkeyboardgrabber.h index ca5f5162..ca5f5162 100644 --- a/tests/auto/compositor/testkeyboardgrabber.h +++ b/tests/auto/compositor/compositor/testkeyboardgrabber.h diff --git a/tests/auto/compositor/tst_compositor.cpp b/tests/auto/compositor/compositor/tst_compositor.cpp index 8405277b..8405277b 100644 --- a/tests/auto/compositor/tst_compositor.cpp +++ b/tests/auto/compositor/compositor/tst_compositor.cpp diff --git a/tests/global/.gitignore b/tests/global/.gitignore new file mode 100644 index 00000000..7407af1a --- /dev/null +++ b/tests/global/.gitignore @@ -0,0 +1 @@ +global.pro |