diff options
author | Hannah von Reth <hannah.vonreth@owncloud.com> | 2020-04-22 16:23:18 +0300 |
---|---|---|
committer | Hannah von Reth <vonreth@kde.org> | 2020-04-23 12:52:05 +0300 |
commit | edfe123e5fe770e077701b42550deec57148047e (patch) | |
tree | 8a9fc9854cb1678d94c7a3cc98304825dcff5c45 /test | |
parent | fbe53308f7f34fcd50fdb2a8b3222bf71c20eab7 (diff) |
Rename csync_instructions_e -> SyncInsturctions
Diffstat (limited to 'test')
-rw-r--r-- | test/testpermissions.cpp | 4 | ||||
-rw-r--r-- | test/testsyncconflict.cpp | 2 | ||||
-rw-r--r-- | test/testsyncengine.cpp | 2 | ||||
-rw-r--r-- | test/testsyncmove.cpp | 2 | ||||
-rw-r--r-- | test/testsyncvirtualfiles.cpp | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/test/testpermissions.cpp b/test/testpermissions.cpp index 8fdcc62de..6836c331f 100644 --- a/test/testpermissions.cpp +++ b/test/testpermissions.cpp @@ -50,13 +50,13 @@ SyncFileItemPtr findDiscoveryItem(const SyncFileItemVector &spy, const QString & return SyncFileItemPtr(new SyncFileItem); } -bool itemInstruction(const ItemCompletedSpy &spy, const QString &path, const csync_instructions_e instr) +bool itemInstruction(const ItemCompletedSpy &spy, const QString &path, const SyncInstructions instr) { auto item = spy.findItem(path); return item->_instruction == instr; } -bool discoveryInstruction(const SyncFileItemVector &spy, const QString &path, const csync_instructions_e instr) +bool discoveryInstruction(const SyncFileItemVector &spy, const QString &path, const SyncInstructions instr) { auto item = findDiscoveryItem(spy, path); return item->_instruction == instr; diff --git a/test/testsyncconflict.cpp b/test/testsyncconflict.cpp index 4138d9f88..fdd6091da 100644 --- a/test/testsyncconflict.cpp +++ b/test/testsyncconflict.cpp @@ -11,7 +11,7 @@ using namespace OCC; -bool itemSuccessful(const ItemCompletedSpy &spy, const QString &path, const csync_instructions_e instr) +bool itemSuccessful(const ItemCompletedSpy &spy, const QString &path, const SyncInstructions instr) { auto item = spy.findItem(path); return item->_status == SyncFileItem::Success && item->_instruction == instr; diff --git a/test/testsyncengine.cpp b/test/testsyncengine.cpp index 224acd307..4213252d5 100644 --- a/test/testsyncengine.cpp +++ b/test/testsyncengine.cpp @@ -19,7 +19,7 @@ bool itemDidComplete(const ItemCompletedSpy &spy, const QString &path) return false; } -bool itemInstruction(const ItemCompletedSpy &spy, const QString &path, const csync_instructions_e instr) +bool itemInstruction(const ItemCompletedSpy &spy, const QString &path, const SyncInstructions instr) { auto item = spy.findItem(path); return item->_instruction == instr; diff --git a/test/testsyncmove.cpp b/test/testsyncmove.cpp index b97d38e41..ebdf4a246 100644 --- a/test/testsyncmove.cpp +++ b/test/testsyncmove.cpp @@ -35,7 +35,7 @@ struct OperationCounter { } }; -bool itemSuccessful(const ItemCompletedSpy &spy, const QString &path, const csync_instructions_e instr) +bool itemSuccessful(const ItemCompletedSpy &spy, const QString &path, const SyncInstructions instr) { auto item = spy.findItem(path); return item->_status == SyncFileItem::Success && item->_instruction == instr; diff --git a/test/testsyncvirtualfiles.cpp b/test/testsyncvirtualfiles.cpp index 71af44185..f46888518 100644 --- a/test/testsyncvirtualfiles.cpp +++ b/test/testsyncvirtualfiles.cpp @@ -15,7 +15,7 @@ using namespace OCC; #define DVSUFFIX APPLICATION_DOTVIRTUALFILE_SUFFIX -bool itemInstruction(const ItemCompletedSpy &spy, const QString &path, const csync_instructions_e instr) +bool itemInstruction(const ItemCompletedSpy &spy, const QString &path, const SyncInstructions instr) { auto item = spy.findItem(path); return item->_instruction == instr; |