Home
last modified time | relevance | path

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

/external/guava/guava-testlib/test/com/google/common/testing/
DClassSanityTesterTest.java59 @SuppressWarnings("unused") OneConstantEnum oneConstantOnly, in good()
108 @Nullable OneConstantEnum oneConstantOnly) { in bad()
308 tester.testEquals(OneConstantEnum.class); in testEquals_enum()
406 tester.testEquals(OneConstantEnum.class); in testNoEqualsChecksOnEnum()
436 tester.testNulls(OneConstantEnum.class); in testNulls_enum()
513 assertEquals(OneConstantEnum.A, tester.instantiate(OneConstantEnum.class)); in testInstantiate_oneConstantEnum()
1246 private enum OneConstantEnum { enum
DFreshValueGeneratorTest.java625 assertEqualInstance(OneConstantEnum.class, OneConstantEnum.CONSTANT1); in testEnums()
627 assertFreshInstance(new TypeToken<Optional<OneConstantEnum>>() {}); in testEnums()
638 generator.generate(new TypeToken<Optional<OneConstantEnum>>() {})); in testOptional()
639 assertEquals(Optional.of(OneConstantEnum.CONSTANT1), in testOptional()
640 generator.generate(new TypeToken<Optional<OneConstantEnum>>() {})); in testOptional()
705 private enum OneConstantEnum { enum in FreshValueGeneratorTest