From b585ac5b5e672c11c80a01eb42a0d3ebd495f21b Mon Sep 17 00:00:00 2001 From: Sandeep Siddhartha Date: Mon, 6 Oct 2014 16:46:55 -0700 Subject: Add tests for model management [SDK Only] This doesn't change any functionality/APIs etc. It allows us to launch the activity and manually test the enrollment methods. Bug: 17885286 Change-Id: I506d9bb98a592131c04a50c9d6224164ffe07183 --- tests/VoiceEnrollment/AndroidManifest.xml | 10 +- tests/VoiceEnrollment/res/layout/main.xml | 43 +++++ tests/VoiceEnrollment/res/values/strings.xml | 22 +++ .../test/voiceenrollment/EnrollmentUtil.java | 198 +++++++++++++++++++++ .../voiceenrollment/TestEnrollmentActivity.java | 100 ++++++++++- 5 files changed, 369 insertions(+), 4 deletions(-) create mode 100644 tests/VoiceEnrollment/res/layout/main.xml create mode 100644 tests/VoiceEnrollment/res/values/strings.xml create mode 100644 tests/VoiceEnrollment/src/com/android/test/voiceenrollment/EnrollmentUtil.java diff --git a/tests/VoiceEnrollment/AndroidManifest.xml b/tests/VoiceEnrollment/AndroidManifest.xml index 6321222..46f6ff5 100644 --- a/tests/VoiceEnrollment/AndroidManifest.xml +++ b/tests/VoiceEnrollment/AndroidManifest.xml @@ -1,16 +1,20 @@ + - + - diff --git a/tests/VoiceEnrollment/res/layout/main.xml b/tests/VoiceEnrollment/res/layout/main.xml new file mode 100644 index 0000000..9d2b9d9 --- /dev/null +++ b/tests/VoiceEnrollment/res/layout/main.xml @@ -0,0 +1,43 @@ + + + + + +