@@ -70,7 +70,20 @@ Item {
7070 callHint.alternateLabelInterval = 300;
7171 }
7272
73− function test_activeCall_data() {
73+ function test_activeHint_data() {
74+ return [
75+ { tag: "empty", callIndicatorVisible: false },
76+ { tag: "empty", callIndicatorVisible: true }
77+ ];
78+ }
79+
80+ function test_activeHint(data) {
81+ callManager.callIndicatorVisible = data.callIndicatorVisible;
82+
83+ compare(callHint.active, data.callIndicatorVisible, "Call hint should be active when callIndicatorVisible=true");
84+ }
85+
86+ function test_currentCall_data() {
7487 return [
7588 { tag: "empty", foreground: null, background: null, active: false, label: "" },
7689 { tag: "foreground", foreground: call1, background: null, active: true, label: "+447812221111" },
@@ -79,12 +92,10 @@ Item {
7992 ];
8093 }
8194
82− function test_activeCall(data) {
95+ function test_currentCall(data) {
8396 callManager.foregroundCall = data.foreground;
8497 callManager.backgroundCall = data.background;
8598
86− compare(callHint.active, data.active, "Call hint active enabled does not match");
87−
8899 var contactLabel = findChild(callHint, "contactLabel");
89100 verify(contactLabel !== null);
90101