-
Notifications
You must be signed in to change notification settings - Fork 2
/
events_test_roundtripdata.go
61 lines (58 loc) · 4.36 KB
/
events_test_roundtripdata.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
// Copyright Axis Communications AB.
//
// For a full list of individual contributors, please see the commit history.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// THIS FILE IS AUTOMATICALLY GENERATED AND MUST NOT BE EDITED BY HAND.
package eiffelevents
var eventRoundTripTestTable = []struct {
Filename string
ExpectedType interface{}
}{
{"protocol/examples/events/EiffelActivityCanceledEvent/simple.json", &ActivityCanceledV3{}},
{"protocol/examples/events/EiffelActivityFinishedEvent/simple.json", &ActivityFinishedV3{}},
{"protocol/examples/events/EiffelActivityStartedEvent/simple.json", &ActivityStartedV4{}},
{"protocol/examples/events/EiffelActivityTriggeredEvent/simple-customdata.json", &ActivityTriggeredV3{}},
{"protocol/examples/events/EiffelActivityTriggeredEvent/simple.json", &ActivityTriggeredV3{}},
{"protocol/examples/events/EiffelAnnouncementPublishedEvent/simple.json", &AnnouncementPublishedV3{}},
{"protocol/examples/events/EiffelArtifactCreatedEvent/backend.json", &ArtifactCreatedV3{}},
{"protocol/examples/events/EiffelArtifactCreatedEvent/checksum.json", &ArtifactCreatedV3{}},
{"protocol/examples/events/EiffelArtifactCreatedEvent/dependent.json", &ArtifactCreatedV3{}},
{"protocol/examples/events/EiffelArtifactCreatedEvent/interface.json", &ArtifactCreatedV3{}},
{"protocol/examples/events/EiffelArtifactCreatedEvent/simple.json", &ArtifactCreatedV3{}},
{"protocol/examples/events/EiffelArtifactDeployedEvent/simple.json", &ArtifactDeployedV0_1_0{}},
{"protocol/examples/events/EiffelArtifactPublishedEvent/multifile.json", &ArtifactPublishedV3{}},
{"protocol/examples/events/EiffelArtifactPublishedEvent/simple.json", &ArtifactPublishedV3{}},
{"protocol/examples/events/EiffelArtifactReusedEvent/simple.json", &ArtifactReusedV3{}},
{"protocol/examples/events/EiffelCompositionDefinedEvent/simple.json", &CompositionDefinedV3{}},
{"protocol/examples/events/EiffelConfidenceLevelModifiedEvent/simple.json", &ConfidenceLevelModifiedV3{}},
{"protocol/examples/events/EiffelEnvironmentDefinedEvent/host.json", &EnvironmentDefinedV3{}},
{"protocol/examples/events/EiffelEnvironmentDefinedEvent/image.json", &EnvironmentDefinedV3{}},
{"protocol/examples/events/EiffelEnvironmentDefinedEvent/runtime-env-link.json", &EnvironmentDefinedV3{}},
{"protocol/examples/events/EiffelEnvironmentDefinedEvent/uri.json", &EnvironmentDefinedV3{}},
{"protocol/examples/events/EiffelFlowContextDefinedEvent/simple.json", &FlowContextDefinedV3{}},
{"protocol/examples/events/EiffelIssueDefinedEvent/simple.json", &IssueDefinedV3{}},
{"protocol/examples/events/EiffelIssueVerifiedEvent/simple.json", &IssueVerifiedV4{}},
{"protocol/examples/events/EiffelSourceChangeCreatedEvent/simple.json", &SourceChangeCreatedV4{}},
{"protocol/examples/events/EiffelSourceChangeSubmittedEvent/simple.json", &SourceChangeSubmittedV3{}},
{"protocol/examples/events/EiffelTestCaseCanceledEvent/simple.json", &TestCaseCanceledV3{}},
{"protocol/examples/events/EiffelTestCaseFinishedEvent/simple.json", &TestCaseFinishedV3{}},
{"protocol/examples/events/EiffelTestCaseStartedEvent/simple.json", &TestCaseStartedV3{}},
{"protocol/examples/events/EiffelTestCaseTriggeredEvent/simple-2.0.0.json", &TestCaseTriggeredV2{}},
{"protocol/examples/events/EiffelTestCaseTriggeredEvent/simple.json", &TestCaseTriggeredV3{}},
{"protocol/examples/events/EiffelTestExecutionRecipeCollectionCreatedEvent/batches-1.0.0.json", &TestExecutionRecipeCollectionCreatedV1{}},
{"protocol/examples/events/EiffelTestExecutionRecipeCollectionCreatedEvent/batches.json", &TestExecutionRecipeCollectionCreatedV4{}},
{"protocol/examples/events/EiffelTestExecutionRecipeCollectionCreatedEvent/batchesUri.json", &TestExecutionRecipeCollectionCreatedV4{}},
{"protocol/examples/events/EiffelTestSuiteFinishedEvent/simple.json", &TestSuiteFinishedV3{}},
{"protocol/examples/events/EiffelTestSuiteStartedEvent/simple.json", &TestSuiteStartedV3{}},
}