Skip to content
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 @@ -195,7 +195,7 @@ public void recognizeEntitiesNullInput() {
* {@link TextAnalyticsAsyncClient#recognizeEntities(String, String)}
*/
@Test
public void recognizeEntitiesNullInputWithCountryHint() {
public void recognizeEntitiesNullInputWithLanguageHint() {
StepVerifier.create(client.recognizeEntities(null, "en"))
.verifyErrorSatisfies(exception -> {
assertEquals(NullPointerException.class, exception.getClass());
Expand Down Expand Up @@ -234,7 +234,7 @@ public void recognizeEntitiesBatchEmptyInputList() {
* {@link TextAnalyticsAsyncClient#recognizeEntitiesBatch(Iterable, String, TextAnalyticsRequestOptions)}
*/
@Test
public void recognizeEntitiesBatchNullInputWithCountryHint() {
public void recognizeEntitiesBatchNullInputWithLanguageHint() {
StepVerifier.create(client.recognizeEntitiesBatch(null, "en", null))
.verifyErrorSatisfies(exception -> {
assertEquals(NullPointerException.class, exception.getClass());
Expand All @@ -247,7 +247,7 @@ public void recognizeEntitiesBatchNullInputWithCountryHint() {
* {@link TextAnalyticsAsyncClient#recognizeEntitiesBatch(Iterable, String, TextAnalyticsRequestOptions)}
*/
@Test
public void recognizeEntitiesBatchEmptyInputListWithCountryHint() {
public void recognizeEntitiesBatchEmptyInputListWithLanguageHint() {
StepVerifier.create(client.recognizeEntitiesBatch(Collections.emptyList(), "en", null))
.verifyErrorSatisfies(exception -> {
assertEquals(IllegalArgumentException.class, exception.getClass());
Expand All @@ -260,7 +260,7 @@ public void recognizeEntitiesBatchEmptyInputListWithCountryHint() {
* {@link TextAnalyticsAsyncClient#recognizeEntitiesBatch(Iterable, String, TextAnalyticsRequestOptions)}
*/
@Test
public void recognizeEntitiesBatchNullInputWithCountryHintAndRequestOptions() {
public void recognizeEntitiesBatchNullInputWithLanguageHintAndRequestOptions() {
StepVerifier.create(client.recognizeEntitiesBatch(null, "en",
new TextAnalyticsRequestOptions().setIncludeStatistics(true)))
.verifyErrorSatisfies(exception -> {
Expand All @@ -274,7 +274,7 @@ public void recognizeEntitiesBatchNullInputWithCountryHintAndRequestOptions() {
* {@link TextAnalyticsAsyncClient#recognizeEntitiesBatch(Iterable, String, TextAnalyticsRequestOptions)}
*/
@Test
public void recognizeEntitiesBatchEmptyInputListWithCountryHintAndRequestOptions() {
public void recognizeEntitiesBatchEmptyInputListWithLanguageHintAndRequestOptions() {
StepVerifier.create(client.recognizeEntitiesBatch(Collections.emptyList(), "en",
new TextAnalyticsRequestOptions().setIncludeStatistics(true)))
.verifyErrorSatisfies(exception -> {
Expand Down Expand Up @@ -331,7 +331,7 @@ public void recognizeLinkedEntitiesNullInput() {
* {@link TextAnalyticsAsyncClient#recognizeLinkedEntities(String, String)}
*/
@Test
public void recognizeLinkedEntitiesNullInputWithCountryHint() {
public void recognizeLinkedEntitiesNullInputWithLanguageHint() {
StepVerifier.create(client.recognizeLinkedEntities(null, "en"))
.verifyErrorSatisfies(exception -> {
assertEquals(NullPointerException.class, exception.getClass());
Expand Down Expand Up @@ -370,7 +370,7 @@ public void recognizeLinkedEntitiesBatchEmptyInputList() {
* {@link TextAnalyticsAsyncClient#recognizeLinkedEntitiesBatch(Iterable, String, TextAnalyticsRequestOptions)}
*/
@Test
public void recognizeLinkedEntitiesBatchNullInputWithCountryHint() {
public void recognizeLinkedEntitiesBatchNullInputWithLanguageHint() {
StepVerifier.create(client.recognizeLinkedEntitiesBatch(null, "en", null))
.verifyErrorSatisfies(exception -> {
assertEquals(NullPointerException.class, exception.getClass());
Expand All @@ -383,7 +383,7 @@ public void recognizeLinkedEntitiesBatchNullInputWithCountryHint() {
* {@link TextAnalyticsAsyncClient#recognizeLinkedEntitiesBatch(Iterable, String, TextAnalyticsRequestOptions)}
*/
@Test
public void recognizeLinkedEntitiesBatchEmptyInputListWithCountryHint() {
public void recognizeLinkedEntitiesBatchEmptyInputListWithLanguageHint() {
StepVerifier.create(client.recognizeLinkedEntitiesBatch(Collections.emptyList(), "en", null))
.verifyErrorSatisfies(exception -> {
assertEquals(IllegalArgumentException.class, exception.getClass());
Expand All @@ -396,7 +396,7 @@ public void recognizeLinkedEntitiesBatchEmptyInputListWithCountryHint() {
* {@link TextAnalyticsAsyncClient#recognizeLinkedEntitiesBatch(Iterable, String, TextAnalyticsRequestOptions)}
*/
@Test
public void recognizeLinkedEntitiesBatchNullInputWithCountryHintAndRequestOptions() {
public void recognizeLinkedEntitiesBatchNullInputWithLanguageHintAndRequestOptions() {
StepVerifier.create(client.recognizeLinkedEntitiesBatch(null, "en",
new TextAnalyticsRequestOptions().setIncludeStatistics(true)))
.verifyErrorSatisfies(exception -> {
Expand All @@ -410,7 +410,7 @@ public void recognizeLinkedEntitiesBatchNullInputWithCountryHintAndRequestOption
* {@link TextAnalyticsAsyncClient#recognizeLinkedEntitiesBatch(Iterable, String, TextAnalyticsRequestOptions)}
*/
@Test
public void recognizeLinkedEntitiesBatchEmptyInputListWithCountryHintAndRequestOptions() {
public void recognizeLinkedEntitiesBatchEmptyInputListWithLanguageHintAndRequestOptions() {
StepVerifier.create(client.recognizeLinkedEntitiesBatch(Collections.emptyList(), "en",
new TextAnalyticsRequestOptions().setIncludeStatistics(true)))
.verifyErrorSatisfies(exception -> {
Expand Down Expand Up @@ -467,7 +467,7 @@ public void extractKeyPhrasesNullInput() {
* {@link TextAnalyticsAsyncClient#extractKeyPhrases(String, String)}
*/
@Test
public void extractKeyPhrasesNullInputWithCountryHint() {
public void extractKeyPhrasesNullInputWithLanguageHint() {
StepVerifier.create(client.extractKeyPhrases(null, "en"))
.verifyErrorSatisfies(exception -> {
assertEquals(NullPointerException.class, exception.getClass());
Expand Down Expand Up @@ -506,7 +506,7 @@ public void extractKeyPhrasesBatchEmptyInputList() {
* {@link TextAnalyticsAsyncClient#extractKeyPhrasesBatch(Iterable, String, TextAnalyticsRequestOptions)}
*/
@Test
public void extractKeyPhrasesBatchNullInputWithCountryHint() {
public void extractKeyPhrasesBatchNullInputWithLanguageHint() {
StepVerifier.create(client.extractKeyPhrasesBatch(null, "en", null))
.verifyErrorSatisfies(exception -> {
assertEquals(NullPointerException.class, exception.getClass());
Expand All @@ -519,7 +519,7 @@ public void extractKeyPhrasesBatchNullInputWithCountryHint() {
* {@link TextAnalyticsAsyncClient#extractKeyPhrasesBatch(Iterable, String, TextAnalyticsRequestOptions)}
*/
@Test
public void extractKeyPhrasesBatchEmptyInputListWithCountryHint() {
public void extractKeyPhrasesBatchEmptyInputListWithLanguageHint() {
StepVerifier.create(client.extractKeyPhrasesBatch(Collections.emptyList(), "en", null))
.verifyErrorSatisfies(exception -> {
assertEquals(IllegalArgumentException.class, exception.getClass());
Expand All @@ -532,7 +532,7 @@ public void extractKeyPhrasesBatchEmptyInputListWithCountryHint() {
* {@link TextAnalyticsAsyncClient#extractKeyPhrasesBatch(Iterable, String, TextAnalyticsRequestOptions)}
*/
@Test
public void extractKeyPhrasesBatchNullInputWithCountryHintAndRequestOptions() {
public void extractKeyPhrasesBatchNullInputWithLanguageHintAndRequestOptions() {
StepVerifier.create(client.extractKeyPhrasesBatch(null, "en",
new TextAnalyticsRequestOptions().setIncludeStatistics(true)))
.verifyErrorSatisfies(exception -> {
Expand All @@ -546,7 +546,7 @@ public void extractKeyPhrasesBatchNullInputWithCountryHintAndRequestOptions() {
* {@link TextAnalyticsAsyncClient#extractKeyPhrasesBatch(Iterable, String, TextAnalyticsRequestOptions)}
*/
@Test
public void extractKeyPhrasesBatchEmptyInputListWithCountryHintAndRequestOptions() {
public void extractKeyPhrasesBatchEmptyInputListWithLanguageHintAndRequestOptions() {
StepVerifier.create(client.extractKeyPhrasesBatch(Collections.emptyList(), "en",
new TextAnalyticsRequestOptions().setIncludeStatistics(true)))
.verifyErrorSatisfies(exception -> {
Expand Down Expand Up @@ -590,7 +590,7 @@ public void extractKeyPhrasesBatchEmptyInputListWithMaxOverload() {
* {@link TextAnalyticsAsyncClient#analyzeSentiment(String)}
*/
@Test
public void analyseSentimentNullInput() {
public void analyzeSentimentNullInput() {
StepVerifier.create(client.analyzeSentiment(null))
.verifyErrorSatisfies(exception -> {
assertEquals(NullPointerException.class, exception.getClass());
Expand All @@ -603,7 +603,7 @@ public void analyseSentimentNullInput() {
* {@link TextAnalyticsAsyncClient#analyzeSentiment(String, String)}
*/
@Test
public void analyseSentimentNullInputWithCountryHint() {
public void analyzeSentimentNullInputWithLanguageHint() {
StepVerifier.create(client.analyzeSentiment(null, "en"))
.verifyErrorSatisfies(exception -> {
assertEquals(NullPointerException.class, exception.getClass());
Expand All @@ -616,7 +616,7 @@ public void analyseSentimentNullInputWithCountryHint() {
* {@link TextAnalyticsAsyncClient#analyzeSentimentBatch(Iterable, String, TextAnalyticsRequestOptions)}
*/
@Test
public void analyseSentimentBatchNullInput() {
public void analyzeSentimentBatchNullInput() {
StepVerifier.create(client.analyzeSentimentBatch(null, null, null))
.verifyErrorSatisfies(exception -> {
assertEquals(NullPointerException.class, exception.getClass());
Expand All @@ -629,7 +629,7 @@ public void analyseSentimentBatchNullInput() {
* {@link TextAnalyticsAsyncClient#analyzeSentimentBatch(Iterable, String, TextAnalyticsRequestOptions)}
*/
@Test
public void analyseSentimentBatchEmptyInputList() {
public void analyzeSentimentBatchEmptyInputList() {
StepVerifier.create(client.analyzeSentimentBatch(Collections.emptyList(), null, null))
.verifyErrorSatisfies(exception -> {
assertEquals(IllegalArgumentException.class, exception.getClass());
Expand All @@ -642,7 +642,7 @@ public void analyseSentimentBatchEmptyInputList() {
* {@link TextAnalyticsAsyncClient#analyzeSentimentBatch(Iterable, String, TextAnalyticsRequestOptions)}
*/
@Test
public void analyseSentimentBatchNullInputWithCountryHint() {
public void analyzeSentimentBatchNullInputWithLanguageHint() {
StepVerifier.create(client.analyzeSentimentBatch(null, "en", null))
.verifyErrorSatisfies(exception -> {
assertEquals(NullPointerException.class, exception.getClass());
Expand All @@ -655,7 +655,7 @@ public void analyseSentimentBatchNullInputWithCountryHint() {
* {@link TextAnalyticsAsyncClient#analyzeSentimentBatch(Iterable, String, TextAnalyticsRequestOptions)}
*/
@Test
public void analyseSentimentBatchEmptyInputListWithCountryHint() {
public void analyzeSentimentBatchEmptyInputListWithLanguageHint() {
StepVerifier.create(client.analyzeSentimentBatch(Collections.emptyList(), "en", null))
.verifyErrorSatisfies(exception -> {
assertEquals(IllegalArgumentException.class, exception.getClass());
Expand All @@ -668,7 +668,7 @@ public void analyseSentimentBatchEmptyInputListWithCountryHint() {
* {@link TextAnalyticsAsyncClient#analyzeSentimentBatch(Iterable, String, TextAnalyticsRequestOptions)}
*/
@Test
public void analyseSentimentBatchNullInputWithCountryHintAndRequestOptions() {
public void analyzeSentimentBatchNullInputWithLanguageHintAndRequestOptions() {
StepVerifier.create(client.analyzeSentimentBatch(null, "en",
new TextAnalyticsRequestOptions().setIncludeStatistics(true)))
.verifyErrorSatisfies(exception -> {
Expand All @@ -682,7 +682,7 @@ public void analyseSentimentBatchNullInputWithCountryHintAndRequestOptions() {
* {@link TextAnalyticsAsyncClient#analyzeSentimentBatch(Iterable, String, TextAnalyticsRequestOptions)}
*/
@Test
public void analyseSentimentBatchEmptyInputListWithCountryHintAndRequestOptions() {
public void analyzeSentimentBatchEmptyInputListWithLanguageHintAndRequestOptions() {
StepVerifier.create(client.analyzeSentimentBatch(Collections.emptyList(), "en",
new TextAnalyticsRequestOptions().setIncludeStatistics(true)))
.verifyErrorSatisfies(exception -> {
Expand All @@ -696,7 +696,7 @@ public void analyseSentimentBatchEmptyInputListWithCountryHintAndRequestOptions(
* {@link TextAnalyticsAsyncClient#analyzeSentimentBatchWithResponse(Iterable, TextAnalyticsRequestOptions)}
*/
@Test
public void analyseSentimentBatchNullInputWithMaxOverload() {
public void analyzeSentimentBatchNullInputWithMaxOverload() {
StepVerifier.create(client.analyzeSentimentBatchWithResponse(null,
new TextAnalyticsRequestOptions().setIncludeStatistics(true)))
.verifyErrorSatisfies(exception -> {
Expand All @@ -710,7 +710,7 @@ public void analyseSentimentBatchNullInputWithMaxOverload() {
* given for {@link TextAnalyticsAsyncClient#analyzeSentimentBatchWithResponse(Iterable, TextAnalyticsRequestOptions)}
*/
@Test
public void analyseSentimentEmptyInputListWithMaxOverload() {
public void analyzeSentimentEmptyInputListWithMaxOverload() {
StepVerifier.create(client.analyzeSentimentBatchWithResponse(Collections.emptyList(),
new TextAnalyticsRequestOptions().setIncludeStatistics(true)))
.verifyErrorSatisfies(exception -> {
Expand Down
Loading