3 #include "../filetools.h"
4 #include "../FileName.h"
9 using namespace lyx::support;
14 // Dummy LyXRC support
15 struct LyXRC { string icon_set; } lyxrc;
17 // Keep the linker happy on Windows
20 docstring const _(string const & s) { return from_ascii(s); }
23 void test_normalizePath()
25 cout << FileName("/foo/../bar").absFileName() << endl;
26 cout << FileName("/foo/./bar").absFileName() << endl;
27 cout << FileName("/foo//bar").absFileName() << endl;