Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 2,218 for 1test (0.02 sec)

  1. src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java

            assertEquals(0, cleaned);
            assertNotNull(leaseManager.getLease(key));
        }
    
        @Test
        @DisplayName("Should detect lease capabilities")
        void testLeaseCapabilities() {
            String path = "/share/file.txt";
    
            // Test full lease
            Smb2LeaseKey fullKey = leaseManager.requestLease(path + "1", Smb2LeaseState.SMB2_LEASE_FULL);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/graph/ImmutableValueGraphTest.java

    import static com.google.common.truth.Truth.assertThat;
    
    import org.jspecify.annotations.NullUnmarked;
    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.JUnit4;
    
    /** Tests for {@link ImmutableValueGraph} . */
    @RunWith(JUnit4.class)
    @NullUnmarked
    public class ImmutableValueGraphTest {
    
      @Test
      public void immutableValueGraph() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. src/test/java/org/codelibs/fess/job/UpdateLabelJobTest.java

                    throw new RuntimeException("Test exception");
                }
            };
            ComponentUtil.register(exceptionClient, "searchEngineClient");
    
            String result = updateLabelJob.execute();
            assertNotNull(result);
            assertTrue(result.contains("Test exception"));
            assertFalse(result.contains("docs"));
        }
    
        // Test query() method
        public void test_query() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/CertificateChainCleanerTest.kt

    import java.security.cert.Certificate
    import javax.net.ssl.SSLPeerUnverifiedException
    import kotlin.test.assertFailsWith
    import okhttp3.internal.tls.CertificateChainCleaner.Companion.get
    import okhttp3.tls.HandshakeCertificates
    import okhttp3.tls.HeldCertificate
    import org.junit.jupiter.api.Test
    
    class CertificateChainCleanerTest {
      @Test
      fun equalsFromCertificate() {
        val rootA =
          HeldCertificate
            .Builder()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 9.5K bytes
    - Viewed (1)
  8. src/test/java/org/codelibs/fess/api/BaseApiManagerTest.java

            super.tearDown();
        }
    
        // Basic test to verify test framework is working
        public void test_basicAssertion() {
            assertTrue(true);
            assertFalse(false);
            assertNotNull("test");
            assertEquals(1, 1);
        }
    
        // Test placeholder for future implementation
        public void test_placeholder() {
            // This test verifies the test class can be instantiated and run
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/crawler/processor/FessResponseProcessorTest.java

            super.tearDown();
        }
    
        // Basic test to verify test framework is working
        public void test_basicAssertion() {
            assertTrue(true);
            assertFalse(false);
            assertNotNull("test");
            assertEquals(1, 1);
        }
    
        // Test placeholder for future implementation
        public void test_placeholder() {
            // This test verifies the test class can be instantiated and run
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/crawler/serializer/DataSerializerTest.java

            super.tearDown();
        }
    
        // Basic test to verify test framework is working
        public void test_basicAssertion() {
            assertTrue(true);
            assertFalse(false);
            assertNotNull("test");
            assertEquals(1, 1);
        }
    
        // Test placeholder for future implementation
        public void test_placeholder() {
            // This test verifies the test class can be instantiated and run
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 1.7K bytes
    - Viewed (0)
Back to top