forked from Azure/azure-sdk-for-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Client implementation for creating a skillset (Azure#227)
- Loading branch information
Showing
5 changed files
with
336 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
108 changes: 108 additions & 0 deletions
108
sdk/search/azure-search/src/test/java/com/azure/search/SkillsetManagementAsyncTests.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,108 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
package com.azure.search; | ||
|
||
public class SkillsetManagementAsyncTests extends SkillsetManagementTestBase { | ||
private SearchServiceAsyncClient client; | ||
|
||
@Override | ||
protected void beforeTest() { | ||
super.beforeTest(); | ||
client = getSearchServiceClientBuilder().buildAsyncClient(); | ||
} | ||
|
||
@Override | ||
public void createSkillsetReturnsCorrectDefinitionImageAnalysisKeyPhrase() { | ||
|
||
} | ||
|
||
@Override | ||
public void createSkillsetReturnsCorrectDefinitionLanguageDetection() { | ||
|
||
} | ||
|
||
@Override | ||
public void createSkillsetReturnsCorrectDefinitionMergeText() { | ||
|
||
} | ||
|
||
@Override | ||
public void createSkillsetReturnsCorrectDefinitionOcrEntity() { | ||
|
||
} | ||
|
||
@Override | ||
public void createSkillsetReturnsCorrectDefinitionOcrHandwritingSentiment() { | ||
|
||
} | ||
|
||
@Override | ||
public void createSkillsetReturnsCorrectDefinitionOcrKeyPhrase() { | ||
|
||
} | ||
|
||
@Override | ||
public void createSkillsetReturnsCorrectDefinitionOcrShaper() { | ||
|
||
} | ||
|
||
@Override | ||
public void createSkillsetReturnsCorrectDefinitionOcrSplitText() { | ||
|
||
} | ||
|
||
@Override | ||
public void createSkillsetReturnsCorrectDefinitionWithCognitiveServicesDefault() { | ||
|
||
} | ||
|
||
@Override | ||
public void createSkillsetReturnsCorrectDefinitionWithDefaultSettings() { | ||
|
||
} | ||
|
||
@Override | ||
public void createSkillsetThrowsExceptionWithInvalidLanguageSelection() { | ||
|
||
} | ||
|
||
@Override | ||
public void createSkillsetWithCognitiveServicesKey() { | ||
|
||
} | ||
|
||
@Override | ||
public void createSkillsetWithEntityRecognitionDefaultSettings() { | ||
|
||
} | ||
|
||
@Override | ||
public void createSkillsetWithImageAnalysisDefaultSettings() { | ||
|
||
} | ||
|
||
@Override | ||
public void createSkillsetWithKeyPhraseExtractionDefaultSettings() { | ||
|
||
} | ||
|
||
@Override | ||
public void createSkillsetWithMergeDefaultSettings() { | ||
|
||
} | ||
|
||
@Override | ||
public void createSkillsetWithOcrDefaultSettings() { | ||
|
||
} | ||
|
||
@Override | ||
public void createSkillsetWithSentimentDefaultSettings() { | ||
|
||
} | ||
|
||
@Override | ||
public void createSkillsetWithSplitDefaultSettings() { | ||
|
||
} | ||
} |
108 changes: 108 additions & 0 deletions
108
sdk/search/azure-search/src/test/java/com/azure/search/SkillsetManagementSyncTests.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,108 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
package com.azure.search; | ||
|
||
public class SkillsetManagementSyncTests extends SkillsetManagementTestBase { | ||
private SearchServiceClient client; | ||
|
||
@Override | ||
protected void beforeTest() { | ||
super.beforeTest(); | ||
client = getSearchServiceClientBuilder().buildClient(); | ||
} | ||
|
||
@Override | ||
public void createSkillsetReturnsCorrectDefinitionImageAnalysisKeyPhrase() { | ||
|
||
} | ||
|
||
@Override | ||
public void createSkillsetReturnsCorrectDefinitionLanguageDetection() { | ||
|
||
} | ||
|
||
@Override | ||
public void createSkillsetReturnsCorrectDefinitionMergeText() { | ||
|
||
} | ||
|
||
@Override | ||
public void createSkillsetReturnsCorrectDefinitionOcrEntity() { | ||
|
||
} | ||
|
||
@Override | ||
public void createSkillsetReturnsCorrectDefinitionOcrHandwritingSentiment() { | ||
|
||
} | ||
|
||
@Override | ||
public void createSkillsetReturnsCorrectDefinitionOcrKeyPhrase() { | ||
|
||
} | ||
|
||
@Override | ||
public void createSkillsetReturnsCorrectDefinitionOcrShaper() { | ||
|
||
} | ||
|
||
@Override | ||
public void createSkillsetReturnsCorrectDefinitionOcrSplitText() { | ||
|
||
} | ||
|
||
@Override | ||
public void createSkillsetReturnsCorrectDefinitionWithCognitiveServicesDefault() { | ||
|
||
} | ||
|
||
@Override | ||
public void createSkillsetReturnsCorrectDefinitionWithDefaultSettings() { | ||
|
||
} | ||
|
||
@Override | ||
public void createSkillsetThrowsExceptionWithInvalidLanguageSelection() { | ||
|
||
} | ||
|
||
@Override | ||
public void createSkillsetWithCognitiveServicesKey() { | ||
|
||
} | ||
|
||
@Override | ||
public void createSkillsetWithEntityRecognitionDefaultSettings() { | ||
|
||
} | ||
|
||
@Override | ||
public void createSkillsetWithImageAnalysisDefaultSettings() { | ||
|
||
} | ||
|
||
@Override | ||
public void createSkillsetWithKeyPhraseExtractionDefaultSettings() { | ||
|
||
} | ||
|
||
@Override | ||
public void createSkillsetWithMergeDefaultSettings() { | ||
|
||
} | ||
|
||
@Override | ||
public void createSkillsetWithOcrDefaultSettings() { | ||
|
||
} | ||
|
||
@Override | ||
public void createSkillsetWithSentimentDefaultSettings() { | ||
|
||
} | ||
|
||
@Override | ||
public void createSkillsetWithSplitDefaultSettings() { | ||
|
||
} | ||
} |
44 changes: 44 additions & 0 deletions
44
sdk/search/azure-search/src/test/java/com/azure/search/SkillsetManagementTestBase.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
package com.azure.search; | ||
|
||
public abstract class SkillsetManagementTestBase extends SearchServiceTestBase { | ||
|
||
public abstract void createSkillsetReturnsCorrectDefinitionImageAnalysisKeyPhrase(); | ||
|
||
public abstract void createSkillsetReturnsCorrectDefinitionLanguageDetection(); | ||
|
||
public abstract void createSkillsetReturnsCorrectDefinitionMergeText(); | ||
|
||
public abstract void createSkillsetReturnsCorrectDefinitionOcrEntity(); | ||
|
||
public abstract void createSkillsetReturnsCorrectDefinitionOcrHandwritingSentiment(); | ||
|
||
public abstract void createSkillsetReturnsCorrectDefinitionOcrKeyPhrase(); | ||
|
||
public abstract void createSkillsetReturnsCorrectDefinitionOcrShaper(); | ||
|
||
public abstract void createSkillsetReturnsCorrectDefinitionOcrSplitText(); | ||
|
||
public abstract void createSkillsetReturnsCorrectDefinitionWithCognitiveServicesDefault(); | ||
|
||
public abstract void createSkillsetReturnsCorrectDefinitionWithDefaultSettings(); | ||
|
||
public abstract void createSkillsetThrowsExceptionWithInvalidLanguageSelection(); | ||
|
||
public abstract void createSkillsetWithCognitiveServicesKey(); | ||
|
||
public abstract void createSkillsetWithEntityRecognitionDefaultSettings(); | ||
|
||
public abstract void createSkillsetWithImageAnalysisDefaultSettings(); | ||
|
||
public abstract void createSkillsetWithKeyPhraseExtractionDefaultSettings(); | ||
|
||
public abstract void createSkillsetWithMergeDefaultSettings(); | ||
|
||
public abstract void createSkillsetWithOcrDefaultSettings(); | ||
|
||
public abstract void createSkillsetWithSentimentDefaultSettings(); | ||
|
||
public abstract void createSkillsetWithSplitDefaultSettings(); | ||
} |