Home
last modified time | relevance | path

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

/external/guice/core/test/com/google/inject/
DImplicitBindingTest.java348 NonEmptyEnum cardSuit = Guice.createInjector().getInstance(NonEmptyEnum.class); in testProvidedByNonEmptyEnum()
350 assertEquals(NonEmptyEnum.HEARTS, cardSuit); in testProvidedByNonEmptyEnum()
359 enum NonEmptyEnum { HEARTS, DIAMONDS, CLUBS, SPADES } enum in ImplicitBindingTest
361 static final class NonEmptyEnumProvider implements Provider<NonEmptyEnum> {
363 public NonEmptyEnum get() { in get()
364 return NonEmptyEnum.HEARTS; in get()