tree: dcf63bf938927d34ec9e971c36f16cb7e0a60749 [path history] [tgz]
  1. testdata/
  2. Android.bp
  3. AndroidTest.xml
  4. README.md
  5. XMLParserTest.cpp
  6. XMLParserTestEnvironment.h
media/libstagefright/xmlparser/test/README.md

Media Testing


XML Parser

The XMLParser Test Suite validates the XMLParser available in libstagefright.

Run the following steps to build the test suite:

m XMLParserTest

The 32-bit binaries will be created in the following path : ${OUT}/data/nativetest/

The 64-bit binaries will be created in the following path : ${OUT}/data/nativetest64/

To test 64-bit binary push binaries from nativetest64.

adb push ${OUT}/data/nativetest64/XMLParserTest/XMLParserTest /data/local/tmp/

To test 32-bit binary push binaries from nativetest.

adb push ${OUT}/data/nativetest/XMLParserTest/XMLParserTest /data/local/tmp/

usage: XMLParserTest

adb shell /data/local/tmp/XMLParserTest

Alternatively, the test can also be run using atest command.

atest XMLParserTest