Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1041 - 1050 of 1,422 for test1 (0.05 sec)

  1. src/test/java/jcifs/config/DelegatingConfigurationTest.java

    import org.junit.jupiter.api.Test;
    import org.mockito.Mock;
    
    import jcifs.BaseTest;
    import jcifs.Configuration;
    import jcifs.DialectVersion;
    import jcifs.ResolverType;
    
    /**
     * Comprehensive test suite for DelegatingConfiguration class.
     * Tests the delegation pattern and ensures all methods properly delegate.
     */
    @DisplayName("DelegatingConfiguration Tests")
    class DelegatingConfigurationTest extends BaseTest {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java

    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.ValueSource;
    
    /**
     * Test class for Smb3KeyDerivation.
     * Tests the SMB3 SP800-108 Counter Mode Key Derivation implementation.
     */
    @DisplayName("Smb3KeyDerivation Tests")
    class Smb3KeyDerivationTest {
    
        private byte[] sessionKey;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutTester.java

    import org.junit.Ignore;
    
    /**
     * Tester for {@link Multimap#put}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @NullMarked
    public class MultimapPutTester<K extends @Nullable Object, V extends @Nullable Object>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java

      public void testReallySimpleFingerprints() {
        assertEquals(8581389452482819506L, fingerprint("test".getBytes(UTF_8)));
        // 32 characters long
        assertEquals(-4196240717365766262L, fingerprint(Strings.repeat("test", 8).getBytes(UTF_8)));
        // 256 characters long
        assertEquals(3500507768004279527L, fingerprint(Strings.repeat("test", 64).getBytes(UTF_8)));
      }
    
      public void testStringsConsistency() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/MultimapPutTester.java

    import org.junit.Ignore;
    
    /**
     * Tester for {@link Multimap#put}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @NullMarked
    public class MultimapPutTester<K extends @Nullable Object, V extends @Nullable Object>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/config/MultiChannelConfigurationTest.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import java.util.Properties;
    
    import org.junit.jupiter.api.Test;
    
    import jcifs.CIFSException;
    
    /**
     * Unit tests for Multi-Channel configuration properties
     */
    class MultiChannelConfigurationTest {
    
        @Test
        void testDefaultMultiChannelSettings() throws CIFSException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/context/SingletonContextTest.java

            }
            // Clear system properties that might affect the test
            System.clearProperty("jcifs.properties");
            System.clearProperty("java.protocol.handler.pkgs");
            // Clear jcifs-specific properties to prevent test interference
            System.clearProperty("jcifs.smb.client.nativeOs");
            System.clearProperty("jcifs.smb.client.nativeLanMan");
        }
    
        @Test
        void testInitWithNullProperties() throws CIFSException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  8. tests/connpool_test.go

    package tests_test
    
    import (
    	"context"
    	"database/sql"
    	"os"
    	"reflect"
    	"testing"
    
    	"gorm.io/driver/mysql"
    	"gorm.io/gorm"
    	. "gorm.io/gorm/utils/tests"
    )
    
    type wrapperTx struct {
    	*sql.Tx
    	conn *wrapperConnPool
    }
    
    func (c *wrapperTx) PrepareContext(ctx context.Context, query string) (*sql.Stmt, error) {
    	c.conn.got = append(c.conn.got, query)
    	return c.Tx.PrepareContext(ctx, query)
    }
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/ReserializingTestSetGenerator.java

     */
    
    package com.google.common.collect.testing;
    
    import com.google.common.annotations.GwtIncompatible;
    import java.util.Set;
    
    /**
     * Reserializes the sets created by another test set generator.
     *
     * <p>TODO: make CollectionTestSuiteBuilder test reserialized collections
     *
     * @author Jesse Wilson
     */
    @GwtIncompatible
    public class ReserializingTestSetGenerator<E> extends ReserializingTestCollectionGenerator<E>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Oct 01 17:18:04 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/repository/DefaultMirrorSelectorTest.java

    import org.apache.maven.artifact.repository.ArtifactRepository;
    import org.apache.maven.artifact.repository.DefaultArtifactRepository;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertFalse;
    
    @Deprecated
    class DefaultMirrorSelectorTest {
        @Test
        void testMirrorWithMirrorOfPatternContainingANegationIsNotSelected() {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
Back to top