Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1411 - 1420 of 3,220 for test5 (0.03 seconds)

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

        public void test_add() {
            DuplicateHostHelper helper = new DuplicateHostHelper();
    
            DuplicateHost testHost = new DuplicateHost();
            testHost.setRegularName("www.test.com");
            testHost.setDuplicateHostName("test.com");
    
            helper.add(testHost);
    
            assertNotNull(helper.duplicateHostList);
            assertEquals(1, helper.duplicateHostList.size());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 6.8K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

      // We need to test that our method behaves like the JDK method.
      @SuppressWarnings("InlineMeInliner")
      public void testHashCode() {
        for (float value : VALUES) {
          assertThat(Floats.hashCode(value)).isEqualTo(Float.hashCode(value));
        }
      }
    
      @SuppressWarnings("InlineMeInliner") // We need to test our method.
      public void testIsFinite() {
        for (float value : NUMBERS) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 29.4K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/primitives/FloatsTest.java

      // We need to test that our method behaves like the JDK method.
      @SuppressWarnings("InlineMeInliner")
      public void testHashCode() {
        for (float value : VALUES) {
          assertThat(Floats.hashCode(value)).isEqualTo(Float.hashCode(value));
        }
      }
    
      @SuppressWarnings("InlineMeInliner") // We need to test our method.
      public void testIsFinite() {
        for (float value : NUMBERS) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 29.4K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/primitives/LongsTest.java

      // We need to test that our method behaves like the JDK method.
      @SuppressWarnings("InlineMeInliner")
      public void testHashCode() {
        for (long value : VALUES) {
          assertWithMessage("hashCode for %s", value)
              .that(Longs.hashCode(value))
              .isEqualTo(Long.hashCode(value));
        }
      }
    
      // We need to test that our method behaves like the JDK method.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 28.8K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/util/InputStreamThreadTest.java

    import java.util.concurrent.TimeUnit;
    import java.util.function.Consumer;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.junit.jupiter.api.Test;
    
    public class InputStreamThreadTest extends UnitFessTestCase {
    
        @Test
        public void test_constructor() {
            String input = "test line";
            InputStream is = new ByteArrayInputStream(input.getBytes(StandardCharsets.UTF_8));
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 12K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/api/WebApiRequestTest.java

            assertEquals(customPath, webApiRequest.getServletPath());
        }
    
        // Test wrapper functionality inheritance
        @Test
        public void test_inheritedMethods_areProperlyDelegated() {
            final String customPath = "/api/v1/test";
            final String testHeader = "X-Test-Header";
            final String testHeaderValue = "TestValue";
    
            mockRequest.addHeader(testHeader, testHeaderValue);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17.8K bytes
    - Click Count (0)
  7. 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)
  8. src/test/java/org/codelibs/fess/util/GsaConfigParserTest.java

            assertEquals("^test.*", parser.appendFileterPath(new StringBuilder(), "^test"));
            assertEquals("^test$", parser.appendFileterPath(new StringBuilder(), "^test$"));
            assertEquals(".*test$", parser.appendFileterPath(new StringBuilder(), "test$"));
            assertEquals(".*test/\\E.*", parser.appendFileterPath(new StringBuilder(), "test/\\E"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.7K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/crawler/helper/FessMimeTypeHelperTest.java

                assertEquals("text/x-sql", mimeTypeHelper.getContentType(is, "test.sql"));
            }
            try (InputStream is = new ByteArrayInputStream(SQL_REM_CONTENT.getBytes(StandardCharsets.UTF_8))) {
                assertEquals("text/x-plsql", mimeTypeHelper.getContentType(is, "test.plsql"));
            }
        }
    
        @Test
        public void test_init_malformedEntry_noEquals() throws IOException {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Jan 24 09:06:33 GMT 2026
    - 12.1K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/app/service/FessAppServiceTest.java

        }
    
        @Test
        public void test_wrapQuery_withLeadingWildcard() {
            assertEquals("*test*", service.callWrapQuery("*test"));
        }
    
        @Test
        public void test_wrapQuery_withTrailingWildcard() {
            assertEquals("*test*", service.callWrapQuery("test*"));
        }
    
        @Test
        public void test_wrapQuery_withBothWildcards() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 2.5K bytes
    - Click Count (0)
Back to Top