[autotests] Switch all tests to GUILESS_MAIN
This commit is contained in:
parent
9297ce9c5a
commit
65a79d98da
7 changed files with 7 additions and 7 deletions
|
@ -157,5 +157,5 @@ void TestCompositor::testCast()
|
||||||
QCOMPARE((wl_compositor*)c2, wlComp);
|
QCOMPARE((wl_compositor*)c2, wlComp);
|
||||||
}
|
}
|
||||||
|
|
||||||
QTEST_MAIN(TestCompositor)
|
QTEST_GUILESS_MAIN(TestCompositor)
|
||||||
#include "test_compositor.moc"
|
#include "test_compositor.moc"
|
||||||
|
|
|
@ -165,5 +165,5 @@ void TestBlur::testCreate()
|
||||||
QCOMPARE(serverSurface->blur()->region(), QRegion(0, 0, 10, 20));
|
QCOMPARE(serverSurface->blur()->region(), QRegion(0, 0, 10, 20));
|
||||||
}
|
}
|
||||||
|
|
||||||
QTEST_MAIN(TestBlur)
|
QTEST_GUILESS_MAIN(TestBlur)
|
||||||
#include "test_wayland_blur.moc"
|
#include "test_wayland_blur.moc"
|
||||||
|
|
|
@ -176,5 +176,5 @@ void TestContrast::testCreate()
|
||||||
QCOMPARE(wl_fixed_from_double(serverSurface->contrast()->saturation()), wl_fixed_from_double(1.7));
|
QCOMPARE(wl_fixed_from_double(serverSurface->contrast()->saturation()), wl_fixed_from_double(1.7));
|
||||||
}
|
}
|
||||||
|
|
||||||
QTEST_MAIN(TestContrast)
|
QTEST_GUILESS_MAIN(TestContrast)
|
||||||
#include "test_wayland_contrast.moc"
|
#include "test_wayland_contrast.moc"
|
||||||
|
|
|
@ -281,5 +281,5 @@ void TestRegion::testDestroy()
|
||||||
region->destroy();
|
region->destroy();
|
||||||
}
|
}
|
||||||
|
|
||||||
QTEST_MAIN(TestRegion)
|
QTEST_GUILESS_MAIN(TestRegion)
|
||||||
#include "test_wayland_region.moc"
|
#include "test_wayland_region.moc"
|
||||||
|
|
|
@ -167,5 +167,5 @@ void TestSlide::testCreate()
|
||||||
QCOMPARE(serverSurface->slideOnShowHide()->offset(), 15);
|
QCOMPARE(serverSurface->slideOnShowHide()->offset(), 15);
|
||||||
}
|
}
|
||||||
|
|
||||||
QTEST_MAIN(TestSlide)
|
QTEST_GUILESS_MAIN(TestSlide)
|
||||||
#include "test_wayland_slide.moc"
|
#include "test_wayland_slide.moc"
|
||||||
|
|
|
@ -169,5 +169,5 @@ void TestSubCompositor::testCast()
|
||||||
QCOMPARE((wl_subcompositor*)c2, wlSubComp);
|
QCOMPARE((wl_subcompositor*)c2, wlSubComp);
|
||||||
}
|
}
|
||||||
|
|
||||||
QTEST_MAIN(TestSubCompositor)
|
QTEST_GUILESS_MAIN(TestSubCompositor)
|
||||||
#include "test_wayland_subcompositor.moc"
|
#include "test_wayland_subcompositor.moc"
|
||||||
|
|
|
@ -557,5 +557,5 @@ void TestSubSurface::testCast()
|
||||||
QCOMPARE(SubSurface::get(*(subSurface.data())), QPointer<SubSurface>(subSurface.data()));
|
QCOMPARE(SubSurface::get(*(subSurface.data())), QPointer<SubSurface>(subSurface.data()));
|
||||||
}
|
}
|
||||||
|
|
||||||
QTEST_MAIN(TestSubSurface)
|
QTEST_GUILESS_MAIN(TestSubSurface)
|
||||||
#include "test_wayland_subsurface.moc"
|
#include "test_wayland_subsurface.moc"
|
||||||
|
|
Loading…
Reference in a new issue