diff options
| author | Pin Ting <pinting@google.com> | 2012-01-09 19:00:16 -0800 |
|---|---|---|
| committer | Android Git Automerger <android-git-automerger@android.com> | 2012-01-09 19:00:16 -0800 |
| commit | 06e617f5a6f68ca99118268eb7361bb1e5ade0a5 (patch) | |
| tree | a3a9881e1518102dc91db961e379745b0b542bc7 /docs/html/guide/topics/testing | |
| parent | d476c8b8a8a6fadea7e72426d3e93c4e6b00e543 (diff) | |
| parent | 497661d309ea960aa9723ef4e0d064b56515b566 (diff) | |
| download | frameworks_base-06e617f5a6f68ca99118268eb7361bb1e5ade0a5.zip frameworks_base-06e617f5a6f68ca99118268eb7361bb1e5ade0a5.tar.gz frameworks_base-06e617f5a6f68ca99118268eb7361bb1e5ade0a5.tar.bz2 | |
am 497661d3: Merge "Fixes typo." into ics-mr1
* commit '497661d309ea960aa9723ef4e0d064b56515b566':
Fixes typo.
Diffstat (limited to 'docs/html/guide/topics/testing')
| -rwxr-xr-x | docs/html/guide/topics/testing/testing_android.jd | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/html/guide/topics/testing/testing_android.jd b/docs/html/guide/topics/testing/testing_android.jd index c8a3f6e..adbc59d 100755 --- a/docs/html/guide/topics/testing/testing_android.jd +++ b/docs/html/guide/topics/testing/testing_android.jd @@ -318,7 +318,7 @@ parent.link=index.html A useful general test case class, especially if you are just starting out with Android testing, is {@link android.test.AndroidTestCase}. It extends both {@link junit.framework.TestCase} and {@link junit.framework.Assert}. It provides the - JUnit-standard <code>setUp()</code> and <code>tearDown()</code> methods, as well as well as + JUnit-standard <code>setUp()</code> and <code>tearDown()</code> methods, as well as all of JUnit's Assert methods. In addition, it provides methods for testing permissions, and a method that guards against memory leaks by clearing out certain class references. </p> @@ -401,7 +401,7 @@ parent.link=index.html Mock objects isolate tests from a running system by stubbing out or overriding normal operations. For example, a {@link android.test.mock.MockContentResolver} replaces the normal resolver framework with its own local framework, which is isolated - from the rest of the system. MockContentResolver also also stubs out the + from the rest of the system. MockContentResolver also stubs out the {@link android.content.ContentResolver#notifyChange(Uri, ContentObserver, boolean)} method so that observer objects outside the test environment are not accidentally triggered. </p> |
