summaryrefslogtreecommitdiffstats
path: root/docs/html/guide/topics/testing
diff options
context:
space:
mode:
authorPin Ting <pinting@google.com>2012-01-05 15:52:10 +0800
committerPin Ting <pinting@google.com>2012-01-09 11:27:56 +0800
commite4c1e7db167fb1372bd16422fdcb05b2343abf06 (patch)
treec4296fe0934c55f1a4ce6ba966e38c69db8e48a5 /docs/html/guide/topics/testing
parent7944704e6c4cc10105838b78d3d8403bf66a066b (diff)
downloadframeworks_base-e4c1e7db167fb1372bd16422fdcb05b2343abf06.zip
frameworks_base-e4c1e7db167fb1372bd16422fdcb05b2343abf06.tar.gz
frameworks_base-e4c1e7db167fb1372bd16422fdcb05b2343abf06.tar.bz2
Fixes typo.
Change-Id: I79e09594017d1e2decb927bff0d7c8a0fc2873f2
Diffstat (limited to 'docs/html/guide/topics/testing')
-rwxr-xr-xdocs/html/guide/topics/testing/testing_android.jd4
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>