Search Options

Results per page
Sort
Preferred Languages
Advance

Results 651 - 660 of 2,799 for 2test (0.02 sec)

  1. 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)
  2. src/test/java/org/codelibs/fess/exception/ScriptEngineExceptionTest.java

        }
    
        public void test_serialization() {
            // Test that the exception has the correct serialVersionUID field
            ScriptEngineException exception = new ScriptEngineException("Serialization test");
    
            // Verify the exception can be created and basic properties work
            assertNotNull(exception);
            assertEquals("Serialization test", exception.getMessage());
        }
    
        public void test_stackTrace() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/testing-dependencies.md

    ```Python
    app.dependency_overrides = {}
    ```
    
    /// tip
    
    If you want to override a dependency only during some tests, you can set the override at the beginning of the test (inside the test function) and reset it at the end (at the end of the test function).
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/util/SecureKeyManagerTest.java

        }
    
        @Test
        public void testKeyAgeNonExistent() {
            assertEquals(-1, keyManager.getKeyAge("non-existent"), "Non-existent key should return -1 for age");
        }
    
        @Test
        public void testConfigureKeyRotation() {
            // Test that configuration doesn't throw
            keyManager.configureKeyRotation(60000);
    
            // Test disabling rotation
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/netbios/NameServicePacketTest.java

            packet.questionName = mockQuestionName;
            packet.recordName = mockRecordName;
        }
    
        @Test
        void testWriteInt2() {
            byte[] dst = new byte[2];
            NameServicePacket.writeInt2(0x1234, dst, 0);
            assertEquals((byte) 0x12, dst[0]);
            assertEquals((byte) 0x34, dst[1]);
        }
    
        @Test
        void testWriteInt4() {
            byte[] dst = new byte[4];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/util/HexdumpTest.java

    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.ValueSource;
    
    import jcifs.BaseTest;
    
    /**
     * Test class for Hexdump utility functionality
     */
    @DisplayName("Hexdump Utility Tests")
    class HexdumpTest extends BaseTest {
    
        @Test
        @DisplayName("Should convert byte array to hex string")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/pac/kerberos/KerberosApRequestTest.java

    import org.bouncycastle.asn1.DEROctetString;
    import org.bouncycastle.asn1.DERSequence;
    import org.bouncycastle.asn1.DERTaggedObject;
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.ValueSource;
    
    import jcifs.pac.PACDecodingException;
    
    class KerberosApRequestTest {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  8. .teamcity/src/main/kotlin/promotion/StartReleaseCycleTest.kt

            name = "Start Release Cycle Test"
            description = "Test for Start Release Cycle pipeline"
    
            steps {
                gradleWrapper {
                    name = "PromoteTest"
                    tasks = "clean promoteStartReleaseCycle"
                    useGradleWrapper = true
                    gradleParams =
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Thu Mar 20 06:13:56 UTC 2025
    - 2K bytes
    - Viewed (0)
  9. src/main/webapp/WEB-INF/view/admin/dataconfig/admin_dataconfig_details.jsp

                    <div class="row">
                        <div class="col-md-12">
                            <div
                                    class="card card-outline <c:if test="${crudMode == 1 || crudMode == 2}">card-success</c:if><c:if test="${crudMode == 3}">card-danger</c:if><c:if test="${crudMode == 4}">card-primary</c:if>">
                                <div class="card-header">
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Wed Feb 12 20:25:27 UTC 2020
    - 7.7K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerTest.kt

    import javax.net.ssl.SSLPeerUnverifiedException
    import kotlin.test.assertFailsWith
    import okhttp3.CertificatePinner.Companion.pin
    import okhttp3.CertificatePinner.Companion.sha1Hash
    import okhttp3.tls.HeldCertificate
    import okio.ByteString.Companion.decodeBase64
    import org.junit.jupiter.api.Assertions
    import org.junit.jupiter.api.Assertions.assertEquals
    import org.junit.jupiter.api.Test
    
    class CertificatePinnerTest {
      @Test
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 10.1K bytes
    - Viewed (0)
Back to top