aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbootstraponline <code@bootstraponline.com>2015-02-18 14:19:42 -0500
committerKevin Jin <kjin@google.com>2015-02-19 01:37:07 +0000
commit9d965bfdd63fdaeb8683e75dfb17f9da864a6028 (patch)
tree35e8d9df9df44158129d1c5e378dd7bdeca0b991 /src
parent19c182bff48e67d39e9c8ee63d1b7f1f994009e1 (diff)
downloaddroiddriver-9d965bfdd63fdaeb8683e75dfb17f9da864a6028.tar.gz
Fix javadoc errors
Change-Id: Id5e3801082bfa635ca31b41ebcb97469e3ff9fe7
Diffstat (limited to 'src')
-rw-r--r--src/com/google/android/droiddriver/helpers/BaseDroidDriverTest.java2
-rw-r--r--src/com/google/android/droiddriver/helpers/package-info.java12
2 files changed, 7 insertions, 7 deletions
diff --git a/src/com/google/android/droiddriver/helpers/BaseDroidDriverTest.java b/src/com/google/android/droiddriver/helpers/BaseDroidDriverTest.java
index c1b523f..524e3d8 100644
--- a/src/com/google/android/droiddriver/helpers/BaseDroidDriverTest.java
+++ b/src/com/google/android/droiddriver/helpers/BaseDroidDriverTest.java
@@ -115,7 +115,7 @@ public abstract class BaseDroidDriverTest<T extends Activity> extends
* behavior - if multiple subclasses override this method, only the first override is executed.
* Other overrides are silently ignored. You can either use {@link SingleRun} in {@link #setUp},
* or override this method, which is a simpler alternative with the aforementioned catch.
- * <p/>
+ * <p>
* If an InstrumentationDriver is used, this is a good place to call {@link
* com.google.android.droiddriver.instrumentation.ViewElement#overrideClassName}
*/
diff --git a/src/com/google/android/droiddriver/helpers/package-info.java b/src/com/google/android/droiddriver/helpers/package-info.java
index 0f5b6fd..e39e003 100644
--- a/src/com/google/android/droiddriver/helpers/package-info.java
+++ b/src/com/google/android/droiddriver/helpers/package-info.java
@@ -22,10 +22,10 @@
* A UI test framework should model the UI of the AUT in a hierarchical way to maximize code reuse.
* Common interactions should be abstracted as methods of page objects. Uncommon interactions may
* not be abstracted, but carried out using "driver" directly.
- * <p/>
+ * <p>
* The organization of the entities (pages, components) does not need to strictly follow the AUT
* structure. The UI model can be greatly simplified to make it easy to use.
- * <p/>
+ * <p>
* In general the framework should follow these principles:
* <ul>
* <li>Layered abstraction: at the highest level, methods completely abstract the implementation
@@ -81,26 +81,26 @@
* Sometimes it shows as a test passes when run alone but fails when run with other tests.
* The work-around is to add a delay after calling startActivity.</li>
* <li>Error "android.content.res.Resources$NotFoundException: Unable to find resource ID ..."?
- * <br/>
+ * <br>
* This may occur if you reference the AUT's resource in tests, and the two APKs are out of
* sync. Solution: build and install both AUT and tests together.</li>
* <li>"You said the test runs on older devices as well as API18 devices, but mine is broken on
* X (e.g. GingerBread)!"
- * <br/>
+ * <br>
* This may occur if your AUT has different implementations on older devices. In this case,
* your tests have to match the different execution paths of AUT, which requires insight into
* the implementation of the AUT. A tip for testing older devices: uiautomatorviewer does not
* work on ore-API16 devices (the "Device screenshot" button won't work), but you can use it
* with dumps from DroidDriver (use to-uiautomator.xsl to convert the format).</li>
* <li>"com.android.launcher has stopped unexpectedly" and logcat says OutOfMemoryError
- * <br/>
+ * <br>
* This is sometimes seen on GingerBread or other low-memory and slow devices. GC is not fast
* enough to reclaim memory on those devices. A work-around: call gc more aggressively and
* sleep to let gc run, e.g.
* <pre>
public void setUp() throws Exception {
super.setUp();
- if (Build.VERSION.SDK_INT <= Build.VERSION_CODES.GINGERBREAD_MR1) {
+ if (Build.VERSION.SDK_INT &lt;= Build.VERSION_CODES.GINGERBREAD_MR1) {
Runtime.getRuntime().gc();
SystemClock.sleep(1000L);
}