@@ -43,17 +43,6 @@ func (e *ErrTestStepsNeverReturned) Error() string {
4343 return fmt .Sprintf ("test step [%s] did not return" , strings .Join (e .StepNames , ", " ))
4444}
4545
46- // ErrTestTargetInjectionTimedOut indicates that test step did not ingest a target
47- // within allotted time.
48- type ErrTestTargetInjectionTimedOut struct {
49- StepName string
50- }
51-
52- // Error returns the error string associated with the error
53- func (e * ErrTestTargetInjectionTimedOut ) Error () string {
54- return fmt .Sprintf ("test step %v failed to ingest a target" , e .StepName )
55- }
56-
5746// ErrTestStepClosedChannels indicates that the test step returned after
5847// closing its output channels, which constitutes an API violation
5948type ErrTestStepClosedChannels struct {
@@ -64,47 +53,3 @@ type ErrTestStepClosedChannels struct {
6453func (e * ErrTestStepClosedChannels ) Error () string {
6554 return fmt .Sprintf ("test step %v closed output channels (api violation)" , e .StepName )
6655}
67-
68- // ErrTestStepPaniced indicates that a test step's method paniced.
69- type ErrTestStepPaniced struct {
70- StepName string
71- StackTrace string
72- }
73-
74- // Error returns the error string associated with the error
75- func (e * ErrTestStepPaniced ) Error () string {
76- return fmt .Sprintf ("test step %s paniced, trace: %q" , e .StepName , e .StackTrace )
77- }
78-
79- // ErrTestStepReturnedDuplicateResult indicates that a test step's method paniced.
80- type ErrTestStepReturnedDuplicateResult struct {
81- StepName string
82- Target string
83- }
84-
85- // Error returns the error string associated with the error
86- func (e * ErrTestStepReturnedDuplicateResult ) Error () string {
87- return fmt .Sprintf ("test step %s returned duplicate result for %s" , e .StepName , e .Target )
88- }
89-
90- // ErrTestStepReturnedUnexpectedResult indicates that a test step's method paniced.
91- type ErrTestStepReturnedUnexpectedResult struct {
92- StepName string
93- Target string
94- }
95-
96- // Error returns the error string associated with the error
97- func (e * ErrTestStepReturnedUnexpectedResult ) Error () string {
98- return fmt .Sprintf ("test step %s returned unexpected result for %s" , e .StepName , e .Target )
99- }
100-
101- // ErrTestStepLostTargets indicates that targets have been lost during test run.
102- type ErrTestStepLostTargets struct {
103- StepName string
104- Target string
105- }
106-
107- // Error returns the error string associated with the error
108- func (e * ErrTestStepLostTargets ) Error () string {
109- return fmt .Sprintf ("test step %s lost target %s" , e .StepName , e .Target )
110- }
0 commit comments