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

Commit 774e0d08 authored by Kweku Adams's avatar Kweku Adams
Browse files

Adding pre/postsubmit tests for DeviceIdleController.

Enabling pre- and post-submit tests for the DeviceIdleController files
in the JobScheduler mainline module.

Bug: 146453470
Test: cd to directories and run "atest"
Change-Id: I0160eb506ce988bab82706638121e12c4f5d6626
parent 9ee1d945
Loading
Loading
Loading
Loading
+22 −0
Original line number Diff line number Diff line
{
  "presubmit": [
    {
      "name": "FrameworksMockingServicesTests",
      "file_patterns": [
        "DeviceIdleController\\.java"
      ],
      "options": [
        {"include-filter": "com.android.server.DeviceIdleControllerTest"},
        {"exclude-annotation": "androidx.test.filters.FlakyTest"}
      ]
    }
  ],
  "postsubmit": [
    {
      "name": "FrameworksMockingServicesTests",
      "options": [
        {"include-filter": "com.android.server"}
      ]
    }
  ]
}
 No newline at end of file
+19 −0
Original line number Diff line number Diff line
{
  "presubmit": [
    {
      "name": "FrameworksMockingServicesTests",
      "options": [
        {"include-filter": "com.android.server.DeviceIdleControllerTest"},
        {"exclude-annotation": "androidx.test.filters.FlakyTest"}
      ]
    }
  ],
  "postsubmit": [
    {
      "name": "FrameworksMockingServicesTests",
      "options": [
        {"include-filter": "com.android.server"}
      ]
    }
  ]
}
 No newline at end of file