Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 1,292 for test_ (0.03 sec)

  1. schema/field_test.go

    	"database/sql"
    	"reflect"
    	"sync"
    	"testing"
    	"time"
    
    	"gorm.io/gorm"
    	"gorm.io/gorm/schema"
    	"gorm.io/gorm/utils/tests"
    )
    
    func TestFieldValuerAndSetter(t *testing.T) {
    	var (
    		userSchema, _ = schema.Parse(&tests.User{}, &sync.Map{}, schema.NamingStrategy{})
    		user          = tests.User{
    			Model: gorm.Model{
    				ID:        10,
    				CreatedAt: time.Now(),
    				UpdatedAt: time.Now(),
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Feb 19 09:02:53 UTC 2022
    - 12.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/reflect/TypesTest.java

        @SuppressWarnings({
          "unused",
          /*
           * Since reflection can't tell the difference between <T> and <T extends Object>, it doesn't
           * make a ton of sense to have a separate tests for each. But having tests for each doesn't
           * really hurt anything, and maybe it will serve a purpose in a future in which Java has a
           * built-in nullness feature?
           */
          "ExtendsObject",
        })
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:41:27 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/reflect/TypesTest.java

        @SuppressWarnings({
          "unused",
          /*
           * Since reflection can't tell the difference between <T> and <T extends Object>, it doesn't
           * make a ton of sense to have a separate tests for each. But having tests for each doesn't
           * really hurt anything, and maybe it will serve a purpose in a future in which Java has a
           * built-in nullness feature?
           */
          "ExtendsObject",
        })
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:41:27 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/MapForEachTester.java

    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@link Map#forEach}. Can't be invoked directly; please see
     * {@link com.google.common.collect.testing.MapTestSuiteBuilder}.
     *
     * @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.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. android/guava-testlib/test/com/google/common/collect/testing/OpenJdk6MapTests.java

    import java.util.Map;
    import junit.framework.Test;
    
    /**
     * Tests the {@link Map} implementations of {@link java.util}, suppressing tests that trip known
     * bugs in OpenJDK 6 or higher.
     *
     * @author Kevin Bourrillion
     */
    // TODO(cpovirk): consider renaming this class in light of our now running it under newer JDKs.
    public class OpenJdk6MapTests extends TestsForMapsInJavaUtil {
      public static Test suite() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/net/HttpHeadersTest.java

    import com.google.common.collect.ImmutableSet;
    import com.google.common.collect.Lists;
    import java.lang.reflect.Field;
    import java.util.List;
    import junit.framework.TestCase;
    
    /**
     * Tests for the HttpHeaders class.
     *
     * @author Kurt Alfred Kluever
     */
    public class HttpHeadersTest extends TestCase {
    
      public void testConstantNameMatchesString() throws Exception {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 22 21:08:08 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/net/HttpHeadersTest.java

    import com.google.common.collect.ImmutableSet;
    import com.google.common.collect.Lists;
    import java.lang.reflect.Field;
    import java.util.List;
    import junit.framework.TestCase;
    
    /**
     * Tests for the HttpHeaders class.
     *
     * @author Kurt Alfred Kluever
     */
    public class HttpHeadersTest extends TestCase {
    
      public void testConstantNameMatchesString() throws Exception {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 22 21:08:08 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  8. cmd/server-main_test.go

    					t.Error("expected hash", testcase.hash, "got", sctx.Layout.pools[0].cmdline)
    				}
    			}
    		})
    	}
    }
    
    // Tests initializing new object layer.
    func TestNewObjectLayer(t *testing.T) {
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    	// Tests for ErasureSD object layer.
    	nDisks := 1
    	disks, err := getRandomDisks(nDisks)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Dec 07 09:33:56 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  9. .teamcity/src/main/kotlin/model/CIBuildModel.kt

        QUICK_FEEDBACK("Quick Feedback", "Run checks and functional tests (embedded executer, Windows)", "QuickFeedback"),
        PULL_REQUEST_FEEDBACK("Pull Request Feedback", "Run various functional tests", "PullRequestFeedback"),
        READY_FOR_NIGHTLY("Ready for Nightly", "Rerun tests in different environments / 3rd party components", "ReadyforNightly"),
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Oct 16 06:14:14 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_request_files/test_tutorial002.py

    def test_post_files(tmp_path):
        path = tmp_path / "test.txt"
        path.write_bytes(b"<file content>")
        path2 = tmp_path / "test2.txt"
        path2.write_bytes(b"<file content2>")
    
        client = TestClient(app)
        with path.open("rb") as file, path2.open("rb") as file2:
            response = client.post(
                "/files/",
                files=(
                    ("files", ("test.txt", file)),
                    ("files", ("test2.txt", file2)),
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 8.5K bytes
    - Viewed (0)
Back to top