MCPcopy
hub / github.com/gogf/gf / TestTablesFalse

Function TestTablesFalse

contrib/drivers/dm/dm_z_unit_basic_test.go:66–75  ·  view source on GitHub ↗

The test scenario index of this test case (exact matching field) is a keyword in the Dameng database and cannot exist as a field name. If the data structure previously migrated from mysql has an index (completely matching field), it will also be allowed. However, when processing the index (completel

(t *testing.T)

Source from the content-addressed store, hash-verified

64// In principle, such problems will not occur if you directly use Dameng database initialization instead of migrating the data structure from mysql.
65// If so, the adapter has also taken care of it.
66func TestTablesFalse(t *testing.T) {
67 gtest.C(t, func(t *gtest.T) {
68 tables := []string{"A_tables", "A_tables2"}
69 for _, v := range tables {
70 _, err := createTableFalse(v)
71 gtest.Assert(err, fmt.Errorf("createTableFalse"))
72 // createTable(v)
73 }
74 })
75}
76
77func TestTableFields(t *testing.T) {
78 tables := "A_tables"

Callers

nothing calls this directly

Calls 4

CFunction · 0.92
AssertFunction · 0.92
createTableFalseFunction · 0.85
ErrorfMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…