- Sort Score
- Result 10 results
- Languages All
Results 241 - 250 of 1,305 for testname (0.09 sec)
-
android/guava-testlib/test/com/google/common/collect/testing/MinimalIterableTest.java
import java.util.Collections; import java.util.Iterator; import java.util.NoSuchElementException; import junit.framework.TestCase; /** * Unit test for {@link MinimalIterable}. * * @author Kevin Bourrillion */ @GwtCompatible public class MinimalIterableTest extends TestCase { public void testOf_empty() { Iterable<String> iterable = MinimalIterable.<String>of();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 2.6K bytes - Viewed (0) -
docs/changelogs/upgrading_to_okhttp_4.md
```kotlin val client = OkHttpClient.Builder() .dns { hostname -> InetAddress.getAllByName(hostname).toList() } .build() ``` Kotlin calling OkHttp 4.x: ```kotlin val client = OkHttpClient.Builder() .dns(object : Dns { override fun lookup(hostname: String) = InetAddress.getAllByName(hostname).toList() }) .build() ```
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 06 16:58:16 UTC 2022 - 10.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/eventbus/ReentrantEventsTest.java
import java.util.ArrayList; import java.util.List; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Validate that {@link EventBus} behaves carefully when listeners publish their own events. * * @author Jesse Wilson */ @NullUnmarked public class ReentrantEventsTest extends TestCase { static final String FIRST = "one"; static final Double SECOND = 2.0d;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 2.6K bytes - Viewed (0) -
cmd/object-api-utils_test.go
{"lalalallalallalalalallalallalala-thestring-size-is-greater-than-63", false}, } for i, testCase := range testCases { isValidBucketName := IsValidBucketName(testCase.bucketName) if testCase.shouldPass && !isValidBucketName { t.Errorf("Test case %d: Expected \"%s\" to be a valid bucket name", i+1, testCase.bucketName) } if !testCase.shouldPass && isValidBucketName {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 24.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportPoolImpl.java
final int localPort, final String hostName, final boolean nonPooled) { return getSmbTransport(tc, address, port, localAddr, localPort, hostName, nonPooled, false); } @Override public SmbTransportImpl getSmbTransport(final CIFSContext tc, final Address address, int port, final InetAddress localAddr, final int localPort, final String hostName, final boolean nonPooled, final boolean forceSigning) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 33.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/dtyp/SecurityInfoTest.java
int modifiers = field.getModifiers(); assertTrue(Modifier.isPublic(modifiers), "Field " + field.getName() + " should be public"); assertTrue(Modifier.isStatic(modifiers), "Field " + field.getName() + " should be static"); assertTrue(Modifier.isFinal(modifiers), "Field " + field.getName() + " should be final"); } } @Test @DisplayName("Test constant values are unique")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 7.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/InsecureForHostTest.kt
server.enqueue(MockResponse()) val clientCertificates = HandshakeCertificates .Builder() .addPlatformTrustedCertificates() .addInsecureHost(server.hostName) .build() val client = clientTestRule .newClientBuilder() .sslSocketFactory(clientCertificates.sslSocketFactory(), clientCertificates.trustManager) .build()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 4.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/storage/ApiAdminStorageAction.java
final PathInfo pi = convertToItem(id); if (StringUtil.isEmpty(pi.getName())) { throwValidationErrorApi(messages -> messages.addErrorsStorageFileNotFound(GLOBAL)); } return asStream(pi.getName()).contentTypeOctetStream().stream(out -> { try { downloadObject(getObjectName(pi.getPath(), pi.getName()), out); } catch (final StorageException e) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 6.9K bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/admin/fileauth/admin_fileauth_edit.jsp
<label for="hostname" class="col-sm-3 text-sm-right col-form-label"><la:message key="labels.file_auth_hostname"/></label> <div class="col-sm-9"> <la:errors property="hostname"/> <la:text styleId="hostname" property="hostname" styleClass="form-control"/>
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Feb 13 07:47:04 UTC 2020 - 7.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileFilterTest.java
SmbFileFilter filter = f -> { String n = f.getName(); return n != null && !n.isEmpty() && n.endsWith(".txt"); }; when(smbFile.getName()).thenReturn(name); // Act boolean result = filter.accept(smbFile); // Assert assertEquals(expected, result); verify(smbFile, times(1)).getName(); verifyNoMoreInteractions(smbFile); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0)