- Sort Score
- Num 10 results
- Language All
Results 151 - 160 of 4,187 for shouldn (0.06 seconds)
-
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoalTest.java
Arguments.of(null, false, null, false, "Should disable plugins when --plugins=false"), Arguments.of(null, null, "4.1.0", false, "Should disable plugins when only --model-version is set"), Arguments.of(false, null, null, false, "Should disable plugins when --all=false"), Arguments.of(null, null, null, true, "Should enable plugins by default when no options specified")); }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 13.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/concurrent/DeferredTest.java
// Second reject (should be ignored) deferred.reject(new RuntimeException("second")); // Third reject (should be ignored) deferred.reject(new RuntimeException("third")); Thread.sleep(100); assertEquals("Error callback should only be invoked once", 1, callbackCount.get()); assertEquals("Should receive first error", "first", receivedMessage.get()); }
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Feb 01 12:48:24 GMT 2026 - 21.1K bytes - Click Count (0) -
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) -
src/test/java/jcifs/SmbTreeHandleTest.java
void testGetConfig() { when(smbTreeHandle.getConfig()).thenReturn(mockConfig); Configuration config = smbTreeHandle.getConfig(); assertNotNull(config, "Configuration should not be null"); assertEquals(mockConfig, config, "Should return the mock Configuration object"); } /** * Test for close() method. * Verifies that the close method can be called without throwing an exception.
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/tomcat/webresources/FessWebResourceRootTest.java
assertNotNull(FessWebResourceRoot.class, "FessWebResourceRoot class should exist"); } @Test public void test_inheritance() { // Verify that FessWebResourceRoot extends StandardRoot assertTrue("FessWebResourceRoot should extend StandardRoot", StandardRoot.class.isAssignableFrom(FessWebResourceRoot.class)); assertTrue("FessWebResourceRoot should implement WebResourceRoot",
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 4.4K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/ConsoleIconTest.java
} @Test @DisplayName("should handle null terminal gracefully") void shouldHandleNullTerminal() { // Should fall back to system default charset for (ConsoleIcon icon : ConsoleIcon.values()) { String result = icon.getIcon(null); assertNotNull(result, "Icon result should not be null for " + icon);Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Jul 15 09:35:08 GMT 2025 - 6.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParserEdgeCaseTest.java
defaultReadingConverter, defaultReadingConverter, defaultNormalizer, analyzer); // Whitespace-only content should produce empty or filtered items // Items with blank words should be filtered for (SuggestItem item : items) { assertTrue("Items should not have blank text", item.getText().trim().length() > 0); } } @TestCreated: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sat Mar 14 02:35:38 GMT 2026 - 20.3K bytes - Click Count (0) -
src/test/java/jcifs/util/transport/TransportTest.java
} for (int state : connectedStates) { transport.setState(state); assertFalse(transport.isDisconnected(), "State " + state + " should not be disconnected"); } } @Test @DisplayName("should correctly identify failed states")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.5K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComTransactionTest.java
"Command should change to SMB_COM_NT_TRANSACT_SECONDARY for NT transactions"); } @Test @DisplayName("Test toString() method") void testToString() { String result = transaction.toString(); assertNotNull(result, "toString should not return null"); assertTrue(result.contains("command="), "toString should contain command info"); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoRequestTest.java
@Test @DisplayName("Should write correct structure size") void testWriteBytesWireFormat() { byte[] buffer = new byte[100]; int startIndex = 10; int bytesWritten = echoRequest.writeBytesWireFormat(buffer, startIndex); // Should write 4 bytes assertEquals(4, bytesWritten); // Should write structure size of 4Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.3K bytes - Click Count (0)