mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 04:25:35 +08:00
Change CService::getAircraftLivery() to return livery without path
CService::getAircraftLivery() is expected to return the livery name itself without the full path. ref T378
This commit is contained in:
committed by
Klaus Basan
parent
1fecf65a40
commit
1a63c00a71
@@ -43,6 +43,7 @@ namespace BlackMiscTest
|
||||
QCOMPARE(QString::fromStdString(getFileName("foo/test.txt")), QString("test.txt"));
|
||||
QCOMPARE(QString::fromStdString(getFileName("test.txt")), QString("test.txt"));
|
||||
QCOMPARE(QString::fromStdString(getFileName("foo/test.txt.txt")), QString("test.txt.txt"));
|
||||
QCOMPARE(QString::fromStdString(getFileName("foo/bar")), QString("bar"));
|
||||
}
|
||||
|
||||
void CTestXPlane::getDirNameTest()
|
||||
|
||||
Reference in New Issue
Block a user