Home
last modified time | relevance | path

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

/external/guice/core/test/com/google/inject/
DKeyTest.java128 Key<Integer> integerKey = Key.get(Integer.class); in testPrimitivesAndWrappersAreEqual() local
133 assertEquals(integerKey, Key.get(intClassLiteral)); in testPrimitivesAndWrappersAreEqual()
138 assertEquals(integerKey, Key.get(intType)); in testPrimitivesAndWrappersAreEqual()
143 assertEquals(integerKey, Key.get(intTypeLiteral)); in testPrimitivesAndWrappersAreEqual()
/external/dagger2/javatests/dagger/internal/codegen/
DKeyFactoryTest.java268 Key integerKey = keyFactory.forProvidesMethod(integerMethod, boxedPrimitiveHolder); in primitiveKeysMatchBoxedKeys() local
269 assertThat(intKey).isEqualTo(integerKey); in primitiveKeysMatchBoxedKeys()
271 assertThat(integerKey.toString()).isEqualTo("java.lang.Integer"); in primitiveKeysMatchBoxedKeys()