mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-17 16:34:18 +00:00
4729b1c35d
A dummy getGuiMessages function was missing. Instead of adding it everywhere, a new file is created that contains all the dummy functions needed by the tests.
24 lines
382 B
C++
24 lines
382 B
C++
#include <config.h>
|
|
|
|
#include "../filetools.h"
|
|
#include "../FileName.h"
|
|
|
|
#include <iostream>
|
|
|
|
|
|
using namespace lyx::support;
|
|
|
|
using namespace std;
|
|
|
|
void test_normalizePath()
|
|
{
|
|
cout << FileName("/foo/../bar").absFileName() << endl;
|
|
cout << FileName("/foo/./bar").absFileName() << endl;
|
|
cout << FileName("/foo//bar").absFileName() << endl;
|
|
}
|
|
|
|
int main()
|
|
{
|
|
test_normalizePath();
|
|
}
|