Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
impeller
aiks
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"
7
#include "
impeller/aiks/trace_serializer.h
"
8
namespace
impeller
{
9
namespace
testing {
10
11
TEST
(
TraceSerializer
, Save) {
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
TEST
#define TEST(S, s, D, expected)
Definition
FitsInTest.cpp:15
fml::LogMessage::CaptureNextLog
static void CaptureNextLog(std::ostringstream *stream)
Definition
logging.cc:129
impeller::TraceSerializer
Definition
trace_serializer.h:13
impeller
Definition
texture.h:18
trace_serializer.h
Generated on Fri Apr 26 2024 06:14:07 for Flutter Engine by
1.9.8