No description. Add one?
  • Java 78%
  • Kotlin 11.8%
  • AIDL 4.4%
  • C++ 3.7%
  • C 1.5%
  • Other 0.5%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Junyu Lai 3085caaac0 Support VirtualEnv and parameterized tests
This commit introduces the use of VirtualEnv to manage test
dependencies. Specifically:
  1. `PythonVirtualenvPreparer` is invoked before running tests
     to set up the isolated Python environment.
  2. The test is declared as a `MoblyBinaryHostTest` to enable
     VirtualEnv compatibility, as `PythonBinaryHostTest` lacks
     this support.
  3. The Mobly test runner is invoked manually to accommodate
     multiple test classes, which is not supported by
     `mobly.test_runner.main()`.
  4. Test classes are refactored to inherit from
     `mobly.BaseTestClass` for compatibility with the Mobly
     test runner.

This change is a prerequisite for subsequent commits that will
install libraries via `pip install`, facilitating isolated
dependency management for improved test reliability and
maintainability.

Also, this commit uses parameterized annotation from absl
to rewrite several tests as paremeterized tests.

Test: atest NetworkStaticLibHostPythonTests
Bug: 335368434
Change-Id: Iffa2f8fa81c3913f3e08cca01b2c009ca959db73
2024-07-03 02:02:40 +00:00
bpf_progs Make firewall bpf code multi-user aware 2024-06-25 00:21:27 -07:00
clatd [DON'T BLOCK] Test ownership migration rules 2024-01-31 12:34:50 +00:00
common Introduce TETHERING_VIRTUAL type 2024-06-19 16:18:51 +09:00
Cronet Move Cronet's MTS/CTS to external/cronet 2024-05-02 11:54:56 +00:00
DnsResolver Add firewall chains for HAPPY_BOX and user/admin PENALTY_BOX 2024-04-23 15:04:28 +09:00
framework Merge "Only send callbacks when overridden" into main 2024-06-26 07:35:45 +00:00
framework-t [mdns] Update doc for NsdServiceInfo 2024-06-24 06:27:21 +00:00
nearby Baseline Lint FlaggedApi violations 2024-06-20 09:05:51 +02:00
netbpfload Exempt Wear on Arm from 64-bit userspace requirement check. 2024-06-25 10:39:43 +00:00
netd Do not run mapLockTest on 4.9 kernels 2024-06-28 00:27:29 +00:00
remoteauth Switch to libjni_legacy 2024-05-15 23:47:49 +00:00
service Merge "Refactor enforceMeteredApnPolicy" into main 2024-06-28 02:24:06 +00:00
service-t Merge changes I76b0a7ba,If7308f1a,Ica8faced,Ia8f42ed0,I975afb45, ... into main 2024-06-21 19:01:38 +00:00
staticlibs Support VirtualEnv and parameterized tests 2024-07-03 02:02:40 +00:00
tests Do not call EthernetManager APIs when tests are skipped 2024-07-01 15:34:57 +00:00
Tethering Merge "Enforce min_sdk_version=30" into main 2024-07-01 21:39:46 +00:00
thread Merge "Thread: fill in ticks in active timestamp" into main 2024-06-26 09:33:38 +00:00
tools Update aospify_device for T device 2024-05-22 13:10:19 +09:00
.gitignore Ignores vim temporary files from git 2023-12-23 17:45:32 +08:00
OWNERS Move the owner of xfrm netlink source code to its own directory. 2023-11-22 18:50:00 +09:00
OWNERS_core_networking Update OWNERS to reflect reorg. 2024-04-10 23:24:14 +00:00
OWNERS_core_networking_xts Add "no-op refactors" reviews for delegated reviewers 2024-06-20 06:29:09 +00:00
PREUPLOAD.cfg Enable tethering to perform its own hidden API processing 2021-06-28 23:41:38 +01:00
TEST_MAPPING Add assert_utils for multidevice test 2024-07-01 12:23:59 +08:00