# HG changeset patch # User Thinker K.F. Li # Date 1311559274 -28800 # Node ID 1728795c29b7c92efb726b13ec99419773f656da # Parent a33dfe2dae9d56d0de04f6be878ea90a6e4af64c Build dependencies for injection testcases diff -r a33dfe2dae9d -r 1728795c29b7 paraspace/tests/injection_test.py --- a/paraspace/tests/injection_test.py Sun Jul 24 22:29:25 2011 +0800 +++ b/paraspace/tests/injection_test.py Mon Jul 25 10:01:14 2011 +0800 @@ -19,6 +19,7 @@ def inject_fakefile_to_helloworld_test(): from paraspace.dex_deptracker import prepare_dep_decls + from paraspace.dex_deptracker import build_dependencies _install_dexfile_4_deptracker() @@ -29,8 +30,10 @@ helloworld_fn = os.path.join(srcroot, 'data', 'helloworld.dex') helloworld_dex = dexfile.DEXFile.open(helloworld_fn) + build_dependencies(helloworld_dex, all_dep_decls) fakefile_fn = os.path.join(srcroot, 'data', 'fakefile.dex') fakefile_dex = dexfile.DEXFile.open(fakefile_fn) + build_dependencies(fakefile_dex, all_dep_decls) pass