summaryrefslogtreecommitdiff
path: root/annotations/generate_annotated_java_files.py
diff options
context:
space:
mode:
authorDan Zimmerman <danzimm@fb.com>2019-12-17 08:15:44 -0800
committerDan Zimmerman <danzimm@fb.com>2019-12-19 12:35:07 -0800
commitc2bd7fd721f6f76ef9520216df613a599821a7d5 (patch)
tree2af857fcdb2d599f1f7a6a819a3e51d5529de6b8 /annotations/generate_annotated_java_files.py
parentcd24607ac7deabf92076e74ec67c8e850ef97554 (diff)
[libcore][debug-info] Add a test for StackTraceElement data
Add explicit test coverage to ensure that StackTraceElement data corresponds to the debug data encoded in the owning dex file. We use smali source to have full control over the generated dex file we use as a test fixture. Test cases added include methods with & without any line information. In the future we can fix and test the DBG_SET_FILE opcode which is currently not respected / following the dex-format specification. Test: atest CtsLibcoreTestCases:libcore.java.lang.ThreadTest Change-Id: I7adb3d71b86af03a3cd49dcc46bcb825be38f54b Signed-off-by: Dan Zimmerman <danzimm@fb.com>
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions