- Sort Score
- Num 10 results
- Language All
Results 571 - 580 of 4,636 for should (0.07 seconds)
-
src/test/java/org/codelibs/fess/query/QueryCommandTemplateMethodTest.java
queryCommand.isSearchField(testField); } long duration = System.nanoTime() - startTime; // Should complete quickly (relaxed threshold for CI environments) // Note: Set-based O(1) lookup should be much faster than O(n) array iteration assertTrue("Set-based lookup should complete quickly (duration: " + duration / 1_000_000 + "ms)", duration < 1_000_000_000); // 1 second (relaxed from 100ms for CI) }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12.5K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/EqualsTesterTest.java
assertErrorMessage( e, obj + " must not be Object#equals to an arbitrary object of another class"); return; } fail("Should get equal to incompatible class error"); } /** Test proper handling where an object is not equal to one the user has said should be equal */ public void testInvalidNotEqualsEqualObject() { equalsTester.addEqualityGroup(reference, notEqualObject1); try {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed May 14 19:40:47 GMT 2025 - 13.1K bytes - Click Count (0) -
src/test/java/org/codelibs/curl/CurlResponseTest.java
ContentCache cache = new ContentCache(data); response.setContentCache(cache); // Should not throw exception response.close(); } @Test public void testCloseWithoutContentCache() throws IOException { CurlResponse response = new CurlResponse(); // Should not throw exception response.close(); } @Test
Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 09:11:12 GMT 2026 - 17.7K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbTreeTest.java
assertThrows(SmbException.class, () -> tree.treeConnect(null, null)); // After failure, state should be reset to disconnected assertEquals(0, tree.connectionState); } @Test void testSend() throws SmbException { SmbTree tree = new SmbTree(session, "testShare", "A:");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 10.2K bytes - Click Count (0) -
architecture/standards/0009-use-american-english.md
* **Existing code**: British English spellings in existing code should be updated opportunistically when those areas are modified, unless constrained by backward compatibility * **Documentation**: Documentation should be updated to use American English, prioritizing user-facing documentation
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Mar 05 12:39:41 GMT 2026 - 3.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/synonym/SynonymItemTest.java
SynonymItem item = new SynonymItem(1, originalInputs, new String[] { "x" }); String[] returnedInputs = item.getInputs(); // Modifying returned array should not affect original returnedInputs[0] = "modified"; // Get again and verify not modified String[] inputs2 = item.getInputs(); assertEquals("a", inputs2[0]);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 8K bytes - Click Count (1) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveIfTester.java
public void testRemoveIf_alwaysFalse() { assertFalse("removeIf(x -> false) should return false", collection.removeIf(x -> false)); expectUnchanged(); } @CollectionFeature.Require(SUPPORTS_ITERATOR_REMOVE) @CollectionSize.Require(absent = ZERO) public void testRemoveIf_sometimesTrue() { assertTrue( "removeIf(isEqual(present)) should return true", collection.removeIf(Predicate.isEqual(samples.e0())));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jul 16 20:34:52 GMT 2025 - 4.2K bytes - Click Count (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/client/FesenClientTest.java
final Client result = fesenClient.filterWithHeader(headers); assertTrue(fesenClient == result); // Should return this assertTrue(mockNewClient == fesenClient.client); // Internal client should be updated verify(mockClient).filterWithHeader(headers); } /** * Test: deleteByQuery with new signature (without type parameter)Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Mon Jan 12 06:25:38 GMT 2026 - 16.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/ContentNotFoundExceptionTest.java
// If suppression is disabled, getSuppressed should return empty array assertEquals(0, exception.getSuppressed().length); } catch (Exception e) { // If an exception is thrown when trying to add suppressed, that's also valid // since suppression is disabled } // Stack trace should be empty since writableStackTrace is falseCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 7.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComWriteResponseTest.java
cfgMock = mock(Configuration.class); resp = new SmbComWriteResponse(cfgMock); } @Test public void testInitialCountIsZero() { assertEquals(0, resp.getCount(), "Initial count should be zero"); } @Test public void testReadParameterWordsUpdatesCount() { // create a buffer with count = 0x1234 (4660 decimal) // Using little-endian byte order as per SMBUtil.readInt2
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.1K bytes - Click Count (0)