Update CTS Development Docs + Add Link to 2.3_r3
Bug 4375608
Change-Id: I9a754f35fcdd5111f0b562a9498c20faa5ca70ed
diff --git a/src/compatibility/cts-development.md b/src/compatibility/cts-development.md
index cb60cf2..fda1dca 100644
--- a/src/compatibility/cts-development.md
+++ b/src/compatibility/cts-development.md
@@ -19,7 +19,7 @@
## Initializing Your Repo Client ##
Follow the [instructions](/source/downloading.html)
-to get and build the Android source code but specify `-b froyo`
+to get and build the Android source code but specify `-b gingerbread`
when issuing the `repo init` command. This assures that your CTS
changes will be included in the next CTS release and beyond.
@@ -72,10 +72,8 @@
have Java package names with a `cts` suffix and class
names with the `Test` suffix. Each test case consists of
multiple tests, where each test usually exercises a particular API method of
-the API class being tested. Each test is annotated with a `@TestTargetNew`
-annotation to indicate what API method is being exercised. These tests are
-arranged in a directory structure where tests are grouped into different
-categories like "widgets" and "views."
+the API class being tested. These tests are arranged in a directory structure
+where tests are grouped into different categories like "widgets" and "views."
For example, the CTS test for `android.widget.TextView` is
`android.widget.cts.TextViewTest` found under the
@@ -90,8 +88,12 @@
the most related package possible. For instance, the CTS test,
`android.net.cts.ListeningPortsTest`, is in the `android.net.cts`, because it
is network related even though there is no `android.net.ListeningPorts` class.
-Thus, use your best judgement when adding new tests and refer to other tests
-as examples.
+You can also create a new test package if necessary. For example, there is an
+"android.security" test package for tests related to security. Thus, use your
+best judgement when adding new tests and refer to other tests as examples.
+
+Finally, a lot of tests are annotated with @TestTargets and @TestTargetNew.
+These are no longer necessary so do not annotate new tests with these.
### New Test Packages ###
diff --git a/src/compatibility/downloads.md b/src/compatibility/downloads.md
index a0696da..98af952 100644
--- a/src/compatibility/downloads.md
+++ b/src/compatibility/downloads.md
@@ -28,7 +28,7 @@
available soon.
- [Android 2.3 Compatibility Definition Document (CDD)](2.3/android-2.3.3-cdd.pdf)
-- [Android 2.3 R2 Compatibility Test Suite (CTS)](http://dl.google.com/dl/android/cts/android-cts-2.3_r2-x86.zip)
+- [Android 2.3 R3 Compatibility Test Suite (CTS)](http://dl.google.com/dl/android/cts/android-cts-2.3_r3-x86.zip)
## Android 2.2 ##