Commit 5529c6ea authored by Philip P. Moltmann's avatar Philip P. Moltmann
Browse files

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
parent 3327027b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment