Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 1,595 for Tests (0.01 sec)

  1. src/test/java/jcifs/smb1/smb1/DfsReferralTest.java

    import org.junit.jupiter.api.Test;
    
    /**
     * Tests for the DfsReferral class.
     * This class tests the functionality of the DfsReferral class,
     * ensuring that objects are constructed correctly, appended properly,
     * and that the toString method returns the expected format.
     */
    class DfsReferralTest {
    
        /**
         * Tests the default constructor of the DfsReferral class.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/DcerpcConstantsTest.java

    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Nested;
    import org.junit.jupiter.api.Test;
    
    @DisplayName("DcerpcConstants Tests")
    class DcerpcConstantsTest {
    
        @Nested
        @DisplayName("UUID Constants Tests")
        class UuidConstantsTests {
    
            @Test
            @DisplayName("DCERPC_UUID_SYNTAX_NDR should have correct UUID value")
            void testDcerpcUuidSyntaxNdr() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/net/PercentEscaperTest.java

    import com.google.common.escape.UnicodeEscaper;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for {@link PercentEscaper}.
     *
     * @author David Beaumont
     */
    @GwtCompatible
    @NullUnmarked
    public class PercentEscaperTest extends TestCase {
    
      /** Tests that the simple escaper treats 0-9, a-z and A-Z as safe */
      public void testSimpleEscaper() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/dcerpc/ndr/NdrHyperTest.java

    import org.junit.jupiter.params.provider.ValueSource;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    /**
     * Unit tests for {@link NdrHyper}.
     * <p>
     * The class only contains an encode/decode pair that delegates to
     * {@link NdrBuffer#enc_ndr_hyper(long)} and {@link NdrBuffer#dec_ndr_hyper()}.
     * The tests verify that:
     * <ul>
     *   <li>encoding and decoding round‑trip correctly handle typical, zero,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/DcerpcHandleTest.java

        }
    
        @Nested
        @DisplayName("Handle Creation Tests")
        class HandleCreationTests {
    
            @Test
            @DisplayName("Should create DcerpcPipeHandle for ncacn_np protocol")
            void testGetHandleNcacnNpProtocol() {
                // When/Then: Should attempt to create DcerpcPipeHandle (may fail due to SMB URL creation)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/FileEntryTest.java

    package jcifs.smb1.smb1;
    
    /**
     * Unit tests for {@link FileEntry}. The interface itself has no
     * implementation, so the tests exercise the contract via Mockito mocks.
     * Each method is exercised for normal inputs, extreme or edge cases, and
     * interaction verification.
     */
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.mockito.Mockito.mock;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  7. settings.gradle.kts

    if (graalBuild.toBoolean()) {
      include(":native-image-tests")
    }
    
    include(":okcurl")
    include(":okhttp")
    include(":okhttp-bom")
    include(":okhttp-brotli")
    include(":okhttp-coroutines")
    include(":okhttp-dnsoverhttps")
    include(":okhttp-hpacktests")
    include(":okhttp-idna-mapping-table")
    include(":okhttp-java-net-cookiejar")
    include(":okhttp-logging-interceptor")
    include(":okhttp-osgi-tests")
    include(":okhttp-sse")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jul 19 13:41:00 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java

    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.ValueSource;
    
    /**
     * Test class for CreateContextRequest interface
     */
    @DisplayName("CreateContextRequest Tests")
    class CreateContextRequestTest {
    
        /**
         * Test implementation of CreateContextRequest for testing purposes
         */
        static class TestCreateContextRequest implements CreateContextRequest {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  9. cmd/admin-handlers_test.go

    // adminErasureTestBed - encapsulates subsystems that need to be setup for
    // admin-handler unit tests.
    type adminErasureTestBed struct {
    	erasureDirs []string
    	objLayer    ObjectLayer
    	router      *mux.Router
    	done        context.CancelFunc
    }
    
    // prepareAdminErasureTestBed - helper function that setups a single-node
    // Erasure backend for admin-handler tests.
    func prepareAdminErasureTestBed(ctx context.Context) (*adminErasureTestBed, error) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  10. utils/utils_test.go

    		{"string", "abc", "abc"},
    		{"other", true, ""},
    	}
    	for _, test := range tests {
    		t.Run(test.name, func(t *testing.T) {
    			if out := ToString(test.in); test.out != out {
    				t.Fatalf("ToString(%v) want: %s, got: %s", test.in, test.out, out)
    			}
    		})
    	}
    }
    
    func TestRTrimSlice(t *testing.T) {
    	tests := []struct {
    		name     string
    		input    []int
    		trimLen  int
    		expected []int
    	}{
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Aug 22 11:03:42 UTC 2024
    - 4.9K bytes
    - Viewed (0)
Back to top