- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 532 for METHOD (0.41 sec)
-
android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java
* {@code cls}, no test is performed. * <li>Equality test is not performed on method return values unless the method is a non-private * static factory method whose return type is {@code cls} or {@code cls}'s subtype. * <li>Inequality check is not performed against state mutation methods such as {@link * List#add}, or functional update methods such as {@link
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 32.7K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/ExternalProcessFixture.groovy
} } @Override SnippetsFactory getKotlin() { return makeFactory(method) { fixture -> fixture.newKotlinExecJavaexecSnippets(method, kotlinSpecFactory.apply(fixture)) } } @Override SnippetsFactory getJava() { return makeFactory(method) { fixture ->
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 10.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java
* whether the author intended for the class to be a value type. * <li>If a constructor or factory method takes a parameter whose type is interface, a dynamic * proxy will be passed to the method. It's possible that the method body expects an * instance method of the passed-in proxy to be of a certain value yet the proxy isn't aware
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 17.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/TestThread.java
return getMethod(methodName, arguments).invoke(lockLikeObject, arguments); } private Method getMethod(String methodName, Object... arguments) throws Exception { METHODS: for (Method method : lockLikeObject.getClass().getMethods()) { Class<?>[] parameterTypes = method.getParameterTypes(); if (method.getName().equals(methodName) && (parameterTypes.length == arguments.length)) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 10.8K bytes - Viewed (0) -
platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/deprecation/LoggingDeprecatedFeatureHandlerTest.groovy
new StackTraceElement('java.lang.reflect.Method', 'invoke', 'Method.java', 498), new StackTraceElement('some.Class', 'withoutSource', null, -1), new StackTraceElement('some.Class', 'withNativeMethod', null, -2), new StackTraceElement('java.lang.reflect.Method', 'invoke', 'Method.java', 498), new StackTraceElement('java.lang.reflect.Method', 'invoke', 'Method.java', 498),
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 23 16:09:54 UTC 2024 - 22.2K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/ModelRuleExtractor.java
} } } private void validateNonRuleMethod(Method method, RuleSourceValidationProblemCollector problems) { if (!Modifier.isPrivate(method.getModifiers()) && !Modifier.isStatic(method.getModifiers()) && !method.isSynthetic() && !GroovyMethods.isObjectMethod(method)) { problems.add(method, "A method that is not annotated as a rule must be private"); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 13:45:02 UTC 2024 - 26K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java
try { new NullPointerTester().testMethod(bar, method); } catch (AssertionError expected) { return; // good...we wanted a failure } String errorMessage = rootLocaleFormat("Should have flagged method %s for %s", method.getName(), bar); fail(errorMessage); } public void testTwoArgNormalNormal() throws Exception {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 47.7K bytes - Viewed (0) -
testing/architecture-test/src/test/java/org/gradle/architecture/test/ArchUnitFixture.java
return new ArchCondition<JavaClass>(" override method " + getMethodDescription(name, parameterTypes)) { @Override public void check(JavaClass javaClass, ConditionEvents events) { Optional<JavaMethod> method = getMethodRecursively(javaClass); if (method.isPresent()) { JavaClass sourceClass = method.get().getSourceCodeLocation().getSourceClass();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:30 UTC 2024 - 21.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/ClassSanityTester.java
* {@code cls}, no test is performed. * <li>Equality test is not performed on method return values unless the method is a non-private * static factory method whose return type is {@code cls} or {@code cls}'s subtype. * <li>Inequality check is not performed against state mutation methods such as {@link * List#add}, or functional update methods such as {@link
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 32.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
class FreshValueGenerator { private static final ImmutableMap<Class<?>, Method> GENERATORS; static { ImmutableMap.Builder<Class<?>, Method> builder = ImmutableMap.builder(); for (Method method : FreshValueGenerator.class.getDeclaredMethods()) { if (method.isAnnotationPresent(Generates.class)) { builder.put(method.getReturnType(), method); } } GENERATORS = builder.buildOrThrow(); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Apr 17 16:33:44 UTC 2024 - 28.6K bytes - Viewed (0)