Searched refs:listOf (Results 1 – 8 of 8) sorted by relevance
20 import static com.google.inject.util.Types.listOf;82 assertEquals(TypeLiteral.get(listOf(Integer.class)), b.listOfT); in testInjectTypeLiteralWithClassTypes()83 assertEquals(TypeLiteral.get(listOf(Types.subtypeOf(Integer.class))), b.listOfWildcardT); in testInjectTypeLiteralWithClassTypes()
22 import static com.google.inject.util.Types.listOf;99 assertEquals(listOf(String.class), in testDirectInheritance()132 assertEquals(listOf(Short.class), resolver.getFieldType(list).getType()); in testFields()188 assertEquals(listOf(String.class), in testCachingAndReindexing()190 assertEquals(listOf(Short.class), in testCachingAndReindexing()326 TypeLiteral<?> b = TypeLiteral.get(listOf(String.class)); in testEqualsAndHashCode()
40 Types.listOf(String.class)) {}; in testWithParameterizedType()66 TypeLiteral<?> b = TypeLiteral.get(Types.listOf(Types.subtypeOf(CharSequence.class))); in testWithWildcardType()189 assertEquals(ImmutableList.<Type>of(Types.listOf(typeVariables[0]), Runnable.class), in testTypeVariableWithMultipleBounds()
142 assertNotSerializable(Key.get(Types.listOf(Types.subtypeOf(CharSequence.class)))); in testSerialization()
99 public static ParameterizedType listOf(Type elementType) { in listOf() method in Types
76 assertEqualsBothWays(listString, Types.listOf(String.class)); in testListSetMap()
304 Key.get(Types.listOf(Types.supertypeOf(Integer.class)));
META-INF/ META-INF/MANIFEST.MF LICENSE NOTICE org/ org/testng/ ...