(t *testing.T)
| 105 | } |
| 106 | |
| 107 | func TestEmbeddedIconsExist(t *testing.T) { |
| 108 | // Test that all required icons from required_icons.txt are properly embedded |
| 109 | // This is the single source of truth for which icons should be available |
| 110 | expectedIcons := RequiredIcons() |
| 111 | for _, icon := range expectedIcons { |
| 112 | t.Run(icon, func(t *testing.T) { |
| 113 | lightURI := DataURI(icon, ThemeLight) |
| 114 | darkURI := DataURI(icon, ThemeDark) |
| 115 | assert.True(t, strings.HasPrefix(lightURI, "data:image/png;base64,"), "light theme icon %s should be embedded", icon) |
| 116 | assert.True(t, strings.HasPrefix(darkURI, "data:image/png;base64,"), "dark theme icon %s should be embedded", icon) |
| 117 | }) |
| 118 | } |
| 119 | } |
nothing calls this directly
no test coverage detected