Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 5 of 5 for testConstructorAndGetters (0.14 seconds)

  1. src/test/java/jcifs/ntlmssp/av/AvPairTest.java

    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNull;
    
    import org.junit.jupiter.api.Test;
    
    class AvPairTest {
    
        @Test
        void testConstructorAndGetters() {
            // Test with a valid type and raw data
            int type = AvPair.MsvAvTimestamp;
            byte[] raw = new byte[] { 0x01, 0x02, 0x03, 0x04 };
            AvPair avPair = new AvPair(type, raw);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3K bytes
    - Click Count (0)
  2. src/test/java/jcifs/pac/PacUnicodeStringTest.java

    /**
     * Tests for the {@link PacUnicodeString} class.
     */
    class PacUnicodeStringTest {
    
        /**
         * Tests the constructor and getter methods.
         */
        @Test
        void testConstructorAndGetters() {
            // Create a new instance with some test data
            short length = 10;
            short maxLength = 20;
            int pointer = 100;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  3. src/test/java/jcifs/dcerpc/DcerpcBindingTest.java

            DcerpcBinding.addInterface("netlogon", "12345678-1234-abcd-ef00-01234567cffb:1.0");
            DcerpcBinding.addInterface("wkssvc", "6BFFD098-A112-3610-9833-46C3F87E345A:1.0");
        }
    
        @Test
        void testConstructorAndGetters() {
            assertEquals(PROTO, dcerpcBinding.getProto(), "Protocol should match the constructor argument.");
            assertEquals(SERVER, dcerpcBinding.getServer(), "Server should match the constructor argument.");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb/DfsReferralTest.java

    Shinsuke Sugaya <******@****.***> 1755149504 +0900
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  5. src/test/java/jcifs/dcerpc/ndr/NdrHyperTest.java

    Shinsuke Sugaya <******@****.***> 1755149504 +0900
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 2.2K bytes
    - Click Count (0)
Back to Top