mirror of
https://github.com/androguard/androguard.git
synced 2024-11-23 13:09:55 +00:00
short test
This commit is contained in:
parent
d9653bb25d
commit
1d41a252b1
@ -55,6 +55,14 @@ class AnalysisTest(unittest.TestCase):
|
||||
dx.get_external_classes()))
|
||||
|
||||
|
||||
def testMultidex(self):
|
||||
a, d, dx = AnalyzeAPK("examples/tests/multidex/multidex.apk")
|
||||
|
||||
cls = list(map(lambda x: x.get_vm_class().get_name(), dx.get_classes()))
|
||||
self.assertIn('Lcom/foobar/foo/Foobar;', cls)
|
||||
self.assertIn('Lcom/blafoo/bar/Blafoo;', cls)
|
||||
# TODO
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
|
Loading…
Reference in New Issue
Block a user