diff options
author | Tony Mak <tonymak@google.com> | 2019-08-13 20:02:00 +0100 |
---|---|---|
committer | Tony Mak <tonymak@google.com> | 2019-09-02 11:28:55 +0100 |
commit | 608b1ae3ec66e3ecf5716614fc98de6318e35cc0 (patch) | |
tree | 3abc2576780304f27c97be3707b23972c935b2ea /native/AndroidTest.xml | |
parent | 482594b2ec66deccf820718e411af73743cb1fe0 (diff) | |
download | libtextclassifier-608b1ae3ec66e3ecf5716614fc98de6318e35cc0.tar.gz |
Check-in initial version of TextClassifierService in external/libtc
1. Move existing native codes to native folder.
2. Move existing jni java codes to jni.
3. Copy TextClassifierService java codes to java
Three build targets are introduced:
1. TextClassifierServiceLibNoManifest:All the java codes without
AndroidManifest, will be used by ExtServices.
2. TextClassifierServiceLib: All the java codes with AndroidManifest,
used by our test and our own APK.
3. TextClassifierService: Our standalone TCS APK, mostly for our own
testing.
Test: atest TextClassifierServiceTest
Test: Install the apk, try smart selection.
Bug: 135110855
Change-Id: I17173769bc20cc36d6d16bd8ea511ecbaac4bb5d
Diffstat (limited to 'native/AndroidTest.xml')
-rw-r--r-- | native/AndroidTest.xml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/native/AndroidTest.xml b/native/AndroidTest.xml new file mode 100644 index 0000000..fd0c609 --- /dev/null +++ b/native/AndroidTest.xml @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2017 The Android Open Source Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<configuration description="Config for libtextclassifier_tests"> + <target_preparer class="com.android.tradefed.targetprep.PushFilePreparer"> + <option name="cleanup" value="true" /> + <option name="push" value="libtextclassifier_tests->/data/local/tmp/libtextclassifier_tests" /> + </target_preparer> + <option name="test-suite-tag" value="apct" /> + <test class="com.android.tradefed.testtype.GTest" > + <option name="native-test-device-path" value="/data/local/tmp" /> + <option name="module-name" value="libtextclassifier_tests" /> + </test> +</configuration> |