Initial commit
This commit is contained in:
31
SMT_PlayGround/hw_ext_tests/templates/Test_Level_Simple.json
Normal file
31
SMT_PlayGround/hw_ext_tests/templates/Test_Level_Simple.json
Normal file
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"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"] }
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user