Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 3,662 for Void (0.02 sec)

  1. src/test/java/jcifs/internal/SMBSigningDigestTest.java

        private CommonServerMessageBlock message;
    
        private byte[] testData;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            testData = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 };
        }
    
        @Test
        @DisplayName("Test sign method with valid parameters")
        void testSignWithValidParameters() {
            // Arrange
            int offset = 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/SmbComSessionSetupAndXTest.java

        }
    
        @Test
        void testConstructor() {
            assertNotNull(setupAndX);
            assertEquals(ServerMessageBlock.SMB_COM_SESSION_SETUP_ANDX, setupAndX.command);
            assertEquals(mockSession, setupAndX.session);
            assertEquals(mockAuth, setupAndX.cred);
        }
    
        @Test
        void testConstructorWithAnonymousAuth() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java

        private Smb2QueryDirectoryResponse response;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            when(mockConfig.isUseUnicode()).thenReturn(true);
            when(mockConfig.getMaximumBufferSize()).thenReturn(65536);
        }
    
        @Test
        @DisplayName("Test constructor initializes with config and expectInfoClass")
        void testConstructor() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbSessionImplTest.java

        @DisplayName("toString contains key identifiers")
        void testToString() {
            SmbSessionImpl session = newSession();
            String s = session.toString();
            assertTrue(s.contains("targetHost=server.example"));
            assertTrue(s.contains("targetDomain=EXAMPLE"));
        }
    
        @Test
        @DisplayName("getExpiration: null when unset, value when positive")
        void testGetExpiration() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/RoleQueryHelper.java

         */
        public void addCookieNameMapping(final String cookieName, final String roleName) {
            if (cookieNameMap == null) {
                cookieNameMap = new HashMap<>();
            }
            cookieNameMap.put(cookieName, roleName);
        }
    
        /**
         * Sets the cached cipher.
         * @param cipher The cached cipher.
         */
        public void setCipher(final CachedCipher cipher) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbEnumerationUtilTest.java

            void list_withNullRoot_throwsNpe() {
                // Intent: null root is invalid input
                assertThrows(NullPointerException.class, () -> SmbEnumerationUtil.list(null, "*", 0, null, null));
            }
    
            @Test
            @DisplayName("listFiles with null root throws NullPointerException")
            void listFiles_withNullRoot_throwsNpe() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/opensearch/config/bsentity/BsJobLog.java

            return endTime;
        }
    
        public void setEndTime(Long value) {
            registerModifiedProperty("endTime");
            this.endTime = value;
        }
    
        public String getJobName() {
            checkSpecifiedProperty("jobName");
            return convertEmptyToNull(jobName);
        }
    
        public void setJobName(String value) {
            registerModifiedProperty("jobName");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeTest.java

     * same package to access its fields.
     */
    public class TransWaitNamedPipeTest {
    
        @BeforeEach
        public void setUp() {
            MockitoAnnotations.openMocks(this);
        }
    
        @Test
        public void testConstructorInitializesFields() {
            // Test constructor initialization with proper expectations
            String pipeName = "\\\\pipe\\testPipe";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java

    /**
     * Test secure password handling in NtlmPasswordAuthenticator
     */
    public class NtlmPasswordAuthenticatorTest {
    
        /**
         * Test password storage using char arrays
         */
        @Test
        public void testPasswordAsCharArray() {
            String testPassword = "TestPassword123!";
            NtlmPasswordAuthenticator auth = new NtlmPasswordAuthenticator("testuser", testPassword);
    
            // Check that password can be retrieved
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java

        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            buffer = new DfsReferralResponseBuffer();
        }
    
        @Nested
        @DisplayName("Constructor and Initial State Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Should initialize with null referrals")
            void testInitialState() {
                assertNull(buffer.getReferrals());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.4K bytes
    - Viewed (0)
Back to top