#include "flutter/fml/command_line.h"
#include "flutter/fml/icu_util.h"
#include "flutter/fml/logging.h"
#include "flutter/testing/testing.h"
#include "flutter/third_party/txt/tests/txt_test_utils.h"
#include "third_party/benchmark/include/benchmark/benchmark.h"
Go to the source code of this file.
◆ main()
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
Definition at line 25 of file txt_run_all_benchmarks.cc.
25 {
30 FML_LOG(
ERROR) <<
"Font directory not set via txt::SetFontDir.";
31 return EXIT_FAILURE;
32 }
34
35 std::string icudtl_path =
36 cmd.GetOptionValueWithDefault(
"icu-data-file-path",
"icudtl.dat");
38
39 ::benchmark::RunSpecifiedBenchmarks();
40}
#define FML_LOG(severity)
#define FML_DCHECK(condition)
const char * GetFixturesPath()
Returns the directory containing the test fixture for the target if this target has fixtures configur...
void InitializeICU(const std::string &icu_data_path)
CommandLine CommandLineFromPlatformOrArgcArgv(int argc, const char *const *argv)
void Initialize(zx::channel directory_request, std::optional< zx::eventpair > view_ref)
Initializes Dart bindings for the Fuchsia application model.
const std::string & GetFontDir()
void SetFontDir(const std::string &dir)