Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 323 for Multiple (0.03 sec)

  1. 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)
  2. 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 values
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/test/java/jcifs/spnego/NegTokenInitTest.java

                assertEquals(0, init.getContextFlags());
            }
    
            @Test
            @DisplayName("Multiple flags can be combined correctly")
            void testMultipleFlagsCombination() {
                NegTokenInit init = new NegTokenInit();
    
                // Set multiple flags
                init.setContextFlag(NegTokenInit.DELEGATION, true);
                init.setContextFlag(NegTokenInit.INTEGRITY, true);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/net/protocol/storage/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("storage://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.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java

            assertEquals(SmbComTransaction.TRANS2_SET_FILE_INFORMATION, newResponse.getSubCommand());
        }
    
        @Test
        @DisplayName("Test multiple sequential calls to read/write methods")
        void testMultipleSequentialCalls() {
            byte[] buffer = new byte[200];
    
            // Multiple calls should each return 0
            for (int i = 0; i < 10; i++) {
                assertEquals(0, response.writeSetupWireFormat(buffer, i * 10));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
Back to top