From 91f983aab5a31cae59e60185d2851f7d00e6ea98 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Mon, 24 Oct 2016 19:43:27 +0200 Subject: [PATCH] Files renamed --- ...nkParrot.Core.xproj => Squidex.Core.xproj} | 0 ...rrot.Events.xproj => Squidex.Events.xproj} | 0 ...ure.xproj => Squidex.Infrastructure.xproj} | 0 ...nkParrot.Read.xproj => Squidex.Read.xproj} | 0 ...goDb.xproj => Squidex.Store.MongoDb.xproj} | 0 ...Parrot.Write.xproj => Squidex.Write.xproj} | 0 .../{PinkParrot.xproj => Squidex.xproj} | 0 .../CQRS/EnvelopeExtensionsTest.cs | 75 ------------------- ...roj => Squidex.Infrastructure.Tests.xproj} | 0 ....Tests.xproj => Squidex.Write.Tests.xproj} | 0 10 files changed, 75 deletions(-) rename src/PinkParrot.Core/{PinkParrot.Core.xproj => Squidex.Core.xproj} (100%) rename src/PinkParrot.Events/{PinkParrot.Events.xproj => Squidex.Events.xproj} (100%) rename src/PinkParrot.Infrastructure/{PinkParrot.Infrastructure.xproj => Squidex.Infrastructure.xproj} (100%) rename src/PinkParrot.Read/{PinkParrot.Read.xproj => Squidex.Read.xproj} (100%) rename src/PinkParrot.Store.MongoDb/{PinkParrot.Store.MongoDb.xproj => Squidex.Store.MongoDb.xproj} (100%) rename src/PinkParrot.Write/{PinkParrot.Write.xproj => Squidex.Write.xproj} (100%) rename src/PinkParrot/{PinkParrot.xproj => Squidex.xproj} (100%) delete mode 100644 src/pinkparrot_infrastructure/PinkParrot.Infrastructure.Tests/CQRS/EnvelopeExtensionsTest.cs rename tests/PinkParrot.Infrastructure.Tests/{PinkParrot.Infrastructure.Tests.xproj => Squidex.Infrastructure.Tests.xproj} (100%) rename tests/PinkParrot.Write.Tests/{PinkParrot.Write.Tests.xproj => Squidex.Write.Tests.xproj} (100%) diff --git a/src/PinkParrot.Core/PinkParrot.Core.xproj b/src/PinkParrot.Core/Squidex.Core.xproj similarity index 100% rename from src/PinkParrot.Core/PinkParrot.Core.xproj rename to src/PinkParrot.Core/Squidex.Core.xproj diff --git a/src/PinkParrot.Events/PinkParrot.Events.xproj b/src/PinkParrot.Events/Squidex.Events.xproj similarity index 100% rename from src/PinkParrot.Events/PinkParrot.Events.xproj rename to src/PinkParrot.Events/Squidex.Events.xproj diff --git a/src/PinkParrot.Infrastructure/PinkParrot.Infrastructure.xproj b/src/PinkParrot.Infrastructure/Squidex.Infrastructure.xproj similarity index 100% rename from src/PinkParrot.Infrastructure/PinkParrot.Infrastructure.xproj rename to src/PinkParrot.Infrastructure/Squidex.Infrastructure.xproj diff --git a/src/PinkParrot.Read/PinkParrot.Read.xproj b/src/PinkParrot.Read/Squidex.Read.xproj similarity index 100% rename from src/PinkParrot.Read/PinkParrot.Read.xproj rename to src/PinkParrot.Read/Squidex.Read.xproj diff --git a/src/PinkParrot.Store.MongoDb/PinkParrot.Store.MongoDb.xproj b/src/PinkParrot.Store.MongoDb/Squidex.Store.MongoDb.xproj similarity index 100% rename from src/PinkParrot.Store.MongoDb/PinkParrot.Store.MongoDb.xproj rename to src/PinkParrot.Store.MongoDb/Squidex.Store.MongoDb.xproj diff --git a/src/PinkParrot.Write/PinkParrot.Write.xproj b/src/PinkParrot.Write/Squidex.Write.xproj similarity index 100% rename from src/PinkParrot.Write/PinkParrot.Write.xproj rename to src/PinkParrot.Write/Squidex.Write.xproj diff --git a/src/PinkParrot/PinkParrot.xproj b/src/PinkParrot/Squidex.xproj similarity index 100% rename from src/PinkParrot/PinkParrot.xproj rename to src/PinkParrot/Squidex.xproj diff --git a/src/pinkparrot_infrastructure/PinkParrot.Infrastructure.Tests/CQRS/EnvelopeExtensionsTest.cs b/src/pinkparrot_infrastructure/PinkParrot.Infrastructure.Tests/CQRS/EnvelopeExtensionsTest.cs deleted file mode 100644 index 05a650182..000000000 --- a/src/pinkparrot_infrastructure/PinkParrot.Infrastructure.Tests/CQRS/EnvelopeExtensionsTest.cs +++ /dev/null @@ -1,75 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; -using NodaTime; -using NuGet.Versioning; -using Xunit; - -namespace PinkParrot.Infrastructure.CQRS -{ - public class EnvelopeExtensionsTest - { - private readonly Envelope envelope = new Envelope(1, new EnvelopeHeaders()); - - [Fact] - public void Should_set_and_get_timestamp() - { - var timestamp = SystemClock.Instance.GetCurrentInstant(); - - envelope.SetTimestamp(timestamp); - - Assert.Equal(timestamp, envelope.Headers.Timestamp()); - } - - [Fact] - public void Should_set_and_get_event_id() - { - var eventId = Guid.NewGuid(); - - envelope.SetEventId(eventId); - - Assert.Equal(eventId, envelope.Headers.EventId()); - } - - [Fact] - public void Should_set_and_get_event_number() - { - const int eventNumber = 123; - - envelope.SetEventNumber(eventNumber); - - Assert.Equal(eventNumber, envelope.Headers.EventNumber()); - } - - [Fact] - public void Should_set_and_get_aggregate_id() - { - var aggregateId = Guid.NewGuid(); - - envelope.SetAggregateId(aggregateId); - - Assert.Equal(aggregateId, envelope.Headers.AggregateId()); - } - - [Fact] - public void Should_set_and_get_tenant_id() - { - var tenantId = Guid.NewGuid(); - - envelope.SetTenantId(tenantId); - - Assert.Equal(tenantId, envelope.Headers.TenantId()); - } - - [Fact] - public void Should_set_and_get_commit_id() - { - var commitId = Guid.NewGuid(); - - envelope.SetCommitId(commitId); - - Assert.Equal(commitId, envelope.Headers.CommitId()); - } - } -} diff --git a/tests/PinkParrot.Infrastructure.Tests/PinkParrot.Infrastructure.Tests.xproj b/tests/PinkParrot.Infrastructure.Tests/Squidex.Infrastructure.Tests.xproj similarity index 100% rename from tests/PinkParrot.Infrastructure.Tests/PinkParrot.Infrastructure.Tests.xproj rename to tests/PinkParrot.Infrastructure.Tests/Squidex.Infrastructure.Tests.xproj diff --git a/tests/PinkParrot.Write.Tests/PinkParrot.Write.Tests.xproj b/tests/PinkParrot.Write.Tests/Squidex.Write.Tests.xproj similarity index 100% rename from tests/PinkParrot.Write.Tests/PinkParrot.Write.Tests.xproj rename to tests/PinkParrot.Write.Tests/Squidex.Write.Tests.xproj