@Test public void deepLinkWildcardMatch() { String deepLinkWildcard = DEEP_LINK_EXACT_HTTPS + "/posts/.*/new"; NavDeepLink deepLink = new NavDeepLink(deepLinkWildcard); assertThat(deepLink.matches( Uri.parse(deepLinkWildcard.replace(".*", "test"))), is(true)); }
boolean matches(@NonNull Uri deepLink) { return mPattern.matcher(deepLink.toString()).matches(); }
NavDeepLink { boolean matches(@NonNull Uri deepLink) { return mPattern.matcher(deepLink.toString()).matches(); } }
NavDeepLink { boolean matches(@NonNull Uri deepLink) { return mPattern.matcher(deepLink.toString()).matches(); } NavDeepLink(@NonNull String uri); }
NavDeepLink { boolean matches(@NonNull Uri deepLink) { return mPattern.matcher(deepLink.toString()).matches(); } NavDeepLink(@NonNull String uri);  }
NavDeepLink { boolean matches(@NonNull Uri deepLink) { return mPattern.matcher(deepLink.toString()).matches(); } NavDeepLink(@NonNull String uri);   }