robolectric/robolectric

Does Roblectric support mocking android.media.MediaDrm?

Open

#5,219 opened on Aug 14, 2019

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Java (5,755 stars) (1,356 forks)batch import
help wanted

Description

Description

It seems that android.media.MediaDrm is not mocked.

Steps to Reproduce

  1. Instantiate MediaDrm
  2. Call setPropertyString
  3. Call getPropertyString
  4. Verify if the expected property value is returned.

Robolectric & Android Version

  • Robolectric: 4.2
  • Android sdk: 28

Link to a public git repo demonstrating the problem:

I can't expose our code.

Contributor guide