Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 705 for stesti (0.88 sec)

  1. src/test/java/jcifs/pac/PacConstantsTest.java

    package jcifs.pac;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    
    import org.junit.jupiter.api.Test;
    
    /**
     * Tests for the PacConstants interface.
     * This test class verifies that the constant values defined in PacConstants are correct.
     */
    class PacConstantsTest {
    
        /**
         * Tests that the constant values in the PacConstants interface match their expected values.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/NetShareEnumResponseTest.java

    import java.io.IOException;
    import java.nio.charset.StandardCharsets;
    
    import org.junit.jupiter.api.Test;
    
    /**
     * Tests for the NetShareEnumResponse class.
     */
    class NetShareEnumResponseTest {
    
        /**
         * Tests the readParametersWireFormat method.
         */
        @Test
        void testReadParametersWireFormat() {
            NetShareEnumResponse response = new NetShareEnumResponse();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java

            }
        }
    
        @Nested
        @DisplayName("Constants Tests")
        class ConstantsTests {
    
            @Test
            @DisplayName("Should have correct SMB2_READFLAG_READ_UNBUFFERED value")
            void testReadUnbufferedFlag() {
                assertEquals((byte) 0x1, Smb2ReadRequest.SMB2_READFLAG_READ_UNBUFFERED);
            }
    
            @Test
            @DisplayName("Should have correct SMB2_CHANNEL_NONE value")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/UniAddressTest.java

    import jcifs.smb1.netbios.NbtAddress;
    
    /**
     * Unit tests for {@link UniAddress}.  The focus of these tests is on
     * the public API of {@code UniAddress} and its behaviour when provided
     * with different kinds of inputs.  Many static helpers in {@code
     * UniAddress} are network dependent and therefore not exercised here – they
     * would require complex stubbing of static methods.  Instead the tests
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/DcerpcBindTest.java

    @DisplayName("DcerpcBind Tests")
    class DcerpcBindTest {
    
        @Mock
        private DcerpcBinding mockBinding;
    
        @Mock
        private DcerpcHandle mockHandle;
    
        @Mock
        private NdrBuffer mockBuffer;
    
        private DcerpcBind bind;
    
        @BeforeEach
        void setUp() {
            bind = new DcerpcBind();
        }
    
        @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
    - 22.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeResponseTest.java

    import org.junit.jupiter.api.Nested;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.ValueSource;
    
    /**
     * Unit tests for {@link TransWaitNamedPipeResponse}.
     *
     * The implementation contains only trivial methods that return {@code 0}
     * or construct a string representation.  The tests focus on:
     *
     * <ul>
     *   <li>happy‑path behaviour</li>
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/SmbComCloseTest.java

    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.extension.ExtendWith;
    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.Arguments;
    import org.junit.jupiter.params.provider.MethodSource;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    /**
     * Tests for {@link SmbComClose}.
     * <p>
     * All tests are written in the same package as the class under test so
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/ntlmssp/Type2MessageTest.java

    import org.junit.jupiter.api.Test;
    
    import jcifs.CIFSContext;
    import jcifs.Configuration;
    import jcifs.NameServiceClient;
    import jcifs.NetbiosAddress;
    import jcifs.util.Hexdump;
    
    /**
     * Comprehensive test suite for Type2Message NTLM authentication message.
     * Tests all constructors, parsing, and serialization functionality.
     */
    @DisplayName("Type2Message Comprehensive Tests")
    class Type2MessageTest {
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/SmbPipeResourceTest.java

    import static org.junit.jupiter.api.Assertions.assertEquals;
    
    import org.junit.jupiter.api.Test;
    
    /**
     * Tests for the SmbPipeResource interface.
     * This test class primarily verifies the constant values defined in the interface.
     */
    class SmbPipeResourceTest {
    
        /**
         * Test if the PIPE_TYPE_RDONLY constant has the correct value.
         */
        @Test
        void testPipeTypeRdonly() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/SmbExceptionTest.java

    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.extension.ExtendWith;
    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.ValueSource;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    /**
     * Unit tests for {@link SmbException}.
     *
     * The tests exercise the public API: constructors, {@link #getNtStatus()},
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
Back to top