@@ -1344,21 +1344,22 @@ Rectangle {
1344 var wallpaperResolver = findInvisibleChild(shell, "wallpaperResolver");
1344 var wallpaperResolver = findInvisibleChild(shell, "wallpaperResolver");
1345 var greeter = findChild(shell, "greeter");
1345 var greeter = findChild(shell, "greeter");
1346 verify(!greeter.hasCustomBackground);
1346 verify(!greeter.hasCustomBackground);
1347− compare(greeter.background, wallpaperResolver.defaultBackground);
1347+ compare(wallpaperResolver.background, wallpaperResolver.defaultBackground);
1349 AccountsService.backgroundFile = Qt.resolvedUrl("../graphics/applicationIcons/dash.png");
1349 AccountsService.backgroundFile = Qt.resolvedUrl("../graphics/applicationIcons/dash.png");
1350 tryCompare(greeter, "hasCustomBackground", true);
1350 tryCompare(greeter, "hasCustomBackground", true);
1351− compare(greeter.background, AccountsService.backgroundFile);
1351+ compare(wallpaperResolver.background, AccountsService.backgroundFile);
1354− function test_cachedDefaultBackground() {
1354+ function test_cachedBackground() {
1355 loadShell("desktop");
1355 loadShell("desktop");
1356 shell.usageScenario = "desktop";
1356 shell.usageScenario = "desktop";
1357 waitForRendering(shell);
1357 waitForRendering(shell);
1359 var greeter = findChild(shell, "greeter");
1359 var greeter = findChild(shell, "greeter");
1360 verify(!greeter.hasCustomBackground);
1360 verify(!greeter.hasCustomBackground);
1361− compare(greeter.background.toString().indexOf("image://thumbnailer/file:///"), 0);
1361+ compare(greeter.background.toString().indexOf("image://unity8imagecache/file:///"), 0);
1362+ verify(greeter.background.toString().indexOf("?name=wallpaper") > 0);
1364 function test_tapOnRightEdgeReachesApplicationSurface() {
1365 function test_tapOnRightEdgeReachesApplicationSurface() {