Skip to content

Commit a95d53a

Browse files
committed
test(sync): skip testMovedWithError suffix VFS row when plugin missing
Gate the Vfs::WithSuffix data row on isVfsPluginAvailable, mirroring the existing Vfs::WindowsCfApi handling, so the test skips instead of failing when the suffix plugin is not built. Assisted-by: Claude Code:claude-opus-4-8 Signed-off-by: Camila Ayres <hello@camilasan.com>
1 parent a3cacc9 commit a95d53a

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

test/testsyncmove.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -966,7 +966,11 @@ private slots:
966966
QTest::addColumn<Vfs::Mode>("vfsMode");
967967

968968
QTest::newRow("Vfs::Off") << Vfs::Off;
969-
QTest::newRow("Vfs::WithSuffix") << Vfs::WithSuffix;
969+
if (isVfsPluginAvailable(Vfs::WithSuffix)) {
970+
QTest::newRow("Vfs::WithSuffix") << Vfs::WithSuffix;
971+
} else {
972+
QWARN("Skipping Vfs::WithSuffix");
973+
}
970974
#ifdef Q_OS_WIN32
971975
if (isVfsPluginAvailable(Vfs::WindowsCfApi))
972976
{

0 commit comments

Comments
 (0)