Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for testTable (0.07 sec)

  1. tests/table_test.go

    	"gorm.io/gorm/utils/tests"
    	. "gorm.io/gorm/utils/tests"
    )
    
    type UserWithTable struct {
    	gorm.Model
    	Name string
    }
    
    func (UserWithTable) TableName() string {
    	return "gorm.user"
    }
    
    func TestTable(t *testing.T) {
    	dryDB := DB.Session(&gorm.Session{DryRun: true})
    
    	r := dryDB.Table("`user`").Find(&User{}).Statement
    	if !regexp.MustCompile("SELECT \\* FROM `user`").MatchString(r.Statement.SQL.String()) {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Mar 09 09:31:28 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  2. android/guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

        assertNotInstantiable(new TypeToken<BiMap<EmptyEnum, String>>() {});
      }
    
      public void testHashBiMap() {
        assertFreshInstance(new TypeToken<HashBiMap<String, ?>>() {});
      }
    
      public void testTable() {
        assertFreshInstance(new TypeToken<Table<String, ?, ?>>() {});
        assertNotInstantiable(new TypeToken<Table<EmptyEnum, String, Integer>>() {});
      }
    
      public void testHashBasedTable() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 17.2K bytes
    - Viewed (0)
  3. guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

        assertNotInstantiable(new TypeToken<BiMap<EmptyEnum, String>>() {});
      }
    
      public void testHashBiMap() {
        assertFreshInstance(new TypeToken<HashBiMap<String, ?>>() {});
      }
    
      public void testTable() {
        assertFreshInstance(new TypeToken<Table<String, ?, ?>>() {});
        assertNotInstantiable(new TypeToken<Table<EmptyEnum, String, Integer>>() {});
      }
    
      public void testHashBasedTable() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 18.4K bytes
    - Viewed (0)
  4. CONTRIBUTING.md

        ```
    
        See
        [TensorFlow Builds](https://github.com/tensorflow/tensorflow/tree/master/tensorflow/tools/ci_build)
        for details.
    
    #### Running doctest for testable docstring
    
    There are two ways to test the code in the docstring locally:
    
    1.  If you are only changing the docstring of a class/function/method, then you
        can test it by passing that file's path to
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Oct 23 06:20:12 UTC 2024
    - 15.9K bytes
    - Viewed (0)
Back to top