Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Szelethus committed Oct 3, 2023
1 parent 2ba1861 commit 9591ad4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,9 @@ def get_report_hash(report: Report, hash_type: HashType) -> str:
else:
raise Exception("Invalid report hash type: " + str(hash_type))

print(hash_content)
assert False

return __str_to_hash('|||'.join(hash_content))


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ def get_reports(
print(get_report_hash(report, HashType.CONTEXT_FREE))
print(get_report_hash(
report, HashType.DIAGNOSTIC_MESSAGE))
assert False

reports.append(report)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def test_no_plist_dir(self):
file_name="{source_file}_{analyzer}")
self.assertFalse(ret)

def test_transform_single_file(self):
def test_gcc_transform_single_file(self):
""" Test transforming single plist file. """
analyzer_output_file = os.path.join(
self.test_files, 'double_free.cpp.sarif')
Expand All @@ -97,7 +97,6 @@ def test_transform_single_file(self):
res['metadata']['generated_by']['version'] = "x.y.z"
print(
res["diagnostics"][0]["issue_hash_content_of_line_in_context"])
assert False

plist_file = os.path.join(self.test_files,
'double_free.expected.plist')
Expand Down

0 comments on commit 9591ad4

Please sign in to comment.