Skip to content

Commit

Permalink
Make new result processor implementation in go
Browse files Browse the repository at this point in the history
  • Loading branch information
samparent97 committed Oct 4, 2024
1 parent 44e497c commit 46ca7da
Show file tree
Hide file tree
Showing 29 changed files with 1,361 additions and 1 deletion.
23 changes: 23 additions & 0 deletions results/comparisonoperator.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
package results

//go:generate enumer -type=ComparisonOperator
type ComparisonOperator int

const (
// Eq is Equal to
Eq ComparisonOperator = iota
// Gele is Greater than or Equal to and Less than or Equal to
Gele
// Gtlt is Greater than and Less than
Gtlt
// Gt is Greater than
Gt
// Lt is Less than
Lt
// Ge is Greater than
Ge
// Le is Less than
Le
// Log is logging the value without comparison
Log
)
102 changes: 102 additions & 0 deletions results/comparisonoperator_enumer.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 16 additions & 0 deletions results/generator.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
package results

import (
"github.com/google/uuid"
)

type Generator interface {
Generate(
testID uuid.UUID,
sequenceName string,
tagSubmissions map[string]TagSubmission,
errorSubmissions []error,
overallPassFail bool,
outputDir string,
) error
}
Loading

0 comments on commit 46ca7da

Please sign in to comment.