Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 3,084 for shouldn (0.04 sec)

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

            // Assert
            assertNotNull(entries, "Entries array should not be null");
            assertEquals(1, entries.length, "Exactly one entry is expected");
            AppConfigurationEntry e = entries[0];
            assertNotNull(e, "Entry should not be null");
            assertEquals(EXPECTED_LOGIN_MODULE, e.getLoginModuleName(), "Login module should be Kerberos");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbOperationExceptionTest.java

        }
    
        @Test
        @DisplayName("Should handle retry policy correctly")
        void testRetryPolicy() {
            // Given
            SmbOperationException.RetryPolicy policy = new SmbOperationException.RetryPolicy(3, 1000, 10000, 2.0, true);
    
            exception = new SmbOperationException(SmbOperationException.ErrorCode.CONNECTION_TIMEOUT, "Timeout occurred", null, policy, null);
    
            // When/Then - Should retry for attempts 1 and 2
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java

                    assertEquals((byte) 0xFF, buffer[startIndex + SOURCE_KEY_SIZE + 4 + i],
                            "Reserved byte at position " + i + " should remain unchanged");
                }
            }
    
            @Test
            @DisplayName("Should encode single chunk data correctly")
            void testEncodeSingleChunk() {
                // Given
                SrvCopychunk chunk = new SrvCopychunk(1024, 2048, 4096);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/CompactHashMap.java

           * that behavior is undefined when the backing map is modified through another API. (It even
           * permits us to throw IllegalStateException. Maybe we should have done that, but we probably
           * shouldn't change now for fear of breaking people.)
           */
          return (lastKnownIndex == -1) ? unsafeNull() : value(lastKnownIndex);
        }
    
        @Override
        @ParametricNullness
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtCancelTest.java

                cancel = constructor.newInstance(mockConfig, 1);
            }
    
            @Test
            @DisplayName("isCancel should return true")
            void testIsCancelReturnsTrue() {
                assertTrue(cancel.isCancel());
            }
    
            @Test
            @DisplayName("writeParameterWordsWireFormat should return 0")
            void testWriteParameterWordsReturnsZero() throws Exception {
                // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/SmbResourceTest.java

                assertNotNull(clazz.getMethod("createNewFile"), "Should have createNewFile method");
                assertNotNull(clazz.getMethod("mkdir"), "Should have mkdir method");
                assertNotNull(clazz.getMethod("mkdirs"), "Should have mkdirs method");
                assertNotNull(clazz.getMethod("delete"), "Should have delete method");
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java

            }
    
            @Test
            @DisplayName("Should align size to 8-byte boundary")
            void testSizeAlignment() {
                int size = request.size();
                assertEquals(0, size % 8, "Size should be aligned to 8-byte boundary");
            }
    
            @ParameterizedTest
            @DisplayName("Should calculate size for various lock counts")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/spnego/SpnegoTokenTest.java

            assertTrue(t.isParsed(), "parse should mark parsed");
            assertArrayEquals(raw, t.getMechanismToken(), "parse should set mechanismToken");
        }
    
        @Test
        @DisplayName("parse throws IOException on null input")
        void parseThrowsOnNull() {
            TestSpnegoToken t = new TestSpnegoToken();
            IOException ex = assertThrows(IOException.class, () -> t.parse(null), "parse should throw IOException on null");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java

            assertTrue(s.startsWith("Trans2FindNext2["), "toString should start with class name");
            assertTrue(s.contains(",sid=" + sid), "toString should include sid in decimal");
            assertTrue(s.contains(",searchCount=" + Trans2FindFirst2.LIST_SIZE), "toString should include searchCount using LIST_SIZE");
            assertTrue(s.contains(",informationLevel=0x104"), "toString should include information level 0x104");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SimpleMemoryManagementTest.java

            assertTrue(session.isInUse(), "Session should be in use initially");
            try (SmbSessionImpl autoSession = session) {
                // Session is already in use due to transport acquisition
                assertTrue(autoSession.isInUse(), "Session should be in use");
            }
    
            // Session should be automatically released
            assertFalse(session.isInUse(), "Session should be released after try-with-resources");
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 5.7K bytes
    - Viewed (0)
Back to top