1Smali-based tests for experimental interface default methods. 2 3Obviously needs to run under ART or a Java 8 Language runtime and compiler. 4 5When run a Main.smali file will be generated by the 6test/utils/python/generate_smali_main.py script. If we run with --jvm we will 7use the tools/extract-embedded-java script to turn the smali into equivalent 8Java using the embedded Java code. 9 10When updating be sure to write the equivalent Java code in comments of the smali 11files. 12 13Care should be taken when updating the generate_smali_main.py script. It must 14always return equivalent output when run multiple times. 15 16To update the test files do the following steps: 17 <Add new classes/interfaces> 18 <Add these classes/interfaces to ./smali/classes.xml> 19 JAVA_HOME="/path/to/java-8-jdk" ../run-test --use-java-home --update --jvm --host 956-default-smali 20 git add ./smali/classes.xml ./expected.txt 21