Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 446 for initially (0.05 sec)

  1. 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)
  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/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)
  4. 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)
  5. 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)
  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. impl/maven-core/src/test/java/org/apache/maven/project/ResourceIncludeTest.java

            Resource resource = resources.get(0);
            assertEquals(Path.of("src/main/resources").toString(), resource.getDirectory());
            assertTrue(resource.getIncludes().isEmpty(), "Initially should have no includes");
    
            // Add an include - this should work now
            resource.addInclude("test");
    
            // Verify the include was added
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 07 13:11:07 UTC 2025
    - 12.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. 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)
  10. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/client/FesenClientTest.java

        }
    
        /**
         * Test: Verify connected flag is set correctly
         */
        @Test
        public void testConnectedFlag() {
            assertFalse("Initially not connected", fesenClient.connected());
    
            // After destroy, should be disconnected
            fesenClient.destroy();
            assertFalse("Should be disconnected after destroy", fesenClient.connected());
        }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:44:44 UTC 2025
    - 17K bytes
    - Viewed (0)
Back to top