• C
    [third_party] Avoid saving Robolectric shadow instances; instead, save the... · 229cb11e
    christianw 提交于
    [third_party] Avoid saving Robolectric shadow instances; instead, save the real framework object, and get its shadow when needed using Shadows.shadowOf(). Call Android framework methods directly on the framework object instead of its shadow whenever possible.
    
    LSC: []
    Additional details: []
    
    Cleanup change automatically generated by javacflume/refactory
    Refactoring: //third_party/java_src/robolectric/errorprone:ShadowUsageCheck
    
    Tested:
        TAP --sample for global presubmit queue
        []
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=204784445
    229cb11e
AttributeStrategyTest.java 3.6 KB