Sha256: 91099719cf5997cfa0c971c4c38306f8f286e2527b6f953e7a45b1a04406e1d7
Contents?: true
Size: 840 Bytes
Versions: 16
Compression:
Stored size: 840 Bytes
Contents
#pragma once #include <string> #include <functional> #include "collection_fixture.hpp" #define JAVA_EXECUTABLE "@Java_JAVA_EXECUTABLE@" #define BINARY_DIRECTORY "@CMAKE_BINARY_DIR@" #define LIBFACTER_OUTPUT_DIRECTORY "@CMAKE_LIBRARY_OUTPUT_DIRECTORY@" #define LIBFACTER_TESTS_DIRECTORY "@CMAKE_CURRENT_LIST_DIR@" namespace facter { namespace testing { bool load_fixture(std::string const& name, std::string& data); // Creates a local directory and adds a file <filename> to it containing <contents>. // When destroyed, it deletes the directory. struct test_with_relative_path { test_with_relative_path(std::string const& dirname, std::string const& filename, std::string const& contents); ~test_with_relative_path(); private: std::string _dir; }; }} // namespace facter::testing
Version data entries
16 entries across 16 versions & 2 rubygems