short test

This commit is contained in:
Sebastian Bachmann 2018-06-04 14:28:10 +02:00
parent d9653bb25d
commit 1d41a252b1

View File

@ -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()