1#ifndef BACKENDS_P4TOOLS_MODULES_TESTGEN_TARGETS_BMV2_TEST_BACKEND_STF_H_
2#define BACKENDS_P4TOOLS_MODULES_TESTGEN_TARGETS_BMV2_TEST_BACKEND_STF_H_
8#include <inja/inja.hpp>
10#include "lib/cstring.h"
12#include "backends/p4tools/modules/testgen/lib/test_spec.h"
13#include "backends/p4tools/modules/testgen/targets/bmv2/test_backend/common.h"
24 float currentCoverage)
override;
32 void emitTestcase(
const TestSpec *testSpec,
cstring selectedBranches,
size_t testId,
33 const std::string &testCase,
float currentCoverage);
36 static std::string getTestCaseTemplate();
38 inja::json getExpectedPacket(
const TestSpec *testSpec)
const override;
41 inja::json getSend(
const TestSpec *testSpec)
const override;
43 inja::json getControlPlaneForTable(
const TableMatchMap &matches,
44 const std::vector<ActionArg> &args)
const override;