MCPcopy Create free account
hub / github.com/apache/dubbo-go / TestResolverFilePath

Function TestResolverFilePath

config/config_loader_options_test.go:77–81  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

75}
76
77func TestResolverFilePath(t *testing.T) {
78 name, suffix := resolverFilePath("../config/application.properties")
79 assert.Equal(t, "application", name)
80 assert.Equal(t, "properties", suffix)
81}
82
83func TestResolverFilePath_Illegal_Path(t *testing.T) {
84 name, suffix := resolverFilePath("application.properties")

Callers

nothing calls this directly

Calls 2

resolverFilePathFunction · 0.70
EqualMethod · 0.45

Tested by

no test coverage detected