TestGetEngineArtifactPaths_GeminiEngine verifies Gemini wildcard paths are preserved.
(t *testing.T)
| 46 | |
| 47 | // TestGetEngineArtifactPaths_GeminiEngine verifies Gemini wildcard paths are preserved. |
| 48 | func TestGetEngineArtifactPaths_GeminiEngine(t *testing.T) { |
| 49 | geminiEngine := NewGeminiEngine() |
| 50 | paths := getEngineArtifactPaths(geminiEngine) |
| 51 | |
| 52 | require.NotNil(t, paths, "Gemini engine should have artifact paths") |
| 53 | |
| 54 | // Gemini declares the client-error wildcard log |
| 55 | wildcardFound := false |
| 56 | for _, p := range paths { |
| 57 | if strings.Contains(p, "gemini-client-error") { |
| 58 | wildcardFound = true |
| 59 | break |
| 60 | } |
| 61 | } |
| 62 | assert.True(t, wildcardFound, "Gemini artifact paths should include gemini-client-error wildcard") |
| 63 | |
| 64 | // Redacted URLs log should be present |
| 65 | assert.Contains(t, paths, RedactedURLsLogPath, "RedactedURLsLogPath should be present in Gemini artifact paths") |
| 66 | } |
| 67 | |
| 68 | // TestGenerateEngineOutputCleanup_NoOutputFiles verifies that engines with no declared |
| 69 | // output files produce no cleanup YAML. |
nothing calls this directly
no test coverage detected