android_frameworks_base/test-mock/api/system-lint-baseline.txt
Paul Duffin ee5a4af4c5 Add lint-baseline.txt files for test base/runner/mock
In preparation for enabling API lint checking on java_sdk_library
adds lint-baseline.txt containing all the existing issues for these
APIs.

The test-base and test-runner APIs are old and have been deprecated
so there is little benefit in fixing those issues.

The test-mock API while old has not been deprecated and so should be
cleaned up. Bug 156175891 tracks that cleanup work.

Bug: 156126315
Bug: 156175891
Test: m checkapi
Change-Id: Ifb4669fcf7f2a36e5cb4d593bfc5d03330901ee9
2020-05-10 19:26:45 +01:00

16 lines
1.6 KiB
Plaintext

// Baseline format: 1.0
IntentBuilderName: android.test.mock.MockContext#registerReceiverForAllUsers(android.content.BroadcastReceiver, android.content.IntentFilter, String, android.os.Handler):
Methods creating an Intent should be named `create<Foo>Intent()`, was `registerReceiverForAllUsers`
MissingNullability: android.test.mock.MockContext#registerReceiverForAllUsers(android.content.BroadcastReceiver, android.content.IntentFilter, String, android.os.Handler):
Missing nullability on method `registerReceiverForAllUsers` return
MissingNullability: android.test.mock.MockContext#registerReceiverForAllUsers(android.content.BroadcastReceiver, android.content.IntentFilter, String, android.os.Handler) parameter #0:
Missing nullability on parameter `receiver` in method `registerReceiverForAllUsers`
MissingNullability: android.test.mock.MockContext#registerReceiverForAllUsers(android.content.BroadcastReceiver, android.content.IntentFilter, String, android.os.Handler) parameter #1:
Missing nullability on parameter `filter` in method `registerReceiverForAllUsers`
MissingNullability: android.test.mock.MockContext#registerReceiverForAllUsers(android.content.BroadcastReceiver, android.content.IntentFilter, String, android.os.Handler) parameter #2:
Missing nullability on parameter `broadcastPermission` in method `registerReceiverForAllUsers`
MissingNullability: android.test.mock.MockContext#registerReceiverForAllUsers(android.content.BroadcastReceiver, android.content.IntentFilter, String, android.os.Handler) parameter #3:
Missing nullability on parameter `scheduler` in method `registerReceiverForAllUsers`