diff --git a/tests/check-shift-theme-identity.sh b/tests/check-shift-theme-identity.sh index c78763ee..3e5ff476 100644 --- a/tests/check-shift-theme-identity.sh +++ b/tests/check-shift-theme-identity.sh @@ -91,8 +91,12 @@ require_line lookandfeel/contents/defaults '^name=shift-dark$' \ "look-and-feel defaults must select the Shift dark Plasma desktop theme" require_line lookandfeel/contents/defaults '^theme=org\.shift\.decoration$' \ "look-and-feel defaults must select org.shift.decoration" +require_line lookandfeel/contents/defaults '^widgetStyle=Breeze$' \ + "look-and-feel defaults must keep Breeze widget style until Shift ships a QQC2 style" reject_line lookandfeel/contents/defaults 'breeze-dark|breeze-light|breeze_cursors|org\.kde\.Breeze' \ "look-and-feel defaults must not select Breeze desktop, cursor, or splash themes" +reject_line lookandfeel/contents/defaults 'widgetStyle=Shift|widgetStyle=SHIFT|widgetStyle=org\.shift' \ + "look-and-feel defaults must not reference a non-existent Shift widget style" [[ -f lookandfeel/contents/splash/Splash.qml ]] || fail "look-and-feel must provide a Shift splash implementation" reject_line lookandfeel/contents/logout/Logout.qml 'plasma_lookandfeel_org\.kde\.lookandfeel' \ @@ -115,6 +119,18 @@ require_line preview.sh 'PLASMA_THEME=shift-dark' \ "preview dark mode must select the Shift dark Plasma desktop theme" reject_line preview.sh 'PLASMA_THEME=breeze-' \ "preview must not select Breeze Plasma desktop themes" +require_line preview.sh 'Shift does not ship a QQC2 style plugin yet' \ + "preview must document the Breeze QQC2 fallback" +require_line bin/startplasmamobile.in 'Shift does not ship a QQC2 style plugin yet' \ + "runtime launcher must document the Breeze QQC2 fallback" +require_line HACKING.md 'Shift does not ship a QQC2 style plugin yet' \ + "HACKING.md must document the Breeze QQC2 fallback" +require_line .kde-ci.yml 'plasma/qqc2-breeze-style' \ + "CI must keep the Breeze QQC2 runtime dependency until Shift ships a QQC2 style" +reject_line preview.sh 'QT_QUICK_CONTROLS_STYLE=org\.shift|QT_QUICK_CONTROLS_STYLE=SHIFT|QT_QUICK_CONTROLS_STYLE=Shift' \ + "preview must not reference a non-existent Shift QQC2 style" +reject_line bin/startplasmamobile.in 'QT_QUICK_CONTROLS_STYLE=org\.shift|QT_QUICK_CONTROLS_STYLE=SHIFT|QT_QUICK_CONTROLS_STYLE=Shift' \ + "runtime launcher must not reference a non-existent Shift QQC2 style" generic_attribution_pattern='Shift contributor[s]|SHIFT Contributor[s]'