diff options
author | Kweku Adams <kwekua@google.com> | 2018-09-28 16:57:09 -0700 |
---|---|---|
committer | Kweku Adams <kwekua@google.com> | 2018-10-03 14:01:27 -0700 |
commit | 00e3a37e1a4d686ead09267f21ff187122afa9ad (patch) | |
tree | 77682c202bacba2ae36765ff6d6b64e450c0923b /tests/testables | |
parent | 7a96ec0e0aa7167257a95e898699ba4c662fc676 (diff) |
Initial unit test for DeviceIdleController.
This just tests the standard progression into deep idle mode. Exit
conditions and light idle flow is not tested yet.
Bug: 116512267
Test: atest com.android.server.DeviceIdleControllerTest
Change-Id: I015c10871cd00d7a6be19c0b13fd4b3926c9fdf0
Diffstat (limited to 'tests/testables')
-rw-r--r-- | tests/testables/src/android/testing/TestableContext.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testables/src/android/testing/TestableContext.java b/tests/testables/src/android/testing/TestableContext.java index cf84c7926549..fff9635992d4 100644 --- a/tests/testables/src/android/testing/TestableContext.java +++ b/tests/testables/src/android/testing/TestableContext.java @@ -53,7 +53,7 @@ import org.junit.runners.model.Statement; * Like the following:</p> * <pre class="prettyprint"> * @Rule - * private final TestableContext mContext = new TestableContext(InstrumentationRegister.getContext()); + * public final TestableContext mContext = new TestableContext(InstrumentationRegister.getContext()); * </pre> */ public class TestableContext extends ContextWrapper implements TestRule { |