Flutter Engine
The Flutter Engine
third_party
skia
tests
CtsEnforcement.cpp
Go to the documentation of this file.
1
/*
2
* Copyright 2022 Google Inc.
3
*
4
* Use of this source code is governed by a BSD-style license that can be
5
* found in the LICENSE file.
6
*/
7
8
#include "
tests/CtsEnforcement.h
"
9
10
CtsEnforcement::RunMode
CtsEnforcement::eval
(
int
apiLevel)
const
{
11
if
(apiLevel >= fStrictVersion) {
12
return
RunMode::kRunStrict
;
13
}
else
if
(apiLevel >= fWorkaroundsVersion) {
14
return
RunMode::kRunWithWorkarounds
;
15
}
16
return
RunMode::kSkip
;
17
}
CtsEnforcement.h
CtsEnforcement::RunMode
RunMode
Definition:
CtsEnforcement.h:59
CtsEnforcement::RunMode::kRunStrict
@ kRunStrict
CtsEnforcement::RunMode::kRunWithWorkarounds
@ kRunWithWorkarounds
CtsEnforcement::RunMode::kSkip
@ kSkip
CtsEnforcement::eval
RunMode eval(int apiLevel) const
Definition:
CtsEnforcement.cpp:10
Generated on Sun Jun 23 2024 21:56:38 for Flutter Engine by
1.9.4