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
Fixes: 78235528
Change-Id: I374de11656ffa4a506f6c4436fcc45fe4b50af85
Loading
Please sign in to comment