Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 211 for initially (0.82 sec)

  1. src/test/java/jcifs/BufferCacheTest.java

            assertEquals(1024, buffer2.length, "Buffer should have expected size");
            assertNotSame(buffer1, buffer2, "Different calls should return different buffers initially");
        }
    
        @Test
        @DisplayName("releaseBuffer and getBuffer should implement buffer reuse")
        void testBufferReuse() {
            // Given
            byte[] originalBuffer = testCache.getBuffer();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/witness/WitnessRegistrationTest.java

            assertTrue(registration.getLastHeartbeat() > initialTime);
        }
    
        @Test
        void testExpiration() throws InterruptedException {
            // Registration should not be expired initially with long timeout
            assertFalse(registration.isExpired(60000));
    
            // Wait a bit to ensure some time has passed
            Thread.sleep(50);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/SmbComNtTransactionResponseTest.java

        void setUp() {
            response = new TestableSmbComNtTransactionResponse();
        }
    
        @Test
        void testReadParameterWordsWireFormat_bufDataStartIsZero() {
            // Test case when bufDataStart is initially 0.
            byte[] buffer = new byte[37]; // 3 reserved + 8*4 bytes for int4 values + 2 bytes for setupCount
            int bufferIndex = 0;
    
            // Reserved bytes
            buffer[bufferIndex++] = 0x00;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/context/SingletonContextTest.java

        }
    
        @Test
        void testGetInstanceInitializesIfNull() {
            // Test getInstance initializes the context if it's null
            assertNull(getSingletonInstanceViaReflection()); // Ensure it's null initially
            CIFSContext context = SingletonContext.getInstance();
            assertNotNull(context);
            assertNotNull(getSingletonInstanceViaReflection()); // Should be initialized now
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/net/protocol/gcs/HandlerTest.java

            assertEquals("my.bucket.name", getField(gcsConn, "bucketName"));
            assertEquals("object.txt", getField(gcsConn, "objectName"));
        }
    
        /**
         * Test that GCS Storage client is initially null before connection.
         */
        public void test_connectionState_initiallyNotConnected() throws Exception {
            URL url = new URL("gcs://mybucket/object.txt");
            Handler handler = new Handler();
    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/smb2/io/Smb2ReadResponseTest.java

        }
    
        @Test
        @DisplayName("Should initially have zero data length")
        void testInitialDataLength() {
            // Then
            assertEquals(0, response.getDataLength());
        }
    
        @Test
        @DisplayName("Should initially have zero data remaining")
        void testInitialDataRemaining() {
            // Then
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

            // Test we can read the initial file that was created
            SmbFile initialFile = new SmbFile(baseUrl + "shared/initial.txt", context);
            assertTrue(initialFile.exists(), "Initial file should exist");
            assertTrue(initialFile.isFile(), "Initial file should be a file");
            assertTrue(initialFile.canRead(), "Should be able to read initial file");
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbTransportPoolImplTest.java

            negotiatedField.setAccessible(true);
            negotiatedField.set(initial, negotiationResponse);
    
            // When: Request connection with signing enforced
            SmbTransportImpl withSigning = pool.getSmbTransport(ctx, address, 445, false, true);
    
            // Then: Should create new connection
            assertNotSame(initial, withSigning, "Should create new connection with different signing");
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

            // Given
            Smb2EncryptionContext context = new Smb2EncryptionContext(1, DialectVersion.SMB311, testEncryptionKey, testDecryptionKey);
    
            // When - initially should not need rotation
            assertFalse(context.needsKeyRotation(), "Should not need rotation initially");
    
            // Note: We can't directly test the byte limit without encrypting large amounts of data,
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java

            assertNotNull(response);
            assertNull(response.getResults()); // Should be null before decoding
        }
    
        @Test
        @DisplayName("Test getResults returns null initially")
        void testGetResultsInitiallyNull() {
            response = new Smb2QueryDirectoryResponse(mockConfig, (byte) 0x03);
    
            assertNull(response.getResults());
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.5K bytes
    - Viewed (0)
Back to top