- Sort Score
- Num 10 results
- Language All
Results 301 - 310 of 3,253 for _shouldn (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddAllTester.java
@CollectionSize.Require(absent = ZERO) public void testAddAll_supportedSomePresent() { assertTrue( "addAll(somePresent) should return true", collection.addAll(MinimalCollection.of(e3(), e0()))); assertTrue("should contain " + e3(), collection.contains(e3())); assertTrue("should contain " + e0(), collection.contains(e0())); } @CollectionFeature.Require(absent = SUPPORTS_ADD)
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 7.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/app/web/base/FessAdminActionTest.java
final String message = e.getMessage(); assertTrue("Error message should contain var path: " + message, message.contains(varDir.toFile().getCanonicalPath())); assertTrue("Error message should contain webapp path: " + message, message.contains(webappDir.toFile().getCanonicalPath())); assertTrue("Error message should contain conf path: " + message, message.contains(confDir.toFile().getCanonicalPath())); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 14:36:23 GMT 2026 - 22.7K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbSessionTest.java
}).when(transport).send(any(ServerMessageBlock.class), any(ServerMessageBlock.class)); session.send(req, resp); // Response state should be reset assertFalse(resp.received, "Response flag should be reset"); // transport.send should be called at least once (for sessionSetup and the actual request) verify(transport, atLeastOnce()).send(any(ServerMessageBlock.class), any(ServerMessageBlock.class));
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.6K bytes - Click Count (0) -
src/test/java/org/codelibs/curl/io/IOIntegrationTest.java
latch.countDown(); }); // ## Assert ## assertTrue("Async execution should complete within 5 seconds", latch.await(5, TimeUnit.SECONDS)); assertNotNull(threadName.get()); // The async execution should have run on a ForkJoinPool thread, not the main thread assertTrue("Should run on ForkJoinPool thread: " + threadName.get(),
Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 12:00:34 GMT 2026 - 44.1K bytes - Click Count (0) -
src/test/java/jcifs/CIFSExceptionTest.java
} @Test @DisplayName("Should handle null message") void testNullMessage() { // When/Then assertDoesNotThrow(() -> { CIFSException exception = new CIFSException((String) null); assertNotNull(exception); }); } @Test @DisplayName("Should handle null cause") void testNullCause() { // When/ThenCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.5K bytes - Click Count (0) -
src/test/java/jcifs/CredentialsTest.java
*/ @DisplayName("Credentials Interface Tests") class CredentialsTest extends BaseTest { @Mock private Credentials mockCredentials; @Test @DisplayName("Should define interface methods") void testCredentialsInterface() { // Verify interface methods exist assertDoesNotThrow(() -> { mockCredentials.unwrap(Credentials.class);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/action/FessHtmlPathTest.java
Object value = field.get(null); assertNotNull(value, "Field " + field.getName() + " should not be null"); assertTrue(value instanceof HtmlNext, "Field " + field.getName() + " should be HtmlNext instance"); } } } } @Test public void test_pathValues() throws Exception {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 13.1K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/AbstractCache.java
/** * Records cache hits. This should be called when a cache request returns a cached value. * * @param count the number of hits to record * @since 11.0 */ void recordHits(int count); /** * Records cache misses. This should be called when a cache request returns a value that was not * found in the cache. This method should be called by the loading thread, as well as by threadsCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 9.1K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/CheckTest.java
@Test @DisplayName("should not save modifications to disk") void shouldNotSaveModificationsToDisk() { assertFalse(checkGoal.shouldSaveModifications(), "Check goal should not save modifications to disk"); } } @Nested @DisplayName("Execution") class ExecutionTests { @Test @DisplayName("should log appropriate header message")Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Jun 07 06:22:47 GMT 2025 - 4.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/NotificationHelperTest.java
} }); MockSMailPostingDiscloser discloser = new MockSMailPostingDiscloser(); // Should return early without doing anything try { notificationHelper.sendToSlack(null, discloser); } catch (Exception e) { fail("sendToSlack() should not throw an exception with blank URLs: " + e.getMessage()); } } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 20K bytes - Click Count (0)