8#ifndef CtsEnforcement_DEFINED
9#define CtsEnforcement_DEFINED
47 : fStrictVersion(strictVersion), fWorkaroundsVersion(
kNever) {}
54 SkASSERT(workaroundVersion <= fStrictVersion);
55 fWorkaroundsVersion = workaroundVersion;
59 enum class RunMode { kSkip = 0, kRunWithWorkarounds = 1, kRunStrict = 2 };
constexpr CtsEnforcement(ApiLevel strictVersion)
constexpr CtsEnforcement & withWorkarounds(ApiLevel workaroundVersion)
RunMode eval(int apiLevel) const