Searched refs:invokable (Results 1 – 8 of 8) sorted by relevance
/external/guava/guava-tests/test/com/google/common/reflect/ |
D | InvokableTest.java | 299 Invokable<String, String> invokable = Invokable.from(String.class.getConstructor()); in testGetOwnerType_constructor() local 300 assertEquals(TypeToken.of(String.class), invokable.getOwnerType()); in testGetOwnerType_constructor() 304 Invokable<?, ?> invokable = Invokable.from(String.class.getMethod("length")); in testGetOwnerType_method() local 305 assertEquals(TypeToken.of(String.class), invokable.getOwnerType()); in testGetOwnerType_method() 344 Invokable<?, ?> invokable = Invokable.from(constructor); in testInnerClassWithOneParameterConstructor() local 345 assertEquals(1, invokable.getParameters().size()); in testInnerClassWithOneParameterConstructor() 346 assertEquals(TypeToken.of(String.class), invokable.getParameters().get(0).getType()); in testInnerClassWithOneParameterConstructor() 357 Invokable<?, ?> invokable = Invokable.from(constructor); in testInnerClassWithAnnotatedConstructorParameter() local 358 assertEquals(1, invokable.getParameters().size()); in testInnerClassWithAnnotatedConstructorParameter() 359 assertEquals(TypeToken.of(String.class), invokable.getParameters().get(0).getType()); in testInnerClassWithAnnotatedConstructorParameter() [all …]
|
D | TypeTokenTest.java | 1243 Invokable<T, String> invokable = new TypeToken<T>(getClass()) {} in testMethod_returnType_resolvedAgainstTypeBound() local 1246 assertEquals(TypeToken.of(String.class), invokable.getReturnType()); in testMethod_returnType_resolvedAgainstTypeBound() 1252 Invokable<T, ?> invokable = new TypeToken<T>(getClass()) {}.method(setMethod); in testMethod_parameterTypes() local 1253 ImmutableList<Parameter> params = invokable.getParameters(); in testMethod_parameterTypes() 1279 Invokable<T, ?> invokable = new TypeToken<T>(getClass()) {}.method(failMethod); in testMethod_exceptionTypes() local 1280 assertThat(invokable.getExceptionTypes()).has().item(TypeToken.of(AssertionError.class)); in testMethod_exceptionTypes() 1330 Invokable<T, ?> invokable = new TypeToken<T>(getClass()) {}.constructor(constructor); in testConstructor_parameterTypes() local 1331 ImmutableList<Parameter> params = invokable.getParameters(); in testConstructor_parameterTypes() 1345 Invokable<T, ?> invokable = new TypeToken<T>(getClass()) {}.constructor(constructor); in testConstructor_exceptionTypes() local 1346 assertThat(invokable.getExceptionTypes()).has().item(TypeToken.of(AssertionError.class)); in testConstructor_exceptionTypes()
|
/external/guava/guava-testlib/src/com/google/common/testing/ |
D | ClassSanityTester.java | 394 Invokable<?, ?> invokable = Invokable.from(method); in forAllPublicStaticMethods() local 395 invokable.setAccessible(true); in forAllPublicStaticMethods() 396 if (invokable.isPublic() && invokable.isStatic() && !invokable.isSynthetic()) { in forAllPublicStaticMethods() 397 builder.add(invokable); in forAllPublicStaticMethods() 687 Invokable<?, ?> invokable = type.method(method); in getFactories() local 688 if (!invokable.isPrivate() in getFactories() 689 && !invokable.isSynthetic() in getFactories() 690 && invokable.isStatic() in getFactories() 691 && type.isAssignableFrom(invokable.getReturnType())) { in getFactories() 693 Invokable<?, ? extends T> factory = (Invokable<?, ? extends T>) invokable; in getFactories() [all …]
|
D | NullPointerTester.java | 210 testParameter(instance, invokable(instance, method), paramIndex, method.getDeclaringClass()); in testMethodParameter() 331 private void testParameter(Object instance, Invokable<?, ?> invokable, in testParameter() argument 333 if (isPrimitiveOrNullable(invokable.getParameters().get(paramIndex))) { in testParameter() 336 Object[] params = buildParamList(invokable, paramIndex); in testParameter() 339 Invokable<Object, ?> unsafe = (Invokable<Object, ?>) invokable; in testParameter() 342 + " from " + invokable + Arrays.toString(params) + " for " + testedClass); in testParameter() 349 "wrong exception thrown from " + invokable + ": " + cause); in testParameter() 357 private Object[] buildParamList(Invokable<?, ?> invokable, int indexOfParamToSetToNull) { in buildParamList() argument 358 ImmutableList<Parameter> params = invokable.getParameters(); in buildParamList() 448 private static Invokable<?, ?> invokable(@Nullable Object instance, Method method) {
|
D | DummyProxy.java | 72 Invokable<?, ?> invokable = interfaceType.method(method); in handleInvocation() local 73 ImmutableList<Parameter> params = invokable.getParameters(); in handleInvocation()
|
/external/ltp/doc/ |
D | ltp-howto.txt | 478 Test Program A single invokable program. A test program
|
D | ltp-howto.lyx | 960 Program A single invokable program.
|
/external/googletest/googlemock/docs/ |
D | CookBook.md | 3605 the action. It can be either `const` or not, but must be invokable
|