Searched refs:assertNotSerializable (Results 1 - 8 of 8) sorted by relevance

/external/guice/core/test/com/google/inject/
H A DTypeLiteralTest.java20 import static com.google.inject.Asserts.assertNotSerializable;
73 assertNotSerializable(a);
74 assertNotSerializable(b);
75 assertNotSerializable(c);
146 assertNotSerializable(new TypeLiteral<List<String>>() {});
H A DKeyTest.java21 import static com.google.inject.Asserts.assertNotSerializable;
136 assertNotSerializable(Key.get(B.class));
137 assertNotSerializable(Key.get(B.class, Names.named("bee")));
138 assertNotSerializable(Key.get(B.class, Named.class));
139 assertNotSerializable(Key.get(B[].class));
140 assertNotSerializable(Key.get(new TypeLiteral<Map<List<B>, B>>() {}));
141 assertNotSerializable(Key.get(new TypeLiteral<List<B[]>>() {}));
142 assertNotSerializable(Key.get(Types.listOf(Types.subtypeOf(CharSequence.class))));
H A DInjectorTest.java20 import static com.google.inject.Asserts.assertNotSerializable;
126 assertNotSerializable(injector);
127 assertNotSerializable(injector.getProvider(String.class));
128 assertNotSerializable(injector.getBinding(String.class));
130 assertNotSerializable(binding);
H A DBinderTest.java21 import static com.google.inject.Asserts.assertNotSerializable;
225 assertNotSerializable(binder());
226 assertNotSerializable(getProvider(Integer.class));
227 assertNotSerializable(getProvider(Key.get(new TypeLiteral<List<String>>() {})));
228 assertNotSerializable(bind(Integer.class));
229 assertNotSerializable(bind(Integer.class).annotatedWith(Names.named("a")));
230 assertNotSerializable(bindConstant());
231 assertNotSerializable(bindConstant().annotatedWith(Names.named("b")));
H A DAsserts.java159 public static void assertNotSerializable(Object object) throws IOException { method in class:Asserts
H A DTypeLiteralTypeResolutionTest.java20 import static com.google.inject.Asserts.assertNotSerializable;
328 assertNotSerializable(a1);
H A DScopesTest.java267 Asserts.assertNotSerializable(Scopes.SINGLETON);
271 Asserts.assertNotSerializable(Scopes.NO_SCOPE);
/external/guice/core/test/com/google/inject/spi/
H A DInjectionPointTest.java22 import static com.google.inject.Asserts.assertNotSerializable;
68 assertNotSerializable(injectionPoint);
77 assertNotSerializable(dependency);
91 assertNotSerializable(injectionPoint);
100 assertNotSerializable(dependency);
115 assertNotSerializable(injectionPoint);
124 assertNotSerializable(dependency);
137 assertNotSerializable(dependency);

Completed in 92 milliseconds