blob: f7bcbe375e802a84576c94f9c620c737ff49a848 [file] [log] [blame]
{{> header}}
#pragma once
#include "TestCommand.h"
#include <lib/support/CHIPListUtils.h>
{{>test_cluster tests="../linux/apps/app1/ciTests.json" credsIssuerConfigArg=false needsWaitDuration=false}}
std::unique_ptr<TestCommand>GetTestCommand(std::string testName)
{
{{#chip_tests "../linux/apps/app1/ciTests.json"}}
if (testName == "{{filename}}")
{
return std::unique_ptr<{{filename}}Suite>(new {{filename}}Suite());
}
{{/chip_tests}}
return nullptr;
}
void PrintTestCommands()
{
{{#chip_tests "../linux/apps/app1/ciTests.json"}}
{{#first}}
ChipLogError(chipTool, "Supported commands:");
{{/first}}
ChipLogError(chipTool, "\t* {{filename}}");
{{else}}
ChipLogError("\t No available commands.");
{{/chip_tests}}
}