Functions | |
std::string | FormatIsoTimestamp (absl::Time time) |
absl::StatusOr< absl::Time > | ParseIsoTimestamp (const nlohmann::json &node, const char *field_name) |
void | WriteExpectSection (const TestScriptStep &step, nlohmann::json *node) |
void | PopulateStepNode (const TestScriptStep &step, nlohmann::json *node) |
absl::StatusOr< TestScriptStep > | ParseStep (const nlohmann::json &node) |
Variables | |
constexpr int | kSupportedSchemaVersion = 1 |
std::string yaze::test::anonymous_namespace{test_script_parser.cc}::FormatIsoTimestamp | ( | absl::Time | time | ) |
Definition at line 19 of file test_script_parser.cc.
References FormatIsoTimestamp().
Referenced by FormatIsoTimestamp().
absl::StatusOr< absl::Time > yaze::test::anonymous_namespace{test_script_parser.cc}::ParseIsoTimestamp | ( | const nlohmann::json & | node, |
const char * | field_name | ||
) |
Definition at line 26 of file test_script_parser.cc.
References ParseIsoTimestamp().
Referenced by ParseIsoTimestamp().
void yaze::test::anonymous_namespace{test_script_parser.cc}::WriteExpectSection | ( | const TestScriptStep & | step, |
nlohmann::json * | node | ||
) |
Definition at line 44 of file test_script_parser.cc.
References yaze::test::TestScriptStep::expect_assertion_failures, yaze::test::TestScriptStep::expect_message, yaze::test::TestScriptStep::expect_metrics, yaze::test::TestScriptStep::expect_status, yaze::test::TestScriptStep::expect_success, and WriteExpectSection().
Referenced by PopulateStepNode(), and WriteExpectSection().
void yaze::test::anonymous_namespace{test_script_parser.cc}::PopulateStepNode | ( | const TestScriptStep & | step, |
nlohmann::json * | node | ||
) |
Definition at line 66 of file test_script_parser.cc.
References yaze::test::TestScriptStep::action, yaze::test::TestScriptStep::clear_first, yaze::test::TestScriptStep::click_type, yaze::test::TestScriptStep::condition, yaze::test::TestScriptStep::format, PopulateStepNode(), yaze::test::TestScriptStep::region, yaze::test::TestScriptStep::target, yaze::test::TestScriptStep::text, yaze::test::TestScriptStep::timeout_ms, and WriteExpectSection().
Referenced by PopulateStepNode().
absl::StatusOr< TestScriptStep > yaze::test::anonymous_namespace{test_script_parser.cc}::ParseStep | ( | const nlohmann::json & | node | ) |
Definition at line 95 of file test_script_parser.cc.
References yaze::test::TestScriptStep::action, yaze::test::TestScriptStep::clear_first, yaze::test::TestScriptStep::click_type, yaze::test::TestScriptStep::condition, yaze::test::TestScriptStep::expect_assertion_failures, yaze::test::TestScriptStep::expect_message, yaze::test::TestScriptStep::expect_metrics, yaze::test::TestScriptStep::expect_status, yaze::test::TestScriptStep::expect_success, yaze::test::TestScriptStep::format, ParseStep(), yaze::test::TestScriptStep::region, yaze::test::TestScriptStep::target, yaze::test::TestScriptStep::text, and yaze::test::TestScriptStep::timeout_ms.
Referenced by ParseStep().
|
constexpr |
Definition at line 17 of file test_script_parser.cc.