Skip to content

Commit 7708262

Browse files
Remove incorrect endpoint tests
1 parent b11563a commit 7708262

File tree

2 files changed

+0
-104
lines changed

2 files changed

+0
-104
lines changed

generator/ServiceModels/pinpoint-sms-voice-v2/pinpoint-sms-voice-v2-2022-03-31.endpoint-tests.json

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -286,17 +286,6 @@
286286
"UseDualStack": false
287287
}
288288
},
289-
{
290-
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
291-
"expect": {
292-
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
293-
},
294-
"params": {
295-
"Region": "us-iso-east-1",
296-
"UseFIPS": true,
297-
"UseDualStack": true
298-
}
299-
},
300289
{
301290
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
302291
"expect": {
@@ -310,17 +299,6 @@
310299
"UseDualStack": false
311300
}
312301
},
313-
{
314-
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
315-
"expect": {
316-
"error": "DualStack is enabled but this partition does not support DualStack"
317-
},
318-
"params": {
319-
"Region": "us-iso-east-1",
320-
"UseFIPS": false,
321-
"UseDualStack": true
322-
}
323-
},
324302
{
325303
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
326304
"expect": {
@@ -334,17 +312,6 @@
334312
"UseDualStack": false
335313
}
336314
},
337-
{
338-
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
339-
"expect": {
340-
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
341-
},
342-
"params": {
343-
"Region": "us-isob-east-1",
344-
"UseFIPS": true,
345-
"UseDualStack": true
346-
}
347-
},
348315
{
349316
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
350317
"expect": {
@@ -358,17 +325,6 @@
358325
"UseDualStack": false
359326
}
360327
},
361-
{
362-
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled",
363-
"expect": {
364-
"error": "DualStack is enabled but this partition does not support DualStack"
365-
},
366-
"params": {
367-
"Region": "us-isob-east-1",
368-
"UseFIPS": false,
369-
"UseDualStack": true
370-
}
371-
},
372328
{
373329
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
374330
"expect": {

sdk/test/Services/PinpointSMSVoiceV2/UnitTests/Generated/Endpoints/PinpointSMSVoiceV2EndpointProviderTests.cs

Lines changed: 0 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -358,21 +358,6 @@ public void For_region_usgoveast1_with_FIPS_disabled_and_DualStack_disabled_Test
358358
Assert.AreEqual("https://sms-voice.us-gov-east-1.amazonaws.com", endpoint.URL);
359359
}
360360

361-
[TestMethod]
362-
[TestCategory("UnitTest")]
363-
[TestCategory("Endpoints")]
364-
[TestCategory("PinpointSMSVoiceV2")]
365-
[Description("For region us-iso-east-1 with FIPS enabled and DualStack enabled")]
366-
[ExpectedException(typeof(AmazonClientException), @"FIPS and DualStack are enabled, but this partition does not support one or both")]
367-
public void For_region_usisoeast1_with_FIPS_enabled_and_DualStack_enabled_Test()
368-
{
369-
var parameters = new PinpointSMSVoiceV2EndpointParameters();
370-
parameters["Region"] = "us-iso-east-1";
371-
parameters["UseFIPS"] = true;
372-
parameters["UseDualStack"] = true;
373-
var endpoint = new AmazonPinpointSMSVoiceV2EndpointProvider().ResolveEndpoint(parameters);
374-
}
375-
376361
[TestMethod]
377362
[TestCategory("UnitTest")]
378363
[TestCategory("Endpoints")]
@@ -388,21 +373,6 @@ public void For_region_usisoeast1_with_FIPS_enabled_and_DualStack_disabled_Test(
388373
Assert.AreEqual("https://sms-voice-fips.us-iso-east-1.c2s.ic.gov", endpoint.URL);
389374
}
390375

391-
[TestMethod]
392-
[TestCategory("UnitTest")]
393-
[TestCategory("Endpoints")]
394-
[TestCategory("PinpointSMSVoiceV2")]
395-
[Description("For region us-iso-east-1 with FIPS disabled and DualStack enabled")]
396-
[ExpectedException(typeof(AmazonClientException), @"DualStack is enabled but this partition does not support DualStack")]
397-
public void For_region_usisoeast1_with_FIPS_disabled_and_DualStack_enabled_Test()
398-
{
399-
var parameters = new PinpointSMSVoiceV2EndpointParameters();
400-
parameters["Region"] = "us-iso-east-1";
401-
parameters["UseFIPS"] = false;
402-
parameters["UseDualStack"] = true;
403-
var endpoint = new AmazonPinpointSMSVoiceV2EndpointProvider().ResolveEndpoint(parameters);
404-
}
405-
406376
[TestMethod]
407377
[TestCategory("UnitTest")]
408378
[TestCategory("Endpoints")]
@@ -418,21 +388,6 @@ public void For_region_usisoeast1_with_FIPS_disabled_and_DualStack_disabled_Test
418388
Assert.AreEqual("https://sms-voice.us-iso-east-1.c2s.ic.gov", endpoint.URL);
419389
}
420390

421-
[TestMethod]
422-
[TestCategory("UnitTest")]
423-
[TestCategory("Endpoints")]
424-
[TestCategory("PinpointSMSVoiceV2")]
425-
[Description("For region us-isob-east-1 with FIPS enabled and DualStack enabled")]
426-
[ExpectedException(typeof(AmazonClientException), @"FIPS and DualStack are enabled, but this partition does not support one or both")]
427-
public void For_region_usisobeast1_with_FIPS_enabled_and_DualStack_enabled_Test()
428-
{
429-
var parameters = new PinpointSMSVoiceV2EndpointParameters();
430-
parameters["Region"] = "us-isob-east-1";
431-
parameters["UseFIPS"] = true;
432-
parameters["UseDualStack"] = true;
433-
var endpoint = new AmazonPinpointSMSVoiceV2EndpointProvider().ResolveEndpoint(parameters);
434-
}
435-
436391
[TestMethod]
437392
[TestCategory("UnitTest")]
438393
[TestCategory("Endpoints")]
@@ -448,21 +403,6 @@ public void For_region_usisobeast1_with_FIPS_enabled_and_DualStack_disabled_Test
448403
Assert.AreEqual("https://sms-voice-fips.us-isob-east-1.sc2s.sgov.gov", endpoint.URL);
449404
}
450405

451-
[TestMethod]
452-
[TestCategory("UnitTest")]
453-
[TestCategory("Endpoints")]
454-
[TestCategory("PinpointSMSVoiceV2")]
455-
[Description("For region us-isob-east-1 with FIPS disabled and DualStack enabled")]
456-
[ExpectedException(typeof(AmazonClientException), @"DualStack is enabled but this partition does not support DualStack")]
457-
public void For_region_usisobeast1_with_FIPS_disabled_and_DualStack_enabled_Test()
458-
{
459-
var parameters = new PinpointSMSVoiceV2EndpointParameters();
460-
parameters["Region"] = "us-isob-east-1";
461-
parameters["UseFIPS"] = false;
462-
parameters["UseDualStack"] = true;
463-
var endpoint = new AmazonPinpointSMSVoiceV2EndpointProvider().ResolveEndpoint(parameters);
464-
}
465-
466406
[TestMethod]
467407
[TestCategory("UnitTest")]
468408
[TestCategory("Endpoints")]

0 commit comments

Comments
 (0)