- Sort Score
- Result 10 results
- Languages All
Results 381 - 390 of 924 for builder2 (0.07 sec)
-
okhttp/src/test/java/okhttp3/CookiesTest.kt
val redirectTarget = MockWebServer() redirectTarget.enqueue(MockResponse.Builder().body("A").build()) redirectTarget.start() val redirectTargetUrl = urlWithIpAddress(redirectTarget, "/") val redirectSource = MockWebServer() redirectSource.enqueue( MockResponse.Builder() .code(HttpURLConnection.HTTP_MOVED_TEMP) .addHeader("Location: $redirectTargetUrl")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 13K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/query/TermQueryCommandTest.java
QueryBuilder builder = queryCommand.convertTermQuery(queryContext, (TermQuery) query, 1.0f); if (text.startsWith("sort:")) { assertNull(builder); } else { logger.info("{} => {}", text, builder.toString()); assertEquals(expectedClass, builder.getClass()); assertEquals(expectedQuery, builder.toString().replaceAll("[\s\n]", "")); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Jul 11 08:26:36 UTC 2024 - 9.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CipherSuiteTest.kt
socket.supportedCipherSuites = arrayOf("SSL_A", "SSL_B", "SSL_C", "SSL_D", "SSL_E") socket.enabledCipherSuites = arrayOf("SSL_A", "SSL_B", "SSL_C") val connectionSpec = ConnectionSpec.Builder(true) .tlsVersions(TlsVersion.TLS_1_0) .cipherSuites("TLS_A", "TLS_C", "TLS_E") .build() applyConnectionSpec(connectionSpec, socket, false)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 8.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/ResponseCommonTest.kt
val response = newResponse(responseBody("set status code 0"), 0) assertThat(response.code).isEqualTo(0) } @Test fun defaultResponseBodyIsEmpty() { val response = Response.Builder() .request( Request.Builder() .url("https://example.com/") .build(), ) .protocol(Protocol.HTTP_1_1) .code(200) .message("OK") .build()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/InternersTest.java
public void testConcurrencyLevel_zero() { Interners.InternerBuilder builder = Interners.newBuilder(); assertThrows(IllegalArgumentException.class, () -> builder.concurrencyLevel(0)); } public void testConcurrencyLevel_negative() { Interners.InternerBuilder builder = Interners.newBuilder(); assertThrows(IllegalArgumentException.class, () -> builder.concurrencyLevel(-42)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 22:09:38 UTC 2024 - 4K bytes - Viewed (0) -
mockwebserver/src/test/java/mockwebserver3/MockResponseSniTest.kt
* Host header). */ @Test fun domainFronting() { val heldCertificate = HeldCertificate.Builder() .commonName("server name") .addSubjectAlternativeName("url-host.com") .build() val handshakeCertificates = HandshakeCertificates.Builder() .heldCertificate(heldCertificate) .addTrustedCertificate(heldCertificate.certificate) .build()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 5.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/PerCollectionSizeTestSuiteBuilder.java
import junit.framework.TestSuite; /** * This builder creates a composite test suite, containing a separate test suite for each {@link * CollectionSize} present in the features specified by {@link #withFeatures(Feature...)}. * * @param <B> The concrete type of this builder (the 'self-type'). All the Builder methods of this * class (such as {@link #named(String)}) return this type, so that Builder methods of more
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 5.4K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactCoordinatesFactoryRequest.java
return ArtifactCoordinatesFactoryRequest.builder() .session(nonNull(session, "session")) .coordinateString(nonNull(coordinateString, "coordinateString")) .build(); } @Nonnull static ArtifactCoordinatesFactoryRequest build(@Nonnull Session session, @Nonnull ArtifactCoordinates coordinates) { return ArtifactCoordinatesFactoryRequest.builder()
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Tue Aug 27 21:13:34 UTC 2024 - 7.5K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingResult.java
* undergone any updates by the model builder, e.g. reflects neither inheritance nor interpolation. * * @return The raw model, never {@code null}. */ Model getRawModel(); /** * Gets the specified raw model as it was read from a model source. Apart from basic validation, a raw model has not * undergone any updates by the model builder, e.g. reflects neither inheritance nor interpolation. The model
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.2K bytes - Viewed (0) -
compat/maven-settings-builder/src/test/java/org/apache/maven/settings/building/DefaultSettingsBuilderFactoryTest.java
SettingsBuilder builder = new DefaultSettingsBuilderFactory().newInstance(); assertNotNull(builder); DefaultSettingsBuildingRequest request = new DefaultSettingsBuildingRequest(); request.setSystemProperties(System.getProperties()); request.setUserSettingsFile(getSettings("simple")); SettingsBuildingResult result = builder.build(request); assertNotNull(result);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.7K bytes - Viewed (0)