(Resubmit) Allow mocks to call blackisted APIs
Mark the following classes as trusted:
- All generated mock classes as they might directly call blacklisted
super-methods
- The leniant copy tool as it copies blacklisted fields
- The MockMethodAdvice as it calls blacklisted super-methods via
reflection
Test: atest CtsInlineMockingTestCases
CtsMockingTestCases
CtsMockingDebuggableTestCases
Change-Id: Ib74f94fa36b24259d70605293cf63ea9cb875b9a
Loading
Please sign in to comment