Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1551 - 1560 of 4,151 for text (0.08 sec)

  1. src/test/java/org/codelibs/curl/io/ContentCacheTest.java

    import org.junit.After;
    import org.junit.Test;
    
    /**
     * Test class for ContentCache.
     * Tests memory-based and file-based content caching.
     */
    public class ContentCacheTest {
    
        private File tempFile;
    
        @After
        public void tearDown() {
            if (tempFile != null && tempFile.exists()) {
                tempFile.delete();
            }
        }
    
        @Test
        public void testMemoryBasedCacheConstructor() {
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/beans/util/CopyOptionsTest.java

    import org.codelibs.core.beans.converter.NumberConverter;
    import org.codelibs.core.exception.ConverterRuntimeException;
    import org.junit.Test;
    
    /**
     * @author higa
     */
    public class CopyOptionsTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testIncludes() throws Exception {
            final CopyOptions option = new CopyOptions();
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 12K bytes
    - Viewed (0)
  3. src/test/java/jcifs/http/HandlerTest.java

            handlers.put("https", httpsHandler);
        }
    
        @Test
        void testGetDefaultPort() {
            // This test verifies that the handler returns the correct default HTTP port.
            assertEquals(Handler.DEFAULT_HTTP_PORT, handler.getDefaultPort(), "Default port should be 80 for HTTP.");
        }
    
        @Test
        void testOpenConnection_HttpProtocol_ReturnsNtlmHttpURLConnection() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/com/SmbComWriteAndXResponseTest.java

            config = new PropertyConfiguration(new Properties());
        }
    
        /**
         * Test of readParameterWordsWireFormat method
         */
        @Test
        public void testReadParameterWordsWireFormat() {
            // Given
            byte[] buffer = new byte[] { (byte) 0xff, (byte) 0xff, 0, 0, 0, 0, 0, 0 };
            SmbComWriteAndXResponse instance = new SmbComWriteAndXResponse(config);
    
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGeneratorTest.java

            }
        }
    
        public void test_addCondition() {
            // Test adding conditions
            generator = new TestThumbnailGenerator();
    
            // Test adding single condition
            generator.addCondition("field1", "value1");
    
            // Test adding multiple conditions for same field
            generator.addCondition("field1", "value2");
    
            // Test adding conditions for different fields
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/DcerpcErrorTest.java

    import java.util.Set;
    
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    
    @DisplayName("DcerpcError Test")
    class DcerpcErrorTest {
    
        @Test
        @DisplayName("Should verify DCERPC_FAULT_OTHER constant value")
        void testDcerpcFaultOther() {
            assertEquals(0x00000001, DcerpcError.DCERPC_FAULT_OTHER);
        }
    
        @Test
        @DisplayName("Should verify DCERPC_FAULT_ACCESS_DENIED constant value")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/exception/ScheduledJobExceptionTest.java

            // Test constructor with message only
            String message = "Test scheduled job error";
            ScheduledJobException exception = new ScheduledJobException(message);
    
            assertEquals(message, exception.getMessage());
            assertNull(exception.getCause());
        }
    
        public void test_constructorWithMessageAndCause() {
            // Test constructor with message and cause
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/auth/chain/AuthenticationChainTest.java

        }
    
        // Test basic delete operation
        public void test_delete_normalUser() {
            TestAuthenticationChain chain = new TestAuthenticationChain();
            User user = createTestUser("testuser", "Test User");
    
            chain.delete(user);
    
            assertEquals(1, chain.deleteCalls.size());
            assertEquals(user, chain.deleteCalls.get(0));
        }
    
        // Test delete with null user
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  9. mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt

      }
    
      @Test
      fun portValidAfterStart() {
        assertThat(server.port).isGreaterThan(0)
      }
    
      @Test
      fun hostNameValidAfterStart() {
        assertThat(server.hostName).isNotNull()
      }
    
      @Test
      fun proxyAddressValidAfterStart() {
        assertThat(server.proxyAddress).isNotNull()
      }
    
      @Test
      fun differentInstancesGetDifferentPorts() {
        val other = MockWebServer()
        other.use {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Aug 03 22:38:00 UTC 2025
    - 28K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java

            }
    
            @Test
            @DisplayName("Should initialize DfsReferralResponseBuffer")
            void testDfsResponseBufferInitialization() {
                assertNotNull(response.getDfsResponse());
                assertTrue(response.getDfsResponse() instanceof DfsReferralResponseBuffer);
            }
    
            @Test
            @DisplayName("Should throw NullPointerException with null configuration")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
Back to top