Flutter Engine
flow_test_utils.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 <string>
6 
7 namespace flutter {
8 
9 static std::string gGoldenDir;
10 static std::string gFontFile;
11 
12 const std::string& GetGoldenDir() {
13  return gGoldenDir;
14 }
15 
16 void SetGoldenDir(const std::string& dir) {
17  gGoldenDir = dir;
18 }
19 
20 const std::string& GetFontFile() {
21  return gFontFile;
22 }
23 
24 void SetFontFile(const std::string& file) {
25  gFontFile = file;
26 }
27 
28 } // namespace flutter
void SetFontFile(const std::string &file)
const std::string & GetGoldenDir()
void SetGoldenDir(const std::string &dir)
static std::string gFontFile
const std::string & GetFontFile()
static std::string gGoldenDir