Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 86bbcb26 authored by Andrew Cheng's avatar Andrew Cheng
Browse files

Refactor MapClientContentTest to be form factor agnostic

Currently, MapClientContentTest is disabled if
PackageManager.FEATURE_TELEPHONY is not supported. Automotive targets
support the SMS/MMS database, but these tests are being ignored because
automotive targets do not support the Telephony feature.

Instead, MapClientContentTest should be form factor agnostic. This is
accomplished by replacing the real device's context (obtained via
InstrumentationRegistry) with a mock context instead.

Bug: 317905210
Test: atest MapClientContentTest
Flag: EXEMPT, test only
Change-Id: I03a0e676374f5dee05c89947e5eccdb3a3943e15
parent 609efa2e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment