Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 269 for testuser (0.35 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapContainsKeyTester.java

    import com.google.common.collect.Multimap;
    import com.google.common.collect.testing.features.CollectionSize;
    import com.google.common.collect.testing.features.MapFeature;
    import org.junit.Ignore;
    
    /**
     * Tester for the {@code containsKey} methods of {@code Multimap} and its {@code asMap()} view.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:10:20 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapKeySetTester.java

    import com.google.common.collect.testing.features.CollectionSize;
    import com.google.common.collect.testing.features.MapFeature;
    import java.util.Iterator;
    import java.util.Map.Entry;
    import org.junit.Ignore;
    
    /**
     * Tester for {@code Multimap.keySet}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

      protected final <T> void setDefault(Class<T> type, T value) {
        tester.setDefault(type, value);
      }
    
      /**
       * Sets two distinct values for {@code type}. These values can be used for both null pointer
       * testing and equals testing.
       *
       * @since 17.0
       */
      protected final <T> void setDistinctValues(Class<T> type, T value1, T value2) {
        tester.setDistinctValues(type, value1, value2);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:43:49 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  4. cmd/iam.go

    	case <-sys.configLoaded:
    	default:
    		err = sys.store.LoadUser(ctx, accessKey)
    		loadUserCalled = true
    	}
    
    	u, ok = sys.store.GetUser(accessKey)
    	if !ok && !loadUserCalled {
    		err = sys.store.LoadUser(ctx, accessKey)
    		loadUserCalled = true
    
    		u, ok = sys.store.GetUser(accessKey)
    	}
    
    	if !ok && loadUserCalled && err != nil {
    		iamLogOnceIf(ctx, err, accessKey)
    
    		// return 503 to application
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/EquivalenceTester.java

    import com.google.common.collect.Lists;
    import com.google.common.testing.RelationshipTester.ItemReporter;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.util.List;
    
    /**
     * Tester for {@link Equivalence} relationships between groups of objects.
     *
     * <p>To use, create a new {@link EquivalenceTester} and add equivalence groups where each group
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 25 11:57:12 UTC 2023
    - 4K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/testing/EquivalenceTester.java

    import com.google.common.collect.Lists;
    import com.google.common.testing.RelationshipTester.ItemReporter;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.util.List;
    
    /**
     * Tester for {@link Equivalence} relationships between groups of objects.
     *
     * <p>To use, create a new {@link EquivalenceTester} and add equivalence groups where each group
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 25 11:57:12 UTC 2023
    - 4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/base/StringsTest.java

          throw new UnsupportedOperationException();
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNullPointers() {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicStaticMethods(Strings.class);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

      @GwtIncompatible // reflection
      public void testNulls() throws Exception {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicStaticMethods(ImmutableSetMultimap.class);
        tester.ignore(ImmutableSetMultimap.class.getMethod("get", Object.class));
        tester.testAllPublicInstanceMethods(ImmutableSetMultimap.of());
        tester.testAllPublicInstanceMethods(ImmutableSetMultimap.of("a", 1));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  9. tests/update_many2many_test.go

    package tests_test
    
    import (
    	"testing"
    
    	"gorm.io/gorm"
    	. "gorm.io/gorm/utils/tests"
    )
    
    func TestUpdateMany2ManyAssociations(t *testing.T) {
    	user := *GetUser("update-many2many", Config{})
    
    	if err := DB.Create(&user).Error; err != nil {
    		t.Fatalf("errors happened when create: %v", err)
    	}
    
    	user.Languages = []Language{{Code: "zh-CN", Name: "Chinese"}, {Code: "en", Name: "English"}}
    	for _, lang := range user.Languages {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Jan 06 07:02:53 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/CollectionTestSuiteBuilder.java

    import java.util.List;
    import java.util.Set;
    import junit.framework.TestSuite;
    
    /**
     * Concrete instantiation of {@link AbstractCollectionTestSuiteBuilder} for testing collections that
     * do not have a more specific tester like {@link ListTestSuiteBuilder} or {@link
     * SetTestSuiteBuilder}.
     *
     * @author Chris Povirk
     * @author Louis Wasserman
     */
    @GwtIncompatible
    public class CollectionTestSuiteBuilder<E>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Aug 18 22:49:45 UTC 2021
    - 3.6K bytes
    - Viewed (0)
Back to top