diff paraspace/tests/dexfile_test.py @ 28:5ce7ca1187b3

Pass throught markers for dex types
author Thinker K.F. Li <thinker@codemud.net>
date Tue, 07 Jun 2011 22:57:28 +0800
parents 15cb829ac442
children b0cc5da28141
line wrap: on
line diff
--- a/paraspace/tests/dexfile_test.py	Tue Jun 07 22:30:29 2011 +0800
+++ b/paraspace/tests/dexfile_test.py	Tue Jun 07 22:57:28 2011 +0800
@@ -127,6 +127,7 @@
         pass
     dex_deptracker.dexfile = new_dexfile
     dexfile = new_dexfile
+    dex_deptracker._nest_types = (dexfile.array, dexfile.cond, dexfile.switch)
     pass
 
 
@@ -144,7 +145,6 @@
                   ]
     attr_names = set([attr_info[1]
                       for attr_info in attr_infos])
-    print attr_names
     assert '_DEX_AnnotationsDirectoryItem.classAnnotationsOff' in attr_names
     assert '_DEX_AnnotationsDirectoryItem.fieldsSize' in attr_names
     assert '_DEX_AnnotationsDirectoryItem.methodsSize' in attr_names