Changeset View
Changeset View
Standalone View
Standalone View
autotests/test_builtin_effectloader.cpp
| Show First 20 Lines • Show All 83 Lines • ▼ Show 20 Line(s) | 78 | { | |||
|---|---|---|---|---|---|
| 84 | QTest::newRow("case sensitive") << QStringLiteral("BlUR") << true; | 84 | QTest::newRow("case sensitive") << QStringLiteral("BlUR") << true; | ||
| 85 | QTest::newRow("Colorpicker") << QStringLiteral("colorpicker") << true; | 85 | QTest::newRow("Colorpicker") << QStringLiteral("colorpicker") << true; | ||
| 86 | QTest::newRow("Contrast") << QStringLiteral("contrast") << true; | 86 | QTest::newRow("Contrast") << QStringLiteral("contrast") << true; | ||
| 87 | QTest::newRow("CoverSwitch") << QStringLiteral("coverswitch") << true; | 87 | QTest::newRow("CoverSwitch") << QStringLiteral("coverswitch") << true; | ||
| 88 | QTest::newRow("Cube") << QStringLiteral("cube") << true; | 88 | QTest::newRow("Cube") << QStringLiteral("cube") << true; | ||
| 89 | QTest::newRow("CubeSlide") << QStringLiteral("cubeslide") << true; | 89 | QTest::newRow("CubeSlide") << QStringLiteral("cubeslide") << true; | ||
| 90 | QTest::newRow("DesktopGrid") << QStringLiteral("desktopgrid") << true; | 90 | QTest::newRow("DesktopGrid") << QStringLiteral("desktopgrid") << true; | ||
| 91 | QTest::newRow("DimInactive") << QStringLiteral("diminactive") << true; | 91 | QTest::newRow("DimInactive") << QStringLiteral("diminactive") << true; | ||
| 92 | QTest::newRow("DimScreen") << QStringLiteral("dimscreen") << true; | | |||
| 93 | QTest::newRow("FallApart") << QStringLiteral("fallapart") << true; | 92 | QTest::newRow("FallApart") << QStringLiteral("fallapart") << true; | ||
| 94 | QTest::newRow("FlipSwitch") << QStringLiteral("flipswitch") << true; | 93 | QTest::newRow("FlipSwitch") << QStringLiteral("flipswitch") << true; | ||
| 95 | QTest::newRow("Glide") << QStringLiteral("glide") << true; | 94 | QTest::newRow("Glide") << QStringLiteral("glide") << true; | ||
| 96 | QTest::newRow("HighlightWindow") << QStringLiteral("highlightwindow") << true; | 95 | QTest::newRow("HighlightWindow") << QStringLiteral("highlightwindow") << true; | ||
| 97 | QTest::newRow("Invert") << QStringLiteral("invert") << true; | 96 | QTest::newRow("Invert") << QStringLiteral("invert") << true; | ||
| 98 | QTest::newRow("Kscreen") << QStringLiteral("kscreen") << true; | 97 | QTest::newRow("Kscreen") << QStringLiteral("kscreen") << true; | ||
| 99 | QTest::newRow("LookingGlass") << QStringLiteral("lookingglass") << true; | 98 | QTest::newRow("LookingGlass") << QStringLiteral("lookingglass") << true; | ||
| 100 | QTest::newRow("MagicLamp") << QStringLiteral("magiclamp") << true; | 99 | QTest::newRow("MagicLamp") << QStringLiteral("magiclamp") << true; | ||
| Show All 38 Lines | 136 | { | |||
| 139 | expectedEffects << QStringLiteral("blur") | 138 | expectedEffects << QStringLiteral("blur") | ||
| 140 | << QStringLiteral("colorpicker") | 139 | << QStringLiteral("colorpicker") | ||
| 141 | << QStringLiteral("contrast") | 140 | << QStringLiteral("contrast") | ||
| 142 | << QStringLiteral("coverswitch") | 141 | << QStringLiteral("coverswitch") | ||
| 143 | << QStringLiteral("cube") | 142 | << QStringLiteral("cube") | ||
| 144 | << QStringLiteral("cubeslide") | 143 | << QStringLiteral("cubeslide") | ||
| 145 | << QStringLiteral("desktopgrid") | 144 | << QStringLiteral("desktopgrid") | ||
| 146 | << QStringLiteral("diminactive") | 145 | << QStringLiteral("diminactive") | ||
| 147 | << QStringLiteral("dimscreen") | | |||
| 148 | << QStringLiteral("fallapart") | 146 | << QStringLiteral("fallapart") | ||
| 149 | << QStringLiteral("flipswitch") | 147 | << QStringLiteral("flipswitch") | ||
| 150 | << QStringLiteral("glide") | 148 | << QStringLiteral("glide") | ||
| 151 | << QStringLiteral("highlightwindow") | 149 | << QStringLiteral("highlightwindow") | ||
| 152 | << QStringLiteral("invert") | 150 | << QStringLiteral("invert") | ||
| 153 | << QStringLiteral("kscreen") | 151 | << QStringLiteral("kscreen") | ||
| 154 | << QStringLiteral("lookingglass") | 152 | << QStringLiteral("lookingglass") | ||
| 155 | << QStringLiteral("magiclamp") | 153 | << QStringLiteral("magiclamp") | ||
| ▲ Show 20 Lines • Show All 51 Lines • ▼ Show 20 Line(s) | 186 | { | |||
| 207 | QTest::newRow("CoverSwitch-GL-no-anim") << QStringLiteral("coverswitch") << false << oc << false; | 205 | QTest::newRow("CoverSwitch-GL-no-anim") << QStringLiteral("coverswitch") << false << oc << false; | ||
| 208 | QTest::newRow("Cube") << QStringLiteral("cube") << false << xc << true; | 206 | QTest::newRow("Cube") << QStringLiteral("cube") << false << xc << true; | ||
| 209 | QTest::newRow("Cube-GL") << QStringLiteral("cube") << true << oc << true; | 207 | QTest::newRow("Cube-GL") << QStringLiteral("cube") << true << oc << true; | ||
| 210 | QTest::newRow("CubeSlide") << QStringLiteral("cubeslide") << false << xc << true; | 208 | QTest::newRow("CubeSlide") << QStringLiteral("cubeslide") << false << xc << true; | ||
| 211 | QTest::newRow("CubeSlide-GL") << QStringLiteral("cubeslide") << true << oc << true; | 209 | QTest::newRow("CubeSlide-GL") << QStringLiteral("cubeslide") << true << oc << true; | ||
| 212 | QTest::newRow("CubeSlide-GL-no-anim") << QStringLiteral("cubeslide") << false << oc << false; | 210 | QTest::newRow("CubeSlide-GL-no-anim") << QStringLiteral("cubeslide") << false << oc << false; | ||
| 213 | QTest::newRow("DesktopGrid") << QStringLiteral("desktopgrid") << true << xc << true; | 211 | QTest::newRow("DesktopGrid") << QStringLiteral("desktopgrid") << true << xc << true; | ||
| 214 | QTest::newRow("DimInactive") << QStringLiteral("diminactive") << true << xc << true; | 212 | QTest::newRow("DimInactive") << QStringLiteral("diminactive") << true << xc << true; | ||
| 215 | QTest::newRow("DimScreen") << QStringLiteral("dimscreen") << true << xc << true; | | |||
| 216 | QTest::newRow("FallApart") << QStringLiteral("fallapart") << false << xc << true; | 213 | QTest::newRow("FallApart") << QStringLiteral("fallapart") << false << xc << true; | ||
| 217 | QTest::newRow("FallApart-GL") << QStringLiteral("fallapart") << true << oc << true; | 214 | QTest::newRow("FallApart-GL") << QStringLiteral("fallapart") << true << oc << true; | ||
| 218 | QTest::newRow("FlipSwitch") << QStringLiteral("flipswitch") << false << xc << true; | 215 | QTest::newRow("FlipSwitch") << QStringLiteral("flipswitch") << false << xc << true; | ||
| 219 | QTest::newRow("FlipSwitch-GL") << QStringLiteral("flipswitch") << true << oc << true; | 216 | QTest::newRow("FlipSwitch-GL") << QStringLiteral("flipswitch") << true << oc << true; | ||
| 220 | QTest::newRow("FlipSwitch-GL-no-anim") << QStringLiteral("flipswitch") << false << oc << false; | 217 | QTest::newRow("FlipSwitch-GL-no-anim") << QStringLiteral("flipswitch") << false << oc << false; | ||
| 221 | QTest::newRow("Glide") << QStringLiteral("glide") << false << xc << true; | 218 | QTest::newRow("Glide") << QStringLiteral("glide") << false << xc << true; | ||
| 222 | QTest::newRow("Glide-GL") << QStringLiteral("glide") << true << oc << true; | 219 | QTest::newRow("Glide-GL") << QStringLiteral("glide") << true << oc << true; | ||
| 223 | QTest::newRow("Glide-GL-no-anim") << QStringLiteral("glide") << false << oc << false; | 220 | QTest::newRow("Glide-GL-no-anim") << QStringLiteral("glide") << false << oc << false; | ||
| ▲ Show 20 Lines • Show All 73 Lines • ▼ Show 20 Line(s) | |||||
| 297 | // QTest::newRow("CoverSwitch-GL") << QStringLiteral("coverswitch") << true << oc; | 294 | // QTest::newRow("CoverSwitch-GL") << QStringLiteral("coverswitch") << true << oc; | ||
| 298 | QTest::newRow("Cube") << QStringLiteral("cube") << false << xc; | 295 | QTest::newRow("Cube") << QStringLiteral("cube") << false << xc; | ||
| 299 | // TODO: needs GL mocking | 296 | // TODO: needs GL mocking | ||
| 300 | // QTest::newRow("Cube-GL") << QStringLiteral("cube") << true << oc; | 297 | // QTest::newRow("Cube-GL") << QStringLiteral("cube") << true << oc; | ||
| 301 | QTest::newRow("CubeSlide") << QStringLiteral("cubeslide") << false << xc; | 298 | QTest::newRow("CubeSlide") << QStringLiteral("cubeslide") << false << xc; | ||
| 302 | QTest::newRow("CubeSlide-GL") << QStringLiteral("cubeslide") << true << oc; | 299 | QTest::newRow("CubeSlide-GL") << QStringLiteral("cubeslide") << true << oc; | ||
| 303 | QTest::newRow("DesktopGrid") << QStringLiteral("desktopgrid") << true << xc; | 300 | QTest::newRow("DesktopGrid") << QStringLiteral("desktopgrid") << true << xc; | ||
| 304 | QTest::newRow("DimInactive") << QStringLiteral("diminactive") << true << xc; | 301 | QTest::newRow("DimInactive") << QStringLiteral("diminactive") << true << xc; | ||
| 305 | QTest::newRow("DimScreen") << QStringLiteral("dimScreen") << true << xc; | | |||
| 306 | QTest::newRow("FallApart") << QStringLiteral("fallapart") << false << xc; | 302 | QTest::newRow("FallApart") << QStringLiteral("fallapart") << false << xc; | ||
| 307 | QTest::newRow("FallApart-GL") << QStringLiteral("fallapart") << true << oc; | 303 | QTest::newRow("FallApart-GL") << QStringLiteral("fallapart") << true << oc; | ||
| 308 | QTest::newRow("FlipSwitch") << QStringLiteral("flipswitch") << false << xc; | 304 | QTest::newRow("FlipSwitch") << QStringLiteral("flipswitch") << false << xc; | ||
| 309 | QTest::newRow("FlipSwitch-GL") << QStringLiteral("flipswitch") << true << oc; | 305 | QTest::newRow("FlipSwitch-GL") << QStringLiteral("flipswitch") << true << oc; | ||
| 310 | QTest::newRow("Glide") << QStringLiteral("glide") << false << xc; | 306 | QTest::newRow("Glide") << QStringLiteral("glide") << false << xc; | ||
| 311 | QTest::newRow("Glide-GL") << QStringLiteral("glide") << true << oc; | 307 | QTest::newRow("Glide-GL") << QStringLiteral("glide") << true << oc; | ||
| 312 | QTest::newRow("HighlightWindow") << QStringLiteral("highlightwindow") << true << xc; | 308 | QTest::newRow("HighlightWindow") << QStringLiteral("highlightwindow") << true << xc; | ||
| 313 | QTest::newRow("Invert") << QStringLiteral("invert") << false << xc; | 309 | QTest::newRow("Invert") << QStringLiteral("invert") << false << xc; | ||
| ▲ Show 20 Lines • Show All 258 Lines • Show Last 20 Lines | |||||