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

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