Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,341 for testi (0.02 sec)

  1. src/test/java/jcifs/https/HandlerTest.java

    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Nested;
    import org.junit.jupiter.api.Test;
    
    /**
     * Test suite for jcifs.https.Handler class.
     * Tests HTTPS URL stream handler functionality with NTLM authentication support.
     */
    @DisplayName("HTTPS Handler Tests")
    class HandlerTest {
    
        private Handler handler;
    
        @BeforeEach
        void setUp() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  2. src/archive/tar/writer_test.go

    					}
    					if len(f.ops) > 0 {
    						t.Errorf("test %d, expected %d more operations", i, len(f.ops))
    					}
    				case testClose:
    					err := tw.Close()
    					if !equalError(err, tf.wantErr) {
    						t.Fatalf("test %d, Close() = %v, want %v", i, err, tf.wantErr)
    					}
    				default:
    					t.Fatalf("test %d, unknown test operation: %T", i, tf)
    				}
    			}
    
    			if v.file != "" {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Feb 03 16:38:43 UTC 2025
    - 39.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

                testBlock.setUseUnicode(true);
                assertEquals(10, testBlock.stringWireLength("Test", 0));
                assertEquals(11, testBlock.stringWireLength("Test", 1));
            }
    
            @Test
            @DisplayName("Test read string length")
            void testReadStringLength() {
                byte[] buffer = "Test\0Other".getBytes();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/pac/PacUnicodeStringTest.java

    import static org.junit.jupiter.api.Assertions.assertThrows;
    
    import org.junit.jupiter.api.Test;
    
    /**
     * 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;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/nego/EncryptionNegotiateContextTest.java

        @Nested
        @DisplayName("Size Calculation Tests")
        class SizeCalculationTests {
    
            @Test
            @DisplayName("Should calculate size for null ciphers")
            void testSizeWithNullCiphers() {
                EncryptionNegotiateContext context = new EncryptionNegotiateContext(mockConfig, null);
    
                assertEquals(4, context.size());
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponseTest.java

        }
    
        @Nested
        @DisplayName("Wire Format Tests")
        class WireFormatTests {
    
            @Test
            @DisplayName("Should read parameters wire format")
            void testReadParametersWireFormat() {
                byte[] buffer = new byte[10];
                int result = response.readParametersWireFormat(buffer, 0, 2);
                assertEquals(2, result);
            }
    
            @Test
            @DisplayName("Should write setup wire format")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/com/SmbComSetInformationResponseTest.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.ValueSource;
    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.Configuration;
    
    /**
     * Tests for {@link SmbComSetInformationResponse}.
     *
     * Tests focus on the wire format methods which all return 0,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  8. tests/tests_all.sh

        then
          GORM_DIALECT=${dialect} go test -race -count=1 ./...
          if [ -d tests ]
          then
            cd tests
            GORM_DIALECT=${dialect} go test -race -count=1 ./...
            cd ..
          fi
        else
          GORM_DIALECT=${dialect} go test -race -count=1 -v ./...
          if [ -d tests ]
          then
            cd tests
            GORM_DIALECT=${dialect} go test -race -count=1 -v ./...
            cd ..
          fi
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jul 21 02:46:58 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/SmbResourceTest.java

    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.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    /**
     * Comprehensive test suite for jcifs.SmbResource interface.
     * Tests SMB resource interface contract and functionality for CIFS/SMB protocol compliance.
     */
    @ExtendWith(MockitoExtension.class)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  10. src/archive/zip/writer_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	for i, test := range utf8Tests {
    		flags := r.File[i].Flags
    		if flags != test.flags {
    			t.Errorf("CreateHeader(name=%q comment=%q nonUTF8=%v): flags=%#x, want %#x", test.name, test.comment, test.nonUTF8, flags, test.flags)
    		}
    	}
    }
    
    func TestWriterTime(t *testing.T) {
    	var buf bytes.Buffer
    	h := &FileHeader{
    		Name:     "test.txt",
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Jan 28 04:20:09 UTC 2025
    - 14.4K bytes
    - Viewed (0)
Back to top