-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
23 changed files
with
780 additions
and
555 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
...s/semantifyr/TestModels/Automated/Simple/InlineTransition/Arguments/Boolean/expected.xsts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
/* | ||
* SPDX-FileCopyrightText: 2023-2024 The Semantifyr Authors | ||
* | ||
* SPDX-License-Identifier: EPL-2.0 | ||
*/ | ||
|
||
|
||
var __Mission__a__x : boolean | ||
|
||
trans { | ||
__Mission__a__x := true; | ||
} | ||
|
||
init { | ||
__Mission__a__x := false; | ||
} | ||
|
||
env {} | ||
|
||
prop { | ||
(__Mission__a__x != true) | ||
} |
35 changes: 35 additions & 0 deletions
35
...cts/semantifyr/TestModels/Automated/Simple/InlineTransition/Arguments/Boolean/model.oxsts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
/* | ||
* SPDX-FileCopyrightText: 2023-2024 The Semantifyr Authors | ||
* | ||
* SPDX-License-Identifier: EPL-2.0 | ||
*/ | ||
|
||
package Test | ||
|
||
type Simple { | ||
var x : Boolean | ||
|
||
init { | ||
x := false | ||
} | ||
|
||
tran set(y: Boolean) { | ||
x := y | ||
} | ||
} | ||
|
||
target Mission { | ||
containment a : Simple | ||
|
||
init { | ||
inline a.init() | ||
} | ||
|
||
tran { | ||
inline a.set(true) | ||
} | ||
|
||
prop { | ||
a.x != true | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
...s/semantifyr/TestModels/Automated/Simple/InlineTransition/Arguments/Integer/expected.xsts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
/* | ||
* SPDX-FileCopyrightText: 2023-2024 The Semantifyr Authors | ||
* | ||
* SPDX-License-Identifier: EPL-2.0 | ||
*/ | ||
|
||
|
||
var __Mission__a__x : integer | ||
|
||
trans { | ||
__Mission__a__x := 10; | ||
} | ||
|
||
init { | ||
__Mission__a__x := 0; | ||
} | ||
|
||
env {} | ||
|
||
prop { | ||
(__Mission__a__x != 10) | ||
} |
35 changes: 35 additions & 0 deletions
35
...cts/semantifyr/TestModels/Automated/Simple/InlineTransition/Arguments/Integer/model.oxsts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
/* | ||
* SPDX-FileCopyrightText: 2023-2024 The Semantifyr Authors | ||
* | ||
* SPDX-License-Identifier: EPL-2.0 | ||
*/ | ||
|
||
package Test | ||
|
||
type Simple { | ||
var x : Integer | ||
|
||
init { | ||
x := 0 | ||
} | ||
|
||
tran set(y: Integer) { | ||
x := y | ||
} | ||
} | ||
|
||
target Mission { | ||
containment a : Simple | ||
|
||
init { | ||
inline a.init() | ||
} | ||
|
||
tran { | ||
inline a.set(10) | ||
} | ||
|
||
prop { | ||
a.x != 10 | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
...rojects/semantifyr/TestModels/Automated/Simple/Variable/Initializer/Boolean/expected.xsts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
/* | ||
* SPDX-FileCopyrightText: 2023-2024 The Semantifyr Authors | ||
* | ||
* SPDX-License-Identifier: EPL-2.0 | ||
*/ | ||
|
||
|
||
var __Mission__a__x : boolean = true | ||
|
||
trans { | ||
} | ||
|
||
init { | ||
} | ||
|
||
env {} | ||
|
||
prop { | ||
(__Mission__a__x != true) | ||
} |
25 changes: 25 additions & 0 deletions
25
subprojects/semantifyr/TestModels/Automated/Simple/Variable/Initializer/Boolean/model.oxsts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/* | ||
* SPDX-FileCopyrightText: 2023-2024 The Semantifyr Authors | ||
* | ||
* SPDX-License-Identifier: EPL-2.0 | ||
*/ | ||
|
||
package Test | ||
|
||
type Simple { | ||
reference defaultX : Boolean = false | ||
var x : Boolean = defaultX | ||
} | ||
|
||
target Mission { | ||
containment a : Simple { | ||
reference ::> defaultX : Boolean = true | ||
} | ||
|
||
init {} | ||
tran {} | ||
|
||
prop { | ||
a.x != true | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
...rojects/semantifyr/TestModels/Automated/Simple/Variable/Initializer/Integer/expected.xsts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
/* | ||
* SPDX-FileCopyrightText: 2023-2024 The Semantifyr Authors | ||
* | ||
* SPDX-License-Identifier: EPL-2.0 | ||
*/ | ||
|
||
|
||
var __Mission__a__x : integer = 10 | ||
|
||
trans { | ||
} | ||
|
||
init { | ||
} | ||
|
||
env {} | ||
|
||
prop { | ||
(__Mission__a__x != 10) | ||
} |
26 changes: 26 additions & 0 deletions
26
subprojects/semantifyr/TestModels/Automated/Simple/Variable/Initializer/Integer/model.oxsts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
/* | ||
* SPDX-FileCopyrightText: 2023-2024 The Semantifyr Authors | ||
* | ||
* SPDX-License-Identifier: EPL-2.0 | ||
*/ | ||
|
||
package Test | ||
|
||
type Simple { | ||
reference defaultX : Integer = 0 | ||
var x : Integer = defaultX | ||
} | ||
|
||
target Mission { | ||
containment a : Simple { | ||
reference ::> defaultX : Integer = 10 | ||
} | ||
|
||
init {} | ||
tran {} | ||
|
||
prop { | ||
a.x != 10 | ||
} | ||
} | ||
|
Oops, something went wrong.