Commit 65a79d98 authored by Martin Flöser's avatar Martin Flöser
Browse files

[autotests] Switch all tests to GUILESS_MAIN

parent 9297ce9c
......@@ -157,5 +157,5 @@ void TestCompositor::testCast()
QCOMPARE((wl_compositor*)c2, wlComp);
}
QTEST_MAIN(TestCompositor)
QTEST_GUILESS_MAIN(TestCompositor)
#include "test_compositor.moc"
......@@ -165,5 +165,5 @@ void TestBlur::testCreate()
QCOMPARE(serverSurface->blur()->region(), QRegion(0, 0, 10, 20));
}
QTEST_MAIN(TestBlur)
QTEST_GUILESS_MAIN(TestBlur)
#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));
}
QTEST_MAIN(TestContrast)
QTEST_GUILESS_MAIN(TestContrast)
#include "test_wayland_contrast.moc"
......@@ -281,5 +281,5 @@ void TestRegion::testDestroy()
region->destroy();
}
QTEST_MAIN(TestRegion)
QTEST_GUILESS_MAIN(TestRegion)
#include "test_wayland_region.moc"
......@@ -167,5 +167,5 @@ void TestSlide::testCreate()
QCOMPARE(serverSurface->slideOnShowHide()->offset(), 15);
}
QTEST_MAIN(TestSlide)
QTEST_GUILESS_MAIN(TestSlide)
#include "test_wayland_slide.moc"
......@@ -169,5 +169,5 @@ void TestSubCompositor::testCast()
QCOMPARE((wl_subcompositor*)c2, wlSubComp);
}
QTEST_MAIN(TestSubCompositor)
QTEST_GUILESS_MAIN(TestSubCompositor)
#include "test_wayland_subcompositor.moc"
......@@ -557,5 +557,5 @@ void TestSubSurface::testCast()
QCOMPARE(SubSurface::get(*(subSurface.data())), QPointer<SubSurface>(subSurface.data()));
}
QTEST_MAIN(TestSubSurface)
QTEST_GUILESS_MAIN(TestSubSurface)
#include "test_wayland_subsurface.moc"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment