Search Options

Results per page
Sort
Preferred Languages
Advance

Results 831 - 840 of 3,016 for jest (0.02 sec)

  1. src/test/java/org/codelibs/fess/script/ScriptEngineFactoryTest.java

        }
    
        // Test getScriptEngine with uppercase query
        public void test_getScriptEngine_uppercaseQuery() {
            TestScriptEngine engine = new TestScriptEngine();
            scriptEngineFactory.add("test", engine);
    
            ScriptEngine retrieved = scriptEngineFactory.getScriptEngine("TEST");
            assertNotNull(retrieved);
            assertEquals(engine, retrieved);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/HeadersJvmTest.kt

      }
    
      @Test fun setInstant() {
        val expected = Instant.ofEpochMilli(1000L)
        val headers =
          Headers
            .Builder()
            .add("Test-Instant", Instant.ofEpochMilli(0L))
            .set("Test-Instant", expected)
            .build()
        assertThat(headers["Test-Instant"]).isEqualTo("Thu, 01 Jan 1970 00:00:01 GMT")
        assertThat(headers.getInstant("Test-Instant")).isEqualTo(expected)
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:51:25 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

        }
    
        @Test
        @DisplayName("Constructor: invalid mode throws IllegalArgumentException")
        void constructor_invalidMode_throws() {
            SmbFile file = mock(SmbFile.class);
            assertThrows(IllegalArgumentException.class, () -> new SmbRandomAccessFile(file, "badmode"));
        }
    
        @Test
        @DisplayName("open(): acquires and releases handle (no I/O)")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/project/path/DefaultPathTranslatorTest.java

    import java.io.File;
    
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    
    @Deprecated
    class DefaultPathTranslatorTest {
    
        @Test
        void testAlignToBasedirWhereBasedirExpressionIsTheCompleteValue() {
            File basedir = new File(System.getProperty("java.io.tmpdir"), "test").getAbsoluteFile();
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/timer/MonitorTargetTest.java

        }
    
        // Test append method with String value
        public void test_append_stringValue() {
            StringBuilder buf = new StringBuilder();
            Supplier<Object> supplier = () -> "test string";
    
            monitorTarget.append(buf, "stringKey", supplier);
            assertEquals("\"stringKey\":\"test string\"", buf.toString());
        }
    
        // Test append method with String containing special characters
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/compression/CompressionNegotiateContextTest.java

        }
    
        @Test
        @DisplayName("Test compression context type")
        public void testContextType() {
            assertEquals(CompressionNegotiateContext.NEGO_CTX_COMPRESSION_TYPE, context.getContextType());
        }
    
        @Test
        @DisplayName("Test supported algorithms")
        public void testSupportedAlgorithms() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  7. cmd/bucket-replication_test.go

    	},
    }
    
    func TestReplicationResync(t *testing.T) {
    	ctx := t.Context()
    	for i, test := range replicationConfigTests {
    		if sync := test.rcfg.Resync(ctx, test.info, test.dsc, test.tgtStatuses); sync.mustResync() != test.expectedSync {
    			t.Errorf("Test%d (%s): Resync  got %t , want %t", i+1, test.name, sync.mustResync(), test.expectedSync)
    		}
    	}
    }
    
    var (
    	start                   = UTCNow().AddDate(0, 0, -1)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/pac/PacMacTest.java

    import javax.security.auth.kerberos.KerberosPrincipal;
    
    import org.junit.jupiter.api.Test;
    
    /**
     * Tests for the PacMac class.
     */
    class PacMacTest {
    
        private static final byte[] TEST_DATA = "test data".getBytes();
        private static final KerberosPrincipal TEST_PRINCIPAL = new KerberosPrincipal("test@REALM");
    
        /**
         * Test method for
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/exception/SearchQueryExceptionTest.java

            assertEquals(rootCause, exception.getCause().getCause());
        }
    
        public void test_exceptionSerialization() {
            // Test that the exception is serializable
            String message = "Serialization test";
            Exception cause = new Exception("Test cause");
    
            SearchQueryException exception = new SearchQueryException(message, cause);
    
            // Verify serialVersionUID is properly set
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java

        }
      }
    
      @Override
      @Test
      public void nodes_checkReturnedSetMutability() {
        assume().that(graphIsMutable()).isTrue();
    
        Set<Integer> nodes = graph.nodes();
        assertThrows(UnsupportedOperationException.class, () -> nodes.add(N2));
        addNode(N1);
        assertThat(graph.nodes()).containsExactlyElementsIn(nodes);
      }
    
      @Override
      @Test
      public void adjacentNodes_checkReturnedSetMutability() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 12.7K bytes
    - Viewed (0)
Back to top