Merge "Extract vibrator cts tests from CtsOsTestCases" into main
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
16
services/core/jni/TEST_MAPPING
Normal file
16
services/core/jni/TEST_MAPPING
Normal 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"}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -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"}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user