blob: 57058d1cdd874d325f3475e942f1b5467b9922aa [file] [log] [blame]
// Copyright 2017 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:io';
import 'package:path/path.dart' as path;
/// Returns the test data path.
String getTestDataPath(String basename) {
return path.normalize(
path.join(
Directory.current.path,
'..',
'..',
'..',
'testdata',
basename,
),
);
}