Files
TestInfrastructure/SMT_PlayGround/hw_ext_tests/templates/Test_Level_Simple.json
2026-02-26 17:41:05 +01:00

31 lines
1.3 KiB
JSON

{
"GroupId": 1000,
"UniqueTemplateId": "auto_generated",
"Description": [
"Simple test level with 1 instrument. Powers up the instrument, and disconnects after measurement.",
"Can check states and logsets after execution."
],
"Features": [
"PowerUpWoPowerSequence",
"PowerDownNoPowerSequence"
],
"TestInput": [
{ "Instruments" : "Instruments" },
{ "SetupFileName" :"Setup_Simple_Typ",
"setups" : [
{"InitialSetup": "Simple_Typ"},
{"FinalSetup": "Simple2_Typ"}
] }
],
"Template": [
{ "call" : "createMeasurement", "args": [ "Instruments"], "return" :"Measurement" },
{ "call" : "applySetup", "args": ["Measurement", "InitialSetup"] },
{ "call" : "buildMeasurement", "args": ["Measurement", "false"] },
{ "call" : "ProblemCheck", "args": ["Measurement", "InitialSetup"] },
{ "call" : "applySetup", "args": ["Measurement", "FinalSetup"] },
{ "call" : "buildMeasurement", "args": ["Measurement", "true"] },
{ "call" : "executeMeasurement", "args": ["Measurement", "true"] },
{ "call" : "StateCheck", "args": ["Measurement", "FinalSetup"] },
{ "call" : "LogSetCheck", "args": ["Measurement", "FinalSetup"] }
]
}