- Sort Score
- Num 10 results
- Language All
Results 971 - 980 of 4,122 for _shouldn (0.05 seconds)
-
src/test/java/org/codelibs/fess/query/PhraseQueryCommandTest.java
public void test_execute_withNonPhraseQuery() { // Test with non-phrase query - should throw InvalidQueryException Query termQuery = new TermQuery(new Term("field", "value")); QueryContext context = new QueryContext("test", false); try { queryCommand.execute(context, termQuery, 1.0f); fail("Should throw InvalidQueryException for non-phrase query"); } catch (InvalidQueryException e) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 9.3K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java
} protected void expectMissingKeys(K... elements) { for (K element : elements) { assertFalse("Should not contain key " + element, getMap().containsKey(element)); } } protected void expectMissingValues(V... elements) { for (V element : elements) { assertFalse("Should not contain value " + element, getMap().containsValue(element)); } } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 18 02:54:30 GMT 2025 - 7.8K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java
// Arrange CIFSContext ctx = mock(CIFSContext.class); // Act SmbTreeConnectionTrace trace = new SmbTreeConnectionTrace(ctx); // Assert assertNotNull(trace, "Instance should be created"); } @Test @DisplayName("Constructor with delegate: acquire() forwards to delegate and release() too") void constructor_withDelegate_acquireAndReleaseForwarded() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/query/QueryFieldConfigTest.java
queryFieldConfig.highlightedFields = null; // When highlightedFields is null, the method should handle it gracefully // or throw an exception. Test the actual behavior. queryFieldConfig.highlightedFields(stream -> { // If it doesn't throw NPE, it should provide an empty stream assertEquals(0, stream.count()); }); } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 33.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/CoordinatorHelperTest.java
// Should NOT delete because owner is node2@host2, not node1@host1 assertFalse(deleteCalled.get()); } @Test public void test_completeOperation_notFound() { setupMockFessConfig(); final CoordinatorHelper helper = createCapturingHelper("node1@host1", null, null, createMockResponse(404, "{}")); // Should complete safely without throwingCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:59:19 GMT 2026 - 58.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/crawler/helper/FessMimeTypeHelperTest.java
return ".sql=text/x-sql\ninvalid_entry\n.pls=text/x-plsql"; } }); mimeTypeHelper.init(); // Valid entries should still be loaded try (InputStream is = new ByteArrayInputStream(SQL_REM_CONTENT.getBytes(StandardCharsets.UTF_8))) { assertEquals("text/x-sql", mimeTypeHelper.getContentType(is, "test.sql")); }
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) -
ci/devinfra/docker/windows/Dockerfile
# Environment variables to work around MSYS issues. ENV MSYS_NO_PATHCONV 1 ENV MSYS2_ARG_CONV_EXCL * # This should only be necessary if there are multiple, differently-versioned # MSVC compilers installed, and a particular one should be used. # To find exact versions available: # - Navigate to the relevant folder, e.g. # C:\Program Files\Microsoft Visual Studio\2022
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Fri Jan 17 16:35:57 GMT 2025 - 8.4K bytes - Click Count (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/CLIManagerDocumentationTest.java
import org.junit.jupiter.api.Test; import static java.util.Objects.nonNull; /** * Pseudo test to generate documentation fragment about supported CLI options. TODO such documentation generation code * should not be necessary as unit test but should be run during site generation (Velocity? Doxia macro?) */ @Deprecated class CLIManagerDocumentationTest { private static final String LS = System.lineSeparator();
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 4.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/SearchQueryExceptionTest.java
} catch (SearchQueryException e) { assertEquals(expectedMessage, e.getMessage()); assertNull(e.getCause()); } catch (Exception e) { fail("Should have caught SearchQueryException"); } } @Test public void test_throwWithCauseAndCatch() { // Test throwing with cause and catching
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 10K bytes - Click Count (0) -
internal/bucket/lifecycle/expiration.go
errLifecycleInvalidDeleteMarker = Errorf("Delete marker cannot be specified with Days or Date in a Lifecycle Expiration Policy") errLifecycleDateNotMidnight = Errorf("'Date' must be at midnight GMT") errLifecycleInvalidDeleteAll = Errorf("Days (positive integer) should be present inside Expiration with ExpiredObjectAllVersions.") )
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Mar 30 00:56:02 GMT 2025 - 6.6K bytes - Click Count (0)