Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 51 for baseSet (0.26 sec)

  1. src/test/java/jcifs/DfsReferralDataTest.java

    import org.junit.jupiter.api.Test;
    import org.mockito.Mock;
    
    /**
     * Test class for DfsReferralData interface functionality
     */
    @DisplayName("DfsReferralData Interface Tests")
    class DfsReferralDataTest extends BaseTest {
    
        @Mock
        private DfsReferralData mockReferralData;
    
        @Test
        @DisplayName("Should define interface methods")
        void testDfsReferralDataInterface() {
            // Verify interface methods exist
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java

    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.CsvSource;
    import org.junit.jupiter.params.provider.ValueSource;
    
    import jcifs.BaseTest;
    import jcifs.Configuration;
    import jcifs.internal.CommonServerMessageBlockRequest;
    import jcifs.internal.CommonServerMessageBlockResponse;
    import jcifs.internal.SMBProtocolDecodingException;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/AddressTest.java

    import org.mockito.Mock;
    
    /**
     * Comprehensive test suite for Address interface.
     * Tests the contract and behavior of Address implementations.
     */
    @DisplayName("Address Interface Tests")
    class AddressTest extends BaseTest {
    
        @Mock
        private CIFSContext mockContext;
    
        @Mock
        private Address mockAddress;
    
        @Test
        @DisplayName("Address interface should define correct method signatures")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

    import org.junit.jupiter.params.provider.Arguments;
    import org.junit.jupiter.params.provider.CsvSource;
    import org.junit.jupiter.params.provider.MethodSource;
    import org.junit.jupiter.params.provider.ValueSource;
    
    import jcifs.BaseTest;
    import jcifs.Configuration;
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.TreeConnectResponse;
    import jcifs.internal.smb2.ServerMessageBlock2;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/CIFSUnsupportedCryptoExceptionTest.java

     * Tests all constructors, inheritance behavior, and crypto-specific scenarios.
     */
    @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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/BufferCacheTest.java

    /**
     * Comprehensive test suite for BufferCache interface.
     * Tests the contract and behavior of BufferCache implementations.
     */
    @DisplayName("BufferCache Interface Tests")
    class BufferCacheTest extends BaseTest {
    
        @Mock
        private BufferCache mockBufferCache;
    
        private TestBufferCacheImpl testCache;
    
        @BeforeEach
        void setUp() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

    import org.junit.jupiter.params.provider.Arguments;
    import org.junit.jupiter.params.provider.CsvSource;
    import org.junit.jupiter.params.provider.MethodSource;
    import org.junit.jupiter.params.provider.ValueSource;
    
    import jcifs.BaseTest;
    import jcifs.Configuration;
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.smb2.ServerMessageBlock2Response;
    import jcifs.internal.util.SMBUtil;
    import jcifs.util.Hexdump;
    
    /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/util/HexdumpTest.java

    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.ValueSource;
    
    import jcifs.BaseTest;
    
    /**
     * Test class for jcifs.smb1.util.Hexdump utility functionality
     */
    @DisplayName("SMB1 Hexdump Utility Tests")
    class HexdumpTest extends BaseTest {
    
        @Test
        @DisplayName("Should convert integer to hex string with specified size")
        void testToHexStringInt() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java

    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.ValueSource;
    
    import jcifs.BaseTest;
    
    /**
     * Test class for Smb2TransformHeader functionality
     */
    @DisplayName("Smb2TransformHeader Tests")
    class Smb2TransformHeaderTest extends BaseTest {
    
        private Smb2TransformHeader transformHeader;
        private byte[] testNonce;
        private long testSessionId;
    
        @BeforeEach
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  10. cmd/encryption-v1.go

    			info.ETag = getDecryptedETag(headers, *info, false)
    		}
    	}
    
    	return encrypted, nil
    }
    
    type (
    	objectMetaEncryptFn func(baseKey string, data []byte) []byte
    	objectMetaDecryptFn func(baseKey string, data []byte) ([]byte, error)
    )
    
    // metadataEncrypter returns a function that will read data from input,
    // encrypt it using the provided key and return the result.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 37.8K bytes
    - Viewed (0)
Back to top