Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 1,145 for should (0.04 seconds)

  1. src/test/java/org/codelibs/fess/validation/UriTypeTest.java

            assertEquals("message should be default", "{org.lastaflute.validator.constraints.UriType.message}", annotation.message());
            assertEquals("groups should be empty", 0, annotation.groups().length);
            assertEquals("payload should be empty", 0, annotation.payload().length);
        }
    
        // Test annotation on field with FILE protocol
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 21.3K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/validation/CustomSizeTest.java

            assertNotNull(annotation, "Annotation should be present on field");
            assertEquals("Default message should match", "{jakarta.validation.constraints.Size.message}", getDefaultMessage());
            assertEquals("Default groups should be empty", 0, getDefaultGroups().length);
            assertEquals("Default payload should be empty", 0, getDefaultPayload().length);
            assertEquals("Default minKey should be empty", StringUtil.EMPTY, getDefaultMinKey());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17.4K bytes
    - Click Count (0)
  3. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/DomUtilsTest.java

            assertTrue(nameIndex > 0, "Should contain name element");
            assertTrue(descriptionIndex > 0, "Should contain description element");
            assertTrue(propertiesIndex > 0, "Should contain properties element");
    
            // According to ELEMENT_ORDER: name should come before description, and properties should come much later
            assertTrue(nameIndex < descriptionIndex, "name should come before description");
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 31.3K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java

            assertFalse("Should capture some thread dump output", capturedOutput.isEmpty());
    
            // Verify format - should contain "Thread:" entries
            boolean hasThreadEntry = capturedOutput.stream().anyMatch(line -> line.startsWith("Thread:"));
            assertTrue("Should contain Thread: entries", hasThreadEntry);
    
            // Verify format - should contain stack trace entries
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 15.6K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/crawler/serializer/DataSerializerTest.java

            assertEquals("Double should match", 3.14, deserialized.get("double"));
            assertEquals("Boolean should match", true, deserialized.get("boolean"));
            assertNotNull(deserialized.get("date"), "Date should not be null");
            assertNotNull(deserialized.get("list"), "List should not be null");
            assertNotNull(deserialized.get("nestedMap"), "Nested map should not be null");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 21.6K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/suggest/request/suggest/SuggestRequestQueryBuildingTest.java

            String queryString = result.toString();
            assertTrue("Should contain tag1", queryString.contains("tag1"));
            assertTrue("Should contain tag2", queryString.contains("tag2"));
            assertTrue("Should contain tag3", queryString.contains("tag3"));
            // Should be minimum_should_match = 1 (OR logic)
            assertTrue("Should use should clauses", queryString.contains("should"));
        }
    
        @Test
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 19.8K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/suggest/SuggesterResourceLoadingTest.java

                assertNotNull("Resource should exist", is);
                contentNew = new String(is.readAllBytes(), StandardCharsets.UTF_8);
            }
    
            // Verify content is valid JSON
            assertTrue("Content should start with {", contentNew.trim().startsWith("{"));
            assertTrue("Content should end with }", contentNew.trim().endsWith("}"));
            assertTrue("Content should be substantial", contentNew.length() > 100);
    
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/timer/SystemMonitorTargetTest.java

            assertTrue(TimeoutTarget.class.isAssignableFrom(SystemMonitorTarget.class), "SystemMonitorTarget should implement TimeoutTarget");
        }
    
        @Test
        public void test_constructor() {
            assertNotNull(target, "Constructor should create instance");
            assertTrue(target instanceof SystemMonitorTarget, "Instance should be of correct type");
    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)
  9. tests/multi_primary_keys_test.go

    		t.Fatalf("Should find 1 tags after Delete")
    	}
    
    	if DB.Model(&blog).Association("Tags").Count() != 1 {
    		t.Fatalf("Blog should has three tags after Delete")
    	}
    
    	DB.Model(&blog).Association("Tags").Delete(tag3)
    	var tags4 []Tag
    	DB.Model(&blog).Association("Tags").Find(&tags4)
    	if !compareTags(tags4, []string{"tag6"}) {
    		t.Fatalf("Tag should not be deleted when Delete with a unrelated tag")
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:27:38 GMT 2026
    - 13.3K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/suggest/SuggesterRefactoringTest.java

            final List<String> indices = (List<String>) method.invoke(suggester, aliasName);
    
            assertNotNull("Indices list should not be null", indices);
            assertEquals("Should find exactly two indices", 2, indices.size());
            assertTrue("Should contain first index", indices.contains(index1));
            assertTrue("Should contain second index", indices.contains(index2));
    
            // Cleanup
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 13.1K bytes
    - Click Count (0)
Back to Top