|
|
|||
File indexing completed on 2025-11-07 09:16:59
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 "ActsTests/CommonHelpers/DataDirectory.hpp" 0015 0016 #include <cstddef> 0017 #include <iostream> 0018 0019 using namespace ActsTests; 0020 0021 int main(void) { 0022 std::cout << getDataPath("") << std::endl; 0023 std::cout << getDataPath("missing-dir/does_not_exists.txt") << std::endl; 0024 return EXIT_SUCCESS; 0025 }
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|