Skip to content

Commit

Permalink
Merge pull request #30 from tahiat/preservation
Browse files Browse the repository at this point in the history
Adding settings.gradle file for targets, modify log matching method
  • Loading branch information
kelloggm authored Apr 4, 2024
2 parents f6bcdae + 85f8205 commit ce6b6b6
Show file tree
Hide file tree
Showing 5 changed files with 275 additions and 148 deletions.
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,9 @@ __pycache__/
#Ignore compiled class file
*.class

output
output

amazon-corretto-8.jdk/
amazon-corretto-8.tar.gz
checker-framework-1.9.13.zip
checker-framework-1.9.13/
3 changes: 2 additions & 1 deletion Result.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@ def __init__(self, name, status, reason):
name (string): issue name
status (string): PASS/FAIL
reason (string): reason to fail
preservation_status (strig): Whether the minimized program preserves the target behavior
'''
self.name = name
self.status = status
self.reason = reason
self.preservation_status = False
self.preservation_status = "Not executed"

def set_preservation_status(self, status):
'''
Expand Down
4 changes: 2 additions & 2 deletions exception_data.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
class ExceptionData:
def __init__(self, exception_class: str, exception: str, stack_trace: list):
def __init__(self, exception_class: str = "", exception: str = "", stack_trace: list = []):
'''
Constructor of the class
Parameters:
Expand All @@ -9,4 +9,4 @@ def __init__(self, exception_class: str, exception: str, stack_trace: list):
'''
self.exception_class = exception_class
self.exception = exception
self.stack_trace = stack_trace
self.stack_trace = stack_trace if stack_trace is not None else []
Loading

0 comments on commit ce6b6b6

Please sign in to comment.