on xenial help sign in
Fix test to match new keeping-cached-model behavior
commitb670702c7a98c47903794bf318de4b3c62c4d0db authorMichael Terry <michael.terry@canonical.com> dateMon 6 Oct 2014, 17:29 (12 years ago) parente6f3d11
1 file changed+2−2
tests/qmltests/Panel/Indicators/tst_CachedUnityMenuModel.qml+2−2
tests/qmltests/Panel/Indicators/tst_CachedUnityMenuModel.qml+2−2
@@ -122,10 +122,10 @@ Item {
122122 return cachedObject2;
123123 }
124124
125− function test_destroyAllDeletesModel() {
125+ function test_destroyAllKeepsModel() {
126126 createAndDestroy("test6");
127127 doGC();
128− compare(Indicators.UnityMenuModelCache.contains("/com/canonical/test6"), false);
128+ compare(Indicators.UnityMenuModelCache.contains("/com/canonical/test6"), true);
129129 }
130130
131131 function test_destroyPartialKeepsModel() {