MCPcopy
hub / github.com/gotify/server / TestGetPluginInfo

Method TestGetPluginInfo

plugin/compat/wrap_test.go:57–62  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

55}
56
57func (s *CompatSuite) TestGetPluginInfo() {
58 info := s.p.PluginInfo()
59
60 assert.Equal(s.T(), examplePluginPath, info.ModulePath)
61 assert.True(s.T(), info.String() != "")
62}
63
64func (s *CompatSuite) TestInstantiatePlugin() {
65 inst := s.p.NewPluginInstance(UserContext{

Callers

nothing calls this directly

Calls 2

StringMethod · 0.80
PluginInfoMethod · 0.65

Tested by

no test coverage detected