android_packages_modules_Co.../tests/unit/res/raw
Repository files (latest commit first)
Filename Latest commit message Latest commit date
junyulai 8c77e385bd Refactor NetworkStatsFactoryTest
This patch changes the way of mocking samples in the tests, and
enabling use bpf stats flag, testing through the code path
that is not running in the production code does not make any
sense.

This change also copied methods from NetworkStatsFactory
as we want to continue parsing the golden files to test the
464xlat adjustment which historically has been prone to errors.
And deleting tests that does not execrise NetworkStatsFactory
code or rely on monotonic accumulative readings from native
layer, which is not happening today.

Bug: 234315786
Test: atest FrameworksNetTests CtsNetTestCases \
      ConnectivityCoverageTests
Change-Id: I5cab2b78651f1da628705c191e42857c8b59d826
2022-07-29 15:46:18 +08:00
..
history_v1 Move net unit tests to packages/Connectivity 2021-05-13 08:30:33 +00:00
net_dev_typical Move net unit tests to packages/Connectivity 2021-05-13 08:30:33 +00:00
netstats_uid_v4 Move net unit tests to packages/Connectivity 2021-05-13 08:30:33 +00:00
netstats_uid_v16 [MS59.2] Add unit test for NetworkStatsDataMigrationUtils 2022-01-26 16:53:06 +00:00
netstats_v1 Move net unit tests to packages/Connectivity 2021-05-13 08:30:33 +00:00
xt_qtaguid_typical Move net unit tests to packages/Connectivity 2021-05-13 08:30:33 +00:00
xt_qtaguid_vpn_incorrect_iface Refactor NetworkStatsFactoryTest 2022-07-29 15:46:18 +08:00
xt_qtaguid_vpn_one_underlying Refactor NetworkStatsFactoryTest 2022-07-29 15:46:18 +08:00
xt_qtaguid_vpn_one_underlying_compression Refactor NetworkStatsFactoryTest 2022-07-29 15:46:18 +08:00
xt_qtaguid_vpn_one_underlying_own_traffic Refactor NetworkStatsFactoryTest 2022-07-29 15:46:18 +08:00
xt_qtaguid_vpn_one_underlying_two_vpn Refactor NetworkStatsFactoryTest 2022-07-29 15:46:18 +08:00
xt_qtaguid_vpn_rewrite_through_self Refactor NetworkStatsFactoryTest 2022-07-29 15:46:18 +08:00
xt_qtaguid_vpn_two_underlying_duplication Refactor NetworkStatsFactoryTest 2022-07-29 15:46:18 +08:00
xt_qtaguid_vpn_two_underlying_split Refactor NetworkStatsFactoryTest 2022-07-29 15:46:18 +08:00
xt_qtaguid_vpn_two_underlying_split_compression Refactor NetworkStatsFactoryTest 2022-07-29 15:46:18 +08:00
xt_qtaguid_vpn_with_clat Refactor NetworkStatsFactoryTest 2022-07-29 15:46:18 +08:00
xt_qtaguid_with_clat Move net unit tests to packages/Connectivity 2021-05-13 08:30:33 +00:00
xt_qtaguid_with_clat_simple Move net unit tests to packages/Connectivity 2021-05-13 08:30:33 +00:00