mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-02-14 15:40:19 -06:00
Add a Test Wizard, start recreating new tests, add new functions to create new Lua function returning Profile information (#3734)
* Add new Lua functions to request profile names. Next version of the wizard * Replacecurrently existing tests
This commit is contained in:
33
visualtests/profiles/astroids/amor.ostest
Normal file
33
visualtests/profiles/astroids/amor.ostest
Normal file
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"profile": "asteroids",
|
||||
"commands": [
|
||||
{
|
||||
"type": "navigationstate",
|
||||
"value": {
|
||||
"anchor": "Earth",
|
||||
"position": [
|
||||
-1944461572755.4426,
|
||||
792437739484.94,
|
||||
1697393949905.4646
|
||||
],
|
||||
"referenceFrame": "Root",
|
||||
"up": [
|
||||
0.4477603489855756,
|
||||
0.8887658610658032,
|
||||
0.09800976522916917
|
||||
],
|
||||
"timestamp": "2025 JUN 28 13:28:53"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"value": {
|
||||
"property": "Scene.sssb_amor_asteroid.Renderable.Enabled",
|
||||
"value": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "screenshot"
|
||||
}
|
||||
]
|
||||
}
|
||||
40
visualtests/profiles/astroids/interstellar.ostest
Normal file
40
visualtests/profiles/astroids/interstellar.ostest
Normal file
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"profile": "asteroids",
|
||||
"commands": [
|
||||
{
|
||||
"type": "navigationstate",
|
||||
"value": {
|
||||
"anchor": "Earth",
|
||||
"position": [
|
||||
-12561206745176.639,
|
||||
-2554982359165.7495,
|
||||
6748228682097.809
|
||||
],
|
||||
"referenceFrame": "Root",
|
||||
"up": [
|
||||
0.014909869068494841,
|
||||
0.9256034489525743,
|
||||
0.37820094009859295
|
||||
],
|
||||
"timestamp": "2025 JUN 28 13:31:55"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"value": {
|
||||
"property": "Scene.OumuamuaTrail.Renderable.Enabled",
|
||||
"value": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"value": {
|
||||
"property": "Scene.C2019Q4BorisovTrail.Renderable.Enabled",
|
||||
"value": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "screenshot"
|
||||
}
|
||||
]
|
||||
}
|
||||
33
visualtests/profiles/astroids/pha.ostest
Normal file
33
visualtests/profiles/astroids/pha.ostest
Normal file
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"profile": "asteroids",
|
||||
"commands": [
|
||||
{
|
||||
"type": "navigationstate",
|
||||
"value": {
|
||||
"anchor": "Earth",
|
||||
"position": [
|
||||
-1944461572755.4436,
|
||||
792437739484.9446,
|
||||
1697393949905.4695
|
||||
],
|
||||
"referenceFrame": "Root",
|
||||
"up": [
|
||||
0.44776034898559697,
|
||||
0.8887658610657894,
|
||||
0.09800976522919777
|
||||
],
|
||||
"timestamp": "2025 JUN 28 13:28:53"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"value": {
|
||||
"property": "Scene.sssb_amor_asteroid.Renderable.Enabled",
|
||||
"value": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "screenshot"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user