Merge "Include public GameManager unit tests in presubmit"

This commit is contained in:
Xiang Wang
2022-11-29 23:03:35 +00:00
committed by Android (Google) Code Review
3 changed files with 37 additions and 1 deletions

View File

@@ -201,6 +201,23 @@
"file_patterns": [
"(/|^)PropertyInvalidatedCache.java"
]
},
{
"name": "FrameworksCoreGameManagerTests",
"options": [
{
"exclude-annotation": "androidx.test.filters.FlakyTest"
},
{
"exclude-annotation": "org.junit.Ignore"
},
{
"include-filter": "android.app"
}
],
"file_patterns": [
"(/|^)GameManager[^/]*", "(/|^)GameMode[^/]*"
]
}
],
"presubmit-large": [

View File

@@ -17,7 +17,9 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.app.gamemanagertests"
android:sharedUserId="android.uid.system" >
android:sharedUserId="com.android.uid.test" >
<uses-permission android:name="android.permission.MANAGE_GAME_MODE" />
<application android:appCategory="game">
<uses-library android:name="android.test.runner" />

View File

@@ -18,6 +18,23 @@
"exclude-annotation": "androidx.test.filters.FlakyTest"
}
]
},
{
"name": "FrameworksCoreGameManagerTests",
"options": [
{
"exclude-annotation": "androidx.test.filters.FlakyTest"
},
{
"exclude-annotation": "org.junit.Ignore"
},
{
"include-filter": "android.app"
}
],
"file_patterns": [
"(/|^)GameManagerService.java", "(/|^)GameManagerSettings.java"
]
}
]
}