Flutter Engine
The Flutter Engine
suite_impl_unittests.cc
Go to the documentation of this file.
1// Copyright 2022 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
6
7#include "gtest/gtest.h"
8
10namespace {
11
12std::string GetCurrentTestName() {
13 return ::testing::UnitTest::GetInstance()->current_test_info()->name();
14}
15
16} // namespace
17
18// TODO(naudzghebre): Add unit tests for the dart_test_runner.
19TEST(SuiteImplTest, EQUALITY) {
20 EXPECT_EQ(1, 1) << GetCurrentTestName();
21}
22
23} // namespace dart_runner::testing
TEST(SuiteImplTest, EQUALITY)
std::string GetCurrentTestName()
Gets the name of the currently running test. This is useful in generating logs or assets based on tes...
Definition: testing.cc:15