Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 344 for DisplayName (0.06 sec)

  1. src/test/java/jcifs/MsrpcDfsRootEnumTest.java

    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import java.lang.reflect.Field;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    
    import jcifs.dcerpc.DcerpcConstants;
    import jcifs.dcerpc.msrpc.MsrpcDfsRootEnum;
    import jcifs.dcerpc.msrpc.netdfs;
    import jcifs.internal.smb1.net.SmbShareInfo;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/transport/TransportExceptionTest.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    
    import jcifs.CIFSException;
    
    /**
     * Test class for TransportException
     */
    public class TransportExceptionTest {
    
        @Test
        @DisplayName("Test default constructor creates exception with null message")
        public void testDefaultConstructor() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/CIFSUnsupportedCryptoExceptionTest.java

     */
    @DisplayName("CIFSUnsupportedCryptoException Tests")
    class CIFSUnsupportedCryptoExceptionTest extends BaseTest {
    
        private static final String CRYPTO_ERROR_MESSAGE = "Unsupported cryptographic algorithm: AES-256-GCM";
        private static final String ALGORITHM_NAME = "AES-256-GCM";
    
        @Test
        @DisplayName("Default constructor should create exception with null message and cause")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/rpcTest.java

     */
    @ExtendWith(MockitoExtension.class)
    @DisplayName("RPC Data Structures Test Suite")
    class rpcTest {
    
        @Mock
        private NdrBuffer mockNdrBuffer;
    
        @Mock
        private NdrBuffer mockDeferredBuffer;
    
        @Nested
        @DisplayName("UUID Tests")
        class UuidTests {
    
            @Test
            @DisplayName("Should encode UUID correctly")
            void testUuidTEncode() throws NdrException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/Trans2GetDfsReferralTest.java

        }
    
        @Test
        @DisplayName("writeParametersWireFormat throws on null path")
        void testNullPath() {
            Trans2GetDfsReferral cmd = new Trans2GetDfsReferral(null);
            byte[] buffer = new byte[10];
            assertThrows(NullPointerException.class, () -> cmd.writeParametersWireFormat(buffer, 0));
        }
    
        @Nested
        @DisplayName("read methods are no‑ops")
        class ReadMethods {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbCopyUtilTest.java

    import static org.mockito.Mockito.timeout;
    import static org.mockito.Mockito.times;
    import static org.mockito.Mockito.verify;
    import static org.mockito.Mockito.when;
    
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Nested;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.extension.ExtendWith;
    import org.junit.jupiter.params.ParameterizedTest;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/CloseableIteratorTest.java

    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    import org.mockito.Mock;
    
    /**
     * Test class for CloseableIterator interface functionality
     */
    @DisplayName("CloseableIterator Tests")
    class CloseableIteratorTest extends BaseTest {
    
        @Mock
        private CloseableIterator<SmbResource> mockIterator;
    
        @Test
        @DisplayName("Should define close method")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 964 bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/dcerpc/ndr/NdrHyperTest.java

         */
        @Test
        @DisplayName("Encode with null buffer throws NullPointerException")
        public void testEncodeNullBuffer() throws NdrException {
            NdrHyper hyper = new NdrHyper(5L);
            assertThrows(NullPointerException.class, () -> hyper.encode(null));
        }
    
        /**
         * Ensure decode throws NPE when passed a null buffer.
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbPipeInputStreamTest.java

        }
    
        @Nested
        @DisplayName("Constructor input validation")
        class CtorValidation {
            @Test
            @DisplayName("null handle throws NPE")
            void nullHandle() {
                assertThrows(NullPointerException.class, () -> new SmbPipeInputStream(null, tree));
            }
    
            @Test
            @DisplayName("null tree throws NPE")
            void nullTree() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbUnsupportedOperationExceptionTest.java

    import static org.mockito.Mockito.verifyNoMoreInteractions;
    import static org.mockito.Mockito.when;
    
    import java.util.function.Supplier;
    import java.util.stream.Stream;
    
    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.MethodSource;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
Back to top