Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 347 for directly (0.35 sec)

  1. src/test/java/org/codelibs/curl/CurlTest.java

            assertEquals("TRACE", traceMethod.toString());
        }
    
        @Test
        public void test_TraceMethodWithCurlRequest() {
            // ## Test creating a CurlRequest with TRACE method directly ##
            // ## Note: There's no Curl.trace() factory method, but we can use the constructor ##
    
            // ## Act ##
            final CurlRequest request = new CurlRequest(Method.TRACE, "http://example.com");
    
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Thu Nov 20 13:34:13 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/suggest/settings/SuggestSettingsBuilderTest.java

            SuggestSettings settings = builder.build(client, id);
    
            assertNotNull(settings);
            // Verify that the settings object was created with the correct parameters
            // Note: We can't directly verify internal state of SuggestSettings without getters,
            // but we can verify it was created successfully
        }
    
        @Test
        public void testBuildWithCustomSettings() {
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java

            void testConstructor() {
                Smb2WriteResponse writeResponse = new Smb2WriteResponse(mockConfig);
                assertNotNull(writeResponse);
                // Note: getConfig() is protected, cannot test directly
            }
    
            @Test
            @DisplayName("Should initialize count to zero")
            void testInitialCountValue() {
                assertEquals(0, response.getCount());
            }
    
            @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java

            List<SmbFile> files = Arrays.asList(mockFile1, mockFile2);
            directoryLeaseManager.updateDirectoryCache(directoryPath, files);
    
            // Verify cache entry was updated (test the cache content directly)
            DirectoryCacheEntry cacheEntry = directoryLeaseManager.getCacheEntry(directoryPath);
            assertNotNull(cacheEntry);
            assertTrue(cacheEntry.isComplete());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/entity/DataStoreParams.java

         */
        public Object get(final String key) {
            return params.get(key);
        }
    
        /**
         * Retrieves a parameter value as a String.
         * If the stored value is already a String, it is returned directly.
         * Otherwise, the toString() method is called on the value.
         *
         * @param key the parameter key to look up
         * @return the parameter value as a String, null if not found or value is null
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java

            // When
            request.setFileId(testFileId);
    
            // Then - verify through internal state (would need getter or reflection in real scenario)
            // Since we can't directly verify the internal state, we create a new request to test
            Smb2CloseRequest newRequest = new Smb2CloseRequest(mockConfig, testFileId);
            assertNotNull(newRequest, "Should create request with new file ID");
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java

            notifyChange = new NtTransNotifyChange(mockConfig, 0x1234, FILE_NOTIFY_CHANGE_FILE_NAME, false);
    
            // The setup count should be initialized to 0x04 in the constructor
            // We can't directly access it, but we can verify the behavior is correct
            assertNotNull(notifyChange);
        }
    
        @Test
        @DisplayName("Test combined completion filters")
        void testCombinedCompletionFilters() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java

            // Arrange: spy to verify internal interaction with checkRelease()
            CIFSContext ctx = mock(CIFSContext.class);
            SmbTreeConnectionTrace trace = Mockito.spy(new SmbTreeConnectionTrace(ctx));
    
            // Act: directly invoke finalize to simulate GC finalization path
            trace.finalize();
    
            // Assert: verify that finalize delegated to checkRelease()
            verify(trace, times(1)).checkRelease();
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java

            // Test that inherited properties are accessible
    
            // Test dataCount property - using public method
            response.setDataCount(100);
            // Note: getDataCount() is protected, so we can't test it directly
    
            // Test subCommand property
            assertEquals(SmbComTransaction.TRANS2_SET_FILE_INFORMATION, response.getSubCommand());
    
            // Test status property - getStatus() is public
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SigningDigest.java

            update(sequence, 0, sequence.length);
            index += 8;
            if (response.command == ServerMessageBlock.SMB_COM_READ_ANDX) {
                /* SmbComReadAndXResponse reads directly from the stream into separate byte[] b.
                 */
                final SmbComReadAndXResponse raxr = (SmbComReadAndXResponse) response;
                final int length = response.length - raxr.dataLength;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.9K bytes
    - Viewed (0)
Back to top