public void SyncOperationsOrderCanHaveCustomOrder(SyncOperationType firstOperation, SyncOperationType secondOperation, SyncOperationType thirdOperation)
        {
            var syncOperationsOrder = new SyncOperationsOrder();

            syncOperationsOrder.Order[0] = firstOperation;
            syncOperationsOrder.Order[1] = secondOperation;
            syncOperationsOrder.Order[2] = thirdOperation;

            syncOperationsOrder.HasDuplicates().Should().BeFalse();
        }
Пример #2
0
 public SyncOperation(IFileSystemInfo source, IFileSystemInfo target, SyncOperationType operationType)
 {
     Source        = source;
     Target        = target;
     OperationType = operationType;
 }