Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tlc4b
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
general
stups
tlc4b
Commits
86f77dac
Commit
86f77dac
authored
11 months ago
by
Jan Gruteser
Browse files
Options
Downloads
Patches
Plain Diff
add TLCResult for interrupted check
parent
317157b7
No related branches found
No related tags found
No related merge requests found
Pipeline
#139816
passed
11 months ago
Stage: test
Stage: deploy
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/de/tlc4b/tlc/TLCResults.java
+3
-1
3 additions, 1 deletion
src/main/java/de/tlc4b/tlc/TLCResults.java
with
3 additions
and
1 deletion
src/main/java/de/tlc4b/tlc/TLCResults.java
+
3
−
1
View file @
86f77dac
...
@@ -36,7 +36,7 @@ public class TLCResults implements ToolGlobals {
...
@@ -36,7 +36,7 @@ public class TLCResults implements ToolGlobals {
private
final
TLCOutputInfo
tlcOutputInfo
;
private
final
TLCOutputInfo
tlcOutputInfo
;
public
enum
TLCResult
{
public
enum
TLCResult
{
Deadlock
,
Goal
,
InvariantViolation
,
ParseError
,
NoError
,
AssertionError
,
PropertiesError
,
EnumerationError
,
TLCError
,
TemporalPropertyViolation
,
WellDefinednessError
,
InitialStateError
Deadlock
,
Goal
,
InvariantViolation
,
ParseError
,
NoError
,
AssertionError
,
PropertiesError
,
EnumerationError
,
TLCError
,
TemporalPropertyViolation
,
WellDefinednessError
,
InitialStateError
,
Interrupted
}
}
public
boolean
hasTrace
()
{
public
boolean
hasTrace
()
{
...
@@ -380,6 +380,8 @@ public class TLCResults implements ToolGlobals {
...
@@ -380,6 +380,8 @@ public class TLCResults implements ToolGlobals {
return
WellDefinednessError
;
return
WellDefinednessError
;
}
else
if
(
s
.
contains
(
"ASSERT_LTL"
))
{
}
else
if
(
s
.
contains
(
"ASSERT_LTL"
))
{
return
TemporalPropertyViolation
;
return
TemporalPropertyViolation
;
}
else
if
(
s
.
contains
(
"java.lang.InterruptedException"
))
{
return
Interrupted
;
}
}
}
}
// unknown error
// unknown error
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment