MCPcopy Create free account
hub / github.com/devfeel/dotweb / TestNotifyPlugin_Name

Function TestNotifyPlugin_Name

plugin_test.go:24–30  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

22}
23
24func TestNotifyPlugin_Name(t *testing.T) {
25 app := newConfigDotWeb()
26 //fmt.Println(app.Config.ConfigFilePath)
27 p := NewDefaultNotifyPlugin(app)
28 needShow := "NotifyPlugin"
29 test.Equal(t, needShow, p.Name())
30}
31
32func TestNotifyPlugin_IsValidate(t *testing.T) {
33 app := newConfigDotWeb()

Callers

nothing calls this directly

Calls 4

EqualFunction · 0.92
newConfigDotWebFunction · 0.85
NewDefaultNotifyPluginFunction · 0.85
NameMethod · 0.65

Tested by

no test coverage detected