platform_system_sepolicy/tests
Thiébaud Weksteen dab3b1a1c0 Refactor treble_sepolicy_tests.py
Introduce a new class TestPolicy to capture all the previous global
variables. This class contains the constructor and loading methods
(Get*) to load its internal state. The tests are modified to accept a
TestPolicy as first argument.

This commit is a no-op. There is no change to the tests.

`git show --ignore-space-change` can be used to skip over the
re-indentation due to the new class.

Bug: 269182257
Test: m selinux_policy (runs treble_sepolicy_tests against all
			compatible versions)
Test: Set DEBUG=True, compare generated scontexts. Identical.
Change-Id: Ia8da115dc1c0109b835e03b95da029b35712d251
2023-03-06 14:08:11 +11:00
..
include Assert types labeled in genfs_contexts have correct attributes 2018-03-23 14:34:46 -07:00
Android.bp Use embedded launcher for python binaries 2022-07-26 22:59:04 +09:00
check_prop_prefix.py Check vendor_property_contexts namespaces 2021-02-17 12:41:38 +09:00
combine_maps.py sepolicy: don't construct mappings for ignored types 2020-01-08 08:53:27 -08:00
fc_sort.py Migrate tests/ to Python 3 2021-12-01 21:45:13 +00:00
fc_sort_test.py Migrate tests/ to Python 3 2021-12-01 21:45:13 +00:00
fix_policies.sh One-click fix script for isolated_app_all replacement 2023-02-03 14:55:29 +00:00
mini_parser.py Migrate tests/ to Python 3 2021-12-01 21:45:13 +00:00
policy.py searchpolicy: return empty list when providing non existing source/target 2022-08-05 11:35:39 +00:00
searchpolicy.py Lexicographically sort perms in rules output of searchpolicy.py 2022-07-19 13:56:30 +00:00
sepol_wrap.cpp gracefully handle hashtab_search failures 2018-09-26 14:28:44 -07:00
sepolicy_tests.py Use embedded launcher for python binaries 2022-07-26 22:59:04 +09:00
treble_sepolicy_tests.py Refactor treble_sepolicy_tests.py 2023-03-06 14:08:11 +11:00