- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 163 for getMethods (0.27 sec)
-
guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java
* * @author Justin T. Sampson */ public class GeneratedMonitorTest extends TestCase { public static TestSuite suite() { TestSuite suite = new TestSuite(); Method[] methods = Monitor.class.getMethods(); sortMethods(methods); for (Method method : methods) { if (isAnyEnter(method) || isWaitFor(method)) { validateMethod(method); addTests(suite, method); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:18:12 UTC 2024 - 27.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java
* * @author Justin T. Sampson */ public class GeneratedMonitorTest extends TestCase { public static TestSuite suite() { TestSuite suite = new TestSuite(); Method[] methods = Monitor.class.getMethods(); sortMethods(methods); for (Method method : methods) { if (isAnyEnter(method) || isWaitFor(method)) { validateMethod(method); addTests(suite, method); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:51:36 UTC 2024 - 27.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/MethodUtilTest.java
*/ @Test public void testIsEqualsMethod() throws Exception { final Method equalsMethod = ClassUtil.getMethod(getClass(), "equals", Object.class); assertThat(MethodUtil.isEqualsMethod(equalsMethod), is(true)); final Method hashCodeMethod = ClassUtil.getMethod(getClass(), "hashCode"); assertThat(MethodUtil.isEqualsMethod(hashCodeMethod), is(not(true))); } /** * */
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 5.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/GenericsUtilTest.java
method = Hoge.class.getMethod("list"); assertThat(GenericsUtil.getActualClass(method.getGenericReturnType(), map), is(sameClass(List.class))); method = Hoge.class.getMethod("set"); assertThat(GenericsUtil.getActualClass(method.getGenericReturnType(), map), is(sameClass(Set.class))); method = Hoge.class.getMethod("map");
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 11.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetIteratorTester.java
public static List<Method> getIteratorDuplicateInitializingMethods() { return asList( getMethod(MultisetIteratorTester.class, "testIteratorKnownOrder"), getMethod(MultisetIteratorTester.class, "testIteratorUnknownOrder"), getMethod(MultisetIteratorTester.class, "testRemovingIteratorKnownOrder"), getMethod(MultisetIteratorTester.class, "testRemovingIteratorUnknownOrder")); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 4.4K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/links/ClassLinkMetaDataTest.groovy
when: LinkMetaData linkMetaData = classLinkMetaData.getMethod("$METHOD_NAME()") then: linkMetaData != null linkMetaData.style == LinkMetaData.Style.Javadoc linkMetaData.displayName == "$SIMPLE_CLASSNAME.${METHOD_NAME}()" linkMetaData.urlFragment == "$METHOD_NAME--" when: linkMetaData = classLinkMetaData.getMethod("$METHOD_NAME(java.lang.Integer)") then:
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 2.7K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/FaultTolerantClientTest.java
assertNull(testListener.exceptionUrl); assertEquals(1, testClient.count); assertEquals(url, response.getUrl()); assertEquals(Constants.GET_METHOD, response.getMethod()); } public void test_doGet_with4Exception() { final FaultTolerantClient client = new FaultTolerantClient(); final TestClient testClient = new TestClient();
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 15.1K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPrompter.java
try { Class<?> clazz = container.getContainerRealm().loadClass(PROMPTER_CLASS); Object instance = container.lookup(clazz); Method method = clazz.getMethod("prompt", String.class, List.class, String.class); return (String) method.invoke(instance, message, possibleValues, defaultReply); } catch (Exception e) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/platform/Jdk8WithJettyBootPlatform.kt
val putMethod = alpnClass.getMethod("put", SSLSocket::class.java, providerClass) val getMethod = alpnClass.getMethod("get", SSLSocket::class.java) val removeMethod = alpnClass.getMethod("remove", SSLSocket::class.java) return Jdk8WithJettyBootPlatform( putMethod, getMethod, removeMethod, clientProviderClass,
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/BiMapInverseTester.java
public static List<Method> getInverseSameAfterSerializingMethods() { return Collections.singletonList(getMethod("testInverseSerialization")); } @J2ktIncompatible @GwtIncompatible // reflection private static Method getMethod(String methodName) { return Helpers.getMethod(BiMapInverseTester.class, methodName); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 3K bytes - Viewed (0)