- Sort Score
- Result 10 results
- Languages All
Results 771 - 780 of 1,603 for best (0.28 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/HostnamesTest.kt
* limitations under the License. */ package okhttp3.internal import assertk.assertThat import assertk.assertions.isEqualTo import kotlin.test.Test class HostnamesTest { @Test fun canonicalizeInetAddressNotMapped() { val addressA = decodeIpv6("::1")!! assertThat(canonicalizeInetAddress(addressA)).isEqualTo(addressA) val addressB = byteArrayOf(127, 0, 0, 1)Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 5.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/witness/WitnessRegistrationTest.java
} @Test void testRegistrationIdUniqueness() throws Exception { WitnessRegistration registration2 = new WitnessRegistration("\\\\server\\share2", InetAddress.getByName("192.168.1.101"), WitnessServiceType.CLUSTER_WITNESS); assertNotEquals(registration.getRegistrationId(), registration2.getRegistrationId()); } @Test void testFlagsModification() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 5.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbSessionInternalTest.java
// Happy path: transport is returned and verified @Test @DisplayName("getTransport returns mocked transport") void getTransport_happy() { when(session.getTransport()).thenReturn(transport); assertSame(transport, session.getTransport()); verify(session).getTransport(); } // Happy path: connect to logon share completes without exception @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/admin/PluginTests.java
} @Test void testInstall_ng() { checkPostMethod(Collections.emptyMap(), getInstallEndpointSuffix()).then().body("response.status", equalTo(1)); } @Test void testDelete_ng() { checkDeleteMethod(Collections.emptyMap()).then().body("response.status", equalTo(1)); } @Test void testCRUD() throws Exception { List<Map<String, Object>> available =Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 6.5K bytes - Viewed (0) -
.github/workflows/ci.yml
uses: gradle/actions/setup-gradle@017a9effdb900e5b5b2fddfb590a105619dca3c3 # v4.4.2 - name: 'Integration Test' if: matrix.java == 11 shell: bash run: util/gradle_integration_tests.sh publish_snapshot: name: 'Publish snapshot' needs: test if: github.event_name == 'push' && github.repository == 'google/guava' runs-on: ubuntu-latest steps:Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Sep 03 19:19:31 UTC 2025 - 4.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ProtocolTest.kt
import assertk.assertThat import assertk.assertions.isEqualTo import java.io.IOException import okhttp3.Protocol.Companion.get import org.junit.jupiter.api.Assertions.assertThrows import org.junit.jupiter.api.Test class ProtocolTest { @Test fun testGetKnown() { assertThat(get("http/1.0")).isEqualTo(Protocol.HTTP_1_0) assertThat(get("http/1.1")).isEqualTo(Protocol.HTTP_1_1) assertThat(get("spdy/3.1")).isEqualTo(Protocol.SPDY_3)Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 1.9K bytes - Viewed (0) -
okhttp-hpacktests/src/test/java/okhttp3/internal/http2/HpackRoundTripTest.kt
import org.junit.jupiter.params.provider.ArgumentsSource /** * Tests for round-tripping headers through hpack. * * TODO: update hpack-test-case with the output of our encoder. * This test will hide complementary bugs in the encoder and decoder, * We should test that the encoder is producing responses that are */ class HpackRoundTripTest : HpackDecodeTestBase() { internal class StoriesTestProvider : SimpleProvider() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/FormBodyTest.kt
package okhttp3 import assertk.assertThat import assertk.assertions.isEqualTo import java.io.IOException import java.nio.charset.StandardCharsets import okio.Buffer import org.junit.jupiter.api.Test class FormBodyTest { @Test fun urlEncoding() { val body = FormBody .Builder() .add("a+=& b", "c+=& d") .add("space, the", "final frontier") .add("%25", "%25") .build()Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 7.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CharStreamsTest.java
// create a null writer Writer nullWriter = CharStreams.nullWriter(); // write to the writer nullWriter.write('n'); String test = "Test string for NullWriter"; nullWriter.write(test); nullWriter.write(test, 2, 10); nullWriter.append(null); nullWriter.append(null, 0, 4); assertThrows(IndexOutOfBoundsException.class, () -> nullWriter.append(null, -1, 4));Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 11.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/CharStreamsTest.java
// create a null writer Writer nullWriter = CharStreams.nullWriter(); // write to the writer nullWriter.write('n'); String test = "Test string for NullWriter"; nullWriter.write(test); nullWriter.write(test, 2, 10); nullWriter.append(null); nullWriter.append(null, 0, 4); assertThrows(IndexOutOfBoundsException.class, () -> nullWriter.append(null, -1, 4));Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 11.3K bytes - Viewed (0)