Flutter Engine
 
Loading...
Searching...
No Matches
flow_run_all_unittests.cc File Reference
#include "flutter/fml/backtrace.h"
#include "flutter/fml/build_config.h"
#include "flutter/fml/command_line.h"
#include "flutter/fml/logging.h"
#include "gtest/gtest.h"
#include "flow_test_utils.h"

Go to the source code of this file.

Functions

int main (int argc, char **argv)
 

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 13 of file flow_run_all_unittests.cc.

13 {
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", "flutter/txt/third_party/fonts/Roboto-Regular.ttf"));
27 return RUN_ALL_TESTS();
28}
std::string GetOptionValueWithDefault(std::string_view name, std::string_view default_value) const
char ** argv
Definition library.h:9
void SetGoldenDir(const std::string &dir)
void SetFontFile(const std::string &file)
void InstallCrashHandler()
Definition backtrace.cc:126
CommandLine CommandLineFromPlatformOrArgcArgv(int argc, const char *const *argv)

References argv, fml::CommandLineFromPlatformOrArgcArgv(), fml::CommandLine::GetOptionValueWithDefault(), fml::InstallCrashHandler(), flutter::SetFontFile(), and flutter::SetGoldenDir().