Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 223 for initially (1.12 sec)

  1. src/test/java/jcifs/smb1/smb1/SmbComTransactionTest.java

            assertTrue(transaction.hasMoreElements(), "hasMoreElements should be true after reset");
        }
    
        @Test
        @DisplayName("Test hasMoreElements() initially returns true")
        void testHasMoreElements() {
            assertTrue(transaction.hasMoreElements(), "Initially, hasMoreElements should be true");
        }
    
        @Test
        @DisplayName("Test nextElement() returns transaction on first call")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/CredentialsInternalTest.java

            // Assert
            assertNotNull(ctx, "createContext returns an SSPContext");
            assertFalse(ctx.isEstablished(), "stub context initially not established");
    
            // Verify interactions with dependency are meaningful and ordered
            InOrder order = inOrder(mockContext);
            order.verify(mockContext, times(1)).getConfig();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  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/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)
  7. 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)
  8. 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)
  9. 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)
  10. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

        private final URL url;
    
        private DfsReferralData dfsReferral = null; // For getDfsPath() and getServerWithDfs()
    
        private String unc; // Initially null; set by getUncPath; never ends with '/'
        private String uncBeforeDfsReferal;
        private String canon; // Initially null; set by getUncPath; dir must end with '/'
        private String share; // Can be null
    
        private Address[] addresses;
        private int addressIndex;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 23.6K bytes
    - Viewed (0)
Back to top