1#ifndef BACKENDS_P4TOOLS_MODULES_TESTGEN_TARGETS_PNA_BACKEND_STF_STF_H_
2#define BACKENDS_P4TOOLS_MODULES_TESTGEN_TARGETS_PNA_BACKEND_STF_STF_H_
8#include <inja/inja.hpp>
10#include "lib/cstring.h"
12#include "backends/p4tools/modules/testgen/lib/test_framework.h"
13#include "backends/p4tools/modules/testgen/lib/test_object.h"
14#include "backends/p4tools/modules/testgen/lib/test_spec.h"
25 float currentCoverage)
override;
33 void emitTestcase(
const TestSpec *testSpec,
cstring selectedBranches,
size_t testId,
34 const std::string &testCase,
float currentCoverage);
37 static std::string getTestCaseTemplate();
40 static inja::json getControlPlane(
const TestSpec *testSpec);
43 static inja::json getSend(
const TestSpec *testSpec);
46 static inja::json getExpectedPacket(
const TestSpec *testSpec);
49 static inja::json getControlPlaneForTable(
const TableMatchMap &matches,
50 const std::vector<ActionArg> &args);