diff options
| author | 2022-08-23 15:04:56 +0000 | |
|---|---|---|
| committer | 2022-09-22 17:42:56 +0000 | |
| commit | fad1ef9961087734b7864c3ff074eb28b27db5f3 (patch) | |
| tree | 8b216fcdd52621140ed94ae421d100c903d94599 /libs/androidfw/StringPool.cpp | |
| parent | 94d707ccef1aaf3b1fbae419955fe0f9f1dc8b8c (diff) | |
Add runtime unmodifiable check for PackageState
Introduces test that enforces that all members and their type
parameter children types that return collections/maps return non-null,
non-empty, unmodifiable objects when a test instance is constructed
and filled with data.
Makes the PackageImpl collections unmodifiable, but ignores the inner
objects with a constants list in the test. To be removed once the
inner object infrastructure is finished and can be marked immutable.
Bug: 235462722
Test: atest PackageManagerServiceUnitTests
Change-Id: I9759b7dd5c945e65498e22fcf408d53931dc502f
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions