Home
last modified time | relevance | path

Searched refs:assertTextAndValue (Results 1 – 23 of 23) sorted by relevance

/cts/tests/autofillservice/src/android/autofillservice/cts/saveui/
DOptionalSaveActivityTest.java22 import static android.autofillservice.cts.testcore.Helper.assertTextAndValue;
90 assertTextAndValue(findNodeByResourceId(s, ID_ADDRESS1), "742 Evergreen Terrace");
91 assertTextAndValue(findNodeByResourceId(s, ID_ADDRESS2), "Simpsons House");
92 assertTextAndValue(findNodeByResourceId(s, ID_CITY), "Springfield");
93 assertTextAndValue(findNodeByResourceId(s, ID_FAVORITE_COLOR), "Yellow");
103 assertTextAndValue(findNodeByResourceId(s, ID_ADDRESS1), "742 Evergreen Terrace");
104 assertTextAndValue(findNodeByResourceId(s, ID_ADDRESS2), "");
105 assertTextAndValue(findNodeByResourceId(s, ID_CITY), "Springfield");
106 assertTextAndValue(findNodeByResourceId(s, ID_FAVORITE_COLOR), "");
216 assertTextAndValue(findNodeByResourceId(s, ID_ADDRESS1),
[all …]
DSimpleSaveActivityTest.java28 import static android.autofillservice.cts.testcore.Helper.assertTextAndValue;
161 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_INPUT), "ID"); in testAutoFillOneDatasetAndSave()
162 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_PASSWORD), "PASS"); in testAutoFillOneDatasetAndSave()
215 assertTextAndValue(inputOnSave, "ID"); in testAutoFillOneDatasetAndSave_largeAssistStructure()
216 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_PASSWORD), "PASS"); in testAutoFillOneDatasetAndSave_largeAssistStructure()
274 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_INPUT), "ID"); in testAutoFillOneDatasetAndSave_usingUiAutomatorOnly()
275 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_PASSWORD), "PASS"); in testAutoFillOneDatasetAndSave_usingUiAutomatorOnly()
336 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_INPUT), "108"); in saveTest()
392 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_INPUT), "108"); in testPartitionedSave()
393 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_PASSWORD), "42"); in testPartitionedSave()
[all …]
DPreSimpleSaveActivityTest.java23 import static android.autofillservice.cts.testcore.Helper.assertTextAndValue;
125 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_PRE_INPUT), "108"); in saveUiRestoredAfterTappingLinkTest()
180 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_PRE_INPUT), in tapLinkThenTapBackThenStartOverTest()
218 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_INPUT), "42"); in tapLinkThenTapBackThenStartOverTest()
344 assertTextAndValue(findNodeByResourceId(saveRequest1.structure, ID_INPUT), "42"); in tapLinkLaunchTrampolineActivityThenTapBackAndStartNewSessionTest()
DOnClickActionTest.java29 import static android.autofillservice.cts.testcore.Helper.assertTextAndValue;
149 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_INPUT), "42");
150 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_PASSWORD), "108");
/cts/tests/autofillservice/src/android/autofillservice/cts/dropdown/
DWebViewActivityTest.java224 Helper.assertTextAndValue(usernameNode, "u");
225 Helper.assertTextAndValue(passwordNode, "p");
227 Helper.assertTextAndValue(usernameNode, "DUDE");
228 Helper.assertTextAndValue(passwordNode, "SWEET");
298 Helper.assertTextAndValue(usernameNode2, "dudeu");
299 Helper.assertTextAndValue(passwordNode2, "sweetp");
301 Helper.assertTextAndValue(usernameNode2, "DUDE");
302 Helper.assertTextAndValue(passwordNode2, "SWEET");
421 Helper.assertTextAndValue(usernameSaveNode, "dudeu");
422 Helper.assertTextAndValue(passwordSaveNode, "sweetp");
[all …]
DPreFilledLoginActivityTest.java22 import static android.autofillservice.cts.testcore.Helper.assertTextAndValue;
87 assertTextAndValue(findNodeByResourceId(fillRequest.structure, ID_USERNAME),
89 assertTextAndValue(findNodeByResourceId(fillRequest.structure, ID_PASSWORD), "T0p S3cr3t");
104 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_USERNAME), "malkovich");
105 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_PASSWORD), "malkovich");
DInitializedCheckoutActivityTest.java25 import static android.autofillservice.cts.testcore.Helper.assertTextAndValue;
73 assertTextAndValue(findNodeByResourceId(fillRequest.structure, ID_CC_NUMBER), "4815162342");
DLoginWithStringsActivityTest.java26 import static android.autofillservice.cts.testcore.Helper.assertTextAndValue;
139 assertTextAndValue(username, "dude");
141 assertTextAndValue(password, "dude");
DVirtualContainerActivityCompatModeTest.java23 import static android.autofillservice.cts.testcore.Helper.assertTextAndValue;
227 assertTextAndValue(username, "foo"); in testUrlBarChangeIgnoredWhenServiceCanSave()
228 assertTextAndValue(password, "bar"); in testUrlBarChangeIgnoredWhenServiceCanSave()
230 assertTextAndValue(urlBar, INITIAL_URL_BAR_VALUE); in testUrlBarChangeIgnoredWhenServiceCanSave()
DLoginActivityTest.java35 import static android.autofillservice.cts.testcore.Helper.assertTextAndValue;
295 assertTextAndValue(username, "malkovich"); in testAutofillAutomaticallyAndSaveAfterServiceReturnedNoDatasets()
297 assertTextAndValue(password, "malkovich"); in testAutofillAutomaticallyAndSaveAfterServiceReturnedNoDatasets()
299 assertTextAndValue(childNode, "NOT MR.M"); in testAutofillAutomaticallyAndSaveAfterServiceReturnedNoDatasets()
995 assertTextAndValue(saveRequest.structure, ID_USERNAME, "dude"); in testAutoFillOneDatasetAndSave()
996 assertTextAndValue(saveRequest.structure, ID_PASSWORD, "dude"); in testAutoFillOneDatasetAndSave()
1098 assertTextAndValue(username, "dude"); in testAutoFillOneDatasetAndSaveHidingOverlays()
1100 assertTextAndValue(password, "dude"); in testAutoFillOneDatasetAndSaveHidingOverlays()
1462 assertTextAndValue(username, "malkovich"); in saveOnlyTest()
1464 assertTextAndValue(password, "malkovich"); in saveOnlyTest()
[all …]
DVirtualContainerActivityTest.java26 import static android.autofillservice.cts.testcore.Helper.assertTextAndValue;
612 assertTextAndValue(username, "foo"); in saveTest()
613 assertTextAndValue(password, "bar"); in saveTest()
814 assertTextAndValue(node, expectedValue); in assertLabel()
DAuthenticationTest.java25 import static android.autofillservice.cts.testcore.Helper.assertTextAndValue;
1037 assertTextAndValue(usernameNode, "malkovich"); in fillResponseAuthServiceHasNoDataTest()
1039 assertTextAndValue(passwordNode, "malkovich"); in fillResponseAuthServiceHasNoDataTest()
DCheckoutActivityTest.java31 import static android.autofillservice.cts.testcore.Helper.assertTextAndValue;
263 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_CC_NUMBER), "4815162342");
/cts/tests/autofillservice/src/android/autofillservice/cts/inline/
DInlineSimpleSaveActivityTest.java22 import static android.autofillservice.cts.testcore.Helper.assertTextAndValue;
110 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_INPUT), "ID");
161 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_INPUT), "ID");
162 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_PASSWORD), "pass");
DInlineWebViewActivityTest.java244 Helper.assertTextAndValue(usernameNode2, "dudeu");
245 Helper.assertTextAndValue(passwordNode2, "sweetp");
/cts/tests/autofillservice/src/android/autofillservice/cts/servicebehavior/
DMultiScreenDifferentActivitiesTest.java20 import static android.autofillservice.cts.testcore.Helper.assertTextAndValue;
84 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_INPUT), "ID"); in testActivityNotDelayedIsNotMerged()
135 assertTextAndValue(findNodeByResourceId(structure1, ID_PRE_INPUT), "PRE"); in testDelayedActivityIsMerged()
144 assertTextAndValue(findNodeByResourceId(structure2, ID_INPUT), "ID"); in testDelayedActivityIsMerged()
DMultiScreenLoginTest.java23 import static android.autofillservice.cts.testcore.Helper.assertTextAndValue;
110 assertTextAndValue(findNodeByResourceId(saveRequest1.structure, ID_USERNAME), "dude");
145 assertTextAndValue(findNodeByResourceId(saveRequest2.structure, ID_PASSWORD), "sweet");
222 assertTextAndValue(findNodeByResourceId(previousStructure, ID_USERNAME), "dude");
229 assertTextAndValue(findNodeByResourceId(currentStructure, ID_PASSWORD), "sweet");
314 assertTextAndValue(findNodeByResourceId(previousStructure, ID_USERNAME), "dude");
321 assertTextAndValue(findNodeByResourceId(currentStructure, ID_PASSWORD), "sweet");
DWebViewMultiScreenLoginActivityTest.java25 import static android.autofillservice.cts.testcore.Helper.assertTextAndValue;
147 assertTextAndValue(findNodeByHtmlName(saveRequest1.structure, HTML_NAME_USERNAME), "dude");
200 assertTextAndValue(findNodeByHtmlName(saveRequest2.structure, HTML_NAME_PASSWORD), "sweet");
314 assertTextAndValue(findNodeByHtmlName(previousStructure, HTML_NAME_USERNAME), "dude");
321 assertTextAndValue(findNodeByHtmlName(currentStructure, HTML_NAME_PASSWORD), "sweet");
/cts/tests/autofillservice/src/android/autofillservice/cts/commontests/
DTimePickerTestCase.java21 import static android.autofillservice.cts.testcore.Helper.assertTextAndValue;
91 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_OUTPUT), "10:40"); in testAutoFillAndSave()
DDatePickerTestCase.java22 import static android.autofillservice.cts.testcore.Helper.assertTextAndValue;
93 assertTextAndValue(findNodeByResourceId(saveRequest.structure, ID_OUTPUT), "2010/11/12"); in testAutoFillAndSave()
/cts/tests/autofillservice/src/android/autofillservice/cts/
DSessionLifecycleTest.java25 import static android.autofillservice.cts.testcore.Helper.assertTextAndValue;
273 assertTextAndValue(username, "autofilled username"); in testDatasetAuthResponseWhileAutofilledAppIsLifecycled()
276 assertTextAndValue(password, "new password"); in testDatasetAuthResponseWhileAutofilledAppIsLifecycled()
544 assertTextAndValue(username, "dude"); in testSaveRemainsWhenAutofilledAppIsKilled()
/cts/tests/autofillservice/src/android/autofillservice/cts/augmented/
DAugmentedLoginActivityTest.java28 import static android.autofillservice.cts.testcore.Helper.assertTextAndValue;
223 assertTextAndValue(usernameNode, "malkovich");
225 assertTextAndValue(passwordNode, "malkovich");
291 assertTextAndValue(usernameNode, "malkovich");
293 assertTextAndValue(passwordNode, "malkovich");
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/
DHelper.java556 public static void assertTextAndValue(ViewNode node, String expectedValue) { in assertTextAndValue() method in Helper
564 public static ViewNode assertTextAndValue(AssistStructure structure, String resourceId, in assertTextAndValue() method in Helper
567 assertTextAndValue(node, expectedValue); in assertTextAndValue()