Flutter Engine
The Flutter Engine
third_party
skia
tests
graphite
ShapeTest.cpp
Go to the documentation of this file.
1
/*
2
* Copyright 2021 Google LLC
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/Test.h
"
9
10
#include "
src/gpu/graphite/geom/Shape.h
"
11
12
DEF_GRAPHITE_TEST
(ShapeTest,
reporter
,
CtsEnforcement::kNextRelease
) {
13
// TODO: Michael takes this over
14
skgpu::graphite::Shape
s
;
15
REPORTER_ASSERT
(
reporter
,
s
.type() ==
skgpu::graphite::Shape::Type::kEmpty
);
16
}
reporter
reporter
Definition:
FontMgrTest.cpp:39
DEF_GRAPHITE_TEST
DEF_GRAPHITE_TEST(ShapeTest, reporter, CtsEnforcement::kNextRelease)
Definition:
ShapeTest.cpp:12
Shape.h
Test.h
REPORTER_ASSERT
#define REPORTER_ASSERT(r, cond,...)
Definition:
Test.h:286
CtsEnforcement::kNextRelease
@ kNextRelease
Definition:
CtsEnforcement.h:40
skgpu::graphite::Shape
Definition:
Shape.h:28
skgpu::graphite::Shape::Type::kEmpty
@ kEmpty
s
struct MyStruct s
Generated on Sun Jun 23 2024 21:56:39 for Flutter Engine by
1.9.4