Skip to content

Commit b088202

Browse files
Removed incorrect endpoint tests
1 parent c04d653 commit b088202

File tree

2 files changed

+0
-272
lines changed

2 files changed

+0
-272
lines changed

generator/ServiceModels/invoicing/invoicing-2024-12-01.endpoint-tests.json

Lines changed: 0 additions & 160 deletions
Original file line numberDiff line numberDiff line change
@@ -142,166 +142,6 @@
142142
"UseFIPS": false
143143
}
144144
},
145-
{
146-
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
147-
"expect": {
148-
"endpoint": {
149-
"properties": {
150-
"authSchemes": [
151-
{
152-
"name": "sigv4",
153-
"signingRegion": "us-iso-east-1"
154-
}
155-
]
156-
},
157-
"url": "https://invoicing-fips.us-iso-east-1.c2s.ic.gov"
158-
}
159-
},
160-
"params": {
161-
"Region": "us-iso-east-1",
162-
"UseFIPS": true
163-
}
164-
},
165-
{
166-
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
167-
"expect": {
168-
"endpoint": {
169-
"properties": {
170-
"authSchemes": [
171-
{
172-
"name": "sigv4",
173-
"signingRegion": "us-iso-east-1"
174-
}
175-
]
176-
},
177-
"url": "https://invoicing.us-iso-east-1.c2s.ic.gov"
178-
}
179-
},
180-
"params": {
181-
"Region": "us-iso-east-1",
182-
"UseFIPS": false
183-
}
184-
},
185-
{
186-
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
187-
"expect": {
188-
"endpoint": {
189-
"properties": {
190-
"authSchemes": [
191-
{
192-
"name": "sigv4",
193-
"signingRegion": "us-isob-east-1"
194-
}
195-
]
196-
},
197-
"url": "https://invoicing-fips.us-isob-east-1.sc2s.sgov.gov"
198-
}
199-
},
200-
"params": {
201-
"Region": "us-isob-east-1",
202-
"UseFIPS": true
203-
}
204-
},
205-
{
206-
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled",
207-
"expect": {
208-
"endpoint": {
209-
"properties": {
210-
"authSchemes": [
211-
{
212-
"name": "sigv4",
213-
"signingRegion": "us-isob-east-1"
214-
}
215-
]
216-
},
217-
"url": "https://invoicing.us-isob-east-1.sc2s.sgov.gov"
218-
}
219-
},
220-
"params": {
221-
"Region": "us-isob-east-1",
222-
"UseFIPS": false
223-
}
224-
},
225-
{
226-
"documentation": "For region eu-isoe-west-1 with FIPS enabled and DualStack enabled",
227-
"expect": {
228-
"endpoint": {
229-
"properties": {
230-
"authSchemes": [
231-
{
232-
"name": "sigv4",
233-
"signingRegion": "eu-isoe-west-1"
234-
}
235-
]
236-
},
237-
"url": "https://invoicing-fips.eu-isoe-west-1.cloud.adc-e.uk"
238-
}
239-
},
240-
"params": {
241-
"Region": "eu-isoe-west-1",
242-
"UseFIPS": true
243-
}
244-
},
245-
{
246-
"documentation": "For region eu-isoe-west-1 with FIPS disabled and DualStack enabled",
247-
"expect": {
248-
"endpoint": {
249-
"properties": {
250-
"authSchemes": [
251-
{
252-
"name": "sigv4",
253-
"signingRegion": "eu-isoe-west-1"
254-
}
255-
]
256-
},
257-
"url": "https://invoicing.eu-isoe-west-1.cloud.adc-e.uk"
258-
}
259-
},
260-
"params": {
261-
"Region": "eu-isoe-west-1",
262-
"UseFIPS": false
263-
}
264-
},
265-
{
266-
"documentation": "For region us-isof-south-1 with FIPS enabled and DualStack enabled",
267-
"expect": {
268-
"endpoint": {
269-
"properties": {
270-
"authSchemes": [
271-
{
272-
"name": "sigv4",
273-
"signingRegion": "us-isof-south-1"
274-
}
275-
]
276-
},
277-
"url": "https://invoicing-fips.us-isof-south-1.csp.hci.ic.gov"
278-
}
279-
},
280-
"params": {
281-
"Region": "us-isof-south-1",
282-
"UseFIPS": true
283-
}
284-
},
285-
{
286-
"documentation": "For region us-isof-south-1 with FIPS disabled and DualStack enabled",
287-
"expect": {
288-
"endpoint": {
289-
"properties": {
290-
"authSchemes": [
291-
{
292-
"name": "sigv4",
293-
"signingRegion": "us-isof-south-1"
294-
}
295-
]
296-
},
297-
"url": "https://invoicing.us-isof-south-1.csp.hci.ic.gov"
298-
}
299-
},
300-
"params": {
301-
"Region": "us-isof-south-1",
302-
"UseFIPS": false
303-
}
304-
},
305145
{
306146
"documentation": "Missing region",
307147
"expect": {

sdk/test/Services/Invoicing/UnitTests/Generated/Endpoints/InvoicingEndpointProviderTests.cs

Lines changed: 0 additions & 112 deletions
Original file line numberDiff line numberDiff line change
@@ -140,118 +140,6 @@ public void For_region_usgovwest1_with_FIPS_disabled_and_DualStack_enabled_Test(
140140
Assert.AreEqual("https://invoicing.us-gov-west-1.api.aws", endpoint.URL);
141141
}
142142

143-
[TestMethod]
144-
[TestCategory("UnitTest")]
145-
[TestCategory("Endpoints")]
146-
[TestCategory("Invoicing")]
147-
[Description("For region us-iso-east-1 with FIPS enabled and DualStack enabled")]
148-
public void For_region_usisoeast1_with_FIPS_enabled_and_DualStack_enabled_Test()
149-
{
150-
var parameters = new InvoicingEndpointParameters();
151-
parameters["Region"] = "us-iso-east-1";
152-
parameters["UseFIPS"] = true;
153-
var endpoint = new AmazonInvoicingEndpointProvider().ResolveEndpoint(parameters);
154-
Assert.AreEqual("https://invoicing-fips.us-iso-east-1.c2s.ic.gov", endpoint.URL);
155-
}
156-
157-
[TestMethod]
158-
[TestCategory("UnitTest")]
159-
[TestCategory("Endpoints")]
160-
[TestCategory("Invoicing")]
161-
[Description("For region us-iso-east-1 with FIPS disabled and DualStack enabled")]
162-
public void For_region_usisoeast1_with_FIPS_disabled_and_DualStack_enabled_Test()
163-
{
164-
var parameters = new InvoicingEndpointParameters();
165-
parameters["Region"] = "us-iso-east-1";
166-
parameters["UseFIPS"] = false;
167-
var endpoint = new AmazonInvoicingEndpointProvider().ResolveEndpoint(parameters);
168-
Assert.AreEqual("https://invoicing.us-iso-east-1.c2s.ic.gov", endpoint.URL);
169-
}
170-
171-
[TestMethod]
172-
[TestCategory("UnitTest")]
173-
[TestCategory("Endpoints")]
174-
[TestCategory("Invoicing")]
175-
[Description("For region us-isob-east-1 with FIPS enabled and DualStack enabled")]
176-
public void For_region_usisobeast1_with_FIPS_enabled_and_DualStack_enabled_Test()
177-
{
178-
var parameters = new InvoicingEndpointParameters();
179-
parameters["Region"] = "us-isob-east-1";
180-
parameters["UseFIPS"] = true;
181-
var endpoint = new AmazonInvoicingEndpointProvider().ResolveEndpoint(parameters);
182-
Assert.AreEqual("https://invoicing-fips.us-isob-east-1.sc2s.sgov.gov", endpoint.URL);
183-
}
184-
185-
[TestMethod]
186-
[TestCategory("UnitTest")]
187-
[TestCategory("Endpoints")]
188-
[TestCategory("Invoicing")]
189-
[Description("For region us-isob-east-1 with FIPS disabled and DualStack enabled")]
190-
public void For_region_usisobeast1_with_FIPS_disabled_and_DualStack_enabled_Test()
191-
{
192-
var parameters = new InvoicingEndpointParameters();
193-
parameters["Region"] = "us-isob-east-1";
194-
parameters["UseFIPS"] = false;
195-
var endpoint = new AmazonInvoicingEndpointProvider().ResolveEndpoint(parameters);
196-
Assert.AreEqual("https://invoicing.us-isob-east-1.sc2s.sgov.gov", endpoint.URL);
197-
}
198-
199-
[TestMethod]
200-
[TestCategory("UnitTest")]
201-
[TestCategory("Endpoints")]
202-
[TestCategory("Invoicing")]
203-
[Description("For region eu-isoe-west-1 with FIPS enabled and DualStack enabled")]
204-
public void For_region_euisoewest1_with_FIPS_enabled_and_DualStack_enabled_Test()
205-
{
206-
var parameters = new InvoicingEndpointParameters();
207-
parameters["Region"] = "eu-isoe-west-1";
208-
parameters["UseFIPS"] = true;
209-
var endpoint = new AmazonInvoicingEndpointProvider().ResolveEndpoint(parameters);
210-
Assert.AreEqual("https://invoicing-fips.eu-isoe-west-1.cloud.adc-e.uk", endpoint.URL);
211-
}
212-
213-
[TestMethod]
214-
[TestCategory("UnitTest")]
215-
[TestCategory("Endpoints")]
216-
[TestCategory("Invoicing")]
217-
[Description("For region eu-isoe-west-1 with FIPS disabled and DualStack enabled")]
218-
public void For_region_euisoewest1_with_FIPS_disabled_and_DualStack_enabled_Test()
219-
{
220-
var parameters = new InvoicingEndpointParameters();
221-
parameters["Region"] = "eu-isoe-west-1";
222-
parameters["UseFIPS"] = false;
223-
var endpoint = new AmazonInvoicingEndpointProvider().ResolveEndpoint(parameters);
224-
Assert.AreEqual("https://invoicing.eu-isoe-west-1.cloud.adc-e.uk", endpoint.URL);
225-
}
226-
227-
[TestMethod]
228-
[TestCategory("UnitTest")]
229-
[TestCategory("Endpoints")]
230-
[TestCategory("Invoicing")]
231-
[Description("For region us-isof-south-1 with FIPS enabled and DualStack enabled")]
232-
public void For_region_usisofsouth1_with_FIPS_enabled_and_DualStack_enabled_Test()
233-
{
234-
var parameters = new InvoicingEndpointParameters();
235-
parameters["Region"] = "us-isof-south-1";
236-
parameters["UseFIPS"] = true;
237-
var endpoint = new AmazonInvoicingEndpointProvider().ResolveEndpoint(parameters);
238-
Assert.AreEqual("https://invoicing-fips.us-isof-south-1.csp.hci.ic.gov", endpoint.URL);
239-
}
240-
241-
[TestMethod]
242-
[TestCategory("UnitTest")]
243-
[TestCategory("Endpoints")]
244-
[TestCategory("Invoicing")]
245-
[Description("For region us-isof-south-1 with FIPS disabled and DualStack enabled")]
246-
public void For_region_usisofsouth1_with_FIPS_disabled_and_DualStack_enabled_Test()
247-
{
248-
var parameters = new InvoicingEndpointParameters();
249-
parameters["Region"] = "us-isof-south-1";
250-
parameters["UseFIPS"] = false;
251-
var endpoint = new AmazonInvoicingEndpointProvider().ResolveEndpoint(parameters);
252-
Assert.AreEqual("https://invoicing.us-isof-south-1.csp.hci.ic.gov", endpoint.URL);
253-
}
254-
255143
[TestMethod]
256144
[TestCategory("UnitTest")]
257145
[TestCategory("Endpoints")]

0 commit comments

Comments
 (0)