Search Options

Results per page
Sort
Preferred Languages
Advance

Results 731 - 740 of 3,275 for Test (0.02 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/RetryConnectionTest.kt

      private var client = clientTestRule.newClient()
    
      @AfterEach internal fun tearDown() {
        factory.close()
      }
    
      @Test fun nonRetryableIOException() {
        val exception = IOException("Non-handshake exception")
        assertThat(retryTlsHandshake(exception)).isFalse()
      }
    
      @Test fun nonRetryableSSLHandshakeException() {
        val exception =
          SSLHandshakeException("Certificate handshake exception").apply {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/score/QueryRescorerTest.java

                    }
    
                    return null;
                }
            };
    
            // Test with string parameter
            Map<String, Object> stringParams = new HashMap<>();
            stringParams.put("string", "test");
            assertNotNull(queryRescorer.evaluate(stringParams));
    
            // Test with number parameter
            Map<String, Object> numberParams = new HashMap<>();
            numberParams.put("number", 123);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  3. 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)
  4. src/test/java/jcifs/internal/fscc/FileInternalInfoTest.java

        }
    
        @Test
        @DisplayName("Test initial indexNumber value is 0")
        void testInitialIndexNumber() {
            assertEquals(0L, fileInternalInfo.getIndexNumber());
        }
    
        @Test
        @DisplayName("Test size method returns 8")
        void testSize() {
            assertEquals(8, fileInternalInfo.size());
        }
    
        @Test
        @DisplayName("Test decode with valid data")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/log/LoggerTest.java

         */
        @Test
        public void testInfo() throws Exception {
            logger.info("info");
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testWarn() throws Exception {
            logger.warn("warn");
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testError() throws Exception {
            logger.error("error");
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/ntlmssp/av/AvFlagsTest.java

    import static org.junit.jupiter.api.Assertions.assertNotNull;
    
    import org.junit.jupiter.api.Test;
    
    public class AvFlagsTest {
    
        /**
         * Test constructor with raw bytes.
         */
        @Test
        void testAvFlagsByteArrayConstructor() {
            // Test with a positive integer
            byte[] rawBytes = new byte[] { 0x01, 0x02, 0x03, 0x04 }; // Represents 0x04030201 (little-endian)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java

        }
    
        /**
         * Test toString method behavior - requires valid configuration
         */
        @Test
        @DisplayName("Test toString requires valid configuration")
        public void testToStringRequiresValidConfig() {
            // Constructor with null config throws exception, so we can't test toString with null config
            // Instead, test that toString works with a valid config
    
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/collection/ArrayMapTest.java

            assertThat(map.indexOf(null), is(0));
            assertThat(map.indexOf("test3"), is(-1));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGet() throws Exception {
            assertThat(map.get("1"), is("test"));
            assertThat(map.get(null), is(nullValue()));
            assertThat(map.get("test3"), is(nullValue()));
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SimpleMemoryManagementTest.java

        }
    
        /**
         * Test basic session lifecycle management
         */
        @Test
        @Timeout(5)
        public void testSessionLifecycle() throws Exception {
            SmbSessionImpl session = new SmbSessionImpl(mockContext, "testhost", "testdomain", mockTransport);
    
            // Test initial state - session starts with usage count > 0 due to transport.acquire()
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/util/ErrorToWarnRewritePolicyTest.java

            String[] loggerNames = { "test.logger" };
            ErrorToWarnRewritePolicy policy = new ErrorToWarnRewritePolicy(loggerNames);
    
            LogEvent event = Log4jLogEvent.newBuilder()
                    .setLoggerName("test.logger")
                    .setLevel(Level.ERROR)
                    .setMessage(new SimpleMessage("test message"))
                    .setLoggerFqcn("test.class")
                    .setThreadName("test-thread")
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 11.9K bytes
    - Viewed (0)
Back to top