Corresponding changes for the latest libtextclassifier import

Test: atest TextClassifierTest
Change-Id: I80361e0170b212f624ef8ca15de4fee42b196a1a
This commit is contained in:
Tony Mak
2019-09-12 17:17:14 +01:00
parent 745210ae00
commit 221bb4f6ce
2 changed files with 24 additions and 12 deletions

View File

@@ -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(),

View File

@@ -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(),