blob: a75a290c6149a3a760ff69864aecf37193753d78 [file] [log] [blame]
// Copyright 2016 The Vanadium 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:mdtest/src/util.dart';
// Provide paths which point to the assets directory
String mdtestScriptPath = Platform.script.toFilePath();
int binStart = mdtestScriptPath.lastIndexOf('bin');
String mdtestRootPath = mdtestScriptPath.substring(0, binStart);
String libPath = normalizePath(mdtestRootPath, 'lib');
String assetsPath = normalizePath(libPath, 'assets');
List<String> get relatedPaths => <String>[
normalizePath(assetsPath, 'emerald.png'),
normalizePath(assetsPath, 'ruby.png'),
normalizePath(assetsPath, 'report.css')
];