Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 575 for setaun (0.22 sec)

  1. src/test/java/jcifs/smb1/https/HandlerTest.java

     * Tests HTTPS URL stream handler functionality with NTLM authentication support.
     */
    @DisplayName("SMB1 HTTPS Handler Tests")
    class HandlerTest {
    
        private Handler handler;
    
        @BeforeEach
        void setUp() {
            handler = new Handler();
        }
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Should create handler with default constructor")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/msrpc/SamrDomainHandleTest.java

        // Use ArgumentCaptor to capture the MsrpcSamrCloseHandle instance passed to sendrecv
        private ArgumentCaptor<MsrpcSamrCloseHandle> closeHandleCaptor;
    
        @BeforeEach
        void setUp() {
            // Initialize mocks and captors before each test
            MockitoAnnotations.openMocks(this);
            openDomainCaptor = ArgumentCaptor.forClass(MsrpcSamrOpenDomain.class);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/util/LogStreamTest.java

    class LogStreamTest {
    
        private PrintStream originalErr;
        private ByteArrayOutputStream testOutput;
        private PrintStream testStream;
        private int originalLevel;
    
        @BeforeEach
        void setUp() throws Exception {
            // Save original state
            originalErr = System.err;
            originalLevel = LogStream.level;
    
            // Create test stream
            testOutput = new ByteArrayOutputStream();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/msrpc/samrTest.java

        @Mock
        private rpc.sid_t mockSidT;
    
        @Mock
        private rpc.unicode_string mockUnicodeString;
    
        @Mock
        private lsarpc.LsarSidArray mockLsarSidArray;
    
        @BeforeEach
        void setUp() {
            // Directly set the deferred field on the mock
            mockNdrBuffer.deferred = mockDeferredBuffer;
    
            // Configure mocks for NdrBuffer interactions
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 33.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/service/FileAuthenticationService.java

            if (fileAuthenticationPager.id != null) {
                cb.query().docMeta().setId_Equal(fileAuthenticationPager.id);
            }
            // TODO Long, Integer, String supported only.
    
            // setup condition
            cb.query().addOrderBy_Hostname_Asc();
    
            // search
    
        }
    
        /**
         * Retrieves all file authentication configurations associated with a specific file configuration.
         *
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/SmbNegotiationRequestTest.java

    @ExtendWith(MockitoExtension.class)
    class SmbNegotiationRequestTest {
    
        @Mock
        private SmbNegotiationRequest negotiationRequest;
    
        private SmbNegotiationRequest customImplementation;
    
        @BeforeEach
        void setUp() {
            // Create a custom implementation for additional testing
            customImplementation = new TestSmbNegotiationRequest(false);
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java

    @ExtendWith(MockitoExtension.class)
    class NdrShortTest {
    
        /**
         * A small reusable buffer for encode/decode tests.
         */
        private byte[] raw;
        private NdrBuffer buf;
    
        @BeforeEach
        void setUp() {
            // 10 bytes is more than enough for the 2-byte short
            raw = new byte[10];
            buf = new NdrBuffer(raw, 0);
        }
    
        /**
         * Validate that the constructor masks the supplied value to its
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/netbios/NameQueryResponseTest.java

    @ExtendWith(MockitoExtension.class)
    class NameQueryResponseTest {
    
        @Mock
        private Configuration mockConfig;
    
        private NameQueryResponse nameQueryResponse;
    
        @BeforeEach
        void setUp() {
            // Mock the OEM encoding configuration with lenient stubbing
            // since not all tests need this stub
            lenient().when(mockConfig.getOemEncoding()).thenReturn("UTF-8");
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java

    import jcifs.internal.util.SMBUtil;
    
    class Smb2WriteResponseTest {
    
        @Mock
        private Configuration mockConfig;
    
        private Smb2WriteResponse response;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            response = new Smb2WriteResponse(mockConfig);
        }
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

    class Smb2ChangeNotifyRequestTest {
    
        private Configuration mockConfig;
        private CIFSContext mockContext;
        private byte[] testFileId;
        private Smb2ChangeNotifyRequest request;
    
        @BeforeEach
        void setUp() {
            mockConfig = mock(Configuration.class);
            mockContext = mock(CIFSContext.class);
            testFileId = new byte[16];
            Arrays.fill(testFileId, (byte) 0xAB);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
Back to top