OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:intentUrl
(Results
1 - 2
of
2
) sorted by null
/external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/
EmailAddressDetectionTest.java
18
private boolean isExpectedEmailIntent(String
intentUrl
, String expectedContent) {
19
if (
intentUrl
== null) return false;
21
return
intentUrl
.equals(expectedUrl);
31
String
intentUrl
= scrollAndTapExpectingIntent("valid_1");
32
assertTrue(isExpectedEmailIntent(
intentUrl
, "i.want.a.pony@chromium.org"));
35
intentUrl
= scrollAndTapExpectingIntent("valid_2");
36
assertTrue(isExpectedEmailIntent(
intentUrl
, "nyan_cat@chromium.org"));
39
intentUrl
= scrollAndTapExpectingIntent("valid_3");
40
assertTrue(isExpectedEmailIntent(
intentUrl
, "123@456.com"));
PhoneNumberDetectionTest.java
19
private boolean isExpectedTelephoneIntent(String
intentUrl
, String expectedContent) {
20
if (
intentUrl
== null) return false;
22
return
intentUrl
.equals(expectedUrl);
47
String
intentUrl
= scrollAndTapExpectingIntent("US");
48
assertTrue(isExpectedTelephoneIntent(
intentUrl
, "+16502530000"));
51
intentUrl
= scrollAndTapExpectingIntent("Australia");
52
assertTrue(isExpectedTelephoneIntent(
intentUrl
, "+61293744000"));
55
intentUrl
= scrollAndTapExpectingIntent("China");
56
assertTrue(isExpectedTelephoneIntent(
intentUrl
, "+861062503000"));
59
intentUrl
= scrollAndTapExpectingIntent("Hong Kong")
[
all
...]
Completed in 49 milliseconds