mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 13:45:43 +01:00
Add test to libpbd to check PBD::touch_file and pbd/gstdio_compat.h
GStatBuf is not usable on 32 bit Windows without the redefinition in pbd/gstdio_compat.h so add a test to check for the correct behavior of g_stat and g_utime on all platforms now that the issue is fixed.
This commit is contained in:
parent
95b55c7346
commit
e44212321e
2 changed files with 80 additions and 0 deletions
|
|
@ -12,6 +12,8 @@ class FilesystemTest : public CppUnit::TestFixture
|
|||
CPPUNIT_TEST (testClearDirectory);
|
||||
CPPUNIT_TEST (testRemoveDirectory);
|
||||
CPPUNIT_TEST (testCanonicalPath);
|
||||
CPPUNIT_TEST (testTouchFile);
|
||||
CPPUNIT_TEST (testStatFile);
|
||||
CPPUNIT_TEST_SUITE_END ();
|
||||
|
||||
public:
|
||||
|
|
@ -23,5 +25,7 @@ public:
|
|||
void testClearDirectory ();
|
||||
void testRemoveDirectory ();
|
||||
void testCanonicalPath ();
|
||||
void testTouchFile ();
|
||||
void testStatFile ();
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue