From 276ec483e2791da4e29119fa1bd32a688e19d1f3 Mon Sep 17 00:00:00 2001 From: Quddus Chong Date: Thu, 28 May 2015 10:13:14 -0700 Subject: [PATCH] docs: Misc. fixes for M Preview docs. Change-Id: I816bb18d0110a4a7e585fe727471c2356a93caac --- docs/html/preview/api-overview.jd | 4 ++-- docs/html/preview/testing/performance.jd | 14 +++++++------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/html/preview/api-overview.jd b/docs/html/preview/api-overview.jd index 5fd6bb822d5a..b8a60333408b 100644 --- a/docs/html/preview/api-overview.jd +++ b/docs/html/preview/api-overview.jd @@ -165,11 +165,11 @@ method to re-authenticate the user within your app.

To see an app implementation of this feature, refer to the - Confirm Device Credentials sample.

+ Confirm Credentials sample.

Direct Share

- diff --git a/docs/html/preview/testing/performance.jd b/docs/html/preview/testing/performance.jd index 4ac5a90505df..003b619f44b6 100644 --- a/docs/html/preview/testing/performance.jd +++ b/docs/html/preview/testing/performance.jd @@ -554,10 +554,10 @@ Number Slow draw: 23342

- Tool suites like UIAutomator, - and Espresso are built to help - automate the action of a user moving through your application. These are simple + Tool suites, like UI Automator and + Espresso, are + built to help automate the action of a user moving through your application. These are simple frameworks which mimic user interaction with your device. To use these frameworks, you effectively create unique scripts, which run through a set of user-actions, and play them out on the device itself. @@ -585,7 +585,7 @@ Number Slow draw: 23342

It’s worth noting that UI testing frameworks (like UIAutomator) + "{@docRoot}training/testing/ui-testing/uiautomator-testing.html">UI Automator) run on the target device/emulator directly. While performance gathering information done by dumpsys gfxinfo is driven by a host machine, sending commands over ADB. To help bridge the automation of these separate entities,

- Building a set of scripts for proper Automation of UI Performance testing, at a minimum, + Building a set of scripts for proper automation of UI Performance testing, at a minimum, should be able to utilize monkeyRunner to accomplish the following tasks:

@@ -603,7 +603,7 @@ Number Slow draw: 23342
  • Load & Launch a desired APK to a target device, devices, or emulator.
  • -
  • Launch a UIAutomator UI test, and allow it to be executed +
  • Launch a UI Automator UI test, and allow it to be executed
  • Collect performance information through dumpsys gfxinfo. -- 2.11.0