Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1451 - 1460 of 1,595 for Tests (0.02 sec)

  1. 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)
  2. android/guava/src/com/google/common/cache/CacheBuilder.java

       */
      @GwtIncompatible // To be supported
      public static CacheBuilder<Object, Object> from(String spec) {
        return from(CacheBuilderSpec.parse(spec));
      }
    
      /**
       * Enables lenient parsing. Useful for tests and spec parsing.
       *
       * @return this {@code CacheBuilder} instance (for chaining)
       */
      @GwtIncompatible // To be supported
      @CanIgnoreReturnValue
      CacheBuilder<K, V> lenientParsing() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 51.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/Monitor.java

       */
      private static long remainingNanos(long startTime, long timeoutNanos) {
        // assert timeoutNanos == 0L || startTime != 0L;
    
        // TODO : NOT CORRECT, BUT TESTS PASS ANYWAYS!
        // if (true) return timeoutNanos;
        // ONLY 2 TESTS FAIL IF WE DO:
        // if (true) return 0;
    
        return (timeoutNanos <= 0L) ? 0L : timeoutNanos - (System.nanoTime() - startTime);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 42.8K bytes
    - Viewed (0)
  4. 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)
  5. CHANGELOG/CHANGELOG-1.11.md

    * Scheduling conformance tests related to daemonsets should set the annotation that relaxes node selection restrictions, if any are set. This ensures conformance tests can run on a wider array of clusters. ([#68793](https://github.com/kubernetes/kubernetes/pull/68793), [@aveshagarwal](https://github.com/aveshagarwal))
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Thu Feb 06 06:04:15 UTC 2020
    - 328.4K bytes
    - Viewed (0)
  6. android/guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

    import java.util.concurrent.TimeUnit;
    import java.util.regex.MatchResult;
    import java.util.regex.Pattern;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for {@link FreshValueGenerator}.
     *
     * @author Ben Yu
     */
    @NullUnmarked
    public class FreshValueGeneratorTest extends TestCase {
    
      @AndroidIncompatible // problem with equality of Type objects?
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/reflect/TypeTokenSubtypeTest.java

            partialExplicitTypeBoundIsNotSubtypeOfDifferentTypeBound(
                UseSerializableIterable<? extends Serializable> obj) {
          return notSubtype(obj);
        }
      }
    
      // TODO(benyu): migrate all subtyping tests from TypeTokenTest to this class using SubtypeTester.
    
      private interface Outdoor {}
    
      private interface Indoor {}
    
      private interface Grocery {}
    
      private interface Electronics {}
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/AbstractTransformerTest.java

    import org.codelibs.fess.crawler.entity.ResultData;
    import org.codelibs.fess.crawler.exception.CrawlerSystemException;
    import org.dbflute.utflute.core.PlainTestCase;
    
    /**
     * Test class for AbstractTransformer.
     * Tests the abstract transformer implementation and its name management functionality.
     */
    public class AbstractTransformerTest extends PlainTestCase {
    
        /**
         * Concrete implementation of AbstractTransformer for testing
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/exception/CrawlerSystemExceptionTest.java

    import java.io.PrintWriter;
    import java.io.StringWriter;
    import java.lang.reflect.Constructor;
    
    import org.dbflute.utflute.core.PlainTestCase;
    
    /**
     * Test class for CrawlerSystemException.
     * Tests all constructors and exception functionality including message, cause, suppression, and stack trace.
     */
    public class CrawlerSystemExceptionTest extends PlainTestCase {
    
        /**
         * Test constructor with message only
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 20K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

        assertThat((long) arraysDim1 * arraysDim2).isNotEqualTo((long) (arraysDim1 * arraysDim2));
    
        double[][] arrays = new double[arraysDim1][];
        // it's shared to avoid using too much memory in tests
        double[] sharedArray = new double[arraysDim2];
        Arrays.fill(arrays, sharedArray);
    
        try {
          Doubles.concat(arrays);
          fail();
        } catch (IllegalArgumentException expected) {
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.9K bytes
    - Viewed (0)
Back to top