Commit Graph

10 Commits

Author SHA1 Message Date
smain@google.com
abfa7e2c65 add info about how to return default values from android.jar
bug: 30757670

Change-Id: I84e1624cbe7ae8d5e4e2886d4e8f61d621729464
2016-08-11 16:28:01 +00:00
Elliot Waite
c4ae7827e2 Fix code tags that contain html encoded characters, and fix at links.
Change-Id: I1ab2275ac17d75afaa8f3f0039b26633365bcb3a
2016-07-22 18:29:36 -07:00
smain@google.com
97f483b4ca Move conceptual test info into "Getting Started with Testing" and
move the procedural information into the corresponding guides for creating
unit tests.

This is part of a cleanup for the Android Studio test docs, simplifying the
amount of content covered with Android Studio to be strictly how to create
and run tests. Bug: 28470079
Related: https://critique.corp.google.com/#review/125115510

Change-Id: I8b9590045b42a03c618e7011e0c3741aede77cd8
2016-06-22 11:13:54 -07:00
Quddus Chong
e3f6c81c31 docs: Refactor testing docs to remove/update obsolete guidance:
* Added new 'Getting Started with Testing' training to contain common
      information on how to configure and run tests with Android Studio.
  * Removed the obsolete 'Testing Your Activity' training.
  * Deleted obsolete testing content under 'Tools > Workflow'.
  * Moved accessibility testing checklist to 'Implementing accessibility'
      training section.
  * Moved content provider and service testing topics into a new
     'Testing App Integrations' training.
  * Updated the service testing training to reflect our recommended
approach of using ServiceTestRule, instead of ServiceTestCase.
  * Renamed 'Testing from Other IDEs' topic to
     'Testing from the Command Line' and moved it under 'Testing Tools'.
  * Revised 'Testing Fundamentals' topic and moved it under 'Testing Tools'.
  * Updated the landing page fo 'Best Practises for Testing' to provide a
     central location for testing-related resources.
bug: 20722624

Change-Id: Ic1cbc79b48916dcae1c09bf5114ba8aef13d6f27
2016-01-14 05:02:18 -08:00
Quddus Chong
ef38d5d605 docs: Updates to UI testing training docs:
* Fixed code snippet in UI Automator training.
   * Updated build.gradle configuration to use latest Testing Support
     Library APIs.
bug: 25195089

Change-Id: I7cf62ef0ff42e58335debdca5fb285fe0a902585
2015-11-10 15:34:23 -08:00
Michal Bendowski
f5d0ca1ddf am abe8ecf4: Fix dependencies block in "Building Local Unit Tests"
* commit 'abe8ecf4ac4e036a408cd949138f002f7faabc4f':
  Fix dependencies block in "Building Local Unit Tests"
2015-09-28 15:43:02 +00:00
Michal Bendowski
abe8ecf4ac Fix dependencies block in "Building Local Unit Tests"
Change-Id: I47c10cd7013bfacc8285d21fcae35c2a77621fcc
2015-09-28 11:21:18 +01:00
Quddus Chong
85f854e087 docs: Fixed broken links to unit testing samples.
bug: 24237555

Change-Id: I1bd1b4731bd883c9c1f047ade8615b8676948e8d
2015-09-21 14:35:45 -07:00
Quddus Chong
7af3566912 docs: Added Javadocs for Testing Support Library v0.3 and updated
the corresponding setup instructions.
bug: 21442922

Change-Id: I7374e8102fc95377e83db738ab7ff20510e04faa
2015-06-01 17:18:39 -07:00
Quddus Chong
4bc762a919 docs: Added training docs for Android unit testing tools and APIs.
This training covers techniques for running unit tests on local
machines, using mock objects in local unit tests, and building
instrumented unit tests to run on a device or emulator.

Change-Id: I9fee9ac3bd7382fb158145600b1850775edb687d
2015-05-11 14:09:25 -07:00