You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: codegen/smithy-kotlin-codegen/src/main/kotlin/software/amazon/smithy/kotlin/codegen/rendering/ShapeValueGenerator.kt
Copy file name to clipboardExpand all lines: codegen/smithy-kotlin-codegen/src/main/kotlin/software/amazon/smithy/kotlin/codegen/rendering/smoketests/SmokeTestsRunnerGenerator.kt
val paramShape = paramsToShapes[paramName] ?:throwIllegalArgumentException("Unable to find shape for operation parameter '$paramName' in smoke test '${testCase.functionName}'.")
val memberShape = shape.allMembers[member.key.value] ?:throwIllegalArgumentException("Unable to find shape for operation parameter '$paramName' in smoke test '${testCase.functionName}'.")
Copy file name to clipboardExpand all lines: codegen/smithy-kotlin-codegen/src/main/resources/META-INF/services/software.amazon.smithy.kotlin.codegen.integration.KotlinIntegration
Copy file name to clipboardExpand all lines: codegen/smithy-kotlin-codegen/src/test/kotlin/software/amazon/smithy/kotlin/codegen/rendering/smoketests/SmokeTestsRunnerGeneratorTest.kt
+9-9Lines changed: 9 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,8 @@ class SmokeTestsRunnerGeneratorTest {
30
30
}
31
31
vendorParamsShape: AwsVendorParams,
32
32
vendorParams: {
33
-
region: "eu-central-1"
33
+
region: "eu-central-1",
34
+
uri: "https://foo.amazon.com"
34
35
}
35
36
}
36
37
{
@@ -106,12 +107,13 @@ class SmokeTestsRunnerGeneratorTest {
106
107
}
107
108
108
109
try {
109
-
com.test.TestClient {
110
+
TestClient {
110
111
interceptors.add(SmokeTestsInterceptor())
111
112
region = "eu-central-1"
113
+
uri = "https://foo.amazon.com"
112
114
}.use { client ->
113
115
client.testOperation(
114
-
com.test.model.TestOperationRequest {
116
+
TestOperationRequest {
115
117
bar = "2"
116
118
}
117
119
)
@@ -143,11 +145,10 @@ class SmokeTestsRunnerGeneratorTest {
143
145
}
144
146
145
147
try {
146
-
com.test.TestClient {
147
-
148
+
TestClient {
148
149
}.use { client ->
149
150
client.testOperation(
150
-
com.test.model.TestOperationRequest {
151
+
TestOperationRequest {
151
152
bar = "föö"
152
153
}
153
154
)
@@ -179,12 +180,11 @@ class SmokeTestsRunnerGeneratorTest {
0 commit comments