Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 251 - 260 of 3,979 for TeSt (0.03 seconds)

  1. src/test/java/jcifs/util/SmbCircuitBreakerTest.java

        }
    
        @Test
        public void testCustomFailureDetection() throws CIFSException {
            // Create a fresh circuit breaker for this test to avoid state pollution
            SmbCircuitBreaker customCb = new SmbCircuitBreaker("custom-test", 3, 2, 1000, 3);
    
            try {
                // Test that without custom predicate, all failures count
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 23.2K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/math/BigDecimalMathTest.java

            .test();
      }
    
      public void testRoundToDouble_smallNegative() {
        new RoundToDoubleTester(BigDecimal.valueOf(-16))
            .setExpectation(-16.0, RoundingMode.values())
            .test();
      }
    
      public void testRoundToDouble_minPreciselyRepresentable() {
        new RoundToDoubleTester(BigDecimal.valueOf(-1L << 53))
            .setExpectation(-Math.pow(2, 53), RoundingMode.values())
            .test();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 11K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/api/chat/ChatApiManagerTest.java

            chatApiManager.sendSseEvent(writer, "test", Map.of("key", "value"));
    
            final String output = stringWriter.toString();
            assertTrue(output.contains("event: test"));
            assertTrue(output.contains("data:"));
            assertTrue(output.contains("\"key\":\"value\""));
        }
    
        @Test
        public void test_sendSseEvent_session() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 14 01:39:16 GMT 2026
    - 35K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/util/RenderDataUtilTest.java

    import org.junit.jupiter.api.Test;
    import org.lastaflute.web.response.render.RenderData;
    
    public class RenderDataUtilTest extends UnitFessTestCase {
    
        @Test
        public void test_register_null() {
            RenderData data = new RenderData();
            RenderDataUtil.register(data, "key1", null);
            assertNull(data.getDataMap().get("key1"));
        }
    
        @Test
        public void test_register_string() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.2K bytes
    - Click Count (0)
  5. compat/maven-model-builder/src/test/java/org/apache/maven/model/validation/DefaultModelValidatorTest.java

            assertTrue(result.getErrors().get(0).contains("test:"));
        }
    
        @Test
        void testMissingPluginDependencyVersion() throws Exception {
            SimpleProblemCollector result = validate("missing-plugin-dependency-version.xml");
    
            assertViolations(result, 0, 1, 0);
    
            assertTrue(result.getErrors().get(0).contains("test:a"));
        }
    
        @Test
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 33.9K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java

            // Test with DFS disabled in config
            when(mockConfig.isDfsDisabled()).thenReturn(true);
            assertFalse(response.isDFSSupported());
    
            // Test without DFS capability
            when(mockConfig.isDfsDisabled()).thenReturn(false);
            setPrivateField(response, "commonCapabilities", 0);
            assertFalse(response.isDFSSupported());
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 32.5K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/exception/ContainerNotAvailableExceptionTest.java

        }
    
        @Test
        public void test_serialVersionUID() {
            // Test that serialVersionUID is properly defined
            ContainerNotAvailableException exception1 = new ContainerNotAvailableException("test");
            ContainerNotAvailableException exception2 = new ContainerNotAvailableException("test");
    
            // Both instances should be of the same class
            assertEquals(exception1.getClass(), exception2.getClass());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  8. 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();
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Fri Jun 20 13:40:57 GMT 2025
    - 12K bytes
    - Click Count (0)
  9. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/TestWithSslPlugin.java

                    t.copy("test/ssl/test-client.crt");
                    t.copy("test/ssl/test-client.key");
                    t.copy("test/ssl/test-client.jks");
                    t.copy("test/ssl/test-node.crt");
                    t.copy("test/ssl/test-node.key");
                    t.copy("test/ssl/test-node.jks");
                    t.setOutputDir(keyStoreDir);
                });
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 6.1K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/job/UpdateLabelJobTest.java

            assertTrue(result.contains("documents"));
        }
    
        // Test constructor
        @Test
        public void test_constructor() {
            UpdateLabelJob job = new UpdateLabelJob();
            assertNotNull(job);
            assertNull(job.queryBuilder);
        }
    
        // Test processing documents with various URL conditions
        @Test
        public void test_execute_variousUrlConditions() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.6K bytes
    - Click Count (0)
Back to Top