/external/angle/src/tests/test_expectations/ |
D | GPUTestExpectationsParser_unittest.cpp | 73 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 …]
|
D | GPUTestExpectationsParser.h | 46 const std::vector<std::string> &getErrorMessages() const;
|
/external/guice/core/test/com/google/inject/ |
D | ProvisionExceptionsTest.java | 53 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()
|
D | JitBindingsTest.java | 184 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 …]
|
D | RequireAtInjectOnConstructorsTest.java | 40 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()
|
D | ProvisionListenerTest.java | 63 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 …]
|
D | ProvisionExceptionTest.java | 349 assertEquals(2, ce.getErrorMessages().size()); in testDuplicateCausesCollapsed() 350 for (Message message : ce.getErrorMessages()) { in testDuplicateCausesCollapsed() 373 assertEquals(4, ce.getErrorMessages().size()); in testMultipleDuplicates()
|
D | ImplicitBindingTest.java | 178 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()
|
D | PrivateModuleTest.java | 596 assertEquals(1, expected.getErrorMessages().size()); in testParentBindsSomethingInPrivate() 617 assertEquals(1, expected.getErrorMessages().size()); in testParentBindingToPrivateLinkedJitBinding() 637 assertEquals(1, expected.getErrorMessages().size()); in testParentBindingToPrivateJitBinding()
|
D | BinderTest.java | 127 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/ |
D | ThrowingProviderTest.java | 343 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 …]
|
D | CheckedProviderTest.java | 452 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/ |
D | ProvidesIntoTest.java | 273 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/ |
D | FactoryModuleBuilderTest.java | 77 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/ |
D | InjectionRequestProcessor.java | 58 errors.merge(e.getErrorMessages()); in visit() 103 errorsForMember.merge(e.getErrorMessages()); in validate()
|
D | Errors.java | 502 return ((ProvisionException) throwable).getErrorMessages(); in getMessagesFromThrowable() 504 return ((ConfigurationException) throwable).getErrorMessages(); in getMessagesFromThrowable() 506 return ((CreationException) throwable).getErrorMessages(); in getMessagesFromThrowable()
|
D | MembersInjectorStore.java | 90 errors.merge(e.getErrorMessages()); in createWithListeners()
|
D | BindingBuilder.java | 200 for (Message message : e.getErrorMessages()) { in copyErrorsToBinder()
|
/external/guice/core/src/com/google/inject/ |
D | CreationException.java | 44 public Collection<Message> getErrorMessages() { in getErrorMessages() method in CreationException
|
D | ProvisionException.java | 55 public Collection<Message> getErrorMessages() { in getErrorMessages() method in ProvisionException
|
D | ConfigurationException.java | 53 public Collection<Message> getErrorMessages() { in getErrorMessages() method in ConfigurationException
|
/external/guice/extensions/servlet/test/com/google/inject/servlet/ |
D | ServletModuleTest.java | 82 assertEquals(4, e.getErrorMessages().size()); in testServletModule_badPattern()
|
/external/guice/core/test/com/google/inject/spi/ |
D | ModuleAnnotatedMethodScannerTest.java | 138 assertEquals(1, expected.getErrorMessages().size()); in testMoreThanOneClaimedAnnotationFails() 206 Message m = Iterables.getOnlyElement(expected.getErrorMessages());
|
/external/guice/extensions/assistedinject/src/com/google/inject/assistedinject/ |
D | FactoryProvider2.java | 485 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/ |
D | InjectionPoint.java | 97 errors.merge(e.getErrorMessages()); in InjectionPoint() 122 errors.merge(e.getErrorMessages()); in forMember() 752 errors.merge(ignorable.getErrorMessages()); in getInjectionPoints()
|