#ifndef CHROME_BROWSER_VR_TEST_CONDITIONAL_SKIPPING_H_
#define CHROME_BROWSER_VR_TEST_CONDITIONAL_SKIPPING_H_
#include <string>
#include <unordered_set>
#include <vector>
#include "base/logging.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace vr {
enum class XrTestRequirement { … };
std::string CheckXrRequirements(
const std::vector<XrTestRequirement>& requirements_vector,
const std::unordered_set<std::string>& ignored_set);
std::string XrTestRequirementToString(XrTestRequirement requirement);
inline bool CheckXrRequirementsHelper(
const std::vector<XrTestRequirement>& requirements_vector,
const std::unordered_set<std::string>& ignored_set,
bool* setup_skipped) { … }
}
#define XR_CONDITIONAL_SKIP(requirements_vector, ignored_set) …
#define XR_CONDITIONAL_SKIP_PRETEST(requirements_vector, ignored_set, \
setup_skipped) …
#define XR_CONDITIONAL_SKIP_INTERNAL_(requirements_vector, ignored_set, \
setup_skipped) …
#endif