Merge "Add NetworkSecurityUnitTests to tethering-mainline-presubmit" into main

This commit is contained in:
Sandro Montanari 2025-03-18 02:49:34 -07:00 • committed by Gerrit Code Review
commit 9a03538a23
3 changed files with 12 additions and 0 deletions

View file

@ -1,4 +1,9 @@
{
"tethering-mainline-presubmit": [
{
"name": "NetworkSecurityUnitTests"
}
],
"presubmit": [
{
"name": "CtsNetSecConfigCertificateTransparencyTestCases"

View file

@ -41,4 +41,5 @@ android_test {
],
sdk_version: "test_current",
min_sdk_version: "VanillaIceCream",
}

View file

@ -17,6 +17,12 @@
<configuration description="Runs NetworkSecurity Mainline unit Tests.">
<option name="test-tag" value="NetworkSecurityUnitTests" />
<!--
Only run tests if the device under test is SDK version 35 (Android 15) or above.
-->
<object type="module_controller"
class="com.android.tradefed.testtype.suite.module.Sdk35ModuleController" />
<target_preparer class="com.android.tradefed.targetprep.suite.SuiteApkInstaller">
<option name="test-file-name" value="NetworkSecurityUnitTests.apk" />
</target_preparer>