Search Options

Results per page
Sort
Preferred Languages
Advance

Results 741 - 750 of 2,185 for test0 (0.06 sec)

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

    import org.junit.Ignore;
    
    /**
     * Superclass for all {@code Multimap} testers.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @ElementTypesAreNonnullByDefault
    public abstract class AbstractMultimapTester<
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/testing-events.md

    # Testing Events: startup - shutdown
    
    When you need your event handlers (`startup` and `shutdown`) to run in your tests, you can use the `TestClient` with a `with` statement:
    
    ```Python hl_lines="9-12  20-24"
    {!../../docs_src/app_testing/tutorial003.py!}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 259 bytes
    - Viewed (0)
  3. tests/associations_belongs_to_test.go

    package tests_test
    
    import (
    	"testing"
    
    	"gorm.io/gorm"
    	. "gorm.io/gorm/utils/tests"
    )
    
    func TestBelongsToAssociation(t *testing.T) {
    	user := *GetUser("belongs-to", Config{Company: true, Manager: true})
    
    	if err := DB.Create(&user).Error; err != nil {
    		t.Fatalf("errors happened when create: %v", err)
    	}
    
    	CheckUser(t, user, user)
    
    	// Find
    	var user2 User
    	DB.Find(&user2, "id = ?", user.ID)
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Oct 30 09:15:49 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/UnsignedLongTest.java

    import com.google.common.testing.EqualsTester;
    import com.google.common.testing.NullPointerTester;
    import com.google.common.testing.SerializableTester;
    import java.math.BigInteger;
    import junit.framework.TestCase;
    
    /**
     * Tests for {@code UnsignedLong}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible(emulated = true)
    public class UnsignedLongTest extends TestCase {
      private static final ImmutableSet<Long> TEST_LONGS;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  5. cmd/object-handlers-common_test.go

    		},
    		{
    			etag:              "abcd\"\"",
    			canonicalizedETag: "abcd",
    		},
    	}
    	for _, test := range testCases {
    		etag := canonicalizeETag(test.etag)
    		if test.canonicalizedETag != etag {
    			t.Fatalf("Expected %s , got %s", test.canonicalizedETag, etag)
    		}
    	}
    }
    
    // Tests - CheckPreconditions()
    func TestCheckPreconditions(t *testing.T) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 06:33:53 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  6. cmd/object-api-listobjects_test.go

    		result ListObjectsInfo
    		err    error
    		// Flag indicating whether the test is expected to pass or not.
    		shouldPass bool
    	}{
    		// Test cases with invalid bucket names ( Test number 1-4 ).
    		{".test", "", "", "", 0, ListObjectsInfo{}, BucketNameInvalid{Bucket: ".test"}, false},
    		{"Test", "", "", "", 0, ListObjectsInfo{}, BucketNameInvalid{Bucket: "Test"}, false},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 01 11:07:40 UTC 2024
    - 73.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/SetOperationsTest.java

    import com.google.common.collect.testing.features.CollectionSize;
    import java.util.HashSet;
    import java.util.Set;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    
    /**
     * Unit tests for {@link Sets#union}, {@link Sets#intersection} and {@link Sets#difference}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible(emulated = true)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ImmutableMultimapTest.java

    import com.google.common.testing.NullPointerTester;
    import java.util.Map.Entry;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests for {@link ImmutableMultimap}.
     *
     * @author Jared Levy
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class ImmutableMultimapTest extends TestCase {
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

       * works better than Ordering.natural().nullsFirst() because, if null comes before all other
       * values, it lies outside the submap/submultiset ranges we test, and the variety of tests that
       * exercise null handling fail on those subcollections.
       */
      public abstract static class NullsBefore implements Comparator<@Nullable String>, Serializable {
        /*
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  10. docs/en/docs/how-to/testing-database.md

    mini <a href="https://sqlmodel.tiangolo.com/tutorial/fastapi/" class="external-link" target="_blank">tutorial on using SQLModel with FastAPI</a>. ✨
    
    That tutorial includes a section about <a href="https://sqlmodel.tiangolo.com/tutorial/fastapi/tests/" class="external-link" target="_blank">testing SQL databases</a>. 😎...
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 516 bytes
    - Viewed (0)
Back to top