]> git.lyx.org Git - lyx.git/blob - src/support/tests/check_filetools.cpp
Fix layout bug. Pasting text into a cell tried to set Standard layout, because
[lyx.git] / src / support / tests / check_filetools.cpp
1 #include "../filetools.h"
2 #include "../FileName.h"
3
4 #include <iostream>
5
6
7 using namespace lyx::support;
8
9 using namespace std;
10
11 namespace lyx {
12         docstring const _(string const & s) { return from_ascii(s); }
13 }
14
15 void test_normalizePath()
16 {
17         cout << FileName("/foo/../bar").absFilename() << endl;
18         cout << FileName("/foo/./bar").absFilename() << endl;
19         cout << FileName("/foo//bar").absFilename() << endl;
20 }
21
22 int main()
23 {
24         test_normalizePath();
25 }