Merge branch 'stable-1.2'
# Conflicts:
# .travis/osx..install.sh
# .travis/osx..script.sh
# cmake/linux/package_linux.sh.in
# data/locale/en.ts
# src/core/CMakeLists.txt
# src/core/ProjectRenderer.cpp
# src/gui/FileBrowser.cpp
This commit is contained in:
@@ -40,8 +40,11 @@ private slots:
|
||||
|
||||
QString absPath = fi.absoluteFilePath();
|
||||
QString relPath = "drums/kick01.ogg";
|
||||
QString fuzPath = absPath;
|
||||
fuzPath.replace(relPath, "drums/.///kick01.ogg");
|
||||
QCOMPARE(SampleBuffer::tryToMakeRelative(absPath), relPath);
|
||||
QCOMPARE(SampleBuffer::tryToMakeAbsolute(relPath), absPath);
|
||||
QCOMPARE(SampleBuffer::tryToMakeRelative(fuzPath), relPath);
|
||||
}
|
||||
} RelativePathTests;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user