History log of /frameworks/base/tests/testables/src/android/testing/TestableContext.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
0c408008f1061f9421872e4407a539688b21b79e 03-May-2017 Jason Monk <jmonk@google.com> Try to add some more documentation to testables

Test: runtest --path frameworks/base/tests/testables/tests
Change-Id: I3dc39f05c3b91929a7d37b28879e31fb699f7334
/frameworks/base/tests/testables/src/android/testing/TestableContext.java
77f1b05fb0eb1b0f22eb91508a1a3bc0cfcda935 02-May-2017 Jason Monk <jmonk@google.com> Add TestableResources

Makes it easy to add or change values of resources from tests.

Test: runtest --path frameworks/base/tests/testables/tests
Change-Id: Iaedff3d4ce9eaf9f270e7c62bc8c1634bd3519ec
/frameworks/base/tests/testables/src/android/testing/TestableContext.java
f06a317039a6502252c2b4b1a878520d166a38c6 25-Apr-2017 Jason Monk <jmonk@google.com> Guard against incorrect context use.

Instead of just having random tests fail, fail all the tests with a
slightly more useful message.

Also remove all the code around acquiring and contention, now that
we have a test rule in place for TestableContext, we can just use
that for cleanup and have a simple copy-on-write provider.

Test: runtest -x frameworks/base/tests/testables && runtest systemui
Change-Id: I907da23730a4a96cfa2bb112100a06980f01b078
Fixes: 37302051
/frameworks/base/tests/testables/src/android/testing/TestableContext.java
340b0e5216b4fcc435e0459b1ca46155a572100d 08-Mar-2017 Jason Monk <jmonk@google.com> Move out test utilities to a Testables library

Test: runtest --path frameworks/base/tests/testablets/tests
&& runtest systemui

Change-Id: Ideef4aef5f26136b1741c556b9be5884f38842a0
/frameworks/base/tests/testables/src/android/testing/TestableContext.java