/cts/tests/autofillservice/src/android/autofillservice/cts/ |
OptionalSaveActivityTest.java | 18 import static android.autofillservice.cts.Helper.assertTextAndValue; 85 assertTextAndValue(findNodeByResourceId(s, ID_ADDRESS1), "742 Evergreen Terrace"); 86 assertTextAndValue(findNodeByResourceId(s, ID_ADDRESS2), "Simpsons House"); 87 assertTextAndValue(findNodeByResourceId(s, ID_CITY), "Springfield"); 88 assertTextAndValue(findNodeByResourceId(s, ID_FAVORITE_COLOR), "Yellow"); 98 assertTextAndValue(findNodeByResourceId(s, ID_ADDRESS1), "742 Evergreen Terrace"); 99 assertTextAndValue(findNodeByResourceId(s, ID_ADDRESS2), ""); 100 assertTextAndValue(findNodeByResourceId(s, ID_CITY), "Springfield"); 101 assertTextAndValue(findNodeByResourceId(s, ID_FAVORITE_COLOR), ""); 211 assertTextAndValue(findNodeByResourceId(s, ID_ADDRESS1) [all...] |
PreFilledLoginActivityTest.java | 22 import static android.autofillservice.cts.Helper.assertTextAndValue; 82 assertTextAndValue(findNodeByResourceId(fillRequest.structure, ID_USERNAME), 84 assertTextAndValue(findNodeByResourceId(fillRequest.structure, ID_PASSWORD), "T0p S3cr3t"); 99 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_USERNAME), "malkovich"); 100 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_PASSWORD), "malkovich");
|
InitializedCheckoutActivityTest.java | 25 import static android.autofillservice.cts.Helper.assertTextAndValue; 70 assertTextAndValue(findNodeByResourceId(fillRequest.structure, ID_CC_NUMBER), "4815162342");
|
WebViewActivityTest.java | 215 Helper.assertTextAndValue(usernameNode, "u"); 216 Helper.assertTextAndValue(passwordNode, "p"); 218 Helper.assertTextAndValue(usernameNode, "DUDE"); 219 Helper.assertTextAndValue(passwordNode, "SWEET"); 289 Helper.assertTextAndValue(usernameNode2, "dudeu"); 290 Helper.assertTextAndValue(passwordNode2, "sweetp"); 292 Helper.assertTextAndValue(usernameNode2, "DUDE"); 293 Helper.assertTextAndValue(passwordNode2, "SWEET"); 406 Helper.assertTextAndValue(usernameSaveNode, "dudeu"); 407 Helper.assertTextAndValue(passwordSaveNode, "sweetp") [all...] |
MultiScreenDifferentActivitiesTest.java | 18 import static android.autofillservice.cts.Helper.assertTextAndValue; 80 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_INPUT), "ID"); 131 assertTextAndValue(findNodeByResourceId(structure1, ID_PRE_INPUT), "PRE"); 140 assertTextAndValue(findNodeByResourceId(structure2, ID_INPUT), "ID");
|
LoginWithStringsActivityTest.java | 23 import static android.autofillservice.cts.Helper.assertTextAndValue; 128 assertTextAndValue(username, "dude"); 130 assertTextAndValue(password, "dude");
|
DatePickerTestCase.java | 22 import static android.autofillservice.cts.Helper.assertTextAndValue; 91 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_OUTPUT), "2010/11/12");
|
TimePickerTestCase.java | 21 import static android.autofillservice.cts.Helper.assertTextAndValue; 90 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_OUTPUT), "10:40");
|
SimpleSaveActivityTest.java | 21 import static android.autofillservice.cts.Helper.assertTextAndValue; 137 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_INPUT), "ID"); 138 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_PASSWORD), "PASS"); 191 assertTextAndValue(inputOnSave, "ID"); 192 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_PASSWORD), "PASS"); 250 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_INPUT), "ID"); 251 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_PASSWORD), "PASS"); 311 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_INPUT), "108"); 367 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_INPUT), "108"); 368 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_PASSWORD), "42") [all...] |
VirtualContainerActivityCompatModeTest.java | 20 import static android.autofillservice.cts.Helper.assertTextAndValue; 221 assertTextAndValue(username, "foo"); 222 assertTextAndValue(password, "bar"); 224 assertTextAndValue(urlBar, INITIAL_URL_BAR_VALUE);
|
MultiScreenLoginTest.java | 23 import static android.autofillservice.cts.Helper.assertTextAndValue; 103 assertTextAndValue(findNodeByResourceId(saveRequest1.structure, ID_USERNAME), "dude"); 138 assertTextAndValue(findNodeByResourceId(saveRequest2.structure, ID_PASSWORD), "sweet"); 215 assertTextAndValue(findNodeByResourceId(previousStructure, ID_USERNAME), "dude"); 222 assertTextAndValue(findNodeByResourceId(currentStructure, ID_PASSWORD), "sweet"); 307 assertTextAndValue(findNodeByResourceId(previousStructure, ID_USERNAME), "dude"); 314 assertTextAndValue(findNodeByResourceId(currentStructure, ID_PASSWORD), "sweet");
|
PreSimpleSaveActivityTest.java | 19 import static android.autofillservice.cts.Helper.assertTextAndValue; 115 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_PRE_INPUT), "108"); 170 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_PRE_INPUT), 208 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_INPUT), "42"); 334 assertTextAndValue(findNodeByResourceId(saveRequest1.structure, ID_INPUT), "42");
|
WebViewMultiScreenLoginActivityTest.java | 25 import static android.autofillservice.cts.Helper.assertTextAndValue; 138 assertTextAndValue(findNodeByHtmlName(saveRequest1.structure, HTML_NAME_USERNAME), "dude"); 186 assertTextAndValue(findNodeByHtmlName(saveRequest2.structure, HTML_NAME_PASSWORD), "sweet"); 293 assertTextAndValue(findNodeByHtmlName(previousStructure, HTML_NAME_USERNAME), "dude"); 300 assertTextAndValue(findNodeByHtmlName(currentStructure, HTML_NAME_PASSWORD), "sweet");
|
OnClickActionTest.java | 27 import static android.autofillservice.cts.Helper.assertTextAndValue; 143 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_INPUT), "42"); 144 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_PASSWORD), "108");
|
SessionLifecycleTest.java | 22 import static android.autofillservice.cts.Helper.assertTextAndValue; 262 assertTextAndValue(username, "autofilled username"); 265 assertTextAndValue(password, "new password"); 498 assertTextAndValue(username, "dude");
|
LoginActivityTest.java | 31 import static android.autofillservice.cts.Helper.assertTextAndValue; 327 assertTextAndValue(username, "malkovich"); 329 assertTextAndValue(password, "malkovich"); 331 assertTextAndValue(childNode, "NOT MR.M"); [all...] |
VirtualContainerActivityTest.java | 23 import static android.autofillservice.cts.Helper.assertTextAndValue; 594 assertTextAndValue(username, "foo"); 595 assertTextAndValue(password, "bar"); 794 assertTextAndValue(node, expectedValue);
|
CheckoutActivityTest.java | 29 import static android.autofillservice.cts.Helper.assertTextAndValue; 243 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_CC_NUMBER), "4815162342");
|
AuthenticationTest.java | 24 import static android.autofillservice.cts.Helper.assertTextAndValue; [all...] |
Helper.java | 523 public static void assertTextAndValue(ViewNode node, String expectedValue) { 531 public static ViewNode assertTextAndValue(AssistStructure structure, String resourceId, 534 assertTextAndValue(node, expectedValue); [all...] |
/cts/tests/autofillservice/src/android/autofillservice/cts/augmented/ |
AugmentedLoginActivityTest.java | 23 import static android.autofillservice.cts.Helper.assertTextAndValue; 212 assertTextAndValue(usernameNode, "malkovich"); 214 assertTextAndValue(passwordNode, "malkovich"); 280 assertTextAndValue(usernameNode, "malkovich"); 282 assertTextAndValue(passwordNode, "malkovich"); [all...] |