Skip to content

Commit

Permalink
Disabling all CallingServer test as it is in the process of decomissi…
Browse files Browse the repository at this point in the history
…oning (Azure#44979)
  • Loading branch information
minwoolee-msft authored and tejasm-microsoft committed Jul 22, 2024
1 parent 1a7fa7b commit ce2e463
Show file tree
Hide file tree
Showing 14 changed files with 108 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ public CallAutomationClientLiveTests(bool isAsync) : base(isAsync)
}

[Test]
[Ignore("Disabling this test as the library is flagged for decomissioning.")]
public async Task CreateCallToACSGetCallAndHangUpCallTest()
{
/* Test case: ACS to ACS call
Expand Down Expand Up @@ -65,6 +66,7 @@ public async Task CreateCallToACSGetCallAndHangUpCallTest()
}

[Test]
[Ignore("Disabling this test as the library is flagged for decomissioning.")]
public async Task CreateCallToPSTNGetCallAndHangUpCallTest()
{
/* Test case: ACS to PSTN call
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ public class CallAutomationClientTests : CallAutomationTestBase
MediaStreamingAudioChannel.Mixed);

[TestCaseSource(nameof(TestData_AnswerCall))]
[Ignore("Disabling this test as the library is flagged for decomissioning.")]
public async Task AnswerCallAsync_200OK(string incomingCallContext, Uri callbackUri)
{
CallAutomationClient callAutomationClient = CreateMockCallAutomationClient(200, CreateOrAnswerCallOrGetCallConnectionPayload);
Expand All @@ -31,6 +32,7 @@ public async Task AnswerCallAsync_200OK(string incomingCallContext, Uri callback
}

[TestCaseSource(nameof(TestData_AnswerCall))]
[Ignore("Disabling this test as the library is flagged for decomissioning.")]
public void AnswerCall_200OK(string incomingCallContext, Uri callbackUri)
{
CallAutomationClient callAutomationClient = CreateMockCallAutomationClient(200, CreateOrAnswerCallOrGetCallConnectionPayload);
Expand All @@ -44,6 +46,7 @@ public void AnswerCall_200OK(string incomingCallContext, Uri callbackUri)
}

[TestCaseSource(nameof(TestData_AnswerCall))]
[Ignore("Disabling this test as the library is flagged for decomissioning.")]
public async Task AnswerCallWithOptionsAsync_200OK(string incomingCallContext, Uri callbackUri)
{
CallAutomationClient callAutomationClient = CreateMockCallAutomationClient(200, CreateOrAnswerCallOrGetCallConnectionWithMediaSubscriptionPayload);
Expand All @@ -61,6 +64,7 @@ public async Task AnswerCallWithOptionsAsync_200OK(string incomingCallContext, U
}

[TestCaseSource(nameof(TestData_AnswerCall))]
[Ignore("Disabling this test as the library is flagged for decomissioning.")]
public void AnswerCallWithOptions_200OK(string incomingCallContext, Uri callbackUri)
{
CallAutomationClient callAutomationClient = CreateMockCallAutomationClient(200, CreateOrAnswerCallOrGetCallConnectionWithMediaSubscriptionPayload);
Expand All @@ -78,6 +82,7 @@ public void AnswerCallWithOptions_200OK(string incomingCallContext, Uri callback
}

[TestCaseSource(nameof(TestData_AnswerCall))]
[Ignore("Disabling this test as the library is flagged for decomissioning.")]
public void AnswerCallAsync_401AuthFailed(string incomingCallContext, Uri callbackUri)
{
CallAutomationClient callAutomationClient = CreateMockCallAutomationClient(401);
Expand All @@ -88,6 +93,7 @@ public void AnswerCallAsync_401AuthFailed(string incomingCallContext, Uri callba
}

[TestCaseSource(nameof(TestData_AnswerCall))]
[Ignore("Disabling this test as the library is flagged for decomissioning.")]
public void AnswerCall_401AuthFailed(string incomingCallContext, Uri callbackUri)
{
CallAutomationClient callAutomationClient = CreateMockCallAutomationClient(401);
Expand All @@ -98,6 +104,7 @@ public void AnswerCall_401AuthFailed(string incomingCallContext, Uri callbackUri
}

[TestCaseSource(nameof(TestData_RedirectCall))]
[Ignore("Disabling this test as the library is flagged for decomissioning.")]
public async Task RedirectCallAsync_204NoContent(string incomingCallContext, CommunicationIdentifier target)
{
CallAutomationClient callAutomationClient = CreateMockCallAutomationClient(204);
Expand All @@ -108,6 +115,7 @@ public async Task RedirectCallAsync_204NoContent(string incomingCallContext, Com
}

[TestCaseSource(nameof(TestData_RedirectCall))]
[Ignore("Disabling this test as the library is flagged for decomissioning.")]
public void RedirectCall_204NoContent(string incomingCallContext, CommunicationIdentifier target)
{
CallAutomationClient callAutomationClient = CreateMockCallAutomationClient(204);
Expand All @@ -118,6 +126,7 @@ public void RedirectCall_204NoContent(string incomingCallContext, CommunicationI
}

[TestCaseSource(nameof(TestData_RedirectCall))]
[Ignore("Disabling this test as the library is flagged for decomissioning.")]
public void RedirectCallAsync_404NotFound(string incomingCallContext, CommunicationIdentifier target)
{
CallAutomationClient callAutomationClient = CreateMockCallAutomationClient(404);
Expand All @@ -128,6 +137,7 @@ public void RedirectCallAsync_404NotFound(string incomingCallContext, Communicat
}

[TestCaseSource(nameof(TestData_RedirectCall))]
[Ignore("Disabling this test as the library is flagged for decomissioning.")]
public void RedirectCall_404NotFound(string incomingCallContext, CommunicationIdentifier target)
{
CallAutomationClient callAutomationClient = CreateMockCallAutomationClient(404);
Expand All @@ -138,6 +148,7 @@ public void RedirectCall_404NotFound(string incomingCallContext, CommunicationId
}

[TestCaseSource(nameof(TestData_RejectCall))]
[Ignore("Disabling this test as the library is flagged for decomissioning.")]
public async Task RejectCallAsync_204NoContent(string incomingCallContext, CallRejectReason reason)
{
CallAutomationClient callAutomationClient = CreateMockCallAutomationClient(204);
Expand All @@ -148,6 +159,7 @@ public async Task RejectCallAsync_204NoContent(string incomingCallContext, CallR
}

[TestCaseSource(nameof(TestData_RejectCall))]
[Ignore("Disabling this test as the library is flagged for decomissioning.")]
public void RejectCall_204NoContent(string incomingCallContext, CallRejectReason reason)
{
CallAutomationClient callAutomationClient = CreateMockCallAutomationClient(204);
Expand All @@ -158,6 +170,7 @@ public void RejectCall_204NoContent(string incomingCallContext, CallRejectReason
}

[TestCaseSource(nameof(TestData_RejectCall))]
[Ignore("Disabling this test as the library is flagged for decomissioning.")]
public void RejectCallAsync_404NotFound(string incomingCallContext, CallRejectReason reason)
{
CallAutomationClient callAutomationClient = CreateMockCallAutomationClient(404);
Expand All @@ -168,6 +181,7 @@ public void RejectCallAsync_404NotFound(string incomingCallContext, CallRejectRe
}

[TestCaseSource(nameof(TestData_RejectCall))]
[Ignore("Disabling this test as the library is flagged for decomissioning.")]
public void RejectCall_404NotFound(string incomingCallContext, CallRejectReason reason)
{
CallAutomationClient callAutomationClient = CreateMockCallAutomationClient(404);
Expand All @@ -178,6 +192,7 @@ public void RejectCall_404NotFound(string incomingCallContext, CallRejectReason
}

[TestCaseSource(nameof(TestData_CreateCall))]
[Ignore("Disabling this test as the library is flagged for decomissioning.")]
public async Task CreateCallAsync_201Created(CallSource source, CommunicationIdentifier[] targets, Uri callbackUri)
{
CallAutomationClient callAutomationClient = CreateMockCallAutomationClient(201, CreateOrAnswerCallOrGetCallConnectionPayload);
Expand All @@ -192,6 +207,7 @@ public async Task CreateCallAsync_201Created(CallSource source, CommunicationIde
}

[TestCaseSource(nameof(TestData_CreateCall))]
[Ignore("Disabling this test as the library is flagged for decomissioning.")]
public void CreateCall_201Created(CallSource source, CommunicationIdentifier[] targets, Uri callbackUri)
{
CallAutomationClient callAutomationClient = CreateMockCallAutomationClient(201, CreateOrAnswerCallOrGetCallConnectionPayload);
Expand All @@ -206,6 +222,7 @@ public void CreateCall_201Created(CallSource source, CommunicationIdentifier[] t
}

[TestCaseSource(nameof(TestData_CreateCall))]
[Ignore("Disabling this test as the library is flagged for decomissioning.")]
public async Task CreateCallWithOptionsAsync_201Created(CallSource source, CommunicationIdentifier[] targets, Uri callbackUri)
{
CallAutomationClient callAutomationClient = CreateMockCallAutomationClient(201, CreateOrAnswerCallOrGetCallConnectionWithMediaSubscriptionPayload);
Expand All @@ -228,6 +245,7 @@ public async Task CreateCallWithOptionsAsync_201Created(CallSource source, Commu
}

[TestCaseSource(nameof(TestData_CreateCall))]
[Ignore("Disabling this test as the library is flagged for decomissioning.")]
public void CreateCallWithOptions_201Created(CallSource source, CommunicationIdentifier[] targets, Uri callbackUri)
{
CallAutomationClient callAutomationClient = CreateMockCallAutomationClient(201, CreateOrAnswerCallOrGetCallConnectionWithMediaSubscriptionPayload);
Expand All @@ -250,6 +268,7 @@ public void CreateCallWithOptions_201Created(CallSource source, CommunicationIde
}

[TestCaseSource(nameof(TestData_CreateCall))]
[Ignore("Disabling this test as the library is flagged for decomissioning.")]
public void CreateCallAsync_404NotFound(CallSource source, CommunicationIdentifier[] targets, Uri callbackUri)
{
CallAutomationClient callAutomationClient = CreateMockCallAutomationClient(404);
Expand All @@ -260,6 +279,7 @@ public void CreateCallAsync_404NotFound(CallSource source, CommunicationIdentifi
}

[TestCaseSource(nameof(TestData_CreateCall))]
[Ignore("Disabling this test as the library is flagged for decomissioning.")]
public void CreateCall_404NotFound(CallSource source, CommunicationIdentifier[] targets, Uri callbackUri)
{
CallAutomationClient callAutomationClient = CreateMockCallAutomationClient(404);
Expand All @@ -270,6 +290,7 @@ public void CreateCall_404NotFound(CallSource source, CommunicationIdentifier[]
}

[TestCaseSource(nameof(TestData_GetCallConnection))]
[Ignore("Disabling this test as the library is flagged for decomissioning.")]
public void GetCallConnection(string callConnectionId)
{
var response = new CallAutomationClient(ConnectionString).GetCallConnection(callConnectionId);
Expand All @@ -279,6 +300,7 @@ public void GetCallConnection(string callConnectionId)
}

[Test]
[Ignore("Disabling this test as the library is flagged for decomissioning.")]
public void GetCallRecording()
{
var response = new CallAutomationClient(ConnectionString).GetCallRecording();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ public CallConnectionLiveTests(bool isAsync) : base(isAsync)
}

[Test]
[Ignore("Disabling this test as the library is flagged for decomissioning.")]
public async Task RemoveAPSTNUserFromAnOngoingCallTest()
{
/* Test case:
Expand Down Expand Up @@ -71,6 +72,7 @@ public async Task RemoveAPSTNUserFromAnOngoingCallTest()
}

[Test]
[Ignore("Disabling this test as the library is flagged for decomissioning.")]
public async Task RemoveAPSTNUserAndAcsUserFromAnOngoingCallTest()
{
/* Test case:
Expand Down Expand Up @@ -129,6 +131,7 @@ public async Task RemoveAPSTNUserAndAcsUserFromAnOngoingCallTest()
}

[Test]
[Ignore("Disabling this test as the library is flagged for decomissioning.")]
public async Task StartAGroupCallAndHangUpTest()
{
/* Test case:
Expand Down Expand Up @@ -193,6 +196,7 @@ public async Task StartAGroupCallAndHangUpTest()
}

[Test]
[Ignore("Disabling this test as the library is flagged for decomissioning.")]
public async Task StartAGroupCallAndHangUpForEveryoneTest()
{
/* Test case:
Expand Down Expand Up @@ -257,6 +261,7 @@ public async Task StartAGroupCallAndHangUpForEveryoneTest()
}

[Test]
[Ignore("Disabling this test as the library is flagged for decomissioning.")]
public async Task TransferACallFromOneUserToAnotherUserTest()
{
/* Test case:
Expand Down
Loading

0 comments on commit ce2e463

Please sign in to comment.