Home
last modified time | relevance | path

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

12

/external/dagger2/compiler/src/it/functional-tests/src/test/java/test/nullables/
DNullabilityTest.java36 assertThat(npe).hasMessage("Cannot return null from a non-@Nullable @Provides method"); in testNullability_provides()
91 assertThat(npe).hasMessage("Cannot return null from a non-@Nullable component method"); in testNullability_components()
105 assertThat(npe).hasMessage("Cannot return null from a non-@Nullable " in validate()
/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/
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
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
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
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
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
DReplyOrBuilder.java13 boolean hasMessage(); in hasMessage() method
DDynamicReplyOrBuilder.java13 boolean hasMessage(); in hasMessage() method
DDynamicRequestOrBuilder.java13 boolean hasMessage(); in hasMessage() method
DRequestOrBuilder.java13 boolean hasMessage(); in hasMessage() method
DTypeWithExtensionsOrBuilder.java14 boolean hasMessage(); in hasMessage() method
DThirdLevelTypeOrBuilder.java14 boolean hasMessage(); in hasMessage() method
/external/turbine/javatests/com/google/turbine/parse/
DUnicodeEscapePreprocessorTest.java61 assertThat(e).hasMessage("unexpected end of input"); in abruptEnd()
68 assertThat(e).hasMessage("unexpected end of input"); in abruptEnd()
/external/dagger2/compiler/src/it/functional-tests/src/test/java/test/subcomponent/repeat/
DRepeatedModuleTest.java60 .hasMessage( in repeatedModuleBuilderThrowsInSubcomponent()
77 .hasMessage( in repeatedModuleBuilderThrowsInGrandchildSubcomponent()
/external/junit/src/main/java/org/junit/rules/
DExpectedException.java9 import static org.junit.internal.matchers.ThrowableMessageMatcher.hasMessage;
212 expect(hasMessage(matcher)); in expectMessage()
/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/dagger2/producers/src/test/java/dagger/producers/internal/
DProducersTest.java50 assertThat(getProducedException(producedFuture.get()).getCause()).hasMessage("monkey"); in createFutureProduced_failure()
95 assertThat(e.getCause()).hasMessage("monkey"); in createFutureSingletonSet_failure()
/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
/external/junit-params/src/test/java/junitparams/
DRulesTest.java47 .hasMessage("The @Rule 'testRule' must be public."); in shouldProvideHelpfulExceptionMessageWhenRuleIsUsedImproperly()
/external/grpc-grpc-java/services/src/generated/main/java/io/grpc/binarylog/v1alpha/
DGrpcLogEntryOrBuilder.java110 boolean hasMessage(); in hasMessage() method
/external/mockito/src/test/java/org/mockitoutil/
DSafeJUnitRule.java57 assertThrowable(t, expected).hasMessage(expectedMessage);

12