Code reorganized

master
Inga 🏳‍🌈 8 years ago
parent 1bcd907ed1
commit 1349d04597
  1. 99
      EternalArrowBackup.sln
  2. 1
      Source/.gitignore
  3. 2
      Source/BackupEngine/Contracts/EternalArrowBackup.BackupEngine.Contracts.csproj
  4. 2
      Source/BackupEngine/Contracts/IBackupEngine.cs
  5. 6
      Source/BackupEngine/Contracts/IBackupReport.cs
  6. 5
      Source/ContentTransformer/ClearText/ClearTextContentEncryptor.cs
  7. 3
      Source/ContentTransformer/ClearText/EternalArrowBackup.ContentTransformer.ClearText.csproj
  8. 7
      Source/ContentTransformer/Contracts/EternalArrowBackup.ContentTransformer.Contracts.csproj
  9. 2
      Source/ContentTransformer/Contracts/IContentTransformer.cs
  10. 2
      Source/ContentTransformer/Contracts/IDecryptionResult.cs
  11. 7
      Source/Hasher/Contracts/EternalArrowBackup.Hasher.Contracts.csproj
  12. 2
      Source/Hasher/Contracts/IContentHasher.cs
  13. 2
      Source/Hasher/SHA1/EternalArrowBackup.Hasher.SHA1.csproj
  14. 2
      Source/Hasher/SHA1/SHA1ContentHasher.cs
  15. 7
      Source/ReportStorage/Contracts/EternalArrowBackup.ReportStorage.Contracts.csproj
  16. 2
      Source/ReportStorage/Contracts/IFileInfo.cs
  17. 2
      Source/ReportStorage/Contracts/IReportInfo.cs
  18. 2
      Source/ReportStorage/Contracts/IReportStorage.cs
  19. 7
      Source/SourceStorage/Contracts/EternalArrowBackup.SourceStorage.Contracts.csproj
  20. 2
      Source/SourceStorage/Contracts/ISourceDirectory.cs
  21. 2
      Source/SourceStorage/Contracts/ISourceFile.cs
  22. 2
      Source/SourceStorage/Contracts/ISourceStorage.cs
  23. 7
      Source/TargetBinaryStorage/Contracts/EternalArrowBackup.TargetBinaryStorage.Contracts.csproj
  24. 2
      Source/TargetBinaryStorage/Contracts/IBlobInfo.cs
  25. 2
      Source/TargetBinaryStorage/Contracts/ITargetBinaryStorage.cs
  26. 7
      Source/TargetMetadataStorage/Contracts/EternalArrowBackup.TargetMetadataStorage.Contracts.csproj
  27. 2
      Source/TargetMetadataStorage/Contracts/ITargetDirectory.cs
  28. 2
      Source/TargetMetadataStorage/Contracts/ITargetFile.cs
  29. 2
      Source/TargetMetadataStorage/Contracts/ITargetFileVersion.cs
  30. 2
      Source/TargetMetadataStorage/Contracts/ITargetMetadataStorage.cs
  31. 2
      Source/TargetMetadataStorage/Contracts/ITargetMetadataStorageForRecovery.cs
  32. 1
      Tests/.gitignore
  33. 2
      Tests/ContentTransformer/ClearText/EncryptorAndHasherTests.cs
  34. 5
      Tests/ContentTransformer/ClearText/EternalArrowBackup.ContentTransformer.ClearText.Tests.csproj
  35. 2
      Tests/Hasher/SHA1/EternalArrowBackup.Hasher.SHA1.Tests.csproj
  36. 0
      Tests/Hasher/SHA1/HasherTests.cs
  37. 4
      appveyor.yml

@ -5,17 +5,47 @@ VisualStudioVersion = 15.0.26430.14
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Source", "Source", "{A79A4872-4289-4429-B616-3E8CEC71ECB8}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "EternalArrowBackup.Contracts", "Source\Contracts\EternalArrowBackup.Contracts.csproj", "{9A363462-23E2-49FB-A65C-7B1CA1400046}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tests", "Tests", "{884B8E01-303A-40CF-8884-D62115F98683}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "EternalArrowBackup.Hasher.SHA1", "Source\Hasher.SHA1\EternalArrowBackup.Hasher.SHA1.csproj", "{623151DA-A4E0-4A7F-B600-A51ABCDE7038}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "EternalArrowBackup.Hasher.SHA1", "Source\Hasher\SHA1\EternalArrowBackup.Hasher.SHA1.csproj", "{623151DA-A4E0-4A7F-B600-A51ABCDE7038}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "EternalArrowBackup.ContentTransformer.ClearText", "Source\ContentTransformer\ClearText\EternalArrowBackup.ContentTransformer.ClearText.csproj", "{E8D0BBF5-8DA6-49FA-AC86-9F766C203D99}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "EternalArrowBackup.Hasher.SHA1.Tests", "Tests\Hasher\SHA1\EternalArrowBackup.Hasher.SHA1.Tests.csproj", "{92AF4CAA-64AF-4A43-A637-CD10FFEB2FEC}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "EternalArrowBackup.ContentTransformer.ClearText.Tests", "Tests\ContentTransformer\ClearText\EternalArrowBackup.ContentTransformer.ClearText.Tests.csproj", "{0F91FC45-54B3-4BC0-BB3D-83E963EBD00D}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "EternalArrowBackup.SourceStorage.Contracts", "Source\SourceStorage\Contracts\EternalArrowBackup.SourceStorage.Contracts.csproj", "{A0E76983-9814-4F9D-9CF7-44596DD09E75}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "SourceStorage", "SourceStorage", "{05426D05-AE66-4C5C-8B8E-403A46ADC49D}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ReportStorage", "ReportStorage", "{8FA27C30-856D-4895-87AD-BE71847B76EF}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "EternalArrowBackup.ReportStorage.Contracts", "Source\ReportStorage\Contracts\EternalArrowBackup.ReportStorage.Contracts.csproj", "{1B03EA65-DA8B-42C3-8784-39630B064E80}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "TargetBinaryStorage", "TargetBinaryStorage", "{85879329-E36C-4585-8019-2825DEB4D0B8}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "EternalArrowBackup.TargetBinaryStorage.Contracts", "Source\TargetBinaryStorage\Contracts\EternalArrowBackup.TargetBinaryStorage.Contracts.csproj", "{8FA414B1-43BA-42E0-AD9C-FD0CF5A586E2}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "TargetMetadataStorage", "TargetMetadataStorage", "{99C42B64-99CF-4FB3-B270-079476B43FF7}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "EternalArrowBackup.TargetMetadataStorage.Contracts", "Source\TargetMetadataStorage\Contracts\EternalArrowBackup.TargetMetadataStorage.Contracts.csproj", "{73433E73-1D8E-40D6-B118-F5C0A1CFC402}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ContentTransformer", "ContentTransformer", "{72A93FF8-60AE-4470-8D44-BE5B41A0F70E}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "EternalArrowBackup.ContentTransformer.Contracts", "Source\ContentTransformer\Contracts\EternalArrowBackup.ContentTransformer.Contracts.csproj", "{67AFDB2B-3D8C-4158-A837-94A599D8CB33}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Hasher", "Hasher", "{DB06FC76-26C2-44E2-A502-9FD48A8B9205}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "EternalArrowBackup.Hasher.Contracts", "Source\Hasher\Contracts\EternalArrowBackup.Hasher.Contracts.csproj", "{8825DE11-90AA-4C81-BB2A-24D498708D1A}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "BackupEngine", "BackupEngine", "{FF7B2ECB-6EE0-4A60-8893-2F27CE9034A7}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "EternalArrowBackup.Encryptor.ClearText", "Source\Encryptor.ClearText\EternalArrowBackup.Encryptor.ClearText.csproj", "{E8D0BBF5-8DA6-49FA-AC86-9F766C203D99}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "EternalArrowBackup.BackupEngine.Contracts", "Source\BackupEngine\Contracts\EternalArrowBackup.BackupEngine.Contracts.csproj", "{ACDA1912-B9A4-4C88-9C30-4C0ADB907FC7}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EternalArrowBackup.Hasher.SHA1.Tests", "Tests\Hasher.SHA1\EternalArrowBackup.Hasher.SHA1.Tests.csproj", "{92AF4CAA-64AF-4A43-A637-CD10FFEB2FEC}"
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ContentTransformer", "ContentTransformer", "{8D284ABE-FDF1-4E01-832B-8918798E3FA5}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "EternalArrowBackup.Encryptor.ClearText.Tests", "Tests\Encryptor.ClearText\EternalArrowBackup.Encryptor.ClearText.Tests.csproj", "{0F91FC45-54B3-4BC0-BB3D-83E963EBD00D}"
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Hasher", "Hasher", "{0059A121-D191-48FE-9215-F71CE1057EEB}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@ -23,10 +53,6 @@ Global
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{9A363462-23E2-49FB-A65C-7B1CA1400046}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{9A363462-23E2-49FB-A65C-7B1CA1400046}.Debug|Any CPU.Build.0 = Debug|Any CPU
{9A363462-23E2-49FB-A65C-7B1CA1400046}.Release|Any CPU.ActiveCfg = Release|Any CPU
{9A363462-23E2-49FB-A65C-7B1CA1400046}.Release|Any CPU.Build.0 = Release|Any CPU
{623151DA-A4E0-4A7F-B600-A51ABCDE7038}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{623151DA-A4E0-4A7F-B600-A51ABCDE7038}.Debug|Any CPU.Build.0 = Debug|Any CPU
{623151DA-A4E0-4A7F-B600-A51ABCDE7038}.Release|Any CPU.ActiveCfg = Release|Any CPU
@ -43,15 +69,58 @@ Global
{0F91FC45-54B3-4BC0-BB3D-83E963EBD00D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{0F91FC45-54B3-4BC0-BB3D-83E963EBD00D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{0F91FC45-54B3-4BC0-BB3D-83E963EBD00D}.Release|Any CPU.Build.0 = Release|Any CPU
{A0E76983-9814-4F9D-9CF7-44596DD09E75}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A0E76983-9814-4F9D-9CF7-44596DD09E75}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A0E76983-9814-4F9D-9CF7-44596DD09E75}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A0E76983-9814-4F9D-9CF7-44596DD09E75}.Release|Any CPU.Build.0 = Release|Any CPU
{1B03EA65-DA8B-42C3-8784-39630B064E80}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1B03EA65-DA8B-42C3-8784-39630B064E80}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1B03EA65-DA8B-42C3-8784-39630B064E80}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1B03EA65-DA8B-42C3-8784-39630B064E80}.Release|Any CPU.Build.0 = Release|Any CPU
{8FA414B1-43BA-42E0-AD9C-FD0CF5A586E2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{8FA414B1-43BA-42E0-AD9C-FD0CF5A586E2}.Debug|Any CPU.Build.0 = Debug|Any CPU
{8FA414B1-43BA-42E0-AD9C-FD0CF5A586E2}.Release|Any CPU.ActiveCfg = Release|Any CPU
{8FA414B1-43BA-42E0-AD9C-FD0CF5A586E2}.Release|Any CPU.Build.0 = Release|Any CPU
{73433E73-1D8E-40D6-B118-F5C0A1CFC402}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{73433E73-1D8E-40D6-B118-F5C0A1CFC402}.Debug|Any CPU.Build.0 = Debug|Any CPU
{73433E73-1D8E-40D6-B118-F5C0A1CFC402}.Release|Any CPU.ActiveCfg = Release|Any CPU
{73433E73-1D8E-40D6-B118-F5C0A1CFC402}.Release|Any CPU.Build.0 = Release|Any CPU
{67AFDB2B-3D8C-4158-A837-94A599D8CB33}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{67AFDB2B-3D8C-4158-A837-94A599D8CB33}.Debug|Any CPU.Build.0 = Debug|Any CPU
{67AFDB2B-3D8C-4158-A837-94A599D8CB33}.Release|Any CPU.ActiveCfg = Release|Any CPU
{67AFDB2B-3D8C-4158-A837-94A599D8CB33}.Release|Any CPU.Build.0 = Release|Any CPU
{8825DE11-90AA-4C81-BB2A-24D498708D1A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{8825DE11-90AA-4C81-BB2A-24D498708D1A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{8825DE11-90AA-4C81-BB2A-24D498708D1A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{8825DE11-90AA-4C81-BB2A-24D498708D1A}.Release|Any CPU.Build.0 = Release|Any CPU
{ACDA1912-B9A4-4C88-9C30-4C0ADB907FC7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{ACDA1912-B9A4-4C88-9C30-4C0ADB907FC7}.Debug|Any CPU.Build.0 = Debug|Any CPU
{ACDA1912-B9A4-4C88-9C30-4C0ADB907FC7}.Release|Any CPU.ActiveCfg = Release|Any CPU
{ACDA1912-B9A4-4C88-9C30-4C0ADB907FC7}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{9A363462-23E2-49FB-A65C-7B1CA1400046} = {A79A4872-4289-4429-B616-3E8CEC71ECB8}
{623151DA-A4E0-4A7F-B600-A51ABCDE7038} = {A79A4872-4289-4429-B616-3E8CEC71ECB8}
{E8D0BBF5-8DA6-49FA-AC86-9F766C203D99} = {A79A4872-4289-4429-B616-3E8CEC71ECB8}
{92AF4CAA-64AF-4A43-A637-CD10FFEB2FEC} = {884B8E01-303A-40CF-8884-D62115F98683}
{0F91FC45-54B3-4BC0-BB3D-83E963EBD00D} = {884B8E01-303A-40CF-8884-D62115F98683}
{623151DA-A4E0-4A7F-B600-A51ABCDE7038} = {DB06FC76-26C2-44E2-A502-9FD48A8B9205}
{E8D0BBF5-8DA6-49FA-AC86-9F766C203D99} = {72A93FF8-60AE-4470-8D44-BE5B41A0F70E}
{92AF4CAA-64AF-4A43-A637-CD10FFEB2FEC} = {0059A121-D191-48FE-9215-F71CE1057EEB}
{0F91FC45-54B3-4BC0-BB3D-83E963EBD00D} = {8D284ABE-FDF1-4E01-832B-8918798E3FA5}
{A0E76983-9814-4F9D-9CF7-44596DD09E75} = {05426D05-AE66-4C5C-8B8E-403A46ADC49D}
{05426D05-AE66-4C5C-8B8E-403A46ADC49D} = {A79A4872-4289-4429-B616-3E8CEC71ECB8}
{8FA27C30-856D-4895-87AD-BE71847B76EF} = {A79A4872-4289-4429-B616-3E8CEC71ECB8}
{1B03EA65-DA8B-42C3-8784-39630B064E80} = {8FA27C30-856D-4895-87AD-BE71847B76EF}
{85879329-E36C-4585-8019-2825DEB4D0B8} = {A79A4872-4289-4429-B616-3E8CEC71ECB8}
{8FA414B1-43BA-42E0-AD9C-FD0CF5A586E2} = {85879329-E36C-4585-8019-2825DEB4D0B8}
{99C42B64-99CF-4FB3-B270-079476B43FF7} = {A79A4872-4289-4429-B616-3E8CEC71ECB8}
{73433E73-1D8E-40D6-B118-F5C0A1CFC402} = {99C42B64-99CF-4FB3-B270-079476B43FF7}
{72A93FF8-60AE-4470-8D44-BE5B41A0F70E} = {A79A4872-4289-4429-B616-3E8CEC71ECB8}
{67AFDB2B-3D8C-4158-A837-94A599D8CB33} = {72A93FF8-60AE-4470-8D44-BE5B41A0F70E}
{DB06FC76-26C2-44E2-A502-9FD48A8B9205} = {A79A4872-4289-4429-B616-3E8CEC71ECB8}
{8825DE11-90AA-4C81-BB2A-24D498708D1A} = {DB06FC76-26C2-44E2-A502-9FD48A8B9205}
{FF7B2ECB-6EE0-4A60-8893-2F27CE9034A7} = {A79A4872-4289-4429-B616-3E8CEC71ECB8}
{ACDA1912-B9A4-4C88-9C30-4C0ADB907FC7} = {FF7B2ECB-6EE0-4A60-8893-2F27CE9034A7}
{8D284ABE-FDF1-4E01-832B-8918798E3FA5} = {884B8E01-303A-40CF-8884-D62115F98683}
{0059A121-D191-48FE-9215-F71CE1057EEB} = {884B8E01-303A-40CF-8884-D62115F98683}
EndGlobalSection
EndGlobal

1
Source/.gitignore vendored

@ -0,0 +1 @@
!BackupEngine

@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard1.4</TargetFramework>

@ -1,4 +1,4 @@
namespace EternalArrowBackup.Contracts.BackupEngine
namespace EternalArrowBackup.BackupEngine.Contracts
{
using System.Threading;
using System.Threading.Tasks;

@ -1,7 +1,7 @@
using System;
namespace EternalArrowBackup.Contracts.BackupEngine
namespace EternalArrowBackup.BackupEngine.Contracts
{
using System;
public class IBackupReport
{
public long FilesUploaded { get; }

@ -1,10 +1,11 @@
namespace EternalArrowBackup.Encryptor.ClearText
namespace EternalArrowBackup.ContentTransformer.ClearText
{
using System;
using System.IO;
using System.Text;
using System.Threading.Tasks;
using Contracts.ContentTransformations;
using EternalArrowBackup.ContentTransformer.Contracts;
using EternalArrowBackup.Hasher.Contracts;
public class ClearTextContentEncryptor : IContentTransformer
{

@ -5,7 +5,8 @@
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\Contracts\EternalArrowBackup.Contracts.csproj" />
<ProjectReference Include="..\..\Hasher\Contracts\EternalArrowBackup.Hasher.Contracts.csproj" />
<ProjectReference Include="..\Contracts\EternalArrowBackup.ContentTransformer.Contracts.csproj" />
</ItemGroup>
</Project>

@ -0,0 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard1.4</TargetFramework>
</PropertyGroup>
</Project>

@ -1,4 +1,4 @@
namespace EternalArrowBackup.Contracts.ContentTransformations
namespace EternalArrowBackup.ContentTransformer.Contracts
{
using System.Threading.Tasks;

@ -1,4 +1,4 @@
namespace EternalArrowBackup.Contracts.ContentTransformations
namespace EternalArrowBackup.ContentTransformer.Contracts
{
public interface IDecryptionResult
{

@ -0,0 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard1.4</TargetFramework>
</PropertyGroup>
</Project>

@ -1,4 +1,4 @@
namespace EternalArrowBackup.Contracts.ContentTransformations
namespace EternalArrowBackup.Hasher.Contracts
{
using System.IO;
using System.Threading.Tasks;

@ -5,7 +5,7 @@
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\Contracts\EternalArrowBackup.Contracts.csproj" />
<ProjectReference Include="..\Contracts\EternalArrowBackup.Hasher.Contracts.csproj" />
</ItemGroup>
</Project>

@ -3,7 +3,7 @@
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Contracts.ContentTransformations;
using EternalArrowBackup.Hasher.Contracts;
public class SHA1ContentHasher : IContentHasher
{

@ -0,0 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard1.4</TargetFramework>
</PropertyGroup>
</Project>

@ -1,4 +1,4 @@
namespace EternalArrowBackup.Contracts.ReportStorage
namespace EternalArrowBackup.ReportStorage.Contracts
{
public interface IFileInfo
{

@ -1,4 +1,4 @@
namespace EternalArrowBackup.Contracts.ReportStorage
namespace EternalArrowBackup.ReportStorage.Contracts
{
using System;

@ -1,4 +1,4 @@
namespace EternalArrowBackup.Contracts.ReportStorage
namespace EternalArrowBackup.ReportStorage.Contracts
{
using System;
using System.Threading.Tasks;

@ -0,0 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard1.4</TargetFramework>
</PropertyGroup>
</Project>

@ -1,4 +1,4 @@
namespace EternalArrowBackup.Contracts.SourceStorage
namespace EternalArrowBackup.SourceStorage.Contracts
{
using System;
using System.Threading;

@ -1,4 +1,4 @@
namespace EternalArrowBackup.Contracts.SourceStorage
namespace EternalArrowBackup.SourceStorage.Contracts
{
using System.Threading.Tasks;

@ -1,4 +1,4 @@
namespace EternalArrowBackup.Contracts.SourceStorage
namespace EternalArrowBackup.SourceStorage.Contracts
{
using System;
using System.Threading;

@ -0,0 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard1.4</TargetFramework>
</PropertyGroup>
</Project>

@ -1,4 +1,4 @@
namespace EternalArrowBackup.Contracts.TargetBinaryStorage
namespace EternalArrowBackup.TargetBinaryStorage.Contracts
{
using System;

@ -1,4 +1,4 @@
namespace EternalArrowBackup.Contracts.TargetBinaryStorage
namespace EternalArrowBackup.TargetBinaryStorage.Contracts
{
using System.Threading.Tasks;

@ -0,0 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard1.4</TargetFramework>
</PropertyGroup>
</Project>

@ -1,4 +1,4 @@
namespace EternalArrowBackup.Contracts.TargetMetadataStorage
namespace EternalArrowBackup.TargetMetadataStorage.Contracts
{
using System;
using System.Threading;

@ -1,4 +1,4 @@
namespace EternalArrowBackup.Contracts.TargetMetadataStorage
namespace EternalArrowBackup.TargetMetadataStorage.Contracts
{
using System;
using System.Threading;

@ -1,4 +1,4 @@
namespace EternalArrowBackup.Contracts.TargetMetadataStorage
namespace EternalArrowBackup.TargetMetadataStorage.Contracts
{
using System;

@ -1,4 +1,4 @@
namespace EternalArrowBackup.Contracts.TargetMetadataStorage
namespace EternalArrowBackup.TargetMetadataStorage.Contracts
{
using System.Threading.Tasks;

@ -1,4 +1,4 @@
namespace EternalArrowBackup.Contracts.TargetMetadataStorage
namespace EternalArrowBackup.TargetMetadataStorage.Contracts
{
using System;
using System.Threading;

1
Tests/.gitignore vendored

@ -0,0 +1 @@
!BackupEngine

@ -1,4 +1,4 @@
namespace EternalArrowBackup.Encryptor.ClearText.Tests
namespace EternalArrowBackup.ContentTransformer.ClearText.Tests
{
using System.Text;
using System.Threading.Tasks;

@ -11,8 +11,9 @@
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\Source\Encryptor.ClearText\EternalArrowBackup.Encryptor.ClearText.csproj" />
<ProjectReference Include="..\..\Source\Hasher.SHA1\EternalArrowBackup.Hasher.SHA1.csproj" />
<ProjectReference Include="..\..\..\Source\ContentTransformer\ClearText\EternalArrowBackup.ContentTransformer.ClearText.csproj" />
<ProjectReference Include="..\..\..\Source\Hasher\Contracts\EternalArrowBackup.Hasher.Contracts.csproj" />
<ProjectReference Include="..\..\..\Source\Hasher\SHA1\EternalArrowBackup.Hasher.SHA1.csproj" />
</ItemGroup>
<ItemGroup>

@ -11,7 +11,7 @@
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\Source\Hasher.SHA1\EternalArrowBackup.Hasher.SHA1.csproj" />
<ProjectReference Include="..\..\..\Source\Hasher\SHA1\EternalArrowBackup.Hasher.SHA1.csproj" />
</ItemGroup>
<ItemGroup>

@ -5,5 +5,5 @@ before_build:
build:
verbosity: minimal
test_script:
- cmd: dotnet test --filter Category!=Integration tests\Encryptor.ClearText\EternalArrowBackup.Encryptor.ClearText.Tests.csproj
- cmd: dotnet test --filter Category!=Integration tests\Hasher.SHA1\EternalArrowBackup.Hasher.SHA1.Tests.csproj
- cmd: dotnet test --filter Category!=Integration tests\ContentTransformer\ClearText\EternalArrowBackup.ContentTransformer.ClearText.Tests.csproj
- cmd: dotnet test --filter Category!=Integration tests\Hasher\SHA1\EternalArrowBackup.Hasher.SHA1.Tests.csproj

Loading…
Cancel
Save