Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 521 - 530 of 563 for test_ws (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs/smb3-features/06-witness-protocol-design.md

    }
    
    public boolean isWitnessServiceDiscovery() {
        return getBooleanProperty(WITNESS_SERVICE_DISCOVERY, true);
    }
    ```
    
    ## 7. Testing Strategy
    
    ### 7.1 Unit Tests
    ```java
    @Test
    public void testWitnessRegistration() {
        WitnessRegistration registration = new WitnessRegistration(
            "\\\\server\\share", 
            InetAddress.getByName("192.168.1.100"),
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 42K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/collect/Collections2Test.java

    import java.util.Objects;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests for {@link Collections2}.
     *
     * @author Chris Povirk
     * @author Jared Levy
     */
    @GwtCompatible
    @NullMarked
    public class Collections2Test extends TestCase {
      @J2ktIncompatible
      @GwtIncompatible // suite
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 20.1K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/NotifyResponseTest.java

            inputList.clear();
            assertEquals(2, notifications.size());
    
            // Try to modify returned list - behavior depends on implementation
            // This tests that the implementation properly handles list modifications
            try {
                notifications.clear();
                // If this succeeds, the implementation allows modification
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 21.2K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb1/net/NetServerEnum2Test.java

        private NetServerEnum2 netServerEnum2;
        private Configuration realConfig;
    
        @BeforeEach
        void setUp() throws Exception {
            MockitoAnnotations.openMocks(this);
            // Use real configuration for most tests
            realConfig = new BaseConfiguration(false);
            // Mock configuration setup
            when(mockConfig.getTransactionBufferSize()).thenReturn(65535);
        }
    
        @Test
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 19.7K bytes
    - Click Count (0)
  5. compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesTest.java

    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Unit tests on <code>MavenProperties</code>.
     */
    @Deprecated
    public class MavenPropertiesTest {
    
        private static final String LINE_SEPARATOR = System.getProperty("line.separator");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 16.4K bytes
    - Click Count (0)
  6. cmd/sts-handlers_test.go

    					c.Fatalf("Error setting up openid providers for tests: %v", err)
    				}
    				suite.TestOpenIDSTSWithRolePolicy(c, testRoleARNs[0], testRoleMap[testRoleARNs[0]])
    				suite.TestOpenIDSTSWithRolePolicy(c, testRoleARNs[1], testRoleMap[testRoleARNs[1]])
    				suite.TestOpenIDServiceAccWithRolePolicy(c)
    				suite.TearDownSuite(c)
    			},
    		)
    	}
    }
    
    // Access Management Plugin tests
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Oct 15 17:00:45 GMT 2025
    - 103.4K bytes
    - Click Count (1)
  7. src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java

    import jcifs.internal.smb1.trans.nt.SmbComNtCancel;
    import jcifs.internal.util.SMBUtil;
    import jcifs.smb.NtlmPasswordAuthenticator;
    import jcifs.smb.SmbException;
    import jcifs.smb.SmbTransportInternal;
    
    /**
     * Unit tests for SMB1SigningDigest
     */
    public class SMB1SigningDigestTest {
    
        @Mock
        private SmbTransportInternal mockTransport;
    
        @Mock
        private CIFSContext mockContext;
    
        @Mock
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.1K bytes
    - Click Count (0)
  8. tests/multi_primary_keys_test.go

    package tests_test
    
    import (
    	"reflect"
    	"sort"
    	"testing"
    
    	"gorm.io/gorm"
    	. "gorm.io/gorm/utils/tests"
    )
    
    type Blog struct {
    	ID         uint   `gorm:"primary_key"`
    	Locale     string `gorm:"primary_key"`
    	Subject    string
    	Body       string
    	Tags       []Tag `gorm:"many2many:blog_tags;"`
    	SharedTags []Tag `gorm:"many2many:shared_blog_tags;ForeignKey:id;References:id"`
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Jul 21 02:46:58 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleUserManualPlugin.java

                attributes.put("snippetsPath", "snippets");
                // Make sure the 'raw' location of the samples is available in all AsciidoctorTasks to access files with expected outputs in the 'tests' folder for inclusion in READMEs
                attributes.put("samplesPath", extension.getUserManual().getStagingRoot().dir("raw/samples").get().getAsFile());
                task.attributes(attributes);
            });
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Dec 04 14:26:28 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

    import jcifs.internal.smb2.nego.EncryptionNegotiateContext;
    import jcifs.util.SecureKeyManager;
    
    /**
     * Test class for Smb2EncryptionContext.
     * Tests the available public API methods of the encryption context.
     */
    @DisplayName("Smb2EncryptionContext Tests")
    class Smb2EncryptionContextTest {
    
        private byte[] testEncryptionKey;
        private byte[] testDecryptionKey;
        private Smb2EncryptionContext encryptionContext;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 44.1K bytes
    - Click Count (0)
Back to Top