Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ProB Rodin Plugin
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
Operate
Environments
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
ProB Rodin Plugin
Commits
16b9c555
Commit
16b9c555
authored
10 years ago
by
Sebastian Krings
Browse files
Options
Downloads
Plain Diff
Merge branch 'develop'
parents
98a22ead
611f1caf
Branches
Branches containing commit
Tags
3.0.8
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
de.prob.ui/src/de/prob/ui/eventb/ModelCheckingFinishedListener.java
+14
-12
14 additions, 12 deletions
.../src/de/prob/ui/eventb/ModelCheckingFinishedListener.java
with
14 additions
and
12 deletions
de.prob.ui/src/de/prob/ui/eventb/ModelCheckingFinishedListener.java
+
14
−
12
View file @
16b9c555
...
...
@@ -134,8 +134,9 @@ public class ModelCheckingFinishedListener extends JobChangeAdapter {
StringBuffer
sb
=
new
StringBuffer
();
sb
.
append
(
"Invariant violation found.\n"
);
sb
.
append
(
"ProB has detected a state that violates the invariant.\n"
);
sb
.
append
(
"The following is the trace that led to the violation:\n"
);
appendTrace
(
trace
,
sb
);
// no longer show trace of state ids to user; not very useful
//sb.append("The following is the trace that led to the violation:\n");
//appendTrace(trace, sb);
return
sb
.
toString
();
}
...
...
@@ -143,24 +144,25 @@ public class ModelCheckingFinishedListener extends JobChangeAdapter {
StringBuffer
sb
=
new
StringBuffer
();
sb
.
append
(
"Theorem violation found.\n"
);
sb
.
append
(
"ProB has detected a state that violates the theorems.\n"
);
sb
.
append
(
"The following is the trace that led to the violation:\n"
);
appendTrace
(
trace
,
sb
);
// no longer show trace of state ids to user; not very useful
//sb.append("The following is the trace that led to the violation:\n");
//appendTrace(trace, sb);
return
sb
.
toString
();
}
private
String
createStateErrorResult
(
final
List
<
String
>
trace
)
{
StringBuffer
sb
=
new
StringBuffer
();
sb
.
append
(
"ProB has detected an erroneous state (e.g., witness error, guard strengthening error).\n"
);
sb
.
append
(
"The following is the trace that led to the error:\n"
);
appendTrace
(
trace
,
sb
);
//
sb.append("The following is the trace that led to the error:\n");
//
appendTrace(trace, sb);
return
sb
.
toString
();
}
private
String
createWDErrorResult
(
final
List
<
String
>
trace
)
{
StringBuffer
sb
=
new
StringBuffer
();
sb
.
append
(
"ProB has detected a state which caused a well-definedness error(e.g., division by zero).\n"
);
sb
.
append
(
"The following is the trace that led to the error:\n"
);
appendTrace
(
trace
,
sb
);
//
sb.append("The following is the trace that led to the error:\n");
//
appendTrace(trace, sb);
return
sb
.
toString
();
}
...
...
@@ -168,8 +170,8 @@ public class ModelCheckingFinishedListener extends JobChangeAdapter {
StringBuffer
sb
=
new
StringBuffer
();
sb
.
append
(
"ProB has detected a state which caused an internal error.\n"
);
sb
.
append
(
"This is probably a bug (please report).\n"
);
sb
.
append
(
"The following is the trace that led to the error:\n"
);
appendTrace
(
trace
,
sb
);
//
sb.append("The following is the trace that led to the error:\n");
//
appendTrace(trace, sb);
return
sb
.
toString
();
}
...
...
@@ -177,8 +179,8 @@ public class ModelCheckingFinishedListener extends JobChangeAdapter {
StringBuffer
sb
=
new
StringBuffer
();
sb
.
append
(
"Deadlock found.\n"
);
sb
.
append
(
"ProB has detected a state where all guards are false.\n"
);
sb
.
append
(
"The following is the trace that led to the deadlock:\n"
);
appendTrace
(
trace
,
sb
);
//
sb.append("The following is the trace that led to the deadlock:\n");
//
appendTrace(trace, sb);
return
sb
.
toString
();
}
...
...
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