comparison paraspace/tests/injection_test.py @ 97:00cd331f8aa8

Get unlinked one from a linked one
author Thinker K.F. Li <thinker@codemud.net>
date Mon, 25 Jul 2011 17:46:20 +0800
parents 1769e52bdd9d
children c0c127c7b37e
comparison
equal deleted inserted replaced
96:1769e52bdd9d 97:00cd331f8aa8
46 find_class_name('Lcom/codemud/fakefile/fakefile;') 46 find_class_name('Lcom/codemud/fakefile/fakefile;')
47 47
48 clone = dexfile_insert_class(helloworld_dex, fakefile_def) 48 clone = dexfile_insert_class(helloworld_dex, fakefile_def)
49 assert clone 49 assert clone
50 assert clone != fakefile_def 50 assert clone != fakefile_def
51
52 helloworld_unlinked = helloworld_linked.get_unlinked()
53 assert helloworld_unlinked
51 pass 54 pass
52 55