Searched refs:equalTo (Results 1 – 19 of 19) sorted by relevance
106 assertThat(resources.getString(R.string.base_string), equalTo("Base String Default")); in shouldLoadDefault()128 assertThat(resources.getString(R.string.base_string), equalTo("Base String Polish")); in shouldLoadPolishLocale()149 assertThat(resources.getString(R.string.base_string), equalTo("Base String Default")); in shouldLoadFeatureADefault()153 assertThat(resources.getString(resourceId), equalTo("Feature A String Default")); in shouldLoadFeatureADefault()174 assertThat(resources.getString(R.string.base_string), equalTo("Base String Polish")); in shouldLoadFeatureAPolishLocale()178 assertThat(resources.getString(resourceId), equalTo("Feature A String Polish")); in shouldLoadFeatureAPolishLocale()195 assertThat(results.getString("base"), equalTo("Base String Default")); in shouldLoadFeatureAReceivers()196 assertThat(results.getString("feature_a"), equalTo("Feature A String Default")); in shouldLoadFeatureAReceivers()210 assertThat(resources.getString(R.string.base_string), equalTo("Base String Default")); in shouldLoadFeatureBDefault()214 assertThat(resources.getString(resourceId), equalTo("Feature A String Default")); in shouldLoadFeatureBDefault()[all …]
20 import static org.hamcrest.core.IsEqual.equalTo;86 Matchers.not(equalTo(0)), equalTo(0)); in checkGetIdentifier()94 equalTo(RES_IDENTIFIER), instanceOf(Resources.NotFoundException.class)); in checkGetResourceName()102 equalTo("true"), instanceOf(Resources.NotFoundException.class)); in checkGetString()110 equalTo(new String[]{"true"}), instanceOf(Resources.NotFoundException.class)); in checkGetStringArray()145 equalTo(new String[]{"true", "true", "1"}), in checkApplyStyle()146 equalTo(new String[]{null, null, null})); in checkApplyStyle()167 equalTo(new String[]{"true", "true", "1"}), in checkXmlAttributes()168 equalTo(new String[]{null, null, null})); in checkXmlAttributes()181 equalTo(true), instanceOf(FileNotFoundException.class)); in checkOpenMissingFile()[all …]
19 import static org.hamcrest.Matchers.equalTo;59 equalTo("testprefix1This is a test message" + sToken)); in onCreate()
22 import static org.hamcrest.CoreMatchers.equalTo;120 remoteConnectionService.outgoingConnections.size(), not(equalTo(0))); in verifyConnectionForOutgoingCallOnRemoteCS()143 remoteConnectionService.incomingConnections.size(), not(equalTo(0))); in verifyConnectionForIncomingCallOnRemoteCS()
23 import static org.hamcrest.CoreMatchers.equalTo;819 connectionService.outgoingConnections.size(), not(equalTo(0))); in verifyConnectionForOutgoingCall()830 connectionService.outgoingConnections.size(), not(equalTo(0))); in verifyConnectionForOutgoingCall()875 connectionService.incomingConnections.size(), not(equalTo(0))); in verifyConnectionForIncomingCall()
34 import static org.hamcrest.Matchers.equalTo;477 equalTo(initialInsets.getInsets(mType))); in setupAnimationListener()486 mActivity.mLastWindowInsets, not(equalTo(initialInsets))); in setupAnimationListener()501 insets.getInsets(mType), equalTo(mAnimator.getAnimatedValue())); in setupAnimationListener()503 fraction, equalTo(mAnimator.getAnimatedFraction())); in setupAnimationListener()510 equalTo(interpolator.getInterpolation( in setupAnimationListener()571 + " WindowInsetsAnimation.Callback was registered", mCallbacks, equalTo(List.of())); in setVisibilityAndWait()661 mErrorCollector.checkThat(types, not(equalTo(0))); in onReady()777 is(equalTo(mRunningAnimations))); in onProgress()799 mRunningAnimations, equalTo(Set.of())); in assertNoPendingAnimations()[all …]
36 import static org.hamcrest.Matchers.equalTo;212 equalTo(expected)); in testDisplayCutout_shortEdges()229 a.getDisplay().getCutout(), equalTo(displayCutout)); in testDisplayCutout_always()
20 import static org.hamcrest.core.IsEqual.equalTo;78 assertThat(mParentView.getAccessibilityDelegate(), is(equalTo(delegate))); in testAccessibilityDelegateGetAndSet()
22 import static org.hamcrest.CoreMatchers.equalTo;180 getDevice().executeShellCommand("am get-current-user").trim(), equalTo(systemUser)); in assumeSystemUser()
91 CoreMatchers.equalTo("")) in setup()223 assertThat(packageImportance, Matchers.equalTo(IMPORTANCE_GONE)) in killApp()
41 import static org.hamcrest.CoreMatchers.equalTo;
122 import static org.hamcrest.Matchers.equalTo;793 assertThat(response.getInt(EXTRA_FLAGS), equalTo(CALLBACK_EVENT_INVALID)); in launcherAppsCallback_added_notVisibleNotReceives()806 assertThat(response.getInt(EXTRA_FLAGS), equalTo(CALLBACK_EVENT_PACKAGE_ADDED)); in launcherAppsCallback_added_visibleReceives()820 assertThat(response.getInt(EXTRA_FLAGS), equalTo(CALLBACK_EVENT_INVALID)); in launcherAppsCallback_removed_notVisibleNotReceives()833 assertThat(response.getInt(EXTRA_FLAGS), equalTo(CALLBACK_EVENT_PACKAGE_REMOVED)); in launcherAppsCallback_removed_visibleReceives()846 assertThat(response.getInt(EXTRA_FLAGS), equalTo(CALLBACK_EVENT_INVALID)); in launcherAppsCallback_changed_notVisibleNotReceives()858 assertThat(response.getInt(EXTRA_FLAGS), equalTo(CALLBACK_EVENT_PACKAGE_CHANGED)); in launcherAppsCallback_changed_visibleReceives()873 assertThat(response.getInt(EXTRA_FLAGS), equalTo(CALLBACK_EVENT_INVALID)); in launcherAppsCallback_suspended_notVisibleNotReceives()891 assertThat(response.getInt(EXTRA_FLAGS), equalTo(CALLBACK_EVENT_PACKAGES_SUSPENDED)); in launcherAppsCallback_suspended_visibleReceives()908 assertThat(response.getInt(EXTRA_FLAGS), equalTo(CALLBACK_EVENT_INVALID)); in launcherAppsCallback_unsuspended_notVisibleNotReceives()[all …]
42 import static org.hamcrest.CoreMatchers.equalTo;
27 import static org.hamcrest.Matchers.equalTo;445 assertThat(bundle.getInt("rowNum"), equalTo(-1)); in testGetSmsMessagesForFinancialAppPermissionRequestedNotGranted()467 assertThat(bundle.getInt("rowNum"), equalTo(-1)); in testGetSmsMessagesForFinancialAppPermissionRequestedGranted()624 assertThat(bundle.getString("exceptionMessage"), anyOf(equalTo(null), emptyString())); in assertCanAccessSms()
33 import static org.hamcrest.core.IsEqual.equalTo;727 equalTo("android.accessibilityservice.cts:id/edittext")); in testTraversalBeforeReportedToAccessibility()749 equalTo("android.accessibilityservice.cts:id/buttonWithTooltip")); in testTraversalAfterReportedToAccessibility()779 assertThat(labelForNode.getLabeledBy(), equalTo(editNode)); in testLabelForReportedToAccessibility()
24 import static org.hamcrest.CoreMatchers.equalTo;178 getDevice().executeShellCommand("am get-current-user").trim(), equalTo(systemUser)); in assumeSystemUser()
766 checkThat(reason, value, CoreMatchers.equalTo(expected)); in expectKeyValueEquals()790 checkThat(reason, value, CoreMatchers.equalTo(expected)); in expectKeyValueEquals()
23 import static org.hamcrest.CoreMatchers.equalTo;1398 is(equalTo( in testGetSearchableInfo()1418 is(equalTo( in testGetSearchableInfo()
1365 public boolean equalTo(YUVValue other) { in equalTo() method in VideoEncoderDecoderTest.YUVValue