HomePhabricator

Hygiene: Remove BogusMobileContext
8504f7238597Unpublished

Authored by phuedx on Sep 8 2016, 10:53 AM.

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Hygiene: Remove BogusMobileContext

The BogusMobileContext and MobileContext::setInstanceForTesting method
were used to create an implicit test that MobileContext::singleton
wasn't called throughout the MobileContextTest test suite.

It's not clear why this assertion needs to be made at all.

Changes:

  • Remove BogusMobileContext
  • Remove MobileContext::setInstanceForTesting as it no longer used

Bug: T143875
Change-Id: I682f70d904a96ccfbf392e15eaa577891472cd52

Details

Committed
phuedxSep 22 2016, 12:27 PM
Parents
rEMFRf0ac32699cff: Name singleton overriding methods more clearly
Branches
Unknown
Tags
Unknown
References
refs/changes/44/312244/1
ChangeId
I682f70d904a96ccfbf392e15eaa577891472cd52