Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Bug 1075757 - call_log_test depends on the mozContacts API #24842

Merged
merged 1 commit into from Oct 8, 2014

Conversation

rik
Copy link
Contributor

@rik rik commented Oct 6, 2014

No description provided.

@try-server-hook
Copy link

Rik Anthony Ricaud (Rik) started tests. Results

realMozContacts = navigator.mozContacts;
navigator.mozContacts = MockMozContacts;

navigator.mozContacts.oncontactchange = realMozContacts.oncontactchange;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see how this would fix the issue when mozContacts is unavailable.

@rik rik force-pushed the mock-moz-contacts-1075757 branch from 3145471 to f993b5b Compare October 7, 2014 13:25
@try-server-hook
Copy link

Rik Anthony Ricaud (Rik) started tests. Results

@@ -3,9 +3,8 @@
/* global CallHandler, CallLog, CallLogDBManager, Contacts, KeypadManager,
MockMozL10n, MockNavigatorMozIccManager, MockNotification,
MocksHelper, MockSimSettingsHelper, Notification,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you switch us to just using MockNotification while you're here?

@rik rik force-pushed the mock-moz-contacts-1075757 branch from f993b5b to 8825f66 Compare October 8, 2014 13:01
@try-server-hook
Copy link

Rik Anthony Ricaud (Rik) started tests. Results

rik added a commit that referenced this pull request Oct 8, 2014
Bug 1075757 - call_log_test depends on the mozContacts API r=drs
@rik rik merged commit 3b468fc into mozilla-b2g:master Oct 8, 2014
@rik rik deleted the mock-moz-contacts-1075757 branch October 8, 2014 13:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
4 participants