Home
last modified time | relevance | path

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

/external/guava/guava-testlib/test/com/google/common/testing/
DFreshValueGeneratorTest.java155 FreshValueGenerator generator = new FreshValueGenerator(); in testStringArray()
162 FreshValueGenerator generator = new FreshValueGenerator(); in testPrimitiveArray()
174 assertValueAndTypeEquals(ImmutableList.of(new FreshValueGenerator().generate(String.class)), in testImmutableList()
175 new FreshValueGenerator().generate(new TypeToken<ImmutableList<String>>() {})); in testImmutableList()
176 assertValueAndTypeEquals(ImmutableList.of(new FreshValueGenerator().generate(int.class)), in testImmutableList()
177 new FreshValueGenerator().generate(new TypeToken<ImmutableList<Integer>>() {})); in testImmutableList()
178 assertValueAndTypeEquals(ImmutableList.of(new FreshValueGenerator().generate(String.class)), in testImmutableList()
179 new FreshValueGenerator().generate(new TypeToken<ImmutableList<?>>() {})); in testImmutableList()
184 assertValueAndTypeEquals(ImmutableSet.of(new FreshValueGenerator().generate(String.class)), in testImmutableSet()
185 new FreshValueGenerator().generate(new TypeToken<ImmutableSet<String>>() {})); in testImmutableSet()
[all …]
/external/guava/guava-testlib/src/com/google/common/testing/
DForwardingWrapperTester.java150 FreshValueGenerator generator = new FreshValueGenerator(); in testEquals()
161 T proxy = new FreshValueGenerator().newProxy(interfaceType); in testToString()
167 FreshValueGenerator paramValues = new FreshValueGenerator(); in getParameterValues()
188 this.returnValue = new FreshValueGenerator().generate(method.getReturnType()); in InteractionTester()
DClassSanityTester.java576 List<FreshValueGenerator> argGenerators = Lists.newArrayListWithCapacity(params.size()); in testEqualsUsing()
579 FreshValueGenerator generator = newFreshValueGenerator(); in testEqualsUsing()
653 private FreshValueGenerator newFreshValueGenerator() { in newFreshValueGenerator()
654 FreshValueGenerator generator = new FreshValueGenerator() { in newFreshValueGenerator()
665 private static @Nullable Object generateDummyArg(Parameter param, FreshValueGenerator generator) in generateDummyArg()
DFreshValueGenerator.java130 class FreshValueGenerator { class
136 for (Method method : FreshValueGenerator.class.getDeclaredMethods()) {