Home
last modified time | relevance | path

Searched refs:assertValidResult (Results 1 – 1 of 1) sorted by relevance

/cts/tests/tests/textclassifier/src/android/view/textclassifier/cts/
DTextClassifierTest.java158 assertValidResult(mClassifier.suggestSelection(TEXT_SELECTION_REQUEST)); in testSmartSelection()
163 assertValidResult(mClassifier.suggestSelection(TEXT, START, END, LOCALES)); in testSuggestSelectionWith4Param()
168 assertValidResult(mClassifier.classifyText(TEXT_CLASSIFICATION_REQUEST)); in testClassifyText()
173 assertValidResult(mClassifier.classifyText(TEXT, START, END, LOCALES)); in testClassifyTextWith4Param()
178 assertValidResult(mClassifier.generateLinks(new TextLinks.Request.Builder(TEXT).build())); in testGenerateLinks()
186 assertValidResult(conversationActions); in testSuggestConversationActions()
191 assertValidResult(mClassifier.detectLanguage(TEXT_LANGUAGE_REQUEST)); in testLanguageDetection()
196 assertValidResult(mClassifier.detectLanguage(null)); in testLanguageDetection_nullRequest()
294 private static void assertValidResult(TextSelection selection) { in assertValidResult() method in TextClassifierTest
311 private static void assertValidResult(TextClassification classification) { in assertValidResult() method in TextClassifierTest
[all …]