add xml report
- add getDeviceInfo command to get information from client
- rename ModelBuilderTest test case xml (all.xml gone)
- reduce buffer size for AudioTrack if data size is small
- add -s option
- generate XML report similar to CtsVerifier and zip the result.
Change-Id: Ic28e0234cfdb848ba1a2f91cc57f15bfdefafd87
diff --git a/suite/audio_quality/test/ModelBuilderTest.cpp b/suite/audio_quality/test/ModelBuilderTest.cpp
index 49a0c57..c9ba154 100644
--- a/suite/audio_quality/test/ModelBuilderTest.cpp
+++ b/suite/audio_quality/test/ModelBuilderTest.cpp
@@ -41,7 +41,7 @@
}
TEST_F(ModelBuilderTest, ParsingBatchTest) {
- android::String8 xmlFile("test_description/all.xml");
+ android::String8 xmlFile("test_description/all_playback.xml");
TaskGeneric* testBatch = mModelBuilder.parseTestDescriptionXml(xmlFile);
ASSERT_TRUE(testBatch != NULL);
//TODO verify TestCase
@@ -49,7 +49,7 @@
}
TEST_F(ModelBuilderTest, CaseOnlyTest) {
- android::String8 xmlFile("test_description/all.xml");
+ android::String8 xmlFile("test_description/all_playback.xml");
TaskGeneric* task = mModelBuilder.parseTestDescriptionXml(xmlFile, true);
ASSERT_TRUE(task == NULL);