diff --git a/hack/generator/pkg/conversions/testdata/ConvertBetweenAliasAndAliasType.golden b/hack/generator/pkg/functions/testdata/ConvertBetweenAliasAndAliasType.golden similarity index 88% rename from hack/generator/pkg/conversions/testdata/ConvertBetweenAliasAndAliasType.golden rename to hack/generator/pkg/functions/testdata/ConvertBetweenAliasAndAliasType.golden index a897c5e606e..8842639847d 100644 --- a/hack/generator/pkg/conversions/testdata/ConvertBetweenAliasAndAliasType.golden +++ b/hack/generator/pkg/functions/testdata/ConvertBetweenAliasAndAliasType.golden @@ -3,7 +3,7 @@ // Licensed under the MIT license. package vCurrent -import "github.com/Azure/azure-service-operator/hack/generated/_apis/Verification/vNext" +import "github.com/Azure/azure-service-operator/testing/Verification/vNext" type Person struct { Age Age `json:"age"` diff --git a/hack/generator/pkg/conversions/testdata/ConvertBetweenAliasAndBaseType.golden b/hack/generator/pkg/functions/testdata/ConvertBetweenAliasAndBaseType.golden similarity index 88% rename from hack/generator/pkg/conversions/testdata/ConvertBetweenAliasAndBaseType.golden rename to hack/generator/pkg/functions/testdata/ConvertBetweenAliasAndBaseType.golden index 23f99bb5634..0fd00cc5858 100644 --- a/hack/generator/pkg/conversions/testdata/ConvertBetweenAliasAndBaseType.golden +++ b/hack/generator/pkg/functions/testdata/ConvertBetweenAliasAndBaseType.golden @@ -3,7 +3,7 @@ // Licensed under the MIT license. package vCurrent -import "github.com/Azure/azure-service-operator/hack/generated/_apis/Verification/vNext" +import "github.com/Azure/azure-service-operator/testing/Verification/vNext" type Person struct { Age Age `json:"age"` diff --git a/hack/generator/pkg/conversions/testdata/ConvertBetweenAliasAndOptionalAliasType.golden b/hack/generator/pkg/functions/testdata/ConvertBetweenAliasAndOptionalAliasType.golden similarity index 89% rename from hack/generator/pkg/conversions/testdata/ConvertBetweenAliasAndOptionalAliasType.golden rename to hack/generator/pkg/functions/testdata/ConvertBetweenAliasAndOptionalAliasType.golden index 555938c4052..3f3d681db40 100644 --- a/hack/generator/pkg/conversions/testdata/ConvertBetweenAliasAndOptionalAliasType.golden +++ b/hack/generator/pkg/functions/testdata/ConvertBetweenAliasAndOptionalAliasType.golden @@ -3,7 +3,7 @@ // Licensed under the MIT license. package vCurrent -import "github.com/Azure/azure-service-operator/hack/generated/_apis/Verification/vNext" +import "github.com/Azure/azure-service-operator/testing/Verification/vNext" type Person struct { Age Age `json:"age"` diff --git a/hack/generator/pkg/conversions/testdata/ConvertBetweenEnumAndBaseType.golden b/hack/generator/pkg/functions/testdata/ConvertBetweenEnumAndBaseType.golden similarity index 88% rename from hack/generator/pkg/conversions/testdata/ConvertBetweenEnumAndBaseType.golden rename to hack/generator/pkg/functions/testdata/ConvertBetweenEnumAndBaseType.golden index 69d0d839e44..61ae3b5b8c4 100644 --- a/hack/generator/pkg/conversions/testdata/ConvertBetweenEnumAndBaseType.golden +++ b/hack/generator/pkg/functions/testdata/ConvertBetweenEnumAndBaseType.golden @@ -3,7 +3,7 @@ // Licensed under the MIT license. package vCurrent -import "github.com/Azure/azure-service-operator/hack/generated/_apis/Verification/vNext" +import "github.com/Azure/azure-service-operator/testing/Verification/vNext" type Person struct { Sku string `json:"sku"` diff --git a/hack/generator/pkg/conversions/testdata/ConvertBetweenEnumAndOptionalBaseType.golden b/hack/generator/pkg/functions/testdata/ConvertBetweenEnumAndOptionalBaseType.golden similarity index 89% rename from hack/generator/pkg/conversions/testdata/ConvertBetweenEnumAndOptionalBaseType.golden rename to hack/generator/pkg/functions/testdata/ConvertBetweenEnumAndOptionalBaseType.golden index 70444bfe76a..2332ab77c26 100644 --- a/hack/generator/pkg/conversions/testdata/ConvertBetweenEnumAndOptionalBaseType.golden +++ b/hack/generator/pkg/functions/testdata/ConvertBetweenEnumAndOptionalBaseType.golden @@ -3,7 +3,7 @@ // Licensed under the MIT license. package vCurrent -import "github.com/Azure/azure-service-operator/hack/generated/_apis/Verification/vNext" +import "github.com/Azure/azure-service-operator/testing/Verification/vNext" type Person struct { Sku *string `json:"sku"` diff --git a/hack/generator/pkg/conversions/testdata/ConvertBetweenOptionalAliasAndBaseType.golden b/hack/generator/pkg/functions/testdata/ConvertBetweenOptionalAliasAndBaseType.golden similarity index 89% rename from hack/generator/pkg/conversions/testdata/ConvertBetweenOptionalAliasAndBaseType.golden rename to hack/generator/pkg/functions/testdata/ConvertBetweenOptionalAliasAndBaseType.golden index d5e1f589d5e..67b34241fc6 100644 --- a/hack/generator/pkg/conversions/testdata/ConvertBetweenOptionalAliasAndBaseType.golden +++ b/hack/generator/pkg/functions/testdata/ConvertBetweenOptionalAliasAndBaseType.golden @@ -3,7 +3,7 @@ // Licensed under the MIT license. package vCurrent -import "github.com/Azure/azure-service-operator/hack/generated/_apis/Verification/vNext" +import "github.com/Azure/azure-service-operator/testing/Verification/vNext" type Person struct { Age *Age `json:"age"` diff --git a/hack/generator/pkg/conversions/testdata/ConvertBetweenOptionalAliasAndOptionalAliasType.golden b/hack/generator/pkg/functions/testdata/ConvertBetweenOptionalAliasAndOptionalAliasType.golden similarity index 90% rename from hack/generator/pkg/conversions/testdata/ConvertBetweenOptionalAliasAndOptionalAliasType.golden rename to hack/generator/pkg/functions/testdata/ConvertBetweenOptionalAliasAndOptionalAliasType.golden index bd4032276a5..577fe69d366 100644 --- a/hack/generator/pkg/conversions/testdata/ConvertBetweenOptionalAliasAndOptionalAliasType.golden +++ b/hack/generator/pkg/functions/testdata/ConvertBetweenOptionalAliasAndOptionalAliasType.golden @@ -3,7 +3,7 @@ // Licensed under the MIT license. package vCurrent -import "github.com/Azure/azure-service-operator/hack/generated/_apis/Verification/vNext" +import "github.com/Azure/azure-service-operator/testing/Verification/vNext" type Person struct { Age *Age `json:"age"` diff --git a/hack/generator/pkg/conversions/testdata/ConvertBetweenOptionalAliasAndOptionalBaseType.golden b/hack/generator/pkg/functions/testdata/ConvertBetweenOptionalAliasAndOptionalBaseType.golden similarity index 90% rename from hack/generator/pkg/conversions/testdata/ConvertBetweenOptionalAliasAndOptionalBaseType.golden rename to hack/generator/pkg/functions/testdata/ConvertBetweenOptionalAliasAndOptionalBaseType.golden index d64e5136b5b..9bcbb2f64f7 100644 --- a/hack/generator/pkg/conversions/testdata/ConvertBetweenOptionalAliasAndOptionalBaseType.golden +++ b/hack/generator/pkg/functions/testdata/ConvertBetweenOptionalAliasAndOptionalBaseType.golden @@ -3,7 +3,7 @@ // Licensed under the MIT license. package vCurrent -import "github.com/Azure/azure-service-operator/hack/generated/_apis/Verification/vNext" +import "github.com/Azure/azure-service-operator/testing/Verification/vNext" type Person struct { Age *Age `json:"age"` diff --git a/hack/generator/pkg/conversions/testdata/ConvertBetweenOptionalEnumAndBaseType.golden b/hack/generator/pkg/functions/testdata/ConvertBetweenOptionalEnumAndBaseType.golden similarity index 89% rename from hack/generator/pkg/conversions/testdata/ConvertBetweenOptionalEnumAndBaseType.golden rename to hack/generator/pkg/functions/testdata/ConvertBetweenOptionalEnumAndBaseType.golden index c1957c362c6..f1767907b27 100644 --- a/hack/generator/pkg/conversions/testdata/ConvertBetweenOptionalEnumAndBaseType.golden +++ b/hack/generator/pkg/functions/testdata/ConvertBetweenOptionalEnumAndBaseType.golden @@ -3,7 +3,7 @@ // Licensed under the MIT license. package vCurrent -import "github.com/Azure/azure-service-operator/hack/generated/_apis/Verification/vNext" +import "github.com/Azure/azure-service-operator/testing/Verification/vNext" type Person struct { Sku string `json:"sku"` diff --git a/hack/generator/pkg/conversions/testdata/ConvertBetweenOptionalEnumAndOptionalBaseType.golden b/hack/generator/pkg/functions/testdata/ConvertBetweenOptionalEnumAndOptionalBaseType.golden similarity index 90% rename from hack/generator/pkg/conversions/testdata/ConvertBetweenOptionalEnumAndOptionalBaseType.golden rename to hack/generator/pkg/functions/testdata/ConvertBetweenOptionalEnumAndOptionalBaseType.golden index 964557ba02f..bf8617fa628 100644 --- a/hack/generator/pkg/conversions/testdata/ConvertBetweenOptionalEnumAndOptionalBaseType.golden +++ b/hack/generator/pkg/functions/testdata/ConvertBetweenOptionalEnumAndOptionalBaseType.golden @@ -3,7 +3,7 @@ // Licensed under the MIT license. package vCurrent -import "github.com/Azure/azure-service-operator/hack/generated/_apis/Verification/vNext" +import "github.com/Azure/azure-service-operator/testing/Verification/vNext" type Person struct { Sku *string `json:"sku"` diff --git a/hack/generator/pkg/conversions/testdata/ConvertBetweenOptionalEnumAndOptionalEnum.golden b/hack/generator/pkg/functions/testdata/ConvertBetweenOptionalEnumAndOptionalEnum.golden similarity index 90% rename from hack/generator/pkg/conversions/testdata/ConvertBetweenOptionalEnumAndOptionalEnum.golden rename to hack/generator/pkg/functions/testdata/ConvertBetweenOptionalEnumAndOptionalEnum.golden index 8ce0f1d1501..1945fabd468 100644 --- a/hack/generator/pkg/conversions/testdata/ConvertBetweenOptionalEnumAndOptionalEnum.golden +++ b/hack/generator/pkg/functions/testdata/ConvertBetweenOptionalEnumAndOptionalEnum.golden @@ -3,7 +3,7 @@ // Licensed under the MIT license. package vCurrent -import "github.com/Azure/azure-service-operator/hack/generated/_apis/Verification/vNext" +import "github.com/Azure/azure-service-operator/testing/Verification/vNext" type Person struct { Release *Bucket `json:"release"` diff --git a/hack/generator/pkg/conversions/testdata/ConvertBetweenOptionalObjectAndOptionalObject.golden b/hack/generator/pkg/functions/testdata/ConvertBetweenOptionalObjectAndOptionalObject.golden similarity index 93% rename from hack/generator/pkg/conversions/testdata/ConvertBetweenOptionalObjectAndOptionalObject.golden rename to hack/generator/pkg/functions/testdata/ConvertBetweenOptionalObjectAndOptionalObject.golden index db934684b84..81dc5aacaca 100644 --- a/hack/generator/pkg/conversions/testdata/ConvertBetweenOptionalObjectAndOptionalObject.golden +++ b/hack/generator/pkg/functions/testdata/ConvertBetweenOptionalObjectAndOptionalObject.golden @@ -4,7 +4,7 @@ package vCurrent import ( - "github.com/Azure/azure-service-operator/hack/generated/_apis/Verification/vNext" + "github.com/Azure/azure-service-operator/testing/Verification/vNext" "github.com/pkg/errors" ) diff --git a/hack/generator/pkg/conversions/testdata/ConvertBetweenRequiredEnumAndOptionalEnum.golden b/hack/generator/pkg/functions/testdata/ConvertBetweenRequiredEnumAndOptionalEnum.golden similarity index 90% rename from hack/generator/pkg/conversions/testdata/ConvertBetweenRequiredEnumAndOptionalEnum.golden rename to hack/generator/pkg/functions/testdata/ConvertBetweenRequiredEnumAndOptionalEnum.golden index d0c8419da0d..3890d8f7342 100644 --- a/hack/generator/pkg/conversions/testdata/ConvertBetweenRequiredEnumAndOptionalEnum.golden +++ b/hack/generator/pkg/functions/testdata/ConvertBetweenRequiredEnumAndOptionalEnum.golden @@ -3,7 +3,7 @@ // Licensed under the MIT license. package vCurrent -import "github.com/Azure/azure-service-operator/hack/generated/_apis/Verification/vNext" +import "github.com/Azure/azure-service-operator/testing/Verification/vNext" type Person struct { Release Bucket `json:"release"` diff --git a/hack/generator/pkg/conversions/testdata/ConvertBetweenRequiredEnumAndRequiredEnum.golden b/hack/generator/pkg/functions/testdata/ConvertBetweenRequiredEnumAndRequiredEnum.golden similarity index 89% rename from hack/generator/pkg/conversions/testdata/ConvertBetweenRequiredEnumAndRequiredEnum.golden rename to hack/generator/pkg/functions/testdata/ConvertBetweenRequiredEnumAndRequiredEnum.golden index 02ede3be964..b5fa174fca3 100644 --- a/hack/generator/pkg/conversions/testdata/ConvertBetweenRequiredEnumAndRequiredEnum.golden +++ b/hack/generator/pkg/functions/testdata/ConvertBetweenRequiredEnumAndRequiredEnum.golden @@ -3,7 +3,7 @@ // Licensed under the MIT license. package vCurrent -import "github.com/Azure/azure-service-operator/hack/generated/_apis/Verification/vNext" +import "github.com/Azure/azure-service-operator/testing/Verification/vNext" type Person struct { Release Bucket `json:"release"` diff --git a/hack/generator/pkg/conversions/testdata/ConvertBetweenRequiredObjectAndOptionalObject.golden b/hack/generator/pkg/functions/testdata/ConvertBetweenRequiredObjectAndOptionalObject.golden similarity index 93% rename from hack/generator/pkg/conversions/testdata/ConvertBetweenRequiredObjectAndOptionalObject.golden rename to hack/generator/pkg/functions/testdata/ConvertBetweenRequiredObjectAndOptionalObject.golden index 2aa15e4cdfa..0ca2dc07510 100644 --- a/hack/generator/pkg/conversions/testdata/ConvertBetweenRequiredObjectAndOptionalObject.golden +++ b/hack/generator/pkg/functions/testdata/ConvertBetweenRequiredObjectAndOptionalObject.golden @@ -4,7 +4,7 @@ package vCurrent import ( - "github.com/Azure/azure-service-operator/hack/generated/_apis/Verification/vNext" + "github.com/Azure/azure-service-operator/testing/Verification/vNext" "github.com/pkg/errors" ) diff --git a/hack/generator/pkg/conversions/testdata/ConvertBetweenRequiredObjectAndRequiredObject.golden b/hack/generator/pkg/functions/testdata/ConvertBetweenRequiredObjectAndRequiredObject.golden similarity index 92% rename from hack/generator/pkg/conversions/testdata/ConvertBetweenRequiredObjectAndRequiredObject.golden rename to hack/generator/pkg/functions/testdata/ConvertBetweenRequiredObjectAndRequiredObject.golden index 02047794adc..9e0882666d1 100644 --- a/hack/generator/pkg/conversions/testdata/ConvertBetweenRequiredObjectAndRequiredObject.golden +++ b/hack/generator/pkg/functions/testdata/ConvertBetweenRequiredObjectAndRequiredObject.golden @@ -4,7 +4,7 @@ package vCurrent import ( - "github.com/Azure/azure-service-operator/hack/generated/_apis/Verification/vNext" + "github.com/Azure/azure-service-operator/testing/Verification/vNext" "github.com/pkg/errors" ) diff --git a/hack/generator/pkg/conversions/testdata/CopyJSONObjectProperty.golden b/hack/generator/pkg/functions/testdata/CopyJSONObjectProperty.golden similarity index 94% rename from hack/generator/pkg/conversions/testdata/CopyJSONObjectProperty.golden rename to hack/generator/pkg/functions/testdata/CopyJSONObjectProperty.golden index e7a3cae4fbe..dc98c5de34f 100644 --- a/hack/generator/pkg/conversions/testdata/CopyJSONObjectProperty.golden +++ b/hack/generator/pkg/functions/testdata/CopyJSONObjectProperty.golden @@ -4,7 +4,7 @@ package vCurrent import ( - "github.com/Azure/azure-service-operator/hack/generated/_apis/Verification/vNext" + "github.com/Azure/azure-service-operator/testing/Verification/vNext" "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1" ) diff --git a/hack/generator/pkg/conversions/testdata/CopyJSONProperty.golden b/hack/generator/pkg/functions/testdata/CopyJSONProperty.golden similarity index 90% rename from hack/generator/pkg/conversions/testdata/CopyJSONProperty.golden rename to hack/generator/pkg/functions/testdata/CopyJSONProperty.golden index 70b0b3ce5b8..9909cb133ff 100644 --- a/hack/generator/pkg/conversions/testdata/CopyJSONProperty.golden +++ b/hack/generator/pkg/functions/testdata/CopyJSONProperty.golden @@ -4,7 +4,7 @@ package vCurrent import ( - "github.com/Azure/azure-service-operator/hack/generated/_apis/Verification/vNext" + "github.com/Azure/azure-service-operator/testing/Verification/vNext" "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1" ) diff --git a/hack/generator/pkg/conversions/testdata/CopyKnownReferenceProperty.golden b/hack/generator/pkg/functions/testdata/CopyKnownReferenceProperty.golden similarity index 91% rename from hack/generator/pkg/conversions/testdata/CopyKnownReferenceProperty.golden rename to hack/generator/pkg/functions/testdata/CopyKnownReferenceProperty.golden index 7a2e3023cb9..a587f924393 100644 --- a/hack/generator/pkg/conversions/testdata/CopyKnownReferenceProperty.golden +++ b/hack/generator/pkg/functions/testdata/CopyKnownReferenceProperty.golden @@ -4,8 +4,8 @@ package vCurrent import ( - "github.com/Azure/azure-service-operator/hack/generated/_apis/Verification/vNext" "github.com/Azure/azure-service-operator/hack/generated/pkg/genruntime" + "github.com/Azure/azure-service-operator/testing/Verification/vNext" ) type Person struct { diff --git a/hack/generator/pkg/conversions/testdata/CopyOptionalJSONProperty.golden b/hack/generator/pkg/functions/testdata/CopyOptionalJSONProperty.golden similarity index 91% rename from hack/generator/pkg/conversions/testdata/CopyOptionalJSONProperty.golden rename to hack/generator/pkg/functions/testdata/CopyOptionalJSONProperty.golden index edde985b214..38e3e01dfaf 100644 --- a/hack/generator/pkg/conversions/testdata/CopyOptionalJSONProperty.golden +++ b/hack/generator/pkg/functions/testdata/CopyOptionalJSONProperty.golden @@ -4,7 +4,7 @@ package vCurrent import ( - "github.com/Azure/azure-service-operator/hack/generated/_apis/Verification/vNext" + "github.com/Azure/azure-service-operator/testing/Verification/vNext" "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1" ) diff --git a/hack/generator/pkg/conversions/testdata/CopyReferenceProperty.golden b/hack/generator/pkg/functions/testdata/CopyReferenceProperty.golden similarity index 90% rename from hack/generator/pkg/conversions/testdata/CopyReferenceProperty.golden rename to hack/generator/pkg/functions/testdata/CopyReferenceProperty.golden index 30734259cdf..2733943c1ff 100644 --- a/hack/generator/pkg/conversions/testdata/CopyReferenceProperty.golden +++ b/hack/generator/pkg/functions/testdata/CopyReferenceProperty.golden @@ -4,8 +4,8 @@ package vCurrent import ( - "github.com/Azure/azure-service-operator/hack/generated/_apis/Verification/vNext" "github.com/Azure/azure-service-operator/hack/generated/pkg/genruntime" + "github.com/Azure/azure-service-operator/testing/Verification/vNext" ) type Person struct { diff --git a/hack/generator/pkg/conversions/testdata/NastyTest.golden b/hack/generator/pkg/functions/testdata/NastyTest.golden similarity index 95% rename from hack/generator/pkg/conversions/testdata/NastyTest.golden rename to hack/generator/pkg/functions/testdata/NastyTest.golden index 3fe1c9f1779..e0d08cc60ce 100644 --- a/hack/generator/pkg/conversions/testdata/NastyTest.golden +++ b/hack/generator/pkg/functions/testdata/NastyTest.golden @@ -3,7 +3,7 @@ // Licensed under the MIT license. package vCurrent -import "github.com/Azure/azure-service-operator/hack/generated/_apis/Verification/vNext" +import "github.com/Azure/azure-service-operator/testing/Verification/vNext" type Person struct { nasty map[string][]map[string]bool `json:"nasty"` diff --git a/hack/generator/pkg/conversions/testdata/ReadFromFunctionIntoOptionalProperty.golden b/hack/generator/pkg/functions/testdata/ReadFromFunctionIntoOptionalProperty.golden similarity index 88% rename from hack/generator/pkg/conversions/testdata/ReadFromFunctionIntoOptionalProperty.golden rename to hack/generator/pkg/functions/testdata/ReadFromFunctionIntoOptionalProperty.golden index 829d9bd4dd3..f1409131d89 100644 --- a/hack/generator/pkg/conversions/testdata/ReadFromFunctionIntoOptionalProperty.golden +++ b/hack/generator/pkg/functions/testdata/ReadFromFunctionIntoOptionalProperty.golden @@ -3,7 +3,7 @@ // Licensed under the MIT license. package vCurrent -import "github.com/Azure/azure-service-operator/hack/generated/_apis/Verification/vNext" +import "github.com/Azure/azure-service-operator/testing/Verification/vNext" type Person struct { } diff --git a/hack/generator/pkg/conversions/testdata/ReadFromFunctionIntoProperty.golden b/hack/generator/pkg/functions/testdata/ReadFromFunctionIntoProperty.golden similarity index 87% rename from hack/generator/pkg/conversions/testdata/ReadFromFunctionIntoProperty.golden rename to hack/generator/pkg/functions/testdata/ReadFromFunctionIntoProperty.golden index 2a623a4f531..5c1f65b3127 100644 --- a/hack/generator/pkg/conversions/testdata/ReadFromFunctionIntoProperty.golden +++ b/hack/generator/pkg/functions/testdata/ReadFromFunctionIntoProperty.golden @@ -3,7 +3,7 @@ // Licensed under the MIT license. package vCurrent -import "github.com/Azure/azure-service-operator/hack/generated/_apis/Verification/vNext" +import "github.com/Azure/azure-service-operator/testing/Verification/vNext" type Person struct { } diff --git a/hack/generator/pkg/conversions/testdata/SetArrayOfOptionalFromArrayOfRequired.golden b/hack/generator/pkg/functions/testdata/SetArrayOfOptionalFromArrayOfRequired.golden similarity index 92% rename from hack/generator/pkg/conversions/testdata/SetArrayOfOptionalFromArrayOfRequired.golden rename to hack/generator/pkg/functions/testdata/SetArrayOfOptionalFromArrayOfRequired.golden index 71e4d38d504..41168ceebe2 100644 --- a/hack/generator/pkg/conversions/testdata/SetArrayOfOptionalFromArrayOfRequired.golden +++ b/hack/generator/pkg/functions/testdata/SetArrayOfOptionalFromArrayOfRequired.golden @@ -3,7 +3,7 @@ // Licensed under the MIT license. package vCurrent -import "github.com/Azure/azure-service-operator/hack/generated/_apis/Verification/vNext" +import "github.com/Azure/azure-service-operator/testing/Verification/vNext" type Person struct { Scores []*int `json:"scores"` diff --git a/hack/generator/pkg/conversions/testdata/SetArrayOfRequiredFromArrayOfOptional.golden b/hack/generator/pkg/functions/testdata/SetArrayOfRequiredFromArrayOfOptional.golden similarity index 92% rename from hack/generator/pkg/conversions/testdata/SetArrayOfRequiredFromArrayOfOptional.golden rename to hack/generator/pkg/functions/testdata/SetArrayOfRequiredFromArrayOfOptional.golden index a787e7d0648..5fc3631c4ba 100644 --- a/hack/generator/pkg/conversions/testdata/SetArrayOfRequiredFromArrayOfOptional.golden +++ b/hack/generator/pkg/functions/testdata/SetArrayOfRequiredFromArrayOfOptional.golden @@ -3,7 +3,7 @@ // Licensed under the MIT license. package vCurrent -import "github.com/Azure/azure-service-operator/hack/generated/_apis/Verification/vNext" +import "github.com/Azure/azure-service-operator/testing/Verification/vNext" type Person struct { Scores []int `json:"scores"` diff --git a/hack/generator/pkg/conversions/testdata/SetArrayOfRequiredFromArrayOfRequired.golden b/hack/generator/pkg/functions/testdata/SetArrayOfRequiredFromArrayOfRequired.golden similarity index 92% rename from hack/generator/pkg/conversions/testdata/SetArrayOfRequiredFromArrayOfRequired.golden rename to hack/generator/pkg/functions/testdata/SetArrayOfRequiredFromArrayOfRequired.golden index 2a851afad6e..52d39613706 100644 --- a/hack/generator/pkg/conversions/testdata/SetArrayOfRequiredFromArrayOfRequired.golden +++ b/hack/generator/pkg/functions/testdata/SetArrayOfRequiredFromArrayOfRequired.golden @@ -3,7 +3,7 @@ // Licensed under the MIT license. package vCurrent -import "github.com/Azure/azure-service-operator/hack/generated/_apis/Verification/vNext" +import "github.com/Azure/azure-service-operator/testing/Verification/vNext" type Person struct { Scores []int `json:"scores"` diff --git a/hack/generator/pkg/conversions/testdata/SetIntFromInt.golden b/hack/generator/pkg/functions/testdata/SetIntFromInt.golden similarity index 88% rename from hack/generator/pkg/conversions/testdata/SetIntFromInt.golden rename to hack/generator/pkg/functions/testdata/SetIntFromInt.golden index ca14e06d08c..ab06a8b0559 100644 --- a/hack/generator/pkg/conversions/testdata/SetIntFromInt.golden +++ b/hack/generator/pkg/functions/testdata/SetIntFromInt.golden @@ -3,7 +3,7 @@ // Licensed under the MIT license. package vCurrent -import "github.com/Azure/azure-service-operator/hack/generated/_apis/Verification/vNext" +import "github.com/Azure/azure-service-operator/testing/Verification/vNext" type Person struct { Age int `json:"age"` diff --git a/hack/generator/pkg/conversions/testdata/SetIntFromOptionalInt.golden b/hack/generator/pkg/functions/testdata/SetIntFromOptionalInt.golden similarity index 89% rename from hack/generator/pkg/conversions/testdata/SetIntFromOptionalInt.golden rename to hack/generator/pkg/functions/testdata/SetIntFromOptionalInt.golden index d339e6cb181..d996af44844 100644 --- a/hack/generator/pkg/conversions/testdata/SetIntFromOptionalInt.golden +++ b/hack/generator/pkg/functions/testdata/SetIntFromOptionalInt.golden @@ -3,7 +3,7 @@ // Licensed under the MIT license. package vCurrent -import "github.com/Azure/azure-service-operator/hack/generated/_apis/Verification/vNext" +import "github.com/Azure/azure-service-operator/testing/Verification/vNext" type Person struct { Age int `json:"age"` diff --git a/hack/generator/pkg/conversions/testdata/SetMapOfOptionalFromMapOfRequired.golden b/hack/generator/pkg/functions/testdata/SetMapOfOptionalFromMapOfRequired.golden similarity index 93% rename from hack/generator/pkg/conversions/testdata/SetMapOfOptionalFromMapOfRequired.golden rename to hack/generator/pkg/functions/testdata/SetMapOfOptionalFromMapOfRequired.golden index 29d0a736c22..0e5568de7d7 100644 --- a/hack/generator/pkg/conversions/testdata/SetMapOfOptionalFromMapOfRequired.golden +++ b/hack/generator/pkg/functions/testdata/SetMapOfOptionalFromMapOfRequired.golden @@ -3,7 +3,7 @@ // Licensed under the MIT license. package vCurrent -import "github.com/Azure/azure-service-operator/hack/generated/_apis/Verification/vNext" +import "github.com/Azure/azure-service-operator/testing/Verification/vNext" type Person struct { Ratings map[string]*int `json:"ratings"` diff --git a/hack/generator/pkg/conversions/testdata/SetMapOfRequiredFromMapOfOptional.golden b/hack/generator/pkg/functions/testdata/SetMapOfRequiredFromMapOfOptional.golden similarity index 93% rename from hack/generator/pkg/conversions/testdata/SetMapOfRequiredFromMapOfOptional.golden rename to hack/generator/pkg/functions/testdata/SetMapOfRequiredFromMapOfOptional.golden index b6fe8bdd0af..5190f867166 100644 --- a/hack/generator/pkg/conversions/testdata/SetMapOfRequiredFromMapOfOptional.golden +++ b/hack/generator/pkg/functions/testdata/SetMapOfRequiredFromMapOfOptional.golden @@ -3,7 +3,7 @@ // Licensed under the MIT license. package vCurrent -import "github.com/Azure/azure-service-operator/hack/generated/_apis/Verification/vNext" +import "github.com/Azure/azure-service-operator/testing/Verification/vNext" type Person struct { Ratings map[string]int `json:"ratings"` diff --git a/hack/generator/pkg/conversions/testdata/SetMapOfRequiredFromMapOfRequired.golden b/hack/generator/pkg/functions/testdata/SetMapOfRequiredFromMapOfRequired.golden similarity index 92% rename from hack/generator/pkg/conversions/testdata/SetMapOfRequiredFromMapOfRequired.golden rename to hack/generator/pkg/functions/testdata/SetMapOfRequiredFromMapOfRequired.golden index e6c0f421886..849db2ba72d 100644 --- a/hack/generator/pkg/conversions/testdata/SetMapOfRequiredFromMapOfRequired.golden +++ b/hack/generator/pkg/functions/testdata/SetMapOfRequiredFromMapOfRequired.golden @@ -3,7 +3,7 @@ // Licensed under the MIT license. package vCurrent -import "github.com/Azure/azure-service-operator/hack/generated/_apis/Verification/vNext" +import "github.com/Azure/azure-service-operator/testing/Verification/vNext" type Person struct { Ratings map[string]int `json:"ratings"` diff --git a/hack/generator/pkg/conversions/testdata/SetOptionalStringFromOptionalString.golden b/hack/generator/pkg/functions/testdata/SetOptionalStringFromOptionalString.golden similarity index 90% rename from hack/generator/pkg/conversions/testdata/SetOptionalStringFromOptionalString.golden rename to hack/generator/pkg/functions/testdata/SetOptionalStringFromOptionalString.golden index d59e804cff9..acfb4ba23a7 100644 --- a/hack/generator/pkg/conversions/testdata/SetOptionalStringFromOptionalString.golden +++ b/hack/generator/pkg/functions/testdata/SetOptionalStringFromOptionalString.golden @@ -3,7 +3,7 @@ // Licensed under the MIT license. package vCurrent -import "github.com/Azure/azure-service-operator/hack/generated/_apis/Verification/vNext" +import "github.com/Azure/azure-service-operator/testing/Verification/vNext" type Person struct { Name *string `json:"name"` diff --git a/hack/generator/pkg/conversions/testdata/SetOptionalStringFromString.golden b/hack/generator/pkg/functions/testdata/SetOptionalStringFromString.golden similarity index 89% rename from hack/generator/pkg/conversions/testdata/SetOptionalStringFromString.golden rename to hack/generator/pkg/functions/testdata/SetOptionalStringFromString.golden index 9c2a9221a98..27eac305256 100644 --- a/hack/generator/pkg/conversions/testdata/SetOptionalStringFromString.golden +++ b/hack/generator/pkg/functions/testdata/SetOptionalStringFromString.golden @@ -3,7 +3,7 @@ // Licensed under the MIT license. package vCurrent -import "github.com/Azure/azure-service-operator/hack/generated/_apis/Verification/vNext" +import "github.com/Azure/azure-service-operator/testing/Verification/vNext" type Person struct { Name *string `json:"name"` diff --git a/hack/generator/pkg/conversions/testdata/SetStringFromOptionalString.golden b/hack/generator/pkg/functions/testdata/SetStringFromOptionalString.golden similarity index 89% rename from hack/generator/pkg/conversions/testdata/SetStringFromOptionalString.golden rename to hack/generator/pkg/functions/testdata/SetStringFromOptionalString.golden index f24cb2159b6..63e036814fa 100644 --- a/hack/generator/pkg/conversions/testdata/SetStringFromOptionalString.golden +++ b/hack/generator/pkg/functions/testdata/SetStringFromOptionalString.golden @@ -3,7 +3,7 @@ // Licensed under the MIT license. package vCurrent -import "github.com/Azure/azure-service-operator/hack/generated/_apis/Verification/vNext" +import "github.com/Azure/azure-service-operator/testing/Verification/vNext" type Person struct { Name string `json:"name"` diff --git a/hack/generator/pkg/conversions/testdata/SetStringFromString.golden b/hack/generator/pkg/functions/testdata/SetStringFromString.golden similarity index 88% rename from hack/generator/pkg/conversions/testdata/SetStringFromString.golden rename to hack/generator/pkg/functions/testdata/SetStringFromString.golden index 134c507b0d3..363a0a3b18a 100644 --- a/hack/generator/pkg/conversions/testdata/SetStringFromString.golden +++ b/hack/generator/pkg/functions/testdata/SetStringFromString.golden @@ -3,7 +3,7 @@ // Licensed under the MIT license. package vCurrent -import "github.com/Azure/azure-service-operator/hack/generated/_apis/Verification/vNext" +import "github.com/Azure/azure-service-operator/testing/Verification/vNext" type Person struct { Name string `json:"name"`