diff options
| author | 2024-07-19 12:38:47 +0800 | |
|---|---|---|
| committer | 2024-07-19 12:52:11 +0800 | |
| commit | ede226fa3edd8d303e13c2c4665e7f3cf6053c0b (patch) | |
| tree | 2a30bc7220ea29f34a2bb3207838e35a53a3010a /libs/androidfw/StringPool.cpp | |
| parent | 2937f5f179c5015f4888738ce71cd865635eb58d (diff) | |
Refactor Mockito init to follow best practices.
Replace deprecated MockitoAnnotations.initMocks(this) with the
recommended @Rule public final MockitoRule mocks = MockitoJUnit.rule();
to adhere to Mockito best practices and ensure cleaner, more
maintainable test code.
Bug: 354063239
Test: atest FrameworksCoreTests WmTests
Flag: TEST_ONLY
Change-Id: I411a3cc25c16076b71d8ea83f0e6bb6656611552
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions