1*795d594fSAndroid Build Coastguard WorkerSmali-based tests for experimental interface default methods. 2*795d594fSAndroid Build Coastguard Worker 3*795d594fSAndroid Build Coastguard WorkerThis tests that interface method resolution order is correct. 4*795d594fSAndroid Build Coastguard Worker 5*795d594fSAndroid Build Coastguard WorkerObviously needs to run under ART or a Java 8 Language runtime and compiler. 6*795d594fSAndroid Build Coastguard Worker 7*795d594fSAndroid Build Coastguard WorkerWhen run smali test files are generated by the util-src/generate_smali.py 8*795d594fSAndroid Build Coastguard Workerscript. If we run with --jvm we will use the 9*795d594fSAndroid Build Coastguard Worker$(ANDROID_BUILD_TOP)/art/tools/extract-embedded-java script to turn the smali 10*795d594fSAndroid Build Coastguard Workerinto equivalent Java using the embedded Java code. 11*795d594fSAndroid Build Coastguard Worker 12*795d594fSAndroid Build Coastguard WorkerCare should be taken when updating the generate_smali.py script. It should always 13*795d594fSAndroid Build Coastguard Workerreturn equivalent output when run multiple times and the expected output should 14*795d594fSAndroid Build Coastguard Workerbe valid. 15*795d594fSAndroid Build Coastguard Worker 16*795d594fSAndroid Build Coastguard WorkerDo not modify the expected-stdout.txt file. It is generated on each run by 17*795d594fSAndroid Build Coastguard Workerutil-src/generate_smali.py. 18