Changeset View
Changeset View
Standalone View
Standalone View
autotests/test_builtin_effectloader.cpp
Show First 20 Lines • Show All 104 Lines • ▼ Show 20 Line(s) | 77 | { | |||
---|---|---|---|---|---|
105 | QTest::newRow("Resize") << QStringLiteral("resize") << true; | 105 | QTest::newRow("Resize") << QStringLiteral("resize") << true; | ||
106 | QTest::newRow("ScreenEdge") << QStringLiteral("screenedge") << true; | 106 | QTest::newRow("ScreenEdge") << QStringLiteral("screenedge") << true; | ||
107 | QTest::newRow("ScreenShot") << QStringLiteral("screenshot") << true; | 107 | QTest::newRow("ScreenShot") << QStringLiteral("screenshot") << true; | ||
108 | QTest::newRow("Sheet") << QStringLiteral("sheet") << true; | 108 | QTest::newRow("Sheet") << QStringLiteral("sheet") << true; | ||
109 | QTest::newRow("ShowFps") << QStringLiteral("showfps") << true; | 109 | QTest::newRow("ShowFps") << QStringLiteral("showfps") << true; | ||
110 | QTest::newRow("ShowPaint") << QStringLiteral("showpaint") << true; | 110 | QTest::newRow("ShowPaint") << QStringLiteral("showpaint") << true; | ||
111 | QTest::newRow("Slide") << QStringLiteral("slide") << true; | 111 | QTest::newRow("Slide") << QStringLiteral("slide") << true; | ||
112 | QTest::newRow("SlideBack") << QStringLiteral("slideback") << true; | 112 | QTest::newRow("SlideBack") << QStringLiteral("slideback") << true; | ||
113 | QTest::newRow("SlideDesktops") << QStringLiteral("slidedesktops") << true; | ||||
113 | QTest::newRow("SlidingPopups") << QStringLiteral("slidingpopups") << true; | 114 | QTest::newRow("SlidingPopups") << QStringLiteral("slidingpopups") << true; | ||
114 | QTest::newRow("SnapHelper") << QStringLiteral("snaphelper") << true; | 115 | QTest::newRow("SnapHelper") << QStringLiteral("snaphelper") << true; | ||
115 | QTest::newRow("StartupFeedback") << QStringLiteral("startupfeedback") << true; | 116 | QTest::newRow("StartupFeedback") << QStringLiteral("startupfeedback") << true; | ||
116 | QTest::newRow("ThumbnailAside") << QStringLiteral("thumbnailaside") << true; | 117 | QTest::newRow("ThumbnailAside") << QStringLiteral("thumbnailaside") << true; | ||
117 | QTest::newRow("Touchpoints") << QStringLiteral("touchpoints") << true; | 118 | QTest::newRow("Touchpoints") << QStringLiteral("touchpoints") << true; | ||
118 | QTest::newRow("TrackMouse") << QStringLiteral("trackmouse") << true; | 119 | QTest::newRow("TrackMouse") << QStringLiteral("trackmouse") << true; | ||
119 | QTest::newRow("WindowGeometry") << QStringLiteral("windowgeometry") << true; | 120 | QTest::newRow("WindowGeometry") << QStringLiteral("windowgeometry") << true; | ||
120 | QTest::newRow("WobblyWindows") << QStringLiteral("wobblywindows") << true; | 121 | QTest::newRow("WobblyWindows") << QStringLiteral("wobblywindows") << true; | ||
Show All 40 Lines | 140 | expectedEffects << QStringLiteral("blur") | |||
161 | << QStringLiteral("resize") | 162 | << QStringLiteral("resize") | ||
162 | << QStringLiteral("screenedge") | 163 | << QStringLiteral("screenedge") | ||
163 | << QStringLiteral("screenshot") | 164 | << QStringLiteral("screenshot") | ||
164 | << QStringLiteral("sheet") | 165 | << QStringLiteral("sheet") | ||
165 | << QStringLiteral("showfps") | 166 | << QStringLiteral("showfps") | ||
166 | << QStringLiteral("showpaint") | 167 | << QStringLiteral("showpaint") | ||
167 | << QStringLiteral("slide") | 168 | << QStringLiteral("slide") | ||
168 | << QStringLiteral("slideback") | 169 | << QStringLiteral("slideback") | ||
170 | << QStringLiteral("slidedesktops") | ||||
169 | << QStringLiteral("slidingpopups") | 171 | << QStringLiteral("slidingpopups") | ||
170 | << QStringLiteral("snaphelper") | 172 | << QStringLiteral("snaphelper") | ||
171 | << QStringLiteral("startupfeedback") | 173 | << QStringLiteral("startupfeedback") | ||
172 | << QStringLiteral("thumbnailaside") | 174 | << QStringLiteral("thumbnailaside") | ||
173 | << QStringLiteral("touchpoints") | 175 | << QStringLiteral("touchpoints") | ||
174 | << QStringLiteral("trackmouse") | 176 | << QStringLiteral("trackmouse") | ||
175 | << QStringLiteral("windowgeometry") | 177 | << QStringLiteral("windowgeometry") | ||
176 | << QStringLiteral("wobblywindows") | 178 | << QStringLiteral("wobblywindows") | ||
▲ Show 20 Lines • Show All 64 Lines • ▼ Show 20 Line(s) | 191 | { | |||
241 | QTest::newRow("ScreenShot") << QStringLiteral("screenshot") << true << xc << true; | 243 | QTest::newRow("ScreenShot") << QStringLiteral("screenshot") << true << xc << true; | ||
242 | QTest::newRow("Sheet") << QStringLiteral("sheet") << false << xc << true; | 244 | QTest::newRow("Sheet") << QStringLiteral("sheet") << false << xc << true; | ||
243 | QTest::newRow("Sheet-GL") << QStringLiteral("sheet") << true << oc << true; | 245 | QTest::newRow("Sheet-GL") << QStringLiteral("sheet") << true << oc << true; | ||
244 | QTest::newRow("Sheet-GL-no-anim") << QStringLiteral("sheet") << false << oc << false; | 246 | QTest::newRow("Sheet-GL-no-anim") << QStringLiteral("sheet") << false << oc << false; | ||
245 | QTest::newRow("ShowFps") << QStringLiteral("showfps") << true << xc << true; | 247 | QTest::newRow("ShowFps") << QStringLiteral("showfps") << true << xc << true; | ||
246 | QTest::newRow("ShowPaint") << QStringLiteral("showpaint") << true << xc << true; | 248 | QTest::newRow("ShowPaint") << QStringLiteral("showpaint") << true << xc << true; | ||
247 | QTest::newRow("Slide") << QStringLiteral("slide") << true << xc << true; | 249 | QTest::newRow("Slide") << QStringLiteral("slide") << true << xc << true; | ||
248 | QTest::newRow("SlideBack") << QStringLiteral("slideback") << true << xc << true; | 250 | QTest::newRow("SlideBack") << QStringLiteral("slideback") << true << xc << true; | ||
251 | QTest::newRow("SlideDesktops") << QStringLiteral("slidedesktops") << true << xc << true; | ||||
249 | QTest::newRow("SlidingPopups") << QStringLiteral("slidingpopups") << true << xc << true; | 252 | QTest::newRow("SlidingPopups") << QStringLiteral("slidingpopups") << true << xc << true; | ||
250 | QTest::newRow("SnapHelper") << QStringLiteral("snaphelper") << true << xc << true; | 253 | QTest::newRow("SnapHelper") << QStringLiteral("snaphelper") << true << xc << true; | ||
251 | QTest::newRow("StartupFeedback") << QStringLiteral("startupfeedback") << false << xc << true; | 254 | QTest::newRow("StartupFeedback") << QStringLiteral("startupfeedback") << false << xc << true; | ||
252 | QTest::newRow("StartupFeedback-GL") << QStringLiteral("startupfeedback") << true << oc << true; | 255 | QTest::newRow("StartupFeedback-GL") << QStringLiteral("startupfeedback") << true << oc << true; | ||
253 | QTest::newRow("ThumbnailAside") << QStringLiteral("thumbnailaside") << true << xc << true; | 256 | QTest::newRow("ThumbnailAside") << QStringLiteral("thumbnailaside") << true << xc << true; | ||
254 | QTest::newRow("TouchPoints") << QStringLiteral("touchpoints") << true << xc << true; | 257 | QTest::newRow("TouchPoints") << QStringLiteral("touchpoints") << true << xc << true; | ||
255 | QTest::newRow("TrackMouse") << QStringLiteral("trackmouse") << true << xc << true; | 258 | QTest::newRow("TrackMouse") << QStringLiteral("trackmouse") << true << xc << true; | ||
256 | QTest::newRow("WindowGeometry") << QStringLiteral("windowgeometry") << true << xc << true; | 259 | QTest::newRow("WindowGeometry") << QStringLiteral("windowgeometry") << true << xc << true; | ||
▲ Show 20 Lines • Show All 72 Lines • ▼ Show 20 Line(s) | 305 | // QTest::newRow("Cube-GL") << QStringLiteral("cube") << true << oc; | |||
329 | QTest::newRow("ScreenShot") << QStringLiteral("screenshot") << true << xc; | 332 | QTest::newRow("ScreenShot") << QStringLiteral("screenshot") << true << xc; | ||
330 | QTest::newRow("Sheet") << QStringLiteral("sheet") << false << xc; | 333 | QTest::newRow("Sheet") << QStringLiteral("sheet") << false << xc; | ||
331 | QTest::newRow("Sheet-GL") << QStringLiteral("sheet") << true << oc; | 334 | QTest::newRow("Sheet-GL") << QStringLiteral("sheet") << true << oc; | ||
332 | // TODO: Accesses EffectFrame and crashes | 335 | // TODO: Accesses EffectFrame and crashes | ||
333 | // QTest::newRow("ShowFps") << QStringLiteral("showfps") << true << xc; | 336 | // QTest::newRow("ShowFps") << QStringLiteral("showfps") << true << xc; | ||
334 | QTest::newRow("ShowPaint") << QStringLiteral("showpaint") << true << xc; | 337 | QTest::newRow("ShowPaint") << QStringLiteral("showpaint") << true << xc; | ||
335 | QTest::newRow("Slide") << QStringLiteral("slide") << true << xc; | 338 | QTest::newRow("Slide") << QStringLiteral("slide") << true << xc; | ||
336 | QTest::newRow("SlideBack") << QStringLiteral("slideback") << true << xc; | 339 | QTest::newRow("SlideBack") << QStringLiteral("slideback") << true << xc; | ||
340 | QTest::newRow("SlideDesktops") << QStringLiteral("slidedesktops") << true << xc; | ||||
337 | QTest::newRow("SlidingPopups") << QStringLiteral("slidingpopups") << true << xc; | 341 | QTest::newRow("SlidingPopups") << QStringLiteral("slidingpopups") << true << xc; | ||
338 | QTest::newRow("SnapHelper") << QStringLiteral("snaphelper") << true << xc; | 342 | QTest::newRow("SnapHelper") << QStringLiteral("snaphelper") << true << xc; | ||
339 | QTest::newRow("StartupFeedback") << QStringLiteral("startupfeedback") << false << xc; | 343 | QTest::newRow("StartupFeedback") << QStringLiteral("startupfeedback") << false << xc; | ||
340 | // Tries to load shader and makes our test abort | 344 | // Tries to load shader and makes our test abort | ||
341 | // QTest::newRow("StartupFeedback-GL") << QStringLiteral("startupfeedback") << true << oc; | 345 | // QTest::newRow("StartupFeedback-GL") << QStringLiteral("startupfeedback") << true << oc; | ||
342 | QTest::newRow("ThumbnailAside") << QStringLiteral("thumbnailaside") << true << xc; | 346 | QTest::newRow("ThumbnailAside") << QStringLiteral("thumbnailaside") << true << xc; | ||
343 | QTest::newRow("Touchpoints") << QStringLiteral("touchpoints") << true << xc; | 347 | QTest::newRow("Touchpoints") << QStringLiteral("touchpoints") << true << xc; | ||
344 | QTest::newRow("TrackMouse") << QStringLiteral("trackmouse") << true << xc; | 348 | QTest::newRow("TrackMouse") << QStringLiteral("trackmouse") << true << xc; | ||
▲ Show 20 Lines • Show All 231 Lines • Show Last 20 Lines |