Skip to content
Commit fd65c456 authored by Felipe Leme's avatar Felipe Leme
Browse files

DevicePolicyManager unit test improvements:

- Use JUnit4 and Truth.
- Updated javadoc instructions to use atest.
- Add missing license header.
- Re-added @FlakyTests.
- Other minor improvements, like removing some redundant eq() calls.

Test: atest \
      FrameworksServicesTests:OwnersTest \
      FrameworksServicesTests:FactoryResetProtectionPolicyTest \
      FrameworksServicesTests:DevicePolicyConstantsTest \
      FrameworksServicesTests:DevicePolicyManagerServiceMigrationTest \
      FrameworksServicesTests:NetworkEventTest \
      FrameworksServicesTests:OverlayPackagesProviderTest \
      FrameworksServicesTests:SecurityEventTest \
      FrameworksServicesTests:SystemUpdatePolicyTest \
      FrameworksServicesTests:TransferOwnershipMetadataManagerTest \
      FrameworksServicesTests:DevicePolicyManagerTest

Bug: 171932723
Bug: 30839080

Change-Id: Ie50fa12032aa4c45636ce485d66507ddd4cac16b
parent 1c4c42ff
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment