Flutter Impeller
trace_serializer_unittests.cc
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 #include <sstream>
6 #include "flutter/testing/testing.h"
8 namespace impeller {
9 namespace testing {
10 
12  CanvasRecorder<TraceSerializer> recorder;
13  std::ostringstream ss;
14  fml::LogMessage::CaptureNextLog(&ss);
15  recorder.Save();
16  ASSERT_TRUE(ss.str().size() > 0);
17 }
18 
19 } // namespace testing
20 } // namespace impeller
trace_serializer.h
impeller::testing::TEST
TEST(CanvasRecorder, Save)
Definition: canvas_recorder_unittests.cc:65
impeller::TraceSerializer
Definition: trace_serializer.h:13
impeller
Definition: aiks_blur_unittests.cc:20