Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
logger_listener.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_LOGGER_LISTENER_H_
6#define FLUTTER_TESTING_LOGGER_LISTENER_H_
7
8#include "flutter/fml/logging.h"
9#include "flutter/testing/testing.h"
10
11namespace flutter::testing {
12
13class LoggerListener : public ::testing::EmptyTestEventListener {
14 public:
16
18
20
22
23 // |testing::EmptyTestEventListener|
24 void OnTestStart(const ::testing::TestInfo& test_info) override;
25
26 // |testing::EmptyTestEventListener|
27 void OnTestEnd(const ::testing::TestInfo& test_info) override;
28
29 // |testing::EmptyTestEventListener|
30 void OnTestDisabled(const ::testing::TestInfo& test_info) override;
31};
32
33} // namespace flutter::testing
34
35#endif // FLUTTER_TESTING_LOGGER_LISTENER_H_
static void test_info(skiatest::Reporter *r, Codec *codec, const SkImageInfo &info, SkCodec::Result expectedResult, const SkMD5::Digest *goodDigest)
LoggerListener(const LoggerListener &)=delete
void OnTestDisabled(const ::testing::TestInfo &test_info) override
void OnTestStart(const ::testing::TestInfo &test_info) override
LoggerListener & operator=(const LoggerListener &)=delete
void OnTestEnd(const ::testing::TestInfo &test_info) override