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

Commit 2200250b authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Promote Context related tests to presubmit"

parents 21701d24 480b5b73
Loading
Loading
Loading
Loading
+48 −0
Original line number Diff line number Diff line
@@ -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 −0
Original line number Diff line number Diff line
{
  "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"]
    }
  ]
}
 No newline at end of file
+18 −0
Original line number Diff line number Diff line
@@ -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": [