Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 429 for properly (0.29 sec)

  1. src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java

            FileEntry fe3 = mock(FileEntry.class);
            lenient().when(fe3.getName()).thenReturn("file3");
            when(fe3.getFileIndex()).thenReturn(3);
    
            // Track query count to handle multiple queries properly
            final int[] queryCount = { 0 };
    
            // Mock send(create) to wire a query response with fe1, fe2
            doAnswer(inv -> {
                Object arg = inv.getArgument(0);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbTransportImpl.java

            /*
             * We cannot use Transport.sendrecv() yet because
             * the Transport thread is not setup until doConnect()
             * returns and we want to suppress all communication
             * until we have properly negotiated.
             */
            synchronized (this.inLock) {
                if (prt == 139) {
                    ssn139();
                } else {
                    if (prt == 0) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/UniAddress.java

     * <a href="../../resolver.html">Setting Name Resolution Properties</a>
     * and the <code>jcifs.smb1.resolveOrder</code> property. Changing
     * jCIFS name resolution properties can greatly affect the behavior of
     * the client and may be necessary for proper operation.
     * <p>
     * This class should be used in favor of {@code InetAddress} to resolve
     * hostnames on LANs and WANs that support a mixture of NetBIOS/WINS and
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

            }
    
            // Wait for server to be ready - with proper error handling for CI environments
            try {
                waitForServerReady();
            } catch (RuntimeException e) {
                log.warn("SMB server readiness check failed: {}", e.getMessage());
                // In CI environments or when Docker is not properly set up, skip the tests instead of failing
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java

            // Verify bufDataStart was not changed
            assertEquals(999, bufDataStartField.get(response));
        }
    
        @ParameterizedTest
        @DisplayName("Test reserved bytes are properly skipped")
        @ValueSource(bytes = { 0x00, 0x01, (byte) 0xFF, 0x7F, (byte) 0x80 })
        void testReservedBytesSkipped(byte reservedValue) throws Exception {
            byte[] buffer = new byte[100];
            int bufferIndex = 0;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

                System.arraycopy(fileId, 0, buffer, 8, 16);
    
                int bytesRead = notification.readBytesWireFormat(buffer, 0);
                assertEquals(24, bytesRead);
    
                // Verify that reserved fields were properly skipped
                Field oplockLevelField = Smb2OplockBreakNotification.class.getDeclaredField("oplockLevel");
                oplockLevelField.setAccessible(true);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  7. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataServiceTest.java

                builder.setSize(10);
            });
    
            assertNotNull(results);
            assertEquals(5, results.size());
    
            // Verify fields are properly fetched
            for (final OpenSearchAccessResult result : results) {
                assertNotNull(result.getUrl());
                assertNotNull(result.getSessionId());
                assertNotNull(result.getMimeType());
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:40:57 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java

            assertTrue(result >= 8);
            assertNotNull(response.getResults());
        }
    
        @Test
        @DisplayName("Test readBytesWireFormat with properly formed empty response")
        void testReadBytesWireFormatProperlyFormedEmpty() throws Exception {
            response = new Smb2QueryDirectoryResponse(mockConfig, Smb2QueryDirectoryRequest.FILE_BOTH_DIRECTORY_INFO);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/ntlmssp/Type3MessageTest.java

    class Type3MessageTest {
    
        @Mock
        private CIFSContext mockContext;
    
        @BeforeEach
        void setUp() {
            // Basic setup for mock context if needed
        }
    
        /**
         * Helper method to create properly configured mock context
         */
        private CIFSContext createMockContext() {
            CIFSContext mockCtx = mock(CIFSContext.class);
            Configuration mockConfig = mock(Configuration.class);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/config/DelegatingConfigurationTest.java

    import jcifs.Configuration;
    import jcifs.DialectVersion;
    import jcifs.ResolverType;
    
    /**
     * Comprehensive test suite for DelegatingConfiguration class.
     * Tests the delegation pattern and ensures all methods properly delegate.
     */
    @DisplayName("DelegatingConfiguration Tests")
    class DelegatingConfigurationTest extends BaseTest {
    
        @Mock
        private Configuration mockDelegate;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
Back to top