History log of /packages/apps/Contacts/tests/src/com/android/contacts/RunMethodInstrumentation.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
57a0e98eed836b72dd3dc3540b9cac029266ed7c 25-Mar-2017 Wenyi Wang <wenyiw@google.com> Add isLoggable checks to all verbose and debug log outputs (1/2)

Bug: 6813854

Test: built apk and verified log is seen in logcat

Change-Id: Ib17cac0d2d9553276c4271221110305ab2d70a46
/packages/apps/Contacts/tests/src/com/android/contacts/RunMethodInstrumentation.java
aa5bdeb8bce9b273fa957b7cadbf447b99ea2d3b 03-Nov-2016 Marcus Hagerott <mhagerott@google.com> Add debug wait to RunMethodInstrumentation

Test
manually ran instrumentation with debug flag set.

Change-Id: I01e24c5d1b7d7485fd5f09af3cd5af47b5377e4c
/packages/apps/Contacts/tests/src/com/android/contacts/RunMethodInstrumentation.java
6927faf7e6e176246bca01d778bfbdff16635b6d 19-Oct-2016 Marcus Hagerott <mhagerott@google.com> Consolidate adb helper methods into single class.

This makes them easier to invoke and prevents confusion by separating them
normal from production and test code.

Test
$ adb shell am instrument -e method addTestAccount -e accountName fooAccount\
$ -w com.android.contacts.tests/com.android.contacts.RunMethodInstrumentation

Change-Id: I443681b4b8ed526c390e593540c5e2910d97f6b4
/packages/apps/Contacts/tests/src/com/android/contacts/RunMethodInstrumentation.java
9c26abdc6458bb98c8354a2fb9ee9dda44ce2c45 14-Oct-2016 Marcus Hagerott <mhagerott@google.com> Add method to do warmup query of SIM contacts

See If3245fad8fb8ea78424bd8d2eaf2ff1b1c8d9cf8

Test
Same as above change

Change-Id: Ide369827fafc7504d460daab021b94090fa115bd
/packages/apps/Contacts/tests/src/com/android/contacts/RunMethodInstrumentation.java
073a091b4f94d7321b4e8f51e0ca240c5c264915 29-Sep-2016 Marcus Hagerott <mhagerott@google.com> Adjustments to MockContentProvider for tests.

Also add some helper methods to change the default account.

Test
Ran GoogleContactsTests

Change-Id: Id14651f07cb0e046cc7b1e1dc387492cdb12bb18
/packages/apps/Contacts/tests/src/com/android/contacts/RunMethodInstrumentation.java
fd79e87e893054e20f86cbe5e0c48aa64ecd3955 12-Oct-2016 Marcus Hagerott <mhagerott@google.com> Add method runner instrumentation

This can be used to run single static methods for setup and inspecting the app
state.

Test
Ran GoogleContactsTests

Change-Id: I132a7e9dc8f2ee2e14b8a1c583f3d5236ab548ce
/packages/apps/Contacts/tests/src/com/android/contacts/RunMethodInstrumentation.java