Search Options

Results per page
Sort
Preferred Languages
Advance

Results 731 - 740 of 2,907 for xtest (0.01 sec)

  1. okhttp-hpacktests/README.md

    OkHttp HPACK tests
    ==================
    
    These tests use the [hpack-test-case][1] project to validate OkHttp's HPACK
    implementation.  The HPACK test cases are in a separate git submodule, so to
    initialize them, you must run:
    
        git submodule init
        git submodule update
    
    TODO
    ----
    
     * Add maven goal to avoid manual call to git submodule init.
     * Make hpack-test-case update itself from git, and run new tests.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Dec 15 16:59:53 UTC 2014
    - 578 bytes
    - Viewed (0)
  2. src/test/java/jcifs/pac/kerberos/KerberosAuthDataTest.java

    @ExtendWith(MockitoExtension.class)
    class KerberosAuthDataTest {
    
        @Mock
        private Map<Integer, KerberosKey> mockKeys;
    
        /**
         * Test parsing with an unknown auth type.
         * Expects an empty list of authorizations.
         * @throws PACDecodingException should not be thrown
         */
        @Test
        void testParseUnknownAuthType() throws PACDecodingException {
            // GIVEN an unknown auth type
            int unknownAuthType = -1;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/RequestBodyTest.kt

    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.io.TempDir
    
    class RequestBodyTest {
      private lateinit var filePath: okio.Path
    
      @BeforeEach
      fun setup(
        @TempDir tempDir: Path,
      ) {
        filePath = tempDir.toOkioPath() / "file.txt"
      }
    
      @Test
      fun testFileDescriptor() {
        assertOnFileDescriptor { fd ->
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.6K bytes
    - Viewed (1)
  4. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt

    import okhttp3.sse.EventSource.Factory.Companion.asEventSourceFactory
    import okhttp3.testing.PlatformRule
    import org.junit.jupiter.api.AfterEach
    import org.junit.jupiter.api.Tag
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.extension.RegisterExtension
    import org.junitpioneer.jupiter.RetryingTest
    
    @Tag("Slowish")
    class EventSourceHttpTest {
      @RegisterExtension
      val platform = PlatformRule()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:47:47 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsItemTest.java

        }
    
        public void test_getInputValue() {
            // Test getInputValue method with non-null input
            ProtwordsItem item1 = new ProtwordsItem(1, "word");
            assertEquals("word", item1.getInputValue());
    
            // Test with empty string
            ProtwordsItem item2 = new ProtwordsItem(2, "");
            assertEquals("", item2.getInputValue());
    
            // Test with null input - should return empty string
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  6. regression-test/src/androidTest/java/okhttp/regression/IssueReproductionTest.java

     * limitations under the License.
     */
    package okhttp.regression;
    
    import androidx.test.ext.junit.runners.AndroidJUnit4;
    import okhttp3.OkHttpClient;
    import okhttp3.Protocol;
    import okhttp3.Request;
    import okhttp3.Response;
    import org.junit.Test;
    import org.junit.runner.RunWith;
    
    import java.io.IOException;
    import java.security.cert.Certificate;
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 26 06:37:08 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/io/CloseableUtilTest.java

    import static org.junit.Assert.assertThat;
    
    import java.io.IOException;
    import java.io.OutputStream;
    
    import org.junit.Test;
    
    /**
     * @author shot
     */
    public class CloseableUtilTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testClose() throws Exception {
            final NotifyOutputStream out = new NotifyOutputStream();
            CloseableUtil.close(out);
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java

                assertTrue(lockRequest instanceof RequestWithFileId);
            }
    
            @Test
            @DisplayName("Should initialize with SMB2_LOCK command")
            void testCommandInitialization() {
                Smb2LockRequest lockRequest = new Smb2LockRequest(mockConfig, testFileId, testLocks);
                assertNotNull(lockRequest);
            }
    
            @Test
            @DisplayName("Should accept null file ID in constructor")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java

            }
    
            @Test
            @DisplayName("Should maintain constant overhead")
            void testOverheadConstant() {
                assertEquals(Smb2Constants.SMB2_HEADER_LENGTH + 48, Smb2WriteRequest.OVERHEAD);
            }
    
            @Test
            @DisplayName("Should handle boundary conditions")
            void testBoundaryConditions() {
                // Test with exactly aligned data
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/MultipartBodyTest.kt

    import java.nio.charset.StandardCharsets
    import kotlin.test.assertFailsWith
    import okhttp3.Headers.Companion.headersOf
    import okhttp3.MediaType.Companion.toMediaType
    import okhttp3.MediaType.Companion.toMediaTypeOrNull
    import okhttp3.RequestBody.Companion.toRequestBody
    import okio.Buffer
    import okio.BufferedSink
    import okio.utf8Size
    import org.junit.jupiter.api.Test
    
    class MultipartBodyTest {
      @Test
      fun onePartRequired() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 10.5K bytes
    - Viewed (0)
Back to top