MCPcopy Index your code
hub / github.com/gotify/server / TestInvalidDialect

Function TestInvalidDialect

database/database_test.go:39–44  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

37}
38
39func TestInvalidDialect(t *testing.T) {
40 tmpDir := test.NewTmpDir("gotify_testinvaliddialect")
41 defer tmpDir.Clean()
42 _, err := New("asdf", tmpDir.Path("testdb.db"), "defaultUser", "defaultPass", 5, true)
43 assert.Error(t, err)
44}
45
46func TestCreateSqliteFolder(t *testing.T) {
47 tmpDir := test.NewTmpDir("gotify_testcreatesqlitefolder")

Callers

nothing calls this directly

Calls 5

CleanMethod · 0.95
PathMethod · 0.95
NewTmpDirFunction · 0.92
ErrorMethod · 0.80
NewFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…