Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorHannah von Reth <hannah.vonreth@owncloud.com>2020-04-22 16:23:18 +0300
committerHannah von Reth <vonreth@kde.org>2020-04-23 12:52:05 +0300
commitedfe123e5fe770e077701b42550deec57148047e (patch)
tree8a9fc9854cb1678d94c7a3cc98304825dcff5c45 /test
parentfbe53308f7f34fcd50fdb2a8b3222bf71c20eab7 (diff)
Rename csync_instructions_e -> SyncInsturctions
Diffstat (limited to 'test')
-rw-r--r--test/testpermissions.cpp4
-rw-r--r--test/testsyncconflict.cpp2
-rw-r--r--test/testsyncengine.cpp2
-rw-r--r--test/testsyncmove.cpp2
-rw-r--r--test/testsyncvirtualfiles.cpp2
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;