(t *testing.T)
| 150 | } |
| 151 | |
| 152 | func TestChartFullPath(t *testing.T) { |
| 153 | chrt1 := Chart{ |
| 154 | parent: &Chart{ |
| 155 | Metadata: &Metadata{ |
| 156 | Name: "foo", |
| 157 | }, |
| 158 | }, |
| 159 | } |
| 160 | |
| 161 | chrt2 := Chart{ |
| 162 | Metadata: &Metadata{ |
| 163 | Name: "foo", |
| 164 | }, |
| 165 | } |
| 166 | |
| 167 | is := assert.New(t) |
| 168 | |
| 169 | is.Equal("foo/charts/", chrt1.ChartFullPath()) |
| 170 | is.Equal("foo", chrt2.ChartFullPath()) |
| 171 | } |
| 172 | |
| 173 | func TestCRDObjects(t *testing.T) { |
| 174 | modTime := time.Now() |
nothing calls this directly
no test coverage detected
searching dependent graphs…