Flutter Engine
assertions_skia.h
Go to the documentation of this file.
1 // Copyright 2013 The Flutter Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef FLUTTER_TESTING_ASSERTIONS_SKIA_H_
6 #define FLUTTER_TESTING_ASSERTIONS_SKIA_H_
7 
8 #include <ostream>
9 
10 #include "third_party/skia/include/core/SkClipOp.h"
11 #include "third_party/skia/include/core/SkM44.h"
12 #include "third_party/skia/include/core/SkMatrix.h"
13 #include "third_party/skia/include/core/SkPaint.h"
14 #include "third_party/skia/include/core/SkPath.h"
15 #include "third_party/skia/include/core/SkPoint3.h"
16 #include "third_party/skia/include/core/SkRRect.h"
17 
18 namespace flutter {
19 namespace testing {
20 
21 extern std::ostream& operator<<(std::ostream& os, const SkClipOp& o);
22 extern std::ostream& operator<<(std::ostream& os, const SkMatrix& m);
23 extern std::ostream& operator<<(std::ostream& os, const SkM44& m);
24 extern std::ostream& operator<<(std::ostream& os, const SkVector3& v);
25 extern std::ostream& operator<<(std::ostream& os, const SkRect& r);
26 extern std::ostream& operator<<(std::ostream& os, const SkRRect& r);
27 extern std::ostream& operator<<(std::ostream& os, const SkPath& r);
28 extern std::ostream& operator<<(std::ostream& os, const SkPoint& r);
29 extern std::ostream& operator<<(std::ostream& os, const SkISize& size);
30 extern std::ostream& operator<<(std::ostream& os, const SkColor4f& r);
31 extern std::ostream& operator<<(std::ostream& os, const SkPaint& r);
32 
33 } // namespace testing
34 } // namespace flutter
35 
36 #endif // FLUTTER_TESTING_ASSERTIONS_SKIA_H_
std::ostream & operator<<(std::ostream &os, const MockTexture::PaintCall &data)
Definition: mock_texture.cc:28
constexpr std::size_t size(T(&array)[N])
Definition: size.h:13