Home
last modified time | relevance | path

Searched refs:getErrorMessages (Results 1 – 25 of 40) sorted by relevance

12

/external/angle/src/tests/test_expectations/
DGPUTestExpectationsParser_unittest.cpp73 EXPECT_TRUE(parser.getErrorMessages().empty()); in TEST_P()
85 EXPECT_TRUE(parser.getErrorMessages().empty()); in TEST_P()
97 EXPECT_TRUE(parser.getErrorMessages().empty()); in TEST_P()
109 EXPECT_TRUE(parser.getErrorMessages().empty()); in TEST_P()
121 EXPECT_TRUE(parser.getErrorMessages().empty()); in TEST_P()
134 EXPECT_TRUE(parser.getErrorMessages().empty()); in TEST_P()
147 EXPECT_TRUE(parser.getErrorMessages().empty()); in TEST_P()
160 EXPECT_TRUE(parser.getErrorMessages().empty()); in TEST_P()
172 EXPECT_TRUE(parser.getErrorMessages().empty()); in TEST_P()
184 EXPECT_TRUE(parser.getErrorMessages().empty()); in TEST_P()
[all …]
DGPUTestExpectationsParser.h46 const std::vector<std::string> &getErrorMessages() const;
/external/guice/core/test/com/google/inject/
DProvisionExceptionsTest.java53 assertEquals(1, pe.getErrorMessages().size()); in testConstructorRuntimeException()
56 IllegalStateException.class, Messages.getOnlyCause(pe.getErrorMessages()).getClass()); in testConstructorRuntimeException()
78 assertEquals(1, pe.getErrorMessages().size()); in testConstructorCheckedException()
80 assertEquals(IOException.class, Messages.getOnlyCause(pe.getErrorMessages()).getClass()); in testConstructorCheckedException()
108 assertEquals(1, pe.getErrorMessages().size()); in testCustomProvidersRuntimeException()
111 IllegalStateException.class, Messages.getOnlyCause(pe.getErrorMessages()).getClass()); in testCustomProvidersRuntimeException()
136 assertEquals(1, pe.getErrorMessages().size()); in testProviderMethodRuntimeException()
139 IllegalStateException.class, Messages.getOnlyCause(pe.getErrorMessages()).getClass()); in testProviderMethodRuntimeException()
165 assertEquals(1, pe.getErrorMessages().size()); in testProviderMethodCheckedException()
167 assertEquals(IOException.class, Messages.getOnlyCause(pe.getErrorMessages()).getClass()); in testProviderMethodCheckedException()
DJitBindingsTest.java184 assertEquals(1, expected.getErrorMessages().size()); in testFailsIfInjectingScopedDirectlyWhenItIsntBound()
218 assertEquals(1, expected.getErrorMessages().size()); in testJitGetFails()
236 assertEquals(1, expected.getErrorMessages().size()); in testJitInjectionFails()
253 assertEquals(1, expected.getErrorMessages().size()); in testJitProviderGetFails()
271 assertEquals(1, expected.getErrorMessages().size()); in testJitProviderInjectionFails()
359 assertEquals(1, expected.getErrorMessages().size()); in testChildInjectorInheritsOption()
416 assertEquals(1, expected.getErrorMessages().size()); in testChildInjectorAddsOption()
472 assertEquals(1, expected.getErrorMessages().size()); in testPrivateModulesInheritOptions()
519 assertEquals(1, expected.getErrorMessages().size()); in testPrivateModuleAddsOption()
610 assertEquals(1, expected.getErrorMessages().size()); in testJitLinkedBindingInParentFails()
[all …]
DRequireAtInjectOnConstructorsTest.java40 assertEquals(1, ce.getErrorMessages().size()); in testNoCxtors_explicitBinding()
85 assertEquals(1, ce.getErrorMessages().size()); in testNoCxtors_implicitBinding()
114 assertEquals(1, ce.getErrorMessages().size()); in testNoCxtors_inheritedByPrivateModules()
138 assertEquals(2, ce.getErrorMessages().size()); in testNoCxtors_accumulatesAllErrors()
175 assertEquals(1, ce.getErrorMessages().size()); in testNoCxtors_separateOptionsForPrivateModules()
198 assertEquals(1, ce.getErrorMessages().size()); in testManyConstructorsButNoneWithAtInject()
DProvisionListenerTest.java63 assertEquals(1, pe.getErrorMessages().size()); in testExceptionInListenerBeforeProvisioning()
89 assertEquals(1, pe.getErrorMessages().size()); in testExceptionInListenerAfterProvisioning()
115 assertEquals(1, pe.getErrorMessages().size()); in testExceptionInProvisionExplicitlyCalled()
138 assertEquals(1, pe.getErrorMessages().size()); in testExceptionInProvisionAutomaticallyCalled()
171 assertEquals(1, expected.getErrorMessages().size()); in testExceptionInFieldProvision()
172 expectedMsg = Iterables.getOnlyElement(expected.getErrorMessages()).getMessage(); in testExceptionInFieldProvision()
192 Iterables.getOnlyElement(((ProvisionException) listener.capture.get()).getErrorMessages()) in testExceptionInFieldProvision()
220 assertEquals(1, expected.getErrorMessages().size()); in testExceptionInCxtorProvision()
221 expectedMsg = Iterables.getOnlyElement(expected.getErrorMessages()).getMessage(); in testExceptionInCxtorProvision()
241 Iterables.getOnlyElement(((ProvisionException) listener.capture.get()).getErrorMessages()) in testExceptionInCxtorProvision()
[all …]
DProvisionExceptionTest.java349 assertEquals(2, ce.getErrorMessages().size()); in testDuplicateCausesCollapsed()
350 for (Message message : ce.getErrorMessages()) { in testDuplicateCausesCollapsed()
373 assertEquals(4, ce.getErrorMessages().size()); in testMultipleDuplicates()
DImplicitBindingTest.java178 Message msg = Iterables.getOnlyElement(expected.getErrorMessages()); in assertFailure()
351 Message msg = Iterables.getOnlyElement(expected.getErrorMessages()); in testRecursiveJitBindingsCleanupCorrectly()
431 Message msg = Iterables.getOnlyElement(expected.getErrorMessages()); in testImplementedByEnum()
DPrivateModuleTest.java596 assertEquals(1, expected.getErrorMessages().size()); in testParentBindsSomethingInPrivate()
617 assertEquals(1, expected.getErrorMessages().size()); in testParentBindingToPrivateLinkedJitBinding()
637 assertEquals(1, expected.getErrorMessages().size()); in testParentBindingToPrivateJitBinding()
DBinderTest.java127 assertEquals(4, e.getErrorMessages().size()); in testMissingBindings()
168 assertEquals(1, e.getErrorMessages().size()); in testMissingDependency()
514 assertSame(message, Iterables.getOnlyElement(expected.getErrorMessages())); in testUserReportedError()
/external/guice/extensions/throwingproviders/test/com/google/inject/throwingproviders/
DThrowingProviderTest.java343 Iterables.getOnlyElement(expected.getErrorMessages()).getMessage()); in testBindingToNonInterfaceType_Bind()
366 Iterables.getOnlyElement(expected.getErrorMessages()).getMessage()); in testBindingToNonInterfaceType_Provides()
386 Iterables.getOnlyElement(expected.getErrorMessages()).getMessage()); in testBindingToSubSubInterface_Bind()
410 Iterables.getOnlyElement(expected.getErrorMessages()).getMessage()); in testBindingToSubSubInterface_Provides()
433 Iterables.getOnlyElement(expected.getErrorMessages()).getMessage()); in testBindingToInterfaceWithExtraMethod_Bind()
458 Iterables.getOnlyElement(expected.getErrorMessages()).getMessage()); in testBindingToInterfaceWithExtraMethod_Provides()
721 Iterables.getOnlyElement(ce.getErrorMessages()).getMessage()); in testProviderMethodWithWrongException()
777 Iterables.getOnlyElement(ce.getErrorMessages()).getMessage()); in testProviderMethodWithSuperclassFails()
828 List<Message> errors = ImmutableList.copyOf(ce.getErrorMessages()); in testProviderMethodWithManyExceptions()
869 Iterables.getOnlyElement(ce.getErrorMessages()).getMessage()); in testMoreTypeParameters()
[all …]
DCheckedProviderTest.java452 Iterables.getOnlyElement(expected.getErrorMessages()).getMessage()); in testBindingToNonInterfaceType_Bind()
475 Iterables.getOnlyElement(expected.getErrorMessages()).getMessage()); in testBindingToNonInterfaceType_Provides()
494 Iterables.getOnlyElement(expected.getErrorMessages()).getMessage()); in testBindingToSubSubInterface_Bind()
518 Iterables.getOnlyElement(expected.getErrorMessages()).getMessage()); in testBindingToSubSubInterface_Provides()
541 Iterables.getOnlyElement(expected.getErrorMessages()).getMessage()); in testBindingToInterfaceWithExtraMethod_Bind()
566 Iterables.getOnlyElement(expected.getErrorMessages()).getMessage()); in testBindingToInterfaceWithExtraMethod_Provides()
1012 Iterables.getOnlyElement(ce.getErrorMessages()).getMessage()); in testProviderMethodWithWrongException()
1038 Iterables.getOnlyElement(ce.getErrorMessages()).getMessage()); in testCxtorWithWrongException()
1141 Iterables.getOnlyElement(ce.getErrorMessages()).getMessage()); in testProviderMethodWithSuperclassExceptionFails()
1167 Iterables.getOnlyElement(ce.getErrorMessages()).getMessage()); in testCxtorWithSuperclassExceptionFails()
[all …]
/external/guice/core/test/com/google/inject/multibindings/
DProvidesIntoTest.java273 assertEquals(1, ce.getErrorMessages().size()); in testArrayKeys_unwrapValuesTrue()
351 assertEquals(1, ce.getErrorMessages().size()); in testProvidesIntoSetWithMapKey()
374 assertEquals(1, ce.getErrorMessages().size()); in testProvidesIntoOptionalWithMapKey()
396 assertEquals(1, ce.getErrorMessages().size()); in testProvidesIntoMapWithoutMapKey()
424 assertEquals(1, ce.getErrorMessages().size()); in testMoreThanOneMapKeyAnnotation()
449 assertEquals(1, ce.getErrorMessages().size()); in testMapKeyMissingValueMethod()
/external/guice/extensions/assistedinject/test/com/google/inject/assistedinject/
DFactoryModuleBuilderTest.java77 assertEquals(1, ce.getErrorMessages().size()); in testImplicitForwardingAssistedBindingFailsWithInterface()
99 assertEquals(1, ce.getErrorMessages().size()); in testImplicitForwardingAssistedBindingFailsWithAbstractClass()
148 assertEquals(1, ce.getErrorMessages().size()); in testExplicitForwardingAssistedBindingFailsWithInterface()
174 assertEquals(1, ce.getErrorMessages().size()); in testExplicitForwardingAssistedBindingFailsWithAbstractClass()
347 assertEquals(1, ce.getErrorMessages().size()); in testSimilarBindingsWithConflictingImplementations()
400 Collection<Message> messages = ce.getErrorMessages(); in testGenericErrorMessageMakesSense()
597 Iterables.getOnlyElement(ce.getErrorMessages()).getMessage()); in testFactoryPublicAndReturnTypeNotPublic()
620 assertEquals(1, ce.getErrorMessages().size()); in testSingletonScopeOnAssistedClassIsIgnored()
632 Iterables.getOnlyElement(ce.getErrorMessages()).getMessage()); in testSingletonScopeOnAssistedClassIsIgnored()
/external/guice/core/src/com/google/inject/internal/
DInjectionRequestProcessor.java58 errors.merge(e.getErrorMessages()); in visit()
103 errorsForMember.merge(e.getErrorMessages()); in validate()
DErrors.java502 return ((ProvisionException) throwable).getErrorMessages(); in getMessagesFromThrowable()
504 return ((ConfigurationException) throwable).getErrorMessages(); in getMessagesFromThrowable()
506 return ((CreationException) throwable).getErrorMessages(); in getMessagesFromThrowable()
DMembersInjectorStore.java90 errors.merge(e.getErrorMessages()); in createWithListeners()
DBindingBuilder.java200 for (Message message : e.getErrorMessages()) { in copyErrorsToBinder()
/external/guice/core/src/com/google/inject/
DCreationException.java44 public Collection<Message> getErrorMessages() { in getErrorMessages() method in CreationException
DProvisionException.java55 public Collection<Message> getErrorMessages() { in getErrorMessages() method in ProvisionException
DConfigurationException.java53 public Collection<Message> getErrorMessages() { in getErrorMessages() method in ConfigurationException
/external/guice/extensions/servlet/test/com/google/inject/servlet/
DServletModuleTest.java82 assertEquals(4, e.getErrorMessages().size()); in testServletModule_badPattern()
/external/guice/core/test/com/google/inject/spi/
DModuleAnnotatedMethodScannerTest.java138 assertEquals(1, expected.getErrorMessages().size()); in testMoreThanOneClaimedAnnotationFails()
206 Message m = Iterables.getOnlyElement(expected.getErrorMessages());
/external/guice/extensions/assistedinject/src/com/google/inject/assistedinject/
DFactoryProvider2.java485 Collection<Message> messages = ce.getErrorMessages(); in isTypeNotSpecified()
554 errors.merge(e.getErrorMessages()); in findMatchingConstructorInjectionPoint()
839 if (e.getErrorMessages().size() == 1) { in invoke()
840 Message onlyError = getOnlyElement(e.getErrorMessages()); in invoke()
/external/guice/core/src/com/google/inject/spi/
DInjectionPoint.java97 errors.merge(e.getErrorMessages()); in InjectionPoint()
122 errors.merge(e.getErrorMessages()); in forMember()
752 errors.merge(ignorable.getErrorMessages()); in getInjectionPoints()

12