(t *testing.T)
| 17 | } |
| 18 | |
| 19 | func TestInitConfigWithXml(t *testing.T) { |
| 20 | conf, err := InitConfig("testdata/dotweb.conf", "xml") |
| 21 | |
| 22 | test.Nil(t, err) |
| 23 | test.NotNil(t, conf) |
| 24 | test.NotNil(t, conf.App) |
| 25 | test.NotNil(t, conf.App.LogPath) |
| 26 | test.NotNil(t, conf.ConfigSet) |
| 27 | // test.Equal(t, 4, conf.ConfigSet.Len()) |
| 28 | } |
nothing calls this directly
no test coverage detected