|
||||
File indexing completed on 2025-01-18 09:12:29
0001 // This file is part of the ACTS project. 0002 // 0003 // Copyright (C) 2016 CERN for the benefit of the ACTS project 0004 // 0005 // This Source Code Form is subject to the terms of the Mozilla Public 0006 // License, v. 2.0. If a copy of the MPL was not distributed with this 0007 // file, You can obtain one at https://mozilla.org/MPL/2.0/. 0008 0009 // This is an example on how to access data from the test data directory. 0010 // It is not really an integration test, but since it does not use the 0011 // unit test framework, placing it into the integration tests directory 0012 // is the least awkward place. 0013 0014 #include "Acts/Tests/CommonHelpers/DataDirectory.hpp" 0015 0016 #include <cstddef> 0017 #include <iostream> 0018 0019 int main(void) { 0020 std::cout << Acts::Test::getDataPath("") << std::endl; 0021 std::cout << Acts::Test::getDataPath("missing-dir/does_not_exists.txt") 0022 << std::endl; 0023 return EXIT_SUCCESS; 0024 }
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |