Alex Light | 705ad49 | 2015-09-21 11:36:30 -0700 | [diff] [blame] | 1 | Smali-based tests for experimental interface default methods. |
| 2 | |
| 3 | This tests that interface method resolution order is correct in the presence of |
| 4 | partial compilation/illegal invokes. |
| 5 | |
| 6 | Obviously needs to run under ART or a Java 8 Language runtime and compiler. |
| 7 | |
| 8 | When run smali test files are generated by the util-src/generate_smali.py |
| 9 | script. If we run with --jvm we will use the util-src/generate_java.py script |
| 10 | will generate equivalent java code based on the smali code. |
| 11 | |
| 12 | Care should be taken when updating the generate_smali.py script. It should always |
| 13 | return equivalent output when run multiple times and the expected output should |
| 14 | be valid. |
| 15 | |
| 16 | Do not modify the expected.txt file. It is generated on each run by |
| 17 | util-src/generate_smali.py. |