17 #include <testconfig.h>
34 std::string root_path = TestConfig::TestData();
36 std::string binary_file1 = root_path + std::string(
"/") +
"pdf_file";
37 std::string binary_file2 = root_path + std::string(
"/") +
"png_file.png";
38 std::string binary_file3 = root_path + std::string(
"/") +
"word_file";
39 std::string binary_file4 = root_path + std::string(
"/") +
"mandelbrot.ppm";
40 std::string binary_file5 = root_path + std::string(
"/") +
"c++_exec";
59 std::string root_path = TestConfig::TestData();
61 std::string text_file1 = root_path + std::string(
"/") +
"text_UTF-8.txt";
62 std::string text_file2 = root_path + std::string(
"/") +
"text_UTF-8-BOM.txt";
TEST_F(BinUtilsTest, testBinaryFiles)
Testing Binary Files.
bool is_text(const std::string &filename)
Returns true if file is text/ascii.
bool is_binary(const std::string &filename)
Returns true if file is binary.
materialitems.h Collection of materials to populate MaterialModel.