Mercurial > paraspace
diff paraspace/tests/dexfile_test.py @ 61:3e34c7d33182
Fix and test restore_depedencies()
- _travel_dex_relocatable() is fixed to travel a linked tree.
- aware that depend attributes are replaced by depend-ons.
- fix restore_depedencies() for changes of depend_off_rel()
- It was a pair of depon, relative
- It is only depon.
author | Thinker K.F. Li <thinker@codemud.net> |
---|---|
date | Tue, 28 Jun 2011 10:25:54 +0800 |
parents | f295d82646e0 |
children | 8a1844afb76a |
line wrap: on
line diff
--- a/paraspace/tests/dexfile_test.py Mon Jun 27 18:09:31 2011 +0800 +++ b/paraspace/tests/dexfile_test.py Tue Jun 28 10:25:54 2011 +0800 @@ -326,5 +326,10 @@ stringid = dex.stringIds.items[0] assert isinstance(stringid.stringDataOff, int) + stringid = dex.stringIds.items[5] + assert isinstance(stringid.stringDataOff, int) + + codeitem = dex.codeItems.items[0] + assert isinstance(codeitem.debugInfoOff, int) pass