Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5868719b authored by Ivan Chiang's avatar Ivan Chiang
Browse files

[pm] Add new test case V2 into TEST_MAPPING

Flag: TEST_ONLY
Bug: 409164457
Test: atest -p frameworks/base/core/java/android/content/pm/TEST_MAPPING:presubmit
Test: atest -p frameworks/base/services/core/java/com/android/server/pm/TEST_MAPPING:presubmit
Test: atest -p frameworks/base/packages/PackageInstaller/TEST_MAPPING:presubmit
Test: atest -p frameworks/base/core/java/android/content/pm/TEST_MAPPING:postsubmit
Test: atest -p frameworks/base/services/core/java/com/android/server/pm/TEST_MAPPING:postsubmit
Test: atest -p frameworks/base/packages/PackageInstaller/TEST_MAPPING:postsubmit
Change-Id: I26dbf995a8766f259ec192f9d7154f02486ba1c4
parent 8da82965
Loading
Loading
Loading
Loading
+176 −0
Original line number Diff line number Diff line
@@ -200,6 +200,94 @@
                   "exclude-annotation":"org.junit.Ignore"
               }
            ]
        },
        {
            "name": "CtsPackageInstallerCUJDeviceAdminTestCasesV2",
            "options":[
               {
                   "exclude-annotation":"androidx.test.filters.FlakyTest"
               },
               {
                   "exclude-annotation":"org.junit.Ignore"
               }
            ]
        },
        {
            "name": "CtsPackageInstallerCUJInstallationTestCasesV2",
            "options":[
               {
                   "exclude-annotation":"androidx.test.filters.FlakyTest"
               },
               {
                   "exclude-annotation":"org.junit.Ignore"
               }
            ]
        },
        {
          "name": "CtsPackageInstallerCUJInstallationViaIntentForResultTestCasesV2",
          "options":[
              {
                  "exclude-annotation":"androidx.test.filters.FlakyTest"
              },
              {
                  "exclude-annotation":"org.junit.Ignore"
              }
          ]
        },
        {
          "name": "CtsPackageInstallerCUJInstallationViaSessionTestCasesV2",
          "options":[
              {
                  "exclude-annotation":"androidx.test.filters.FlakyTest"
              },
              {
                  "exclude-annotation":"org.junit.Ignore"
              }
          ]
        },
        {
            "name": "CtsPackageInstallerCUJMultiUsersTestCasesV2",
            "options":[
               {
                   "exclude-annotation":"androidx.test.filters.FlakyTest"
               },
               {
                   "exclude-annotation":"org.junit.Ignore"
               }
            ]
        },
        {
            "name": "CtsPackageInstallerCUJUninstallationTestCasesV2",
            "options":[
               {
                   "exclude-annotation":"androidx.test.filters.FlakyTest"
               },
               {
                   "exclude-annotation":"org.junit.Ignore"
               }
            ]
        },
        {
            "name": "CtsPackageInstallerCUJUpdateOwnerShipTestCasesV2",
            "options":[
               {
                   "exclude-annotation":"androidx.test.filters.FlakyTest"
               },
               {
                   "exclude-annotation":"org.junit.Ignore"
               }
            ]
        },
        {
            "name": "CtsPackageInstallerCUJUpdateSelfTestCasesV2",
            "options":[
               {
                   "exclude-annotation":"androidx.test.filters.FlakyTest"
               },
               {
                   "exclude-annotation":"org.junit.Ignore"
               }
            ]
        }
    ],
    "presubmit-large":[
@@ -347,6 +435,94 @@
                   "exclude-annotation":"org.junit.Ignore"
               }
            ]
        },
        {
            "name": "CtsPackageInstallerCUJDeviceAdminTestCasesV2",
            "options":[
               {
                   "exclude-annotation":"androidx.test.filters.FlakyTest"
               },
               {
                   "exclude-annotation":"org.junit.Ignore"
               }
            ]
        },
        {
            "name": "CtsPackageInstallerCUJInstallationTestCasesV2",
            "options":[
               {
                   "exclude-annotation":"androidx.test.filters.FlakyTest"
               },
               {
                   "exclude-annotation":"org.junit.Ignore"
               }
            ]
        },
        {
            "name": "CtsPackageInstallerCUJInstallationViaIntentForResultTestCasesV2",
            "options":[
               {
                   "exclude-annotation":"androidx.test.filters.FlakyTest"
               },
               {
                   "exclude-annotation":"org.junit.Ignore"
               }
            ]
        },
        {
            "name": "CtsPackageInstallerCUJInstallationViaSessionTestCasesV2",
            "options":[
               {
                   "exclude-annotation":"androidx.test.filters.FlakyTest"
               },
               {
                   "exclude-annotation":"org.junit.Ignore"
               }
            ]
        },
        {
            "name": "CtsPackageInstallerCUJMultiUsersTestCasesV2",
            "options":[
               {
                   "exclude-annotation":"androidx.test.filters.FlakyTest"
               },
               {
                   "exclude-annotation":"org.junit.Ignore"
               }
            ]
        },
        {
            "name": "CtsPackageInstallerCUJUninstallationTestCasesV2",
            "options":[
               {
                   "exclude-annotation":"androidx.test.filters.FlakyTest"
               },
               {
                   "exclude-annotation":"org.junit.Ignore"
               }
            ]
        },
        {
            "name": "CtsPackageInstallerCUJUpdateOwnerShipTestCasesV2",
            "options":[
               {
                   "exclude-annotation":"androidx.test.filters.FlakyTest"
               },
               {
                   "exclude-annotation":"org.junit.Ignore"
               }
            ]
        },
        {
            "name": "CtsPackageInstallerCUJUpdateSelfTestCasesV2",
            "options":[
               {
                   "exclude-annotation":"androidx.test.filters.FlakyTest"
               },
               {
                   "exclude-annotation":"org.junit.Ignore"
               }
            ]
        }
    ]
}
+176 −0
Original line number Diff line number Diff line
@@ -87,6 +87,94 @@
          "exclude-annotation":"org.junit.Ignore"
        }
      ]
    },
    {
      "name": "CtsPackageInstallerCUJDeviceAdminTestCasesV2",
      "options":[
        {
          "exclude-annotation":"androidx.test.filters.FlakyTest"
        },
        {
          "exclude-annotation":"org.junit.Ignore"
        }
      ]
    },
    {
      "name": "CtsPackageInstallerCUJInstallationTestCasesV2",
      "options":[
        {
          "exclude-annotation":"androidx.test.filters.FlakyTest"
        },
        {
          "exclude-annotation":"org.junit.Ignore"
        }
      ]
    },
    {
      "name": "CtsPackageInstallerCUJInstallationViaIntentForResultTestCasesV2",
      "options":[
          {
            "exclude-annotation":"androidx.test.filters.FlakyTest"
          },
          {
            "exclude-annotation":"org.junit.Ignore"
          }
      ]
    },
    {
      "name": "CtsPackageInstallerCUJInstallationViaSessionTestCasesV2",
      "options":[
          {
            "exclude-annotation":"androidx.test.filters.FlakyTest"
          },
          {
            "exclude-annotation":"org.junit.Ignore"
          }
      ]
    },
    {
      "name": "CtsPackageInstallerCUJMultiUsersTestCasesV2",
      "options":[
        {
          "exclude-annotation":"androidx.test.filters.FlakyTest"
        },
        {
          "exclude-annotation":"org.junit.Ignore"
        }
      ]
    },
    {
      "name": "CtsPackageInstallerCUJUninstallationTestCasesV2",
      "options":[
        {
          "exclude-annotation":"androidx.test.filters.FlakyTest"
        },
        {
          "exclude-annotation":"org.junit.Ignore"
        }
      ]
    },
    {
      "name": "CtsPackageInstallerCUJUpdateOwnerShipTestCasesV2",
      "options":[
        {
          "exclude-annotation":"androidx.test.filters.FlakyTest"
        },
        {
          "exclude-annotation":"org.junit.Ignore"
        }
      ]
    },
    {
      "name": "CtsPackageInstallerCUJUpdateSelfTestCasesV2",
      "options":[
        {
          "exclude-annotation":"androidx.test.filters.FlakyTest"
        },
        {
          "exclude-annotation":"org.junit.Ignore"
        }
      ]
    }
  ],
  "postsubmit": [
@@ -206,6 +294,94 @@
          "exclude-annotation":"org.junit.Ignore"
        }
      ]
    },
    {
      "name": "CtsPackageInstallerCUJDeviceAdminTestCasesV2",
      "options":[
        {
          "exclude-annotation":"androidx.test.filters.FlakyTest"
        },
        {
          "exclude-annotation":"org.junit.Ignore"
        }
      ]
    },
    {
      "name": "CtsPackageInstallerCUJInstallationTestCasesV2",
      "options":[
        {
          "exclude-annotation":"androidx.test.filters.FlakyTest"
        },
        {
          "exclude-annotation":"org.junit.Ignore"
        }
      ]
    },
    {
      "name": "CtsPackageInstallerCUJInstallationViaIntentForResultTestCasesV2",
      "options":[
          {
            "exclude-annotation":"androidx.test.filters.FlakyTest"
          },
          {
            "exclude-annotation":"org.junit.Ignore"
          }
      ]
    },
    {
      "name": "CtsPackageInstallerCUJInstallationViaSessionTestCasesV2",
      "options":[
          {
            "exclude-annotation":"androidx.test.filters.FlakyTest"
          },
          {
            "exclude-annotation":"org.junit.Ignore"
          }
      ]
    },
    {
      "name": "CtsPackageInstallerCUJMultiUsersTestCasesV2",
      "options":[
        {
          "exclude-annotation":"androidx.test.filters.FlakyTest"
        },
        {
          "exclude-annotation":"org.junit.Ignore"
        }
      ]
    },
    {
      "name": "CtsPackageInstallerCUJUninstallationTestCasesV2",
      "options":[
        {
          "exclude-annotation":"androidx.test.filters.FlakyTest"
        },
        {
          "exclude-annotation":"org.junit.Ignore"
        }
      ]
    },
    {
      "name": "CtsPackageInstallerCUJUpdateOwnerShipTestCasesV2",
      "options":[
        {
          "exclude-annotation":"androidx.test.filters.FlakyTest"
        },
        {
          "exclude-annotation":"org.junit.Ignore"
        }
      ]
    },
    {
      "name": "CtsPackageInstallerCUJUpdateSelfTestCasesV2",
      "options":[
        {
          "exclude-annotation":"androidx.test.filters.FlakyTest"
        },
        {
          "exclude-annotation":"org.junit.Ignore"
        }
      ]
    }
  ]
}
+256 −0
Original line number Diff line number Diff line
@@ -227,6 +227,134 @@
              "exclude-annotation":"org.junit.Ignore"
          }
      ]
    },
    {
      "name": "CtsPackageInstallerCUJDeviceAdminTestCasesV2",
      "file_patterns": [
        "core/java/.*Install.*",
        "services/core/.*Install.*",
        "services/core/java/com/android/server/pm/.*"
      ],
      "options":[
          {
              "exclude-annotation":"androidx.test.filters.FlakyTest"
          },
          {
              "exclude-annotation":"org.junit.Ignore"
          }
      ]
    },
    {
      "name": "CtsPackageInstallerCUJInstallationTestCasesV2",
      "file_patterns": [
        "core/java/.*Install.*",
        "services/core/.*Install.*",
        "services/core/java/com/android/server/pm/.*"
      ],
      "options":[
          {
              "exclude-annotation":"androidx.test.filters.FlakyTest"
          },
          {
              "exclude-annotation":"org.junit.Ignore"
          }
      ]
    },
    {
      "name": "CtsPackageInstallerCUJInstallationViaIntentForResultTestCasesV2",
      "file_patterns": [
          "core/java/.*Install.*",
          "services/core/.*Install.*",
          "services/core/java/com/android/server/pm/.*"
      ],
      "options":[
          {
              "exclude-annotation":"androidx.test.filters.FlakyTest"
          },
          {
              "exclude-annotation":"org.junit.Ignore"
          }
      ]
    },
    {
      "name": "CtsPackageInstallerCUJInstallationViaSessionTestCasesV2",
      "file_patterns": [
          "core/java/.*Install.*",
          "services/core/.*Install.*",
          "services/core/java/com/android/server/pm/.*"
      ],
      "options":[
          {
              "exclude-annotation":"androidx.test.filters.FlakyTest"
          },
          {
              "exclude-annotation":"org.junit.Ignore"
          }
      ]
    },
    {
      "name": "CtsPackageInstallerCUJMultiUsersTestCasesV2",
      "file_patterns": [
        "core/java/.*Install.*",
        "services/core/.*Install.*",
        "services/core/java/com/android/server/pm/.*"
      ],
      "options":[
          {
              "exclude-annotation":"androidx.test.filters.FlakyTest"
          },
          {
              "exclude-annotation":"org.junit.Ignore"
          }
      ]
    },
    {
      "name": "CtsPackageInstallerCUJUninstallationTestCasesV2",
      "file_patterns": [
        "core/java/.*Install.*",
        "services/core/.*Install.*",
        "services/core/java/com/android/server/pm/.*"
      ],
      "options":[
          {
              "exclude-annotation":"androidx.test.filters.FlakyTest"
          },
          {
              "exclude-annotation":"org.junit.Ignore"
          }
      ]
    },
    {
      "name": "CtsPackageInstallerCUJUpdateOwnerShipTestCasesV2",
      "file_patterns": [
        "core/java/.*Install.*",
        "services/core/.*Install.*",
        "services/core/java/com/android/server/pm/.*"
      ],
      "options":[
          {
              "exclude-annotation":"androidx.test.filters.FlakyTest"
          },
          {
              "exclude-annotation":"org.junit.Ignore"
          }
      ]
    },
    {
      "name": "CtsPackageInstallerCUJUpdateSelfTestCasesV2",
      "file_patterns": [
        "core/java/.*Install.*",
        "services/core/.*Install.*",
        "services/core/java/com/android/server/pm/.*"
      ],
      "options":[
          {
              "exclude-annotation":"androidx.test.filters.FlakyTest"
          },
          {
              "exclude-annotation":"org.junit.Ignore"
          }
      ]
    }
  ],
  "presubmit-large":[
@@ -414,6 +542,134 @@
              "exclude-annotation":"org.junit.Ignore"
          }
      ]
    },
    {
      "name": "CtsPackageInstallerCUJDeviceAdminTestCasesV2",
      "file_patterns": [
        "core/java/.*Install.*",
        "services/core/.*Install.*",
        "services/core/java/com/android/server/pm/.*"
      ],
      "options":[
          {
              "exclude-annotation":"androidx.test.filters.FlakyTest"
          },
          {
              "exclude-annotation":"org.junit.Ignore"
          }
      ]
    },
    {
      "name": "CtsPackageInstallerCUJInstallationTestCasesV2",
      "file_patterns": [
        "core/java/.*Install.*",
        "services/core/.*Install.*",
        "services/core/java/com/android/server/pm/.*"
      ],
      "options":[
          {
              "exclude-annotation":"androidx.test.filters.FlakyTest"
          },
          {
              "exclude-annotation":"org.junit.Ignore"
          }
      ]
    },
    {
      "name": "CtsPackageInstallerCUJInstallationViaIntentForResultTestCasesV2",
      "file_patterns": [
          "core/java/.*Install.*",
          "services/core/.*Install.*",
          "services/core/java/com/android/server/pm/.*"
      ],
      "options":[
          {
              "exclude-annotation":"androidx.test.filters.FlakyTest"
          },
          {
              "exclude-annotation":"org.junit.Ignore"
          }
      ]
    },
    {
      "name": "CtsPackageInstallerCUJInstallationViaSessionTestCasesV2",
      "file_patterns": [
          "core/java/.*Install.*",
          "services/core/.*Install.*",
          "services/core/java/com/android/server/pm/.*"
      ],
      "options":[
          {
              "exclude-annotation":"androidx.test.filters.FlakyTest"
          },
          {
              "exclude-annotation":"org.junit.Ignore"
          }
      ]
    },
    {
      "name": "CtsPackageInstallerCUJMultiUsersTestCasesV2",
      "file_patterns": [
        "core/java/.*Install.*",
        "services/core/.*Install.*",
        "services/core/java/com/android/server/pm/.*"
      ],
      "options":[
          {
              "exclude-annotation":"androidx.test.filters.FlakyTest"
          },
          {
              "exclude-annotation":"org.junit.Ignore"
          }
      ]
    },
    {
      "name": "CtsPackageInstallerCUJUninstallationTestCasesV2",
      "file_patterns": [
        "core/java/.*Install.*",
        "services/core/.*Install.*",
        "services/core/java/com/android/server/pm/.*"
      ],
      "options":[
          {
              "exclude-annotation":"androidx.test.filters.FlakyTest"
          },
          {
              "exclude-annotation":"org.junit.Ignore"
          }
      ]
    },
    {
      "name": "CtsPackageInstallerCUJUpdateOwnerShipTestCasesV2",
      "file_patterns": [
        "core/java/.*Install.*",
        "services/core/.*Install.*",
        "services/core/java/com/android/server/pm/.*"
      ],
      "options":[
          {
              "exclude-annotation":"androidx.test.filters.FlakyTest"
          },
          {
              "exclude-annotation":"org.junit.Ignore"
          }
      ]
    },
    {
      "name": "CtsPackageInstallerCUJUpdateSelfTestCasesV2",
      "file_patterns": [
        "core/java/.*Install.*",
        "services/core/.*Install.*",
        "services/core/java/com/android/server/pm/.*"
      ],
      "options":[
          {
              "exclude-annotation":"androidx.test.filters.FlakyTest"
          },
          {
              "exclude-annotation":"org.junit.Ignore"
          }
      ]
    }
  ],
  "imports": [