Corresponding changes for the latest libtextclassifier import
Test: atest TextClassifierTest Change-Id: I80361e0170b212f624ef8ca15de4fee42b196a1a
This commit is contained in:
@@ -65,8 +65,10 @@ public class LegacyIntentClassificationFactoryTest {
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
0,
|
||||
0);
|
||||
null,
|
||||
0L,
|
||||
0L,
|
||||
0d);
|
||||
|
||||
List<LabeledIntent> intents = mLegacyIntentClassificationFactory.create(
|
||||
InstrumentationRegistry.getContext(),
|
||||
@@ -101,8 +103,10 @@ public class LegacyIntentClassificationFactoryTest {
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
0,
|
||||
0);
|
||||
null,
|
||||
0L,
|
||||
0L,
|
||||
0d);
|
||||
|
||||
List<LabeledIntent> intents = mLegacyIntentClassificationFactory.create(
|
||||
InstrumentationRegistry.getContext(),
|
||||
|
||||
@@ -83,9 +83,11 @@ public class TemplateClassificationIntentFactoryTest {
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
createRemoteActionTemplates(),
|
||||
0,
|
||||
0);
|
||||
0L,
|
||||
0L,
|
||||
0d);
|
||||
|
||||
List<LabeledIntent> intents =
|
||||
mTemplateClassificationIntentFactory.create(
|
||||
@@ -124,9 +126,11 @@ public class TemplateClassificationIntentFactoryTest {
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
createRemoteActionTemplates(),
|
||||
0,
|
||||
0);
|
||||
0L,
|
||||
0L,
|
||||
0d);
|
||||
|
||||
List<LabeledIntent> intents =
|
||||
mTemplateClassificationIntentFactory.create(
|
||||
@@ -162,8 +166,10 @@ public class TemplateClassificationIntentFactoryTest {
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
0,
|
||||
0);
|
||||
null,
|
||||
0L,
|
||||
0L,
|
||||
0d);
|
||||
|
||||
mTemplateClassificationIntentFactory.create(
|
||||
InstrumentationRegistry.getContext(),
|
||||
@@ -196,9 +202,11 @@ public class TemplateClassificationIntentFactoryTest {
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
new RemoteActionTemplate[0],
|
||||
0,
|
||||
0);
|
||||
0L,
|
||||
0L,
|
||||
0d);
|
||||
|
||||
mTemplateClassificationIntentFactory.create(
|
||||
InstrumentationRegistry.getContext(),
|
||||
|
||||
Reference in New Issue
Block a user