- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 403 for Multiple (0.04 sec)
-
src/test/java/jcifs/EmptyIteratorTest.java
throw new RuntimeException(e); } }, "Multiple close operations should not cause issues"); // Verify iterator still works after multiple closes assertFalse(emptyIterator.hasNext(), "Iterator should still work after multiple closes"); assertNull(emptyIterator.next(), "Iterator should still return null after multiple closes"); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/ExtractDataTest.java
} public void test_complexScenario() { // Test complex scenario with multiple operations ExtractData data = new ExtractData(); // Set content String content = "This is a long extracted content from a PDF document. " + "It contains multiple paragraphs and rich text."; data.setContent(content); // Add single valuesRegistered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrShortTest.java
@Nested @DisplayName("Edge Cases and Error Handling") class EdgeCaseTests { @Test @DisplayName("Should handle multiple operations correctly") void testMultipleOperations() throws NdrException { // Given: NdrShort that will be used multiple times NdrShort ndrShort = new NdrShort(50); NdrBuffer buffer1 = mock(NdrBuffer.class);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.2K bytes - Viewed (0) -
src/test/java/jcifs/context/BaseContextTest.java
// Then assertNotNull(transportPool, "Transport pool should not be null"); assertSame(transportPool, context.getTransportPool(), "Should return same instance on multiple calls"); } @Test @DisplayName("getConfig should return the provided configuration") void testGetConfig() { // When Configuration config = context.getConfig();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 15.1K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/net/protocol/gcs/HandlerTest.java
assertEquals("mybucket", getField(conn, "bucketName")); assertEquals("", getField(conn, "objectName")); } /** * Test URL with multiple consecutive slashes. * Note: Java's URL class does NOT normalize multiple slashes in the path. */ public void test_urlParsing_multipleSlashes() throws Exception { URL url = new URL("gcs://mybucket//path//to//object.txt");Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 08:38:29 UTC 2025 - 14.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Call.kt
* called and that value is both inserted and returned. * * If multiple calls to this function are made concurrently with the same [type], multiple values * may be computed. But only one value will be inserted, and that inserted value will be returned * to all callers. * * If computing multiple values is problematic, use an appropriate concurrency mechanism in your
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Nov 05 18:28:35 UTC 2025 - 6.8K bytes - Viewed (0) -
src/test/java/jcifs/SmbTreeTest.java
doNothing().when(smbTree).close(); smbTree.close(); verify(smbTree).close(); } /** * Test for close() method called multiple times. * Verifies that close can be called multiple times safely. */ @Test void testClose_multipleTimes() { doNothing().when(smbTree).close(); smbTree.close(); smbTree.close();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/MimeMapTest.java
} @Nested @DisplayName("Performance and concurrency") class PerformanceTests { @Test @DisplayName("Should handle multiple lookups efficiently") void testMultipleLookups() throws IOException { // Test that multiple lookups work correctly for (int i = 0; i < 100; i++) { assertEquals("application/pdf", mimeMap.getMimeType("pdf"));Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/SmbNegotiationTest.java
void testGetRequest() { // Verify getRequest returns the exact same instance SmbNegotiationRequest request = negotiation.getRequest(); assertSame(mockRequest, request); // Verify multiple calls return the same instance assertSame(request, negotiation.getRequest()); } @Test @DisplayName("getResponse should return the same response instance") void testGetResponse() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Ordering.java
Integer uid = uids.get(obj); if (uid == null) { // One or more integer values could be skipped in the event of a race // to generate a UID for the same object from multiple threads, but // that shouldn't be a problem. uid = counter.getAndIncrement(); Integer alreadySet = uids.putIfAbsent(obj, uid); if (alreadySet != null) { uid = alreadySet;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 17:50:58 UTC 2025 - 39.5K bytes - Viewed (0)