- Sort Score
- Result 10 results
- Languages All
Results 1181 - 1190 of 2,321 for methods (0.04 sec)
-
src/test/java/jcifs/smb1/smb1/NtlmPasswordAuthenticationTest.java
assertArrayEquals(unicodeHash, auth.getUnicodeHash(challenge)); } // Test getName method @Test void testGetName() { NtlmPasswordAuthentication auth = new NtlmPasswordAuthentication("DOMAIN", "user", "password"); assertEquals("DOMAIN\\user", auth.getName()); } // Test getName method with default domain @Test void testGetNameWithDefaultDomain() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.7K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/InsecureAndroidTrustManager.kt
) : X509TrustManager { private val checkServerTrustedMethod: Method? = try { delegate::class.java.getMethod( "checkServerTrusted", Array<X509Certificate>::class.java, String::class.java, String::class.java, ) } catch (_: NoSuchMethodException) { null } /** Android method to clean and sort certificates, called via reflection. */
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
* not in {@link #nextElements}, this method throws an {@link UnknownElementException}. * * <p>This method is used when testing iterators without a known ordering. We poll the target * iterator's next element and pass it to the reference iterator through this method so it can * return the same element. This enables the assertion to pass and the reference iterator to
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 21.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java
@Test @DisplayName("Test createResponse method") void testCreateResponse() { request = new Smb2SetInfoRequest(mockConfig); Smb2SetInfoResponse response = request.createResponse(mockContext, request); assertNotNull(response); verify(mockContext, times(1)).getConfig(); } @Test @DisplayName("Test size method") void testSize() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java
size, getMultiset().size()); } /** Call the {@code setCount()} method under test, and check its return value. */ abstract void setCountCheckReturnValue(E element, int count); /** * Call the {@code setCount()} method under test, but do not check its return value. Callers * should use this method over {@link #setCountCheckReturnValue(Object, int)} when they expect
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 13K bytes - Viewed (0) -
src/test/java/jcifs/SmbTransportTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0) -
.junit.run/Not Slow.run.xml
<option name="TEST_SEARCH_SCOPE"> <value defaultName="wholeProject" /> </option> <tag value="!Slow & !Slowish & !Remote & !Android" /> <method v="2"> <option name="Make" enabled="true" /> </method> </configuration>
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Nov 21 13:28:45 UTC 2020 - 730 bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbEnumerationUtilTest.java
} } // Utility to invoke a private method reflectively private static Object invokePrivate(Object targetOrClass, String methodName, Class<?>[] paramTypes, Object... args) { try { final Class<?> cls = targetOrClass instanceof Class<?> ? (Class<?>) targetOrClass : targetOrClass.getClass(); Method m = cls.getDeclaredMethod(methodName, paramTypes); m.setAccessible(true);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/PropertyDesc.java
/** * Returns the getter method. * * @return the getter method */ Method getReadMethod(); /** * Returns whether the property has a getter method. * * @return whether the property has a getter method */ boolean hasReadMethod(); /** * Returns the setter method. * * @return the setter method */ Method getWriteMethod();
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 4.3K bytes - Viewed (0) -
okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt
.build(), ) val response = client.newCall(request().build()).execute() assertThat(response.body).isNotNull() response.body.bytes() logRecorder .assertLogMatch(Regex("""callStart: Request\{method=GET, url=$url\}""")) .assertLogMatch(Regex("""proxySelectStart: $url""")) .assertLogMatch(Regex("""proxySelectEnd: \[DIRECT]""")) .assertLogMatch(Regex("""dnsStart: ${url.host}"""))
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 10.2K bytes - Viewed (0)