13
0
livetrax/libs/pbd/test/filesystem_test.h
Tim Mayberry 7338c4e242 Add test for PBD::copy_file
From this I can see that PBD::copy_file is not working correctly on windows
as it is adding windows style line endings. Adding O_BINARY to ::open flags
would fix it, but perhaps there is a better way...
2014-06-25 12:40:11 -04:00

17 lines
326 B
C++

#include <cppunit/TestFixture.h>
#include <cppunit/extensions/HelperMacros.h>
class FilesystemTest : public CppUnit::TestFixture
{
CPPUNIT_TEST_SUITE (FilesystemTest);
CPPUNIT_TEST (testPathIsWithin);
CPPUNIT_TEST (testCopyFile);
CPPUNIT_TEST_SUITE_END ();
public:
void testPathIsWithin ();
void testCopyFile ();
};