Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 149 for acct (0.01 sec)

  1. src/test/java/jcifs/internal/smb2/session/Smb2LogoffResponseTest.java

        @Test
        @DisplayName("Constructor accepts a Configuration and creates instance")
        void constructor_happyPath() {
            // Arrange
            Configuration cfg = Mockito.mock(Configuration.class);
    
            // Act
            Smb2LogoffResponse resp = new Smb2LogoffResponse(cfg);
    
            // Assert
            assertNotNull(resp, "Response instance should be created");
        }
    
        @Nested
        @DisplayName("writeBytesWireFormat")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/msrpc/SamrDomainHandleTest.java

                MsrpcSamrOpenDomain rpc = invocation.getArgument(0);
                rpc.retval = 0; // Success
                return null;
            }).when(mockDcerpcHandle).sendrecv(any(MsrpcSamrOpenDomain.class));
    
            // Act
            SamrDomainHandle handle = new SamrDomainHandle(mockDcerpcHandle, mockPolicyHandle, access, mockSid);
    
            // Assert
            assertNotNull(handle);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/CredentialsInternalTest.java

            boolean guest = flags[1];
    
            // Arrange
            Subject subject = new Subject();
            TestCredentials creds = new TestCredentials("DOMAIN", anonymous, guest, subject, false);
    
            // Act & Assert
            // unwrap to interface itself should return same instance
            CredentialsInternal unwrapped = creds.unwrap(CredentialsInternal.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java

            String wildcard = "*.*";
            int attrs = 123;
            FileEntry initial = entry("first");
            List<FileEntry[]> pages = List.of(new FileEntry[][] { new FileEntry[] {} });
    
            // Act
            TestIterator it = TestIterator.create(tree, parent, wildcard, null, attrs, initial, pages);
    
            // Assert
            assertSame(tree, it.getTreeHandle(), "tree handle should be same instance returned by acquire");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/SMBProtocolDecodingExceptionTest.java

        @Mock
        Throwable mockCause;
    
        @Test
        @DisplayName("No-arg constructor: null message and cause; can be thrown")
        void defaultConstructor_behavesAsExpected() {
            // Arrange & Act
            SMBProtocolDecodingException ex = new SMBProtocolDecodingException();
    
            // Assert state
            assertNull(ex.getMessage(), "Default constructor should have null message");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/netbios/NodeStatusRequestTest.java

            // Act & Assert
            assertEquals(0, nodeStatusRequest.readRDataWireFormat(src, 0));
            assertEquals(0, nodeStatusRequest.readRDataWireFormat(src, 50));
            assertEquals(0, nodeStatusRequest.readRDataWireFormat(src, 99));
        }
    
        @Test
        void toString_shouldReturnFormattedString() {
            // Arrange
            nodeStatusRequest = new NodeStatusRequest(mockConfig, mockName);
    
            // Act
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/FileEntryTest.java

            // Act
            long actual = getter.apply(e);
            // Assert
            assertEquals(value, actual, label);
        }
    
        @Test
        @DisplayName("Calling a method on null reference throws NPE")
        void nullReference_throwsNPE() {
            // Arrange
            FileEntry e = null;
            // Act & Assert: demonstrate invalid usage results in NPE
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/msrpc/MsrpcLookupSidsTest.java

            testSids = new jcifs.SID[] { mockSid };
    
            // Act & Assert - Constructor accepts null, no exception thrown
            assertDoesNotThrow(() -> {
                new MsrpcLookupSids(null, testSids);
            });
        }
    
        @Test
        void constructor_shouldThrowExceptionWithNullSids() {
            // Act & Assert - Null SID array causes NPE when accessing length
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeTest.java

        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
        }
    
        @Test
        @DisplayName("Constructor should initialize with correct values")
        void testConstructor() {
            // Act
            transPeekNamedPipe = new TransPeekNamedPipe(mockConfig, TEST_PIPE_NAME, TEST_FID);
    
            // Assert
            assertNotNull(transPeekNamedPipe);
            assertEquals(TEST_PIPE_NAME, transPeekNamedPipe.name);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  10. cmd/testdata/config/2.yaml

            - 'https://server3-pool2:9000/mnt/disk{1...4}/'
            - 'https://server4-pool2:9000/mnt/disk{1...4}/'
    
    options:
      ftp: # settings for MinIO to act as an ftp server
            address: ':8021'
            passive-port-range: '30000-40000'
      sftp: # settings for MinIO to act as an sftp server
            address: ':8022'
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Dec 07 09:33:56 UTC 2023
    - 869 bytes
    - Viewed (0)
Back to top