Flutter Engine
flow_run_all_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 "flutter/fml/backtrace.h"
6 #include "flutter/fml/build_config.h"
7 #include "flutter/fml/command_line.h"
8 #include "flutter/fml/logging.h"
9 #include "gtest/gtest.h"
10 
11 #include "flow_test_utils.h"
12 
13 int main(int argc, char** argv) {
15  testing::InitGoogleTest(&argc, argv);
17 
18 #if defined(OS_FUCHSIA)
20  "golden-dir", "/pkg/data/flutter/testing/resources"));
21 #else
23  cmd.GetOptionValueWithDefault("golden-dir", "flutter/testing/resources"));
24 #endif
26  "font-file",
27  "flutter/third_party/txt/third_party/fonts/Roboto-Regular.ttf"));
28  return RUN_ALL_TESTS();
29 }
void InstallCrashHandler()
Definition: backtrace.cc:133
int main(int argc, char **argv)
void SetFontFile(const std::string &file)
CommandLine CommandLineFromArgcArgv(int argc, const char *const *argv)
Definition: command_line.h:222
void SetGoldenDir(const std::string &dir)
std::string GetOptionValueWithDefault(std::string_view name, std::string_view default_value) const
Definition: command_line.cc:72