Skip to content

Commit 004da8d

Browse files
committed
Update tests because Shuriken extracts more strings
1 parent 51ba338 commit 004da8d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tests/forensic/test_forensic.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def forensic(scope="function"):
2222

2323
class TestForensic:
2424
def test_all_strings(self, forensic):
25-
assert len(forensic.get_all_strings()) == 1005
25+
assert len(forensic.get_all_strings()) == 4378
2626

2727
def test_get_url(self, forensic):
2828
assert len(forensic.get_url()) == 4
@@ -48,10 +48,10 @@ def test_get_file(self, forensic):
4848
assert len(forensic.get_file()) == 0
4949

5050
def test_get_base64(self, forensic):
51-
assert len(forensic.get_base64()) == 102
51+
assert len(forensic.get_base64()) == 603
5252

5353
def test_get_android_api(self, forensic):
54-
assert len(forensic.get_android_api()) == 640
54+
assert len(forensic.get_android_api()) == 828
5555

5656
result = [str(x) for x in forensic.get_android_api()]
5757
assert any("getCellLocation" in meth for meth in result)

tests/script/test_script.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ def testMethodGetXrefFrom(QUARK_ANALYSIS_RESULT_FOR_RULE_68):
405405

406406
@staticmethod
407407
def testGetAllStrings(QUARK_ANALYSIS_RESULT_FOR_RULE_68):
408-
assert len(QUARK_ANALYSIS_RESULT_FOR_RULE_68.getAllStrings()) == 1005
408+
assert len(QUARK_ANALYSIS_RESULT_FOR_RULE_68.getAllStrings()) == 4378
409409

410410
@staticmethod
411411
def testIsHardCoded(QUARK_ANALYSIS_RESULT_FOR_RULE_68):

0 commit comments

Comments
 (0)