Merge "Promote Context related tests to presubmit"
This commit is contained in:
committed by
Android (Google) Code Review
commit
2200250bf8
@@ -92,6 +92,54 @@
|
||||
}
|
||||
],
|
||||
"file_patterns": ["(/|^)Activity.java"]
|
||||
},
|
||||
{
|
||||
"name": "CtsContentTestCases",
|
||||
"options": [
|
||||
{
|
||||
"exclude-annotation": "androidx.test.filters.FlakyTest"
|
||||
},
|
||||
{
|
||||
"exclude-annotation": "org.junit.Ignore"
|
||||
},
|
||||
{
|
||||
"include-filter": "android.content.wm.cts"
|
||||
}
|
||||
],
|
||||
"file_patterns": ["(/|^)ContextImpl.java"]
|
||||
},
|
||||
{
|
||||
"name": "CtsOsTestCases",
|
||||
"options": [
|
||||
{
|
||||
"include-annotation": "android.platform.test.annotations.Presubmit"
|
||||
},
|
||||
{
|
||||
"exclude-annotation": "androidx.test.filters.FlakyTest"
|
||||
},
|
||||
{
|
||||
"exclude-annotation": "org.junit.Ignore"
|
||||
},
|
||||
{
|
||||
"include-filter": "android.os.cts.StrictModeTest"
|
||||
}
|
||||
],
|
||||
"file_patterns": ["(/|^)ContextImpl.java"]
|
||||
},
|
||||
{
|
||||
"name": "FrameworksCoreTests",
|
||||
"options": [
|
||||
{
|
||||
"exclude-annotation": "androidx.test.filters.FlakyTest"
|
||||
},
|
||||
{
|
||||
"exclude-annotation": "org.junit.Ignore"
|
||||
},
|
||||
{
|
||||
"include-filter": "android.content.ContextTest"
|
||||
}
|
||||
],
|
||||
"file_patterns": ["(/|^)ContextImpl.java"]
|
||||
}
|
||||
],
|
||||
"postsubmit": [
|
||||
|
||||
52
core/java/android/content/TEST_MAPPING
Normal file
52
core/java/android/content/TEST_MAPPING
Normal file
@@ -0,0 +1,52 @@
|
||||
{
|
||||
"presubmit": [
|
||||
{
|
||||
"name": "CtsContentTestCases",
|
||||
"options": [
|
||||
{
|
||||
"exclude-annotation": "androidx.test.filters.FlakyTest"
|
||||
},
|
||||
{
|
||||
"exclude-annotation": "org.junit.Ignore"
|
||||
},
|
||||
{
|
||||
"include-filter": "android.content.wm.cts"
|
||||
}
|
||||
],
|
||||
"file_patterns": ["(/|^)Context.java", "(/|^)ContextWrapper.java"]
|
||||
},
|
||||
{
|
||||
"name": "CtsOsTestCases",
|
||||
"options": [
|
||||
{
|
||||
"include-annotation": "android.platform.test.annotations.Presubmit"
|
||||
},
|
||||
{
|
||||
"exclude-annotation": "androidx.test.filters.FlakyTest"
|
||||
},
|
||||
{
|
||||
"exclude-annotation": "org.junit.Ignore"
|
||||
},
|
||||
{
|
||||
"include-filter": "android.os.cts.StrictModeTest"
|
||||
}
|
||||
],
|
||||
"file_patterns": ["(/|^)Context.java", "(/|^)ContextWrapper.java"]
|
||||
},
|
||||
{
|
||||
"name": "FrameworksCoreTests",
|
||||
"options": [
|
||||
{
|
||||
"exclude-annotation": "androidx.test.filters.FlakyTest"
|
||||
},
|
||||
{
|
||||
"exclude-annotation": "org.junit.Ignore"
|
||||
},
|
||||
{
|
||||
"include-filter": "android.content.ContextTest"
|
||||
}
|
||||
],
|
||||
"file_patterns": ["(/|^)Context.java", "(/|^)ContextWrapper.java"]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -2,6 +2,24 @@
|
||||
"presubmit": [
|
||||
{
|
||||
"name": "CtsAccelerationTestCases"
|
||||
},
|
||||
{
|
||||
"name": "CtsOsTestCases",
|
||||
"options": [
|
||||
{
|
||||
"include-annotation": "android.platform.test.annotations.Presubmit"
|
||||
},
|
||||
{
|
||||
"exclude-annotation": "androidx.test.filters.FlakyTest"
|
||||
},
|
||||
{
|
||||
"exclude-annotation": "org.junit.Ignore"
|
||||
},
|
||||
{
|
||||
"include-filter": "android.os.cts.StrictModeTest"
|
||||
}
|
||||
],
|
||||
"file_patterns": ["(/|^)ViewConfiguration.java", "(/|^)GestureDetector.java"]
|
||||
}
|
||||
],
|
||||
"imports": [
|
||||
|
||||
Reference in New Issue
Block a user