Skip to content

Commit

Permalink
[Call Automation] Delete old recordings and make tests live only. (Az…
Browse files Browse the repository at this point in the history
  • Loading branch information
samvaity authored Sep 11, 2023
1 parent e67314a commit 91ab1b1
Show file tree
Hide file tree
Showing 19 changed files with 11 additions and 1,331 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
import com.azure.communication.identity.CommunicationIdentityAsyncClient;
import com.azure.core.http.HttpClient;
import com.azure.core.http.rest.Response;
import com.azure.core.test.annotation.DoNotRecord;
import org.junit.jupiter.api.condition.DisabledIfEnvironmentVariable;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.MethodSource;
Expand All @@ -31,6 +32,7 @@
import static org.junit.jupiter.api.Assertions.fail;

public class CallAutomationAsyncClientAutomatedLiveTests extends CallAutomationAutomatedLiveTestBase {
@DoNotRecord(skipInPlayback = true)
@ParameterizedTest
@MethodSource("com.azure.core.test.TestBase#getHttpClients")
@DisabledIfEnvironmentVariable(
Expand Down Expand Up @@ -131,6 +133,7 @@ public void createVOIPCallAndAnswerThenHangupAutomatedTest(HttpClient httpClient
}
}

@DoNotRecord(skipInPlayback = true)
@ParameterizedTest
@MethodSource("com.azure.core.test.TestBase#getHttpClients")
@DisabledIfEnvironmentVariable(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
import com.azure.communication.identity.CommunicationIdentityAsyncClient;
import com.azure.core.http.HttpClient;
import com.azure.core.http.rest.Response;
import com.azure.core.test.annotation.DoNotRecord;
import org.junit.jupiter.api.condition.DisabledIfEnvironmentVariable;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.MethodSource;
Expand All @@ -35,6 +36,7 @@
import static org.junit.jupiter.api.Assertions.fail;

public class CallConnectionAsyncAutomatedLiveTests extends CallAutomationAutomatedLiveTestBase {
@DoNotRecord(skipInPlayback = true)
@ParameterizedTest
@MethodSource("com.azure.core.test.TestBase#getHttpClients")
@DisabledIfEnvironmentVariable(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
import com.azure.core.http.HttpClient;
import com.azure.core.http.rest.Response;
import com.azure.core.test.TestMode;
import com.azure.core.test.annotation.DoNotRecord;
import org.junit.jupiter.api.condition.DisabledIfEnvironmentVariable;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.MethodSource;
Expand All @@ -41,6 +42,7 @@
import static org.junit.jupiter.api.Assertions.fail;

public class CallMediaAsyncAutomatedLiveTests extends CallAutomationAutomatedLiveTestBase {
@DoNotRecord(skipInPlayback = true)
@ParameterizedTest
@MethodSource("com.azure.core.test.TestBase#getHttpClients")
@DisabledIfEnvironmentVariable(
Expand Down Expand Up @@ -127,6 +129,7 @@ public void playMediaInACallAutomatedTest(HttpClient httpClient) {
}
}

@DoNotRecord(skipInPlayback = true)
@ParameterizedTest
@MethodSource("com.azure.core.test.TestBase#getHttpClients")
@DisabledIfEnvironmentVariable(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
import com.azure.communication.common.CommunicationUserIdentifier;
import com.azure.communication.identity.CommunicationIdentityClient;
import com.azure.core.http.HttpClient;
import com.azure.core.test.annotation.DoNotRecord;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.MethodSource;

Expand All @@ -32,6 +33,7 @@
import static org.junit.jupiter.api.Assertions.assertNotNull;
import static org.junit.jupiter.api.Assertions.fail;
public class CallRecordingAutomatedLiveTests extends CallAutomationAutomatedLiveTestBase {
@DoNotRecord(skipInPlayback = true)
@ParameterizedTest
@MethodSource("com.azure.core.test.TestBase#getHttpClients")
public void createACSCallAndUnmixedAudioTest(HttpClient httpClient) {
Expand Down Expand Up @@ -116,6 +118,7 @@ public void createACSCallAndUnmixedAudioTest(HttpClient httpClient) {
}
}

@DoNotRecord(skipInPlayback = true)
@ParameterizedTest
@MethodSource("com.azure.core.test.TestBase#getHttpClients")
public void createACSCallUnmixedAudioAffinityTest(HttpClient httpClient) {
Expand Down

This file was deleted.

This file was deleted.

Loading

0 comments on commit 91ab1b1

Please sign in to comment.