1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2025-11-06 09:09:19 +02:00

Consistent config for AUnit (#3395)

* Unify singular/plural in config files

* singular -> plural

* adapt

* Change
This commit is contained in:
Daniel Mieg
2021-12-23 13:33:01 +01:00
committed by GitHub
parent 81fa0ee2d8
commit b5da011200
3 changed files with 25 additions and 39 deletions

View File

@@ -575,16 +575,16 @@ type ObjectSet struct {
type MultiPropertySet struct {
Type string `json:"type,omitempty"`
PackageNames []AUnitPackage `json:"packages,omitempty"`
ObjectTypeGroups []ObjectTypeGroup `json:"objecttypegroup,omitempty"`
ObjectTypeGroups []ObjectTypeGroup `json:"objecttypegroups,omitempty"`
ObjectTypes []ObjectType `json:"objecttypes,omitempty"`
Owners []Owner `json:"owner,omitempty"`
ReleaseStates []ReleaseState `json:"releasestate,omitempty"`
Versions []Version `json:"version,omitempty"`
ApplicationComponents []ApplicationComponent `json:"applicationcomponent,omitempty"`
Owners []Owner `json:"owners,omitempty"`
ReleaseStates []ReleaseState `json:"releasestates,omitempty"`
Versions []Version `json:"versions,omitempty"`
ApplicationComponents []ApplicationComponent `json:"applicationcomponents,omitempty"`
SoftwareComponents []SoftwareComponents `json:"softwarecomponents,omitempty"`
TransportLayers []TransportLayer `json:"transportlayer,omitempty"`
Languages []Language `json:"language,omitempty"`
SourceSystems []SourceSystem `json:"sourcesystem,omitempty"`
TransportLayers []TransportLayer `json:"transportlayers,omitempty"`
Languages []Language `json:"languages,omitempty"`
SourceSystems []SourceSystem `json:"sourcesystems,omitempty"`
}
//Set

View File

@@ -28,6 +28,7 @@ func newAbapEnvironmentRunAUnitTestTestsUtils() abapEnvironmentRunAUnitTestMockU
}
func TestBuildAUnitTestBody(t *testing.T) {
t.Parallel()
t.Run("Test AUnit test run body with no data", func(t *testing.T) {
@@ -436,9 +437,9 @@ options:
medium: true
long: true
objectset:
packages:
packages:
- name: Z_TEST
softwarecomponents:
softwarecomponents:
- name: Z_TEST
`