- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 2,425 for Method (0.03 sec)
-
src/test/java/org/codelibs/fess/suggest/SuggesterRefactoringTest.java
final Suggester suggester = Suggester.builder().build(client, "test"); // Use reflection to access private method final Method method = Suggester.class.getDeclaredMethod("getIndicesForAlias", String.class); method.setAccessible(true); final List<String> indices = (List<String>) method.invoke(suggester, aliasName); assertNotNull("Indices list should not be null", indices);Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 13.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
Method[] methods = getMostConcreteMethods(interfaceType); AccessibleObject.setAccessible(methods, true); for (Method method : methods) { // Interfaces can have default methods that aren't abstract. // No need to verify them. // Can't check isDefault() for Android compatibility. if (!Modifier.isAbstract(method.getModifiers())) { continue; }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 9.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java
* <li>If the constructor or factory method used to construct instance takes a parameter that * {@link AbstractPackageSanityTests} doesn't know how to construct, the test will fail. * <li>If there is no visible constructor or visible static factory method declared by {@code * C}, instance methods are skipped for nulls test.
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 17.8K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/JSpecifyNullUnmarkedChangesTest.kt
} """ ) { assertHasErrors( "Method com.example.Source.foo(): From non-null returning to null-unmarked returning breaking change.", "Method com.example.Source.baz(): From non-null returning to null-unmarked returning breaking change.", ) assertHasNoWarning()Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Mon Oct 27 09:26:32 UTC 2025 - 5.1K 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: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 21:00:51 UTC 2025 - 11.4K bytes - Viewed (0) -
guava/src/com/google/common/eventbus/Subscriber.java
@VisibleForTesting final Object target; /** Subscriber method. */ private final Method method; /** Executor to use for dispatching events to this subscriber. */ private final Executor executor; private Subscriber(EventBus bus, Object target, Method method) { this.bus = bus; this.target = checkNotNull(target); this.method = method; method.setAccessible(true);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 4.7K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/HttpMethod.kt
( method == "POST" || method == "PUT" || method == "PATCH" || method == "PROPPATCH" || method == "QUERY" || // WebDAV method == "REPORT" ) @JvmStatic // Despite being 'internal', this method is called by popular 3rd party SDKs. fun permitsRequestBody(method: String): Boolean = !(method == "GET" || method == "HEAD")Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Oct 03 17:41:45 UTC 2025 - 1.7K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/links/ClassLinkMetaData.java
method = method.substring(0, method.length() - 4) + "[])"; } MethodLinkMetaData metaData = methods.get(method); if (metaData != null) { return metaData; } List<MethodLinkMetaData> candidates = new ArrayList<MethodLinkMetaData>(); for (MethodLinkMetaData methodLinkMetaData : methods.values()) { if (methodLinkMetaData.name.equals(method)) {
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Fri Apr 11 11:17:34 UTC 2025 - 7.4K bytes - Viewed (0) -
src/test/java/jcifs/NetbiosNameTest.java
} catch (NoSuchMethodException e) { fail("Method not found: " + e.getMessage()); } } @Test @DisplayName("Should handle getName() method") void testGetName() { // Given String testName = "TESTSERVER"; when(mockNetbiosName.getName()).thenReturn(testName); // When String name = mockNetbiosName.getName();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8K bytes - Viewed (0) -
okcurl/src/test/kotlin/okhttp3/curl/MainTest.kt
assertThat(request.method).isEqualTo("GET") assertThat(request.url.toString()).isEqualTo("http://example.com/") assertThat(request.body).isNull() } @Test @Throws(IOException::class) fun put() { val request = fromArgs("-X", "PUT", "-d", "foo", "http://example.com").createRequest() assertThat(request.method).isEqualTo("PUT")
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.3K bytes - Viewed (0)