@@ -70,7 +70,20 @@ Item {
70 callHint.alternateLabelInterval = 300;
70 callHint.alternateLabelInterval = 300;
73− function test_activeCall_data() {
73+ function test_activeHint_data() {
75+ { tag: "empty", callIndicatorVisible: false },
76+ { tag: "empty", callIndicatorVisible: true }
80+ function test_activeHint(data) {
81+ callManager.callIndicatorVisible = data.callIndicatorVisible;
83+ compare(callHint.active, data.callIndicatorVisible, "Call hint should be active when callIndicatorVisible=true");
86+ function test_currentCall_data() {
75 { tag: "empty", foreground: null, background: null, active: false, label: "" },
88 { tag: "empty", foreground: null, background: null, active: false, label: "" },
76 { tag: "foreground", foreground: call1, background: null, active: true, label: "+447812221111" },
89 { tag: "foreground", foreground: call1, background: null, active: true, label: "+447812221111" },
@@ -79,12 +92,10 @@ Item {
82− function test_activeCall(data) {
95+ function test_currentCall(data) {
83 callManager.foregroundCall = data.foreground;
96 callManager.foregroundCall = data.foreground;
84 callManager.backgroundCall = data.background;
97 callManager.backgroundCall = data.background;
86− compare(callHint.active, data.active, "Call hint active enabled does not match");
88 var contactLabel = findChild(callHint, "contactLabel");
99 var contactLabel = findChild(callHint, "contactLabel");
89 verify(contactLabel !== null);
100 verify(contactLabel !== null);