- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for T_ (0.04 sec)
-
src/test/java/org/codelibs/core/lang/StringUtilTest.java
} /** * @throws Exception */ @Test public void testTrimPrefix() throws Exception { assertEquals("AAA", StringUtil.trimPrefix("T_AAA", "T_")); } /** * @throws Exception */ @Test public void testIsBlank() throws Exception { assertEquals("1", true, StringUtil.isBlank(" "));
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 12K bytes - Viewed (0) -
tests/table_test.go
return namer.TableName("user") } func TestTableWithNamer(t *testing.T) { db, _ := gorm.Open(tests.DummyDialector{}, &gorm.Config{ NamingStrategy: schema.NamingStrategy{ TablePrefix: "t_", }, }) sql := db.ToSQL(func(tx *gorm.DB) *gorm.DB { return tx.Model(&UserWithTableNamer{}).Find(&UserWithTableNamer{}) }) if !regexp.MustCompile("SELECT \\* FROM `t_users`").MatchString(sql) {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Sat Mar 09 09:31:28 UTC 2024 - 10.6K bytes - Viewed (0)