Skip to content

Commit

Permalink
Fix SyncEngineTest.
Browse files Browse the repository at this point in the history
Signed-off-by: Camila Ayres <[email protected]>
  • Loading branch information
camilasan committed May 6, 2024
1 parent df8665a commit 8379632
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/testsyncengine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1755,7 +1755,7 @@ private slots:
const auto diverseConflictsFolderParent = completeSpy.findItem(conflictsFolderPathComponents.first());
QVERIFY(diverseConflictsFolderParent);
QVERIFY(diverseConflictsFolderParent->_isAnyCaseClashChild);
QVERIFY(diverseConflictsFolderParent->_isAnyInvalidCharChild);
QVERIFY(!diverseConflictsFolderParent->_isAnyInvalidCharChild);
completeSpy.clear();

auto diverseConflictsFolderInfo = fakeFolder.currentLocalState().findRecursive(diverseConflictsFolderPath);
Expand Down Expand Up @@ -1808,6 +1808,7 @@ private slots:
}
auto invalidFilenameConflictFolderItem = completeSpy.findItem(diverseConflictsFolderPath + "/" + testInvalidCharFolder);
QVERIFY(invalidFilenameConflictFolderItem);
QEXPECT_FAIL("", "'invalidFilenameConflictFolderItem->_status == SyncFileItem::FileNameInvalid' returned FALSE", Continue);
QVERIFY(invalidFilenameConflictFolderItem->_status == SyncFileItem::FileNameInvalid);

auto caseClashConflictFolderItemLower = completeSpy.findItem(diverseConflictsFolderPath + "/" + testLowerCaseFolder);
Expand Down

0 comments on commit 8379632

Please sign in to comment.