Search Options

Results per page
Sort
Preferred Languages
Advance

Results 801 - 810 of 1,142 for Setup (0.02 sec)

  1. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java

    import jcifs.internal.util.SMBUtil;
    
    public class SmbComQueryInformationResponseTest {
    
        private Configuration mockConfig;
        private SmbComQueryInformationResponse response;
    
        @BeforeEach
        void setUp() {
            mockConfig = mock(Configuration.class);
        }
    
        @Test
        void testConstructor() {
            // Test constructor with positive timezone offset
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java

    public class SmbComRenameTest {
    
        private Configuration config;
        private SmbComRename smbComRename;
    
        @Mock
        private Configuration mockConfig;
    
        @BeforeEach
        public void setUp() throws CIFSException {
            MockitoAnnotations.openMocks(this);
            config = new PropertyConfiguration(new Properties());
        }
    
        /**
         * Test constructor initialization with valid parameters
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java

    import jcifs.internal.util.SMBUtil;
    
    /**
     * Unit tests for FileNotifyInformationImpl class
     */
    class FileNotifyInformationImplTest {
    
        private FileNotifyInformationImpl notifyInfo;
    
        @BeforeEach
        void setUp() {
            notifyInfo = new FileNotifyInformationImpl();
        }
    
        @Test
        @DisplayName("Test default constructor creates instance with null values")
        void testDefaultConstructor() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/netbios/SessionRequestPacketTest.java

        @Mock
        private Configuration mockConfig;
    
        @Mock
        private NetbiosName mockCalledName;
    
        @Mock
        private NetbiosName mockCallingName;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            when(mockConfig.getNetbiosScope()).thenReturn(null);
            // Configure OEM encoding to avoid NullPointerException
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/http/HandlerTest.java

    @ExtendWith(MockitoExtension.class)
    class HandlerTest {
    
        @Mock
        private CIFSContext mockCifsContext;
    
        private Handler handler;
    
        private Properties originalSystemProperties;
    
        @BeforeEach
        void setUp() throws Exception {
            // Backup system properties to restore them after each test
            originalSystemProperties = (Properties) System.getProperties().clone();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/util/ServerResponseValidatorTest.java

    import jcifs.smb.SmbException;
    
    /**
     * Test cases for ServerResponseValidator
     */
    public class ServerResponseValidatorTest {
    
        private ServerResponseValidator validator;
    
        @BeforeEach
        public void setUp() {
            validator = new ServerResponseValidator();
        }
    
        @Test
        public void testValidBuffer() throws Exception {
            byte[] buffer = new byte[1024];
            validator.validateBuffer(buffer, 100, 2048);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java

        private static final long TEST_CHANGE_TIME = System.currentTimeMillis(); // now
        private static final int TEST_ATTRIBUTES = 0x00000020; // FILE_ATTRIBUTE_ARCHIVE
    
        @BeforeEach
        void setUp() {
            fileBasicInfo = new FileBasicInfo();
        }
    
        @Test
        @DisplayName("Test default constructor")
        void testDefaultConstructor() {
            // Verify default values
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java

        private static final String TEST_REMARK = "Test share remark";
        private static final int TEST_TYPE = 0x00000000; // Standard share type
    
        @BeforeEach
        void setUp() {
            shareInfo = new SmbShareInfo();
        }
    
        @Test
        @DisplayName("Test default constructor")
        void testDefaultConstructor() {
            // Verify default values
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionResponseTest.java

            }
    
            void setThrowExceptionOnReadData(boolean value) {
                this.throwExceptionOnReadData = value;
            }
        }
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            when(mockConfig.getMaximumBufferSize()).thenReturn(65535);
            when(mockConfig.getPid()).thenReturn(1234);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/RequestTest.java

        @Mock
        private CIFSContext context;
    
        @Mock
        private CommonServerMessageBlock disconnectRequest;
    
        @Mock
        private CommonServerMessageBlockRequest nextRequest;
    
        @BeforeEach
        void setUp() {
            // Reset mocks before each test
            reset(request, response, context, disconnectRequest, nextRequest);
        }
    
        @Test
        @DisplayName("Test initResponse returns initialized response")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
Back to top