Merge "Extract vibrator cts tests from CtsOsTestCases" into main

This commit is contained in:
Ahmad Khalil
2023-07-28 11:45:05 +00:00
committed by Android (Google) Code Review
4 changed files with 49 additions and 17 deletions

View File

@@ -26,6 +26,19 @@
{"exclude-annotation": "org.junit.Ignore"}
]
},
{
"file_patterns": [
"[^/]*(Vibrator|Vibration)[^/]*\\.java",
"vibrator/.*"
],
"name": "CtsVibratorTestCases",
"options": [
{"exclude-annotation": "android.platform.test.annotations.LargeTest"},
{"exclude-annotation": "android.platform.test.annotations.FlakyTest"},
{"exclude-annotation": "androidx.test.filters.FlakyTest"},
{"exclude-annotation": "org.junit.Ignore"}
]
},
{
"file_patterns": ["Bugreport[^/]*\\.java"],
"name": "BugreportManagerTestCases",

View File

@@ -1,21 +1,10 @@
{
"presubmit": [
"imports": [
{
"name": "FrameworksVibratorServicesTests",
"options": [
{"exclude-annotation": "android.platform.test.annotations.LargeTest"},
{"exclude-annotation": "android.platform.test.annotations.FlakyTest"},
{"exclude-annotation": "androidx.test.filters.FlakyTest"},
{"exclude-annotation": "org.junit.Ignore"}
]
}
],
"postsubmit": [
"path": "frameworks/base/services/tests/vibrator"
},
{
"name": "FrameworksVibratorServicesTests",
"options": [
{"exclude-annotation": "org.junit.Ignore"}
]
"path": "cts/tests/vibrator"
}
]
}

View File

@@ -0,0 +1,16 @@
{
"presubmit": [
{
"file_patterns": [
"[^/]*(vibrator)[^/]*\\.[^/]*"
],
"name": "CtsVibratorTestCases",
"options": [
{"exclude-annotation": "android.platform.test.annotations.LargeTest"},
{"exclude-annotation": "android.platform.test.annotations.FlakyTest"},
{"exclude-annotation": "androidx.test.filters.FlakyTest"},
{"exclude-annotation": "org.junit.Ignore"}
]
}
]
}

View File

@@ -1,7 +1,21 @@
{
"imports": [
"presubmit": [
{
"path": "frameworks/base/services/core/java/com/android/server/vibrator"
"name": "FrameworksVibratorServicesTests",
"options": [
{"exclude-annotation": "android.platform.test.annotations.LargeTest"},
{"exclude-annotation": "android.platform.test.annotations.FlakyTest"},
{"exclude-annotation": "androidx.test.filters.FlakyTest"},
{"exclude-annotation": "org.junit.Ignore"}
]
}
],
"postsubmit": [
{
"name": "FrameworksVibratorServicesTests",
"options": [
{"exclude-annotation": "org.junit.Ignore"}
]
}
]
}