Alex Light | eb7c144 | 2015-08-31 13:17:42 -0700 | [diff] [blame] | 1 | Smali-based tests for interface initialization. |
| 2 | |
| 3 | This tests that interface initialization order is correct. |
| 4 | |
| 5 | Obviously needs to run under ART or a Java 8 Language runtime and compiler. |
| 6 | |
| 7 | When run smali test files are generated by the util-src/generate_smali.py |
| 8 | script. If we run with --jvm we will use the |
| 9 | $(ANDROID_BUILD_TOP)/art/tools/extract-embedded-java script to turn the smali |
| 10 | into equivalent Java using the embedded Java 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. |