Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 222 for initially (2.22 sec)

  1. 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)
  2. src/test/java/jcifs/SmbResourceLocatorTest.java

        void testDfsReferralData() throws Exception {
            String url = "smb://server/share/path/";
            DummySmbResourceLocator loc = new DummySmbResourceLocator(url);
    
            // Initially no DFS referral
            assertNull(loc.getDfsReferral());
    
            // Set and retrieve DFS referral
            loc.setDfsReferral(dfs);
            assertSame(dfs, loc.getDfsReferral());
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8K bytes
    - Viewed (0)
  3. 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)
  4. src/test/java/jcifs/spnego/NegTokenInitTest.java

            @DisplayName("Individual flag values are correctly set and retrieved")
            void testIndividualFlagValues(int flag) {
                NegTokenInit init = new NegTokenInit();
    
                // Initially false
                assertFalse(init.getContextFlag(flag));
    
                // Set to true
                init.setContextFlag(flag, true);
                assertTrue(init.getContextFlag(flag));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java

        void isOpen_isStale_transitions() throws Exception {
            SmbPipeHandleImpl handle = newHandleWithBasicStubs(0, "\\\\pipe\\\\w");
            assertFalse(handle.isOpen(), "Initially not open");
            assertFalse(handle.isStale(), "Initially not stale");
    
            // After ensureOpen with valid fh
            when(pipe.ensureTreeConnected()).thenReturn(tree);
            when(tree.acquire()).thenReturn(tree);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbPipeHandleImplTest.java

            when(fileHandle.acquire()).thenReturn(fileHandle);
            when(fileHandle.isValid()).thenReturn(true);
            when(fileHandle.getTree()).thenReturn(tree);
    
            // Initially not open (isStale returns false when handle is null, not true)
            assertFalse(target.isOpen());
            assertFalse(target.isStale());
    
            // After ensureOpen, handle valid -> open
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java

        }
    
        @Test
        @DisplayName("Test setFileInfoClass sets correct info type")
        void testSetFileInfoClassSetsCorrectInfoType() {
            request = new Smb2QueryInfoRequest(mockConfig);
    
            // Initially set a different info type
            request.setInfoType((byte) 0x05);
    
            // Call setFileInfoClass which should override info type
            request.setFileInfoClass((byte) 0x10);
    
            try {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/util/SecureKeyManagerTest.java

            String sessionId = "rotation-test";
            keyManager.storeSessionKey(sessionId, testKey, "AES");
    
            // Initial version should be 0
            assertEquals(0, keyManager.getKeyVersion(sessionId), "Initial version should be 0");
    
            // Rotate key
            int newVersion = keyManager.rotateSessionKey(sessionId);
            assertEquals(1, newVersion, "New version should be 1");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/context/CIFSContextCredentialWrapperTest.java

            assertEquals(mockCredentials, wrapper.getCredentials(), "Initial credentials should be set by constructor");
        }
    
        @Test
        @DisplayName("Should return the credentials provided in the constructor")
        void testGetCredentials() {
            assertEquals(mockCredentials, wrapper.getCredentials(), "getCredentials should return the initially set credentials");
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/suggest/SuggesterRefactoringTest.java

            suggester.createIndexIfNothing();
            Thread.sleep(100);
    
            // Verify initial state - should have one index
            GetAliasesResponse aliasResponse = client.admin().indices().prepareGetAliases(suggester.getIndex()).execute().actionGet();
            assertTrue("Should have at least one index initially", aliasResponse.getAliases().size() >= 1);
    
            // Create next index - this is the main method we're testing
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 13.4K bytes
    - Viewed (0)
Back to top