Home
last modified time | relevance | path

Searched refs:checkThat (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/tests/utils/testutils/java/android/os/test/
DTestLooperTest.java89 collector.checkThat("1: messageA", messageA, equalTo(messageCaptor.getValue().what)); in testNoTimeMovement()
91 collector.checkThat("2: messageA", messageA, equalTo(messageCaptor.getValue().what)); in testNoTimeMovement()
93 collector.checkThat("3: messageB", messageB, equalTo(messageCaptor.getValue().what)); in testNoTimeMovement()
95 collector.checkThat("4: messageC", messageC, equalTo(messageCaptor.getValue().what)); in testNoTimeMovement()
147 collector.checkThat("1: messageA", messageA, equalTo(messageCaptor.getValue().what)); in testDelayedDispatchNoTimeMove()
149 collector.checkThat("2: messageB", messageB, equalTo(messageCaptor.getValue().what)); in testDelayedDispatchNoTimeMove()
176 collector.checkThat("1: messageA", messageA, equalTo(messageCaptor.getValue().what)); in testDelayedDispatchAdvanceTimeOnce()
178 collector.checkThat("2: messageB", messageB, equalTo(messageCaptor.getValue().what)); in testDelayedDispatchAdvanceTimeOnce()
180 collector.checkThat("3: messageC", messageC, equalTo(messageCaptor.getValue().what)); in testDelayedDispatchAdvanceTimeOnce()
210 collector.checkThat("1: messageA", messageA, equalTo(messageCaptor.getValue().what)); in testDelayedDispatchAdvanceTimeTwice()
[all …]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCameraErrorCollector.java91 public <T> void checkThat(final T value, final Matcher<T> matcher) { in checkThat() method in CameraErrorCollector
92 super.checkThat(mCameraMsg, value, matcher); in checkThat()
102 public <T> void checkThat(final String reason, final T value, final Matcher<T> matcher) { in checkThat() method in CameraErrorCollector
103 super.checkThat(mCameraMsg + reason, value, matcher); in checkThat()
598 checkThat(msg, obj, CoreMatchers.notNullValue()); in expectNotNull()
735 checkThat(reason, value, CoreMatchers.not(expected)); in expectKeyValueNotEquals()
757 checkThat(reason, value, CoreMatchers.not(expected)); in expectKeyValueNotEquals()
780 checkThat(reason, value, CoreMatchers.equalTo(expected)); in expectKeyValueEquals()
804 checkThat(reason, value, CoreMatchers.equalTo(expected)); in expectKeyValueEquals()
958 checkThat(reason, expected, InMatcher.in(values)); in expectContains()
[all …]
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayPolicyInsetsTests.java144 mErrorCollector.checkThat("stableInsets", getStableInsetsLw(di), equalTo(new Rect( in verifyStableInsets()
149 mErrorCollector.checkThat("nonDecorInsets", getNonDecorInsetsLw(di), equalTo(new Rect( in verifyNonDecorInsets()
162 mErrorCollector.checkThat(what + ":width", width, in verifyConsistency()
164 mErrorCollector.checkThat(what + ":height", height, in verifyConsistency()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/
DCoordinateTransformsTest.java201 mErrorCollector.checkThat("t(" + devicePoint + ")", in checkPoint()