Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 103 for TestConstructor (0.06 sec)

  1. src/test/java/jcifs/smb1/smb1/SmbComNtTransactionTest.java

                return "ConcreteSmbComNtTransaction";
            }
        }
    
        @BeforeEach
        void setUp() {
            smbComNtTransaction = new ConcreteSmbComNtTransaction();
        }
    
        @Test
        void testConstructor() {
            // Test if the offsets are initialized correctly by the constructor.
            assertEquals(69, smbComNtTransaction.primarySetupOffset, "primarySetupOffset should be initialized to 69");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/com/SmbComCloseTest.java

        }
    
        /**
         * Test method for {@link jcifs.internal.smb1.com.SmbComClose#SmbComClose(jcifs.Configuration, int, long)}.
         */
        @Test
        public void testConstructor() {
            // Given
            int fid = 123;
            long lastWriteTime = System.currentTimeMillis();
    
            // When
            SmbComClose smbComClose = new SmbComClose(config, fid, lastWriteTime);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/multichannel/ChannelInfoTest.java

            remoteInterface = new NetworkInterfaceInfo(remoteAddr, 1000);
    
            channelInfo = new ChannelInfo("test-channel", mockTransport, localInterface, remoteInterface);
        }
    
        @Test
        void testConstructor() {
            assertEquals("test-channel", channelInfo.getChannelId());
            assertEquals(mockTransport, channelInfo.getTransport());
            assertEquals(localInterface, channelInfo.getLocalInterface());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/curl/CurlResponseTest.java

    import org.junit.Test;
    
    /**
     * Test class for CurlResponse.
     * Tests response handling, header operations, and content access.
     */
    public class CurlResponseTest {
    
        @Test
        public void testConstructor() {
            CurlResponse response = new CurlResponse();
            assertNotNull(response);
        }
    
        @Test
        public void testHttpStatusCode() {
            CurlResponse response = new CurlResponse();
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/suggest/converter/AnalyzerConverterTest.java

                    .execute()
                    .actionGet();
    
            client.admin().indices().prepareRefresh(SUGGEST_INDEX).execute().actionGet();
        }
    
        @Test
        public void testConstructor() {
            // Test constructor initialization
            AnalyzerConverter testConverter = new AnalyzerConverter(client, settings);
            assertNotNull(testConverter);
        }
    
        @Test
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponseTest.java

     */
    class Trans2QueryFSInformationResponseTest {
    
        /**
         * Tests the constructor to ensure it sets up the command and subcommand correctly.
         */
        @Test
        void testConstructor() {
            Trans2QueryFSInformationResponse response =
                    new Trans2QueryFSInformationResponse(Trans2QueryFSInformationResponse.SMB_INFO_ALLOCATION);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/curl/CurlRequestTest.java

    import org.junit.Test;
    
    /**
     * Test class for CurlRequest.
     * Tests the fluent API, parameter handling, and request configuration.
     */
    public class CurlRequestTest {
    
        @Test
        public void testConstructor() {
            String url = "https://example.com";
            CurlRequest request = new CurlRequest(Method.GET, url);
    
            assertEquals(Method.GET, request.method());
            assertEquals("UTF-8", request.encoding());
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java

        void setUp() {
            MockitoAnnotations.openMocks(this);
            response = new Smb2FlushResponse(mockConfig);
        }
    
        @Test
        @DisplayName("Constructor should initialize with Configuration")
        void testConstructor() {
            // Given & When
            Smb2FlushResponse flushResponse = new Smb2FlushResponse(mockConfig);
    
            // Then
            assertNotNull(flushResponse);
            // Cannot test getConfig() as it's protected
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/util/MimeMapTest.java

        }
    
        @Nested
        @DisplayName("Constructor and initialization")
        class ConstructorTests {
    
            @Test
            @DisplayName("Should create MimeMap instance successfully")
            void testConstructor() {
                assertDoesNotThrow(() -> new MimeMap());
            }
    
            @Test
            @DisplayName("Should load mime.map resource properly")
            void testResourceLoading() throws IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/pac/kerberos/KerberosEncDataTest.java

         *
         * @throws IOException if an I/O error occurs
         * @throws PACDecodingException if a PAC decoding error occurs
         * @throws UnknownHostException if the IP address is not found
         */
        @Test
        void testConstructor() throws IOException, PACDecodingException, UnknownHostException {
            // Build a sample Kerberos EncData structure
            ASN1EncodableVector vector = new ASN1EncodableVector();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.7K bytes
    - Viewed (0)
Back to top