-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #238 from e100/more_tests_and_ci_fixes
Improving tests
- Loading branch information
Showing
19 changed files
with
349 additions
and
58 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
__version__ = "2.0.22" | ||
__version__ = "2.0.23" | ||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
type: toggle | ||
text: "Test" | ||
dbkey: TSBTN{id}3 | ||
condition_keys: | ||
- MAVMODE | ||
- MAVSTATE | ||
- MAVADJ | ||
conditions: | ||
- when: "MAVMODE eq 'checked'" | ||
actions: | ||
- button: checked | ||
- set bg color: blue | ||
- when: "MAVMODE eq 'unchecked'" | ||
actions: | ||
- button: unchecked | ||
- set bg color: orange | ||
- when: True | ||
actions: | ||
- set text: "True" | ||
continue: true | ||
- when: True | ||
actions: | ||
- set bg color: green | ||
- set fg color: white | ||
- when: False | ||
actions: | ||
- set text: "False" | ||
continue: true | ||
- when: False | ||
actions: | ||
- set bg color: red | ||
- when: "MAVMODE eq 'checked'" | ||
actions: | ||
- button: checked | ||
- set bg color: blue | ||
- unknown: |
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,32 @@ | ||
type: unknown | ||
text: "Units" | ||
dbkey: TSBTN{id}0 | ||
hover_show: True | ||
condition_keys: | ||
- HIDEBUTTON | ||
- INT | ||
- NUMOK | ||
conditions: | ||
- when: "HIDEBUTTON" | ||
actions: | ||
#- button: disable | ||
- set text: "Show\nMenu" | ||
#- set bg color: "#00000000" | ||
#- set fg color: "#00000000" | ||
continue: true | ||
- when: "not HIDEBUTTON" | ||
actions: | ||
#- button: enable | ||
- set text: "Units" | ||
#- set bg color: lightgray | ||
#- set fg color: black | ||
continue: true | ||
- when: "CLICKED eq true and HIDEBUTTON" | ||
actions: | ||
- set text: Units | ||
- set value: HIDEBUTTON,False | ||
- when: "CLICKED eq true and not HIDEBUTTON" | ||
actions: | ||
- Set Instrument Units: "OAT,OILT1,Temperature,Pressure,Altitude:Toggle" | ||
- set value: HIDEBUTTON,False | ||
|
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,32 @@ | ||
type: simple | ||
text: "Units" | ||
dbkey: TSBTN{id}0 | ||
hover_show: True | ||
condition_keys: | ||
- HIDEBUTTON | ||
- INT | ||
- NUMOK | ||
conditions: | ||
- badsyntax: "HIDEBUTTON" | ||
actions: | ||
#- button: disable | ||
- set text: "Show\nMenu" | ||
#- set bg color: "#00000000" | ||
#- set fg color: "#00000000" | ||
continue: true | ||
- when: "not HIDEBUTTON" | ||
actions: | ||
#- button: enable | ||
- set text: "Units" | ||
#- set bg color: lightgray | ||
#- set fg color: black | ||
continue: true | ||
- when: "CLICKED eq true and HIDEBUTTON" | ||
actions: | ||
- set text: Units | ||
- set value: HIDEBUTTON,False | ||
- when: "CLICKED eq true and not HIDEBUTTON" | ||
actions: | ||
- Set Instrument Units: "OAT,OILT1,Temperature,Pressure,Altitude:Toggle" | ||
- set value: HIDEBUTTON,False | ||
|
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,32 @@ | ||
type: simple | ||
text: "Units" | ||
dbkey: TSBTN{id}0 | ||
hover_show: True | ||
condition_keys: | ||
- HIDEBUTTON | ||
- INT | ||
- NUMOK | ||
conditions: | ||
- when: 100 | ||
actions: | ||
#- button: disable | ||
- set text: "Show\nMenu" | ||
#- set bg color: "#00000000" | ||
#- set fg color: "#00000000" | ||
continue: true | ||
- when: "not HIDEBUTTON" | ||
actions: | ||
#- button: enable | ||
- set text: "Units" | ||
#- set bg color: lightgray | ||
#- set fg color: black | ||
continue: true | ||
- when: "CLICKED eq true and HIDEBUTTON" | ||
actions: | ||
- set text: Units | ||
- set value: HIDEBUTTON,False | ||
- when: "CLICKED eq true and not HIDEBUTTON" | ||
actions: | ||
- Set Instrument Units: "OAT,OILT1,Temperature,Pressure,Altitude:Toggle" | ||
- set value: HIDEBUTTON,False | ||
|
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
Oops, something went wrong.