Flutter Engine
The Flutter Engine
test_utils.h
Go to the documentation of this file.
1// Copyright (c) 2022, the Dart project authors. Please see the AUTHORS file
2// for details. All rights reserved. Use of this source code is governed by a
3// BSD-style license that can be found in the LICENSE file.
4
5#ifndef RUNTIME_BIN_TEST_UTILS_H_
6#define RUNTIME_BIN_TEST_UTILS_H_
7
8namespace dart {
9namespace bin {
10namespace test {
11
12// Helper method to be able to run the test from the runtime
13// directory, or the top directory.
14const char* GetFileName(const char* name);
15
16} // namespace test
17} // namespace bin
18} // namespace dart
19
20#endif // RUNTIME_BIN_TEST_UTILS_H_
const char * GetFileName(const char *name)
Definition: test_utils.cc:12
Definition: dart_vm.cc:33
const char *const name