Search Options

Results per page
Sort
Preferred Languages
Advance

Results 411 - 420 of 2,899 for test$ (0.07 sec)

  1. src/test/java/org/codelibs/fess/helper/FileTypeHelperTest.java

        }
    
        public void test_get_withBlankFiletype() {
            fileTypeHelper.add("test/blank", "");
            assertEquals("others", fileTypeHelper.get("test/blank"));
    
            fileTypeHelper.add("test/null", null);
            assertEquals("others", fileTypeHelper.get("test/null"));
        }
    
        public void test_getDefaultValue() {
            assertEquals("others", fileTypeHelper.getDefaultValue());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java

        }
    
        // ---------------- Static read tests -----------------
        @Test
        @DisplayName("readULong correctly interprets little endian")
        void testReadULong() {
            byte[] a = new byte[] { (byte) 0x01, (byte) 0x02, (byte) 0x03, (byte) 0x04 };
            int result = NtlmMessage.readULong(a, 0);
            assertEquals(0x04030201, result, "ULong should be little‑endian");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java

    import org.junit.jupiter.api.Test;
    
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * Test class for SmbInfoAllocation
     */
    class SmbInfoAllocationTest {
    
        private SmbInfoAllocation smbInfoAllocation;
    
        @BeforeEach
        void setUp() {
            smbInfoAllocation = new SmbInfoAllocation();
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  4. cmd/object-api-options_test.go

    				xhttp.AmzObjectAttributes: []string{"test1,test2"},
    			},
    			wantObjectAttrs: map[string]struct{}{
    				"test1": {}, "test2": {},
    			},
    		},
    		{
    			name: "multiple header lines with some duplicates",
    			headers: http.Header{
    				xhttp.AmzObjectAttributes: []string{"test1,test2", "test3,test4", "test4,test3"},
    			},
    			wantObjectAttrs: map[string]struct{}{
    				"test1": {}, "test2": {}, "test3": {}, "test4": {},
    			},
    		},
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/util/transport/ResponseTest.java

        }
    
        @Test
        void testReset() {
            // Call the method
            mockResponse.reset();
    
            // Verify that the method was called
            verify(mockResponse, times(1)).reset();
        }
    
        @Test
        void testGetException() {
            Exception testException = new RuntimeException("Test Exception");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/compression/DefaultCompressionServiceTest.java

            assertEquals(1.0, noneRatio, 0.001);
        }
    
        @Test
        @DisplayName("Test configuration limits")
        public void testConfigurationLimits() {
            assertTrue(compressionService.getMinCompressionSize() > 0);
            assertTrue(compressionService.getMaxCompressionSize() > compressionService.getMinCompressionSize());
        }
    
        @Test
        @DisplayName("Test algorithm names")
        public void testAlgorithmNames() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/job/impl/ScriptExecutorTest.java

        }
    
        public void test_constructor() {
            // Test that constructor creates an instance
            ScriptExecutor executor = new ScriptExecutor();
            assertNotNull(executor);
            assertTrue(executor instanceof JobExecutor);
        }
    
        public void test_execute_withValidScriptType() {
            // Setup test script engine
            scriptEngineFactory.add("test", testScriptEngine);
    
            // Execute script
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java

    import java.util.concurrent.atomic.AtomicInteger;
    
    import org.junit.jupiter.api.Test;
    
    /**
     * Security-focused test cases for BufferCache to verify buffer overflow protection.
     */
    public class BufferCacheSecurityTest {
    
        /**
         * Test that buffer allocation validates size to prevent overflow.
         */
        @Test
        public void testBufferSizeValidation() {
            // When - Get a buffer
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/ResponseBodyTest.kt

    import assertk.assertions.isTrue
    import kotlin.test.Test
    import okhttp3.MediaType.Companion.toMediaType
    import okhttp3.ResponseBody.Companion.toResponseBody
    import okio.Buffer
    import okio.BufferedSource
    import okio.ByteString.Companion.decodeHex
    import okio.ByteString.Companion.encodeUtf8
    import okio.IOException
    import okio.Source
    import okio.buffer
    
    class ResponseBodyTest {
      @Test
      fun sourceEmpty() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 146.6K bytes
    - Viewed (0)
Back to top