Esempio n. 1
0
 def test_apk_parsing_filtered_empty_result(self):
     tests = DexParser.parse(TEST_APK, ["com.linkedin.mdctestNOT"])
     assert not list(tests)
Esempio n. 2
0
 def test_apk_parsing(self):
     tests = DexParser.parse(TEST_APK)
     assert sorted(tests) == TestDexParsing.EXPECTED_TESTS
Esempio n. 3
0
 def test_apk_parsing_filtered(self):
     tests = DexParser.parse(TEST_APK, ["com.linkedin.mdctest"])
     assert sorted(tests) == TestDexParsing.EXPECTED_TESTS
Esempio n. 4
0
 def test_apk_parsing_filtered_regex(self):
     tests = DexParser.parse(TEST_APK, ["re::com\.linkedin\.mdct.st[s]*"])
     assert sorted(tests) == TestDexParsing.EXPECTED_TESTS