Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1241 - 1250 of 1,355 for TestIs (0.18 sec)

  1. src/test/java/jcifs/smb/SmbTreeConnectionTest.java

            return new SmbTreeConnection(ctx) {
            };
        }
    
        @BeforeEach
        void setup() {
            when(ctx.getConfig()).thenReturn(config);
            // keep retries small for faster and deterministic tests
            when(config.getMaxRequestRetries()).thenReturn(2);
            when(config.isTraceResourceUsage()).thenReturn(false);
            // Mock credentials to avoid NullPointerException
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 13K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java

    import java.util.List;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.Set;
    import junit.framework.TestSuite;
    
    /**
     * Creates, based on your criteria, a JUnit test suite that exhaustively tests a {@code Multimap}
     * implementation.
     *
     * @author Louis Wasserman
     */
    @GwtIncompatible
    public class MultimapTestSuiteBuilder<K, V, M extends Multimap<K, V>>
        extends PerCollectionSizeTestSuiteBuilder<
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 26.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/math/BigIntegerMathTest.java

    import java.math.RoundingMode;
    import java.util.EnumMap;
    import java.util.EnumSet;
    import java.util.Map;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Tests for BigIntegerMath.
     *
     * @author Louis Wasserman
     */
    @NullMarked
    @GwtCompatible
    public class BigIntegerMathTest extends TestCase {
      public void testCeilingPowerOfTwo() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

    import java.util.concurrent.atomic.AtomicReference;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    import org.mockito.InOrder;
    import org.mockito.Mockito;
    
    /**
     * Tests for MoreExecutors.
     *
     * @author Kyle Littlefield (klittle)
     */
    @NullUnmarked
    public class MoreExecutorsTest extends JSR166TestCase {
    
      private static final Runnable EMPTY_RUNNABLE =
          new Runnable() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 28K bytes
    - Viewed (0)
  5. cmd/object-api-datatypes.go

    	"github.com/dustin/go-humanize"
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/bucket/replication"
    	"github.com/minio/minio/internal/hash"
    )
    
    //go:generate msgp -file $GOFILE -io=false -tests=false -unexported=false
    
    // BackendType - represents different backend types.
    type BackendType int
    
    // Enum for different backend types.
    const (
    	Unknown = BackendType(madmin.Unknown)
    	// Filesystem backend.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java

        assertThat(e).hasMessageThat().contains(ERROR_SELF_LOOP);
      }
    
      /**
       * This test checks an implementation dependent feature. It tests that the method {@code addEdge}
       * will silently add the missing nodes to the graph, then add the edge connecting them. We are not
       * using the proxy methods here as we want to test {@code addEdge} when the end-points are not
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (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"`
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jul 21 02:46:58 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  9. 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;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/base/FunctionsTest.java

    import java.io.Serializable;
    import java.util.HashMap;
    import java.util.Map;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests for {@link Functions}.
     *
     * @author Mike Bostock
     * @author Vlad Patryshev
     */
    @GwtCompatible
    @NullMarked
    public class FunctionsTest extends TestCase {
    
      public void testIdentity_same() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 15.9K bytes
    - Viewed (0)
Back to top