#ifndef BASE_TEST_LAUNCHER_TEST_LAUNCHER_TEST_UTILS_H_
#define BASE_TEST_LAUNCHER_TEST_LAUNCHER_TEST_UTILS_H_
#include <stddef.h>
#include <optional>
#include <string>
#include "base/values.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace base {
class FilePath;
namespace test_launcher_utils {
bool ValidateKeyValue(const Value::Dict& dict,
const std::string& key,
const std::string& expected_value);
bool ValidateKeyValue(const Value::Dict& dict,
const std::string& key,
int64_t expected_value);
bool ValidateTestResult(const Value::Dict& iteration_data,
const std::string& test_name,
const std::string& status,
size_t result_part_count,
bool have_running_info = true);
bool ValidateTestLocations(const Value::Dict& test_locations,
const std::string& test_case_name);
bool ValidateTestLocation(const Value::Dict& test_locations,
const std::string& test_name,
const std::string& file,
int line);
std::optional<Value::Dict> ReadSummary(const FilePath& path);
}
}
#endif