Home
last modified time | relevance | path

Searched refs:hasMessage (Results 1 – 25 of 45) sorted by relevance

12

/external/okio/samples/src/jvmTest/java/okio/samples/
DSourceMarkerTest.java47 assertThat(expected).hasMessage("cannot reset to 7: out of range"); in test()
53 assertThat(expected).hasMessage("cannot reset to 3: out of range"); in test()
94 assertThat(expected).hasMessage("cannot reset to 0: out of range"); in markAndLimitSmallerThanUserBuffer()
109 assertThat(expected).hasMessage("cannot reset to 2: out of range"); in resetTooLow()
123 assertThat(expected).hasMessage("cannot reset to 4: out of range"); in resetTooHigh()
135 assertThat(expected).hasMessage("cannot reset to 2: out of range"); in resetUnread()
165 assertThat(expected).hasMessage("readLimit < 0: -1"); in markNegative()
188 assertThat(expected).hasMessage("closed"); in closeThenMark()
202 assertThat(expected).hasMessage("closed"); in closeThenReset()
215 assertThat(expected).hasMessage("closed"); in closeThenRead()
/external/cronet/third_party/protobuf/js/experimental/runtime/kernel/
Dmessage_set_test.js50 expect(messageSet.hasMessage(12345)).toBe(false);
57 expect(messageSet.hasMessage(12345)).toBe(true);
65 expect(messageSet.hasMessage(12345)).toBe(false);
71 expect(messageSet.hasMessage(12345)).toBe(false);
194 expect(messageSet.hasMessage(0xFFFFFFFE >>> 0)).toBe(true);
/external/apache-velocity-engine/velocity-engine-core/src/main/java/org/apache/velocity/runtime/directive/
DStop.java46 private boolean hasMessage = false; field in Stop
83 hasMessage = (node.jjtGetNumChildren() == 1); in init()
89 if (!hasMessage) in render()
/external/guice/extensions/throwingproviders/test/com/google/inject/throwingproviders/
DCheckedProvidersTest.java91 assertThat(e).hasMessage(message); in testUnsupportedMethods_otherMethod_throwsIllegalArgumentException()
109 assertThat(e).hasMessage(message); in testCheckThrowable_unsupportedThrowableConstructor_throwsIllegalArgumentException()
129 assertThat(e).hasMessage(message); in testCheckThrowable_checkedExceptionNotDeclared_throwsIllegalArgumentException()
/external/testng/src/test/java/test/factory/
DFactoryIntegrationTest.java22 …assertThat(e).hasMessage("\nCan't invoke public java.lang.Object[] test.factory.GitHub876Sample.cr… in testExceptionWithNonStaticFactoryMethod()
44 …assertThat(e).hasMessage("\ntest.factory.BadFactoryMethodReturnTypeSample.createInstances MUST ret… in testExceptionWithBadFactoryMethodReturnType()
/external/grpc-grpc-java/services/src/generated/test/java/io/grpc/reflection/testing/
DDynamicReply.java89 public boolean hasMessage() { in hasMessage() method in DynamicReply
168 result = result && (hasMessage() == other.hasMessage()); in equals()
169 if (hasMessage()) { in equals()
184 if (hasMessage()) { in hashCode()
389 if (other.hasMessage()) { in mergeFrom()
426 public boolean hasMessage() { in hasMessage() method in DynamicReply.Builder
DReply.java89 public boolean hasMessage() { in hasMessage() method in Reply
168 result = result && (hasMessage() == other.hasMessage()); in equals()
169 if (hasMessage()) { in equals()
184 if (hasMessage()) { in hashCode()
389 if (other.hasMessage()) { in mergeFrom()
426 public boolean hasMessage() { in hasMessage() method in Reply.Builder
DDynamicRequest.java89 public boolean hasMessage() { in hasMessage() method in DynamicRequest
168 result = result && (hasMessage() == other.hasMessage()); in equals()
169 if (hasMessage()) { in equals()
184 if (hasMessage()) { in hashCode()
389 if (other.hasMessage()) { in mergeFrom()
426 public boolean hasMessage() { in hasMessage() method in DynamicRequest.Builder
DRequest.java89 public boolean hasMessage() { in hasMessage() method in Request
168 result = result && (hasMessage() == other.hasMessage()); in equals()
169 if (hasMessage()) { in equals()
184 if (hasMessage()) { in hashCode()
389 if (other.hasMessage()) { in mergeFrom()
426 public boolean hasMessage() { in hasMessage() method in Request.Builder
DTypeWithExtensions.java90 public boolean hasMessage() { in hasMessage() method in TypeWithExtensions
178 result = result && (hasMessage() == other.hasMessage()); in equals()
179 if (hasMessage()) { in equals()
196 if (hasMessage()) { in hashCode()
426 if (other.hasMessage()) { in mergeFrom()
467 public boolean hasMessage() { in hasMessage() method in TypeWithExtensions.Builder
DThirdLevelType.java90 public boolean hasMessage() { in hasMessage() method in ThirdLevelType
178 result = result && (hasMessage() == other.hasMessage()); in equals()
179 if (hasMessage()) { in equals()
196 if (hasMessage()) { in hashCode()
426 if (other.hasMessage()) { in mergeFrom()
467 public boolean hasMessage() { in hasMessage() method in ThirdLevelType.Builder
DReplyOrBuilder.java13 boolean hasMessage(); in hasMessage() method
DRequestOrBuilder.java13 boolean hasMessage(); in hasMessage() method
DDynamicReplyOrBuilder.java13 boolean hasMessage(); in hasMessage() method
DDynamicRequestOrBuilder.java13 boolean hasMessage(); in hasMessage() method
DThirdLevelTypeOrBuilder.java14 boolean hasMessage(); in hasMessage() method
DTypeWithExtensionsOrBuilder.java14 boolean hasMessage(); in hasMessage() method
/external/junit/src/main/java/org/junit/rules/
DExpectedException.java9 import static org.junit.internal.matchers.ThrowableMessageMatcher.hasMessage;
223 expect(hasMessage(matcher)); in expectMessage()
/external/protobuf/conformance/
DConformanceJavaLite.java160 boolean hasMessage = false; in parseBinary()
165 hasMessage = true; in parseBinary()
172 if (hasMessage && hasException) { in parseBinary()
DConformanceJava.java161 boolean hasMessage = false; in parseBinary()
167 hasMessage = true; in parseBinary()
174 if (hasMessage && hasException) { in parseBinary()
/external/cronet/third_party/protobuf/conformance/
DConformanceJavaLite.java160 boolean hasMessage = false; in parseBinary()
165 hasMessage = true; in parseBinary()
172 if (hasMessage && hasException) { in parseBinary()
DConformanceJava.java161 boolean hasMessage = false; in parseBinary()
167 hasMessage = true; in parseBinary()
174 if (hasMessage && hasException) { in parseBinary()
/external/mockito/src/test/java/org/mockitousage/constructor/
DCreatingMocksWithConstructorTest.java134 assertThat(e).hasMessage("Unable to create mock instance of type 'HasConstructor'"); in exception_message_when_constructor_not_found()
223 assertThat(e).hasMessage("Unable to create mock instance of type 'UsesTwoBases'"); in fail_when_multiple_matching_constructors_with_inheritence()
242 assertThat(e).hasMessage("Unable to create mock instance of type 'InnerClass'"); in mocking_inner_classes_with_wrong_outer_instance()
/external/catch2/include/internal/
Dcatch_assertionresult.h43 bool hasMessage() const;
/external/junit/src/main/java/org/junit/internal/matchers/
DThrowableMessageMatcher.java34 public static <T extends Throwable> Matcher<T> hasMessage(final Matcher<String> matcher) { in hasMessage() method in ThrowableMessageMatcher

12