Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

skip test refactor #22328

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
import com.azure.communication.common.PhoneNumberIdentifier;
import com.azure.core.http.HttpClient;
import com.azure.core.http.rest.Response;
import org.junit.jupiter.api.condition.EnabledIfEnvironmentVariable;
import org.junit.jupiter.api.condition.DisabledIfEnvironmentVariable;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.MethodSource;

Expand All @@ -27,7 +27,7 @@ public class CallConnectionAsyncLiveTests extends CallingServerTestBase {

@ParameterizedTest
@MethodSource("com.azure.core.test.TestBase#getHttpClients")
@EnabledIfEnvironmentVariable(
@DisabledIfEnvironmentVariable(
named = "RUN_CALLINGSERVER_TEST_RECORD",
matches = "(?i)(true)",
disabledReason = "Requires human intervention")
Expand Down Expand Up @@ -79,7 +79,7 @@ public void runCreatePlayCancelHangupScenarioAsync(HttpClient httpClient) {

@ParameterizedTest
@MethodSource("com.azure.core.test.TestBase#getHttpClients")
@EnabledIfEnvironmentVariable(
@DisabledIfEnvironmentVariable(
named = "RUN_CALLINGSERVER_TEST_RECORD",
matches = "(?i)(true)",
disabledReason = "Requires human intervention")
Expand Down Expand Up @@ -135,7 +135,7 @@ public void runCreatePlayCancelHangupScenarioWithResponseAsync(HttpClient httpCl

@ParameterizedTest
@MethodSource("com.azure.core.test.TestBase#getHttpClients")
@EnabledIfEnvironmentVariable(
@DisabledIfEnvironmentVariable(
named = "RUN_CALLINGSERVER_TEST_RECORD",
matches = "(?i)(true)",
disabledReason = "Requires human intervention")
Expand Down Expand Up @@ -182,7 +182,7 @@ public void runCreateAddRemoveHangupScenarioAsync(HttpClient httpClient) {

@ParameterizedTest
@MethodSource("com.azure.core.test.TestBase#getHttpClients")
@EnabledIfEnvironmentVariable(
@DisabledIfEnvironmentVariable(
named = "RUN_CALLINGSERVER_TEST_RECORD",
matches = "(?i)(true)",
disabledReason = "Requires human intervention")
Expand Down Expand Up @@ -236,7 +236,7 @@ public void runCreateAddRemoveHangupScenarioWithResponseAsync(HttpClient httpCli

@ParameterizedTest
@MethodSource("com.azure.core.test.TestBase#getHttpClients")
@EnabledIfEnvironmentVariable(
@DisabledIfEnvironmentVariable(
named = "RUN_CALLINGSERVER_TEST_RECORD",
matches = "(?i)(true)",
disabledReason = "Requires human intervention")
Expand Down Expand Up @@ -291,7 +291,7 @@ public void runCreateJoinHangupScenarioAsync(HttpClient httpClient) {

@ParameterizedTest
@MethodSource("com.azure.core.test.TestBase#getHttpClients")
@EnabledIfEnvironmentVariable(
@DisabledIfEnvironmentVariable(
named = "RUN_CALLINGSERVER_TEST_RECORD",
matches = "(?i)(true)",
disabledReason = "Requires human intervention")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
import com.azure.communication.common.PhoneNumberIdentifier;
import com.azure.core.http.HttpClient;
import com.azure.core.http.rest.Response;
import org.junit.jupiter.api.condition.EnabledIfEnvironmentVariable;
import org.junit.jupiter.api.condition.DisabledIfEnvironmentVariable;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.MethodSource;

Expand All @@ -27,7 +27,7 @@ public class CallConnectionLiveTests extends CallingServerTestBase {

@ParameterizedTest
@MethodSource("com.azure.core.test.TestBase#getHttpClients")
@EnabledIfEnvironmentVariable(
@DisabledIfEnvironmentVariable(
named = "RUN_CALLINGSERVER_TEST_RECORD",
matches = "(?i)(true)",
disabledReason = "Requires human intervention")
Expand Down Expand Up @@ -77,7 +77,7 @@ public void runCreatePlayCancelHangupScenario(HttpClient httpClient) {

@ParameterizedTest
@MethodSource("com.azure.core.test.TestBase#getHttpClients")
@EnabledIfEnvironmentVariable(
@DisabledIfEnvironmentVariable(
named = "RUN_CALLINGSERVER_TEST_RECORD",
matches = "(?i)(true)",
disabledReason = "Requires human intervention")
Expand Down Expand Up @@ -134,7 +134,7 @@ public void runCreatePlayCancelHangupScenarioWithResponse(HttpClient httpClient)

@ParameterizedTest
@MethodSource("com.azure.core.test.TestBase#getHttpClients")
@EnabledIfEnvironmentVariable(
@DisabledIfEnvironmentVariable(
named = "RUN_CALLINGSERVER_TEST_RECORD",
matches = "(?i)(true)",
disabledReason = "Requires human intervention")
Expand Down Expand Up @@ -175,7 +175,7 @@ public void runCreateAddRemoveHangupScenario(HttpClient httpClient) {

@ParameterizedTest
@MethodSource("com.azure.core.test.TestBase#getHttpClients")
@EnabledIfEnvironmentVariable(
@DisabledIfEnvironmentVariable(
named = "RUN_CALLINGSERVER_TEST_RECORD",
matches = "(?i)(true)",
disabledReason = "Requires human intervention")
Expand Down Expand Up @@ -229,7 +229,7 @@ public void runCreateAddRemoveHangupScenarioWithResponse(HttpClient httpClient)

@ParameterizedTest
@MethodSource("com.azure.core.test.TestBase#getHttpClients")
@EnabledIfEnvironmentVariable(
@DisabledIfEnvironmentVariable(
named = "RUN_CALLINGSERVER_TEST_RECORD",
matches = "(?i)(true)",
disabledReason = "Requires human intervention")
Expand Down Expand Up @@ -278,7 +278,7 @@ public void runCreateJoinHangupScenario(HttpClient httpClient) {

@ParameterizedTest
@MethodSource("com.azure.core.test.TestBase#getHttpClients")
@EnabledIfEnvironmentVariable(
@DisabledIfEnvironmentVariable(
named = "RUN_CALLINGSERVER_TEST_RECORD",
matches = "(?i)(true)",
disabledReason = "Requires human intervention")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import com.azure.core.http.HttpClient;
import com.azure.core.http.rest.Response;
import com.azure.core.util.FluxUtil;
import org.junit.jupiter.api.condition.EnabledIfEnvironmentVariable;
import org.junit.jupiter.api.condition.DisabledIfEnvironmentVariable;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.MethodSource;
import org.mockito.Mockito;
Expand All @@ -35,7 +35,7 @@ public class DownloadContentAsyncLiveTests extends CallingServerTestBase {

@ParameterizedTest
@MethodSource("com.azure.core.test.TestBase#getHttpClients")
@EnabledIfEnvironmentVariable(
@DisabledIfEnvironmentVariable(
named = "RUN_CALLINGSERVER_TEST_RECORD",
matches = "(?i)(true)",
disabledReason = "Requires human intervention")
Expand All @@ -57,7 +57,7 @@ public void downloadMetadataAsync(HttpClient httpClient) {

@ParameterizedTest
@MethodSource("com.azure.core.test.TestBase#getHttpClients")
@EnabledIfEnvironmentVariable(
@DisabledIfEnvironmentVariable(
named = "RUN_CALLINGSERVER_TEST_RECORD",
matches = "(?i)(true)",
disabledReason = "Requires human intervention")
Expand All @@ -79,7 +79,7 @@ public void downloadMetadataRetryingAsync(HttpClient httpClient) {

@ParameterizedTest
@MethodSource("com.azure.core.test.TestBase#getHttpClients")
@EnabledIfEnvironmentVariable(
@DisabledIfEnvironmentVariable(
named = "RUN_CALLINGSERVER_TEST_RECORD",
matches = "(?i)(true)",
disabledReason = "Requires human intervention")
Expand All @@ -101,7 +101,7 @@ public void downloadVideoAsync(HttpClient httpClient) {

@ParameterizedTest
@MethodSource("com.azure.core.test.TestBase#getHttpClients")
@EnabledIfEnvironmentVariable(
@DisabledIfEnvironmentVariable(
named = "RUN_CALLINGSERVER_TEST_RECORD",
matches = "(?i)(true)",
disabledReason = "Requires human intervention")
Expand Down Expand Up @@ -136,7 +136,7 @@ public void downloadToFileAsync(HttpClient httpClient) {

@ParameterizedTest
@MethodSource("com.azure.core.test.TestBase#getHttpClients")
@EnabledIfEnvironmentVariable(
@DisabledIfEnvironmentVariable(
named = "RUN_CALLINGSERVER_TEST_RECORD",
matches = "(?i)(true)",
disabledReason = "Requires human intervention")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import com.azure.communication.callingserver.models.CallingServerErrorException;
import com.azure.core.http.HttpClient;
import com.azure.core.http.rest.Response;
import org.junit.jupiter.api.condition.EnabledIfEnvironmentVariable;
import org.junit.jupiter.api.condition.DisabledIfEnvironmentVariable;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.MethodSource;
import org.mockito.Mockito;
Expand All @@ -28,7 +28,7 @@ public class DownloadContentLiveTests extends CallingServerTestBase {

@ParameterizedTest
@MethodSource("com.azure.core.test.TestBase#getHttpClients")
@EnabledIfEnvironmentVariable(
@DisabledIfEnvironmentVariable(
named = "RUN_CALLINGSERVER_TEST_RECORD",
matches = "(?i)(true)",
disabledReason = "Requires human intervention")
Expand All @@ -49,7 +49,7 @@ public void downloadMetadata(HttpClient httpClient) throws UnsupportedEncodingEx

@ParameterizedTest
@MethodSource("com.azure.core.test.TestBase#getHttpClients")
@EnabledIfEnvironmentVariable(
@DisabledIfEnvironmentVariable(
named = "RUN_CALLINGSERVER_TEST_RECORD",
matches = "(?i)(true)",
disabledReason = "Requires human intervention")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
import com.azure.communication.common.PhoneNumberIdentifier;
import com.azure.core.http.HttpClient;
import com.azure.core.http.rest.Response;
import org.junit.jupiter.api.condition.EnabledIfEnvironmentVariable;
import org.junit.jupiter.api.condition.DisabledIfEnvironmentVariable;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.MethodSource;

Expand Down Expand Up @@ -208,7 +208,7 @@ public void startRecordingFailsAsync(HttpClient httpClient) {

@ParameterizedTest
@MethodSource("com.azure.core.test.TestBase#getHttpClients")
@EnabledIfEnvironmentVariable(
@DisabledIfEnvironmentVariable(
named = "RUN_CALLINGSERVER_TEST_RECORD",
matches = "(?i)(true)",
disabledReason = "Requires human intervention")
Expand Down Expand Up @@ -266,7 +266,7 @@ public void runAddRemoveScenarioAsync(HttpClient httpClient) {

@ParameterizedTest
@MethodSource("com.azure.core.test.TestBase#getHttpClients")
@EnabledIfEnvironmentVariable(
@DisabledIfEnvironmentVariable(
named = "RUN_CALLINGSERVER_TEST_RECORD",
matches = "(?i)(true)",
disabledReason = "Requires human intervention")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
import com.azure.core.http.HttpClient;
import com.azure.core.http.rest.Response;
import com.azure.core.util.Context;
import org.junit.jupiter.api.condition.EnabledIfEnvironmentVariable;
import org.junit.jupiter.api.condition.DisabledIfEnvironmentVariable;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.MethodSource;

Expand Down Expand Up @@ -203,7 +203,7 @@ public void startRecordingFails(HttpClient httpClient) {

@ParameterizedTest
@MethodSource("com.azure.core.test.TestBase#getHttpClients")
@EnabledIfEnvironmentVariable(
@DisabledIfEnvironmentVariable(
named = "RUN_CALLINGSERVER_TEST_RECORD",
matches = "(?i)(true)",
disabledReason = "Requires human intervention")
Expand Down Expand Up @@ -256,7 +256,7 @@ public void runAddRemoveScenario(HttpClient httpClient) {

@ParameterizedTest
@MethodSource("com.azure.core.test.TestBase#getHttpClients")
@EnabledIfEnvironmentVariable(
@DisabledIfEnvironmentVariable(
named = "RUN_CALLINGSERVER_TEST_RECORD",
matches = "(?i)(true)",
disabledReason = "Requires human intervention")
Expand Down