From 8561847ed31bb13d18f4756800f1fff1e639b117 Mon Sep 17 00:00:00 2001 From: Tatarincev Date: Thu, 30 Jun 2016 17:52:01 +0200 Subject: [PATCH 1/5] Update VC packages --- .../VirtoCommerce.OrderModule.Data.csproj | 12 +++++----- .../packages.config | 6 ++--- .../VirtoCommerce.OrderModule.Test.csproj | 16 ++++++------- .../packages.config | 8 +++---- .../VirtoCommerce.OrderModule.Web.csproj | 24 +++++++++---------- VirtoCommerce.OrderModule.Web/packages.config | 12 +++++----- 6 files changed, 39 insertions(+), 39 deletions(-) diff --git a/VirtoCommerce.OrderModule.Data/VirtoCommerce.OrderModule.Data.csproj b/VirtoCommerce.OrderModule.Data/VirtoCommerce.OrderModule.Data.csproj index 4b387052..686754e6 100644 --- a/VirtoCommerce.OrderModule.Data/VirtoCommerce.OrderModule.Data.csproj +++ b/VirtoCommerce.OrderModule.Data/VirtoCommerce.OrderModule.Data.csproj @@ -70,16 +70,16 @@ - - ..\packages\VirtoCommerce.Domain.2.11.0\lib\net451\VirtoCommerce.Domain.dll + + ..\packages\VirtoCommerce.Domain.2.14.0\lib\net451\VirtoCommerce.Domain.dll True - - ..\packages\VirtoCommerce.Platform.Core.2.11.0\lib\net451\VirtoCommerce.Platform.Core.dll + + ..\packages\VirtoCommerce.Platform.Core.2.11.2\lib\net451\VirtoCommerce.Platform.Core.dll True - - ..\packages\VirtoCommerce.Platform.Data.2.11.0\lib\net451\VirtoCommerce.Platform.Data.dll + + ..\packages\VirtoCommerce.Platform.Data.2.11.2\lib\net451\VirtoCommerce.Platform.Data.dll True diff --git a/VirtoCommerce.OrderModule.Data/packages.config b/VirtoCommerce.OrderModule.Data/packages.config index 7f650fb4..a132e8f2 100644 --- a/VirtoCommerce.OrderModule.Data/packages.config +++ b/VirtoCommerce.OrderModule.Data/packages.config @@ -6,7 +6,7 @@ - - - + + + \ No newline at end of file diff --git a/VirtoCommerce.OrderModule.Test/VirtoCommerce.OrderModule.Test.csproj b/VirtoCommerce.OrderModule.Test/VirtoCommerce.OrderModule.Test.csproj index fb5bab7a..a62b22bf 100644 --- a/VirtoCommerce.OrderModule.Test/VirtoCommerce.OrderModule.Test.csproj +++ b/VirtoCommerce.OrderModule.Test/VirtoCommerce.OrderModule.Test.csproj @@ -87,20 +87,20 @@ ..\packages\VirtoCommerce.CartModule.Data.2.11.0\lib\net451\VirtoCommerce.CartModule.Data.dll True - - ..\packages\VirtoCommerce.CoreModule.Data.2.11.0\lib\net451\VirtoCommerce.CoreModule.Data.dll + + ..\packages\VirtoCommerce.CoreModule.Data.2.14.0\lib\net451\VirtoCommerce.CoreModule.Data.dll True - - ..\packages\VirtoCommerce.Domain.2.11.0\lib\net451\VirtoCommerce.Domain.dll + + ..\packages\VirtoCommerce.Domain.2.14.0\lib\net451\VirtoCommerce.Domain.dll True - - ..\packages\VirtoCommerce.Platform.Core.2.11.0\lib\net451\VirtoCommerce.Platform.Core.dll + + ..\packages\VirtoCommerce.Platform.Core.2.11.2\lib\net451\VirtoCommerce.Platform.Core.dll True - - ..\packages\VirtoCommerce.Platform.Data.2.11.0\lib\net451\VirtoCommerce.Platform.Data.dll + + ..\packages\VirtoCommerce.Platform.Data.2.11.2\lib\net451\VirtoCommerce.Platform.Data.dll True diff --git a/VirtoCommerce.OrderModule.Test/packages.config b/VirtoCommerce.OrderModule.Test/packages.config index d12519e1..6ef5a517 100644 --- a/VirtoCommerce.OrderModule.Test/packages.config +++ b/VirtoCommerce.OrderModule.Test/packages.config @@ -10,8 +10,8 @@ - - - - + + + + \ No newline at end of file diff --git a/VirtoCommerce.OrderModule.Web/VirtoCommerce.OrderModule.Web.csproj b/VirtoCommerce.OrderModule.Web/VirtoCommerce.OrderModule.Web.csproj index 7f05089c..b571572e 100644 --- a/VirtoCommerce.OrderModule.Web/VirtoCommerce.OrderModule.Web.csproj +++ b/VirtoCommerce.OrderModule.Web/VirtoCommerce.OrderModule.Web.csproj @@ -124,24 +124,24 @@ - - ..\packages\VirtoCommerce.CoreModule.Data.2.11.0\lib\net451\VirtoCommerce.CoreModule.Data.dll + + ..\packages\VirtoCommerce.CoreModule.Data.2.14.0\lib\net451\VirtoCommerce.CoreModule.Data.dll True - - ..\packages\VirtoCommerce.Domain.2.11.0\lib\net451\VirtoCommerce.Domain.dll + + ..\packages\VirtoCommerce.Domain.2.14.0\lib\net451\VirtoCommerce.Domain.dll True - - ..\packages\VirtoCommerce.Platform.Core.2.11.0\lib\net451\VirtoCommerce.Platform.Core.dll + + ..\packages\VirtoCommerce.Platform.Core.2.11.2\lib\net451\VirtoCommerce.Platform.Core.dll True - - ..\packages\VirtoCommerce.Platform.Core.Web.2.11.0\lib\net451\VirtoCommerce.Platform.Core.Web.dll + + ..\packages\VirtoCommerce.Platform.Core.Web.2.11.2\lib\net451\VirtoCommerce.Platform.Core.Web.dll True - - ..\packages\VirtoCommerce.Platform.Data.2.11.0\lib\net451\VirtoCommerce.Platform.Data.dll + + ..\packages\VirtoCommerce.Platform.Data.2.11.2\lib\net451\VirtoCommerce.Platform.Data.dll True @@ -286,12 +286,12 @@ - + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - + - - - - - - + From 1020a37ffcf713bbaae37df0595e2928f443e6ce Mon Sep 17 00:00:00 2001 From: Alexander Siniouguine Date: Thu, 30 Jun 2016 21:03:43 -0700 Subject: [PATCH 4/5] simplify sequence check tests --- VirtoCommerce.OrderModule.Test/SequencesScenarios.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/VirtoCommerce.OrderModule.Test/SequencesScenarios.cs b/VirtoCommerce.OrderModule.Test/SequencesScenarios.cs index 165c85cf..edaeed4d 100644 --- a/VirtoCommerce.OrderModule.Test/SequencesScenarios.cs +++ b/VirtoCommerce.OrderModule.Test/SequencesScenarios.cs @@ -62,11 +62,13 @@ public void Can_run_sequences_performance() Assert.False(GlobalNumbers.ContainsKey(result)); GlobalNumbers.Add(result, result); + /* don't need second checks here const string sql = "INSERT UniqueSequence VALUES(@p0);"; //This would fail if any duplicate generated beause we use primary key var sqlResult = repository.Database.ExecuteSqlCommand(sql, result); Assert.Equal(1, sqlResult); + */ } } @@ -75,12 +77,14 @@ protected CommerceRepositoryImpl GetRepository() var repository = new CommerceRepositoryImpl(ConnectionString, new EntityPrimaryKeyGeneratorInterceptor(), new AuditableInterceptor(null)); EnsureDatabaseInitialized(() => new CommerceRepositoryImpl(ConnectionString), () => Database.SetInitializer(new SetupDatabaseInitializer())); + /* const string sql = @"IF OBJECT_ID('dbo.UniqueSequence', 'U') IS NULL CREATE TABLE [dbo].[UniqueSequence]([Sequence] [nvarchar](255) NOT NULL,CONSTRAINT [PK_UniqueSequence] PRIMARY KEY CLUSTERED ([Sequence] ASC) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON))"; repository.Database.ExecuteSqlCommand(sql); + */ return repository; } From 34506e4354e26cb75559483f8965f9d85aebb2fe Mon Sep 17 00:00:00 2001 From: Tatarincev Date: Fri, 1 Jul 2016 12:57:16 +0200 Subject: [PATCH 5/5] Update nuget packages --- .../VirtoCommerce.OrderModule.Data.csproj | 4 ++-- VirtoCommerce.OrderModule.Data/packages.config | 2 +- .../VirtoCommerce.OrderModule.Test.csproj | 8 ++++---- VirtoCommerce.OrderModule.Test/packages.config | 4 ++-- .../VirtoCommerce.OrderModule.Web.csproj | 8 ++++---- VirtoCommerce.OrderModule.Web/packages.config | 4 ++-- 6 files changed, 15 insertions(+), 15 deletions(-) diff --git a/VirtoCommerce.OrderModule.Data/VirtoCommerce.OrderModule.Data.csproj b/VirtoCommerce.OrderModule.Data/VirtoCommerce.OrderModule.Data.csproj index 686754e6..ff1b343e 100644 --- a/VirtoCommerce.OrderModule.Data/VirtoCommerce.OrderModule.Data.csproj +++ b/VirtoCommerce.OrderModule.Data/VirtoCommerce.OrderModule.Data.csproj @@ -70,8 +70,8 @@ - - ..\packages\VirtoCommerce.Domain.2.14.0\lib\net451\VirtoCommerce.Domain.dll + + ..\packages\VirtoCommerce.Domain.2.14.1\lib\net451\VirtoCommerce.Domain.dll True diff --git a/VirtoCommerce.OrderModule.Data/packages.config b/VirtoCommerce.OrderModule.Data/packages.config index a132e8f2..e1f4d7fd 100644 --- a/VirtoCommerce.OrderModule.Data/packages.config +++ b/VirtoCommerce.OrderModule.Data/packages.config @@ -6,7 +6,7 @@ - + \ No newline at end of file diff --git a/VirtoCommerce.OrderModule.Test/VirtoCommerce.OrderModule.Test.csproj b/VirtoCommerce.OrderModule.Test/VirtoCommerce.OrderModule.Test.csproj index 42af52a6..4492881d 100644 --- a/VirtoCommerce.OrderModule.Test/VirtoCommerce.OrderModule.Test.csproj +++ b/VirtoCommerce.OrderModule.Test/VirtoCommerce.OrderModule.Test.csproj @@ -90,12 +90,12 @@ ..\packages\VirtoCommerce.CartModule.Data.2.11.0\lib\net451\VirtoCommerce.CartModule.Data.dll True - - ..\packages\VirtoCommerce.CoreModule.Data.2.14.0\lib\net451\VirtoCommerce.CoreModule.Data.dll + + ..\packages\VirtoCommerce.CoreModule.Data.2.14.1\lib\net451\VirtoCommerce.CoreModule.Data.dll True - - ..\packages\VirtoCommerce.Domain.2.14.0\lib\net451\VirtoCommerce.Domain.dll + + ..\packages\VirtoCommerce.Domain.2.14.1\lib\net451\VirtoCommerce.Domain.dll True diff --git a/VirtoCommerce.OrderModule.Test/packages.config b/VirtoCommerce.OrderModule.Test/packages.config index 7a0f8d50..78747dd4 100644 --- a/VirtoCommerce.OrderModule.Test/packages.config +++ b/VirtoCommerce.OrderModule.Test/packages.config @@ -10,8 +10,8 @@ - - + + diff --git a/VirtoCommerce.OrderModule.Web/VirtoCommerce.OrderModule.Web.csproj b/VirtoCommerce.OrderModule.Web/VirtoCommerce.OrderModule.Web.csproj index b571572e..c4a5a8ce 100644 --- a/VirtoCommerce.OrderModule.Web/VirtoCommerce.OrderModule.Web.csproj +++ b/VirtoCommerce.OrderModule.Web/VirtoCommerce.OrderModule.Web.csproj @@ -124,12 +124,12 @@ - - ..\packages\VirtoCommerce.CoreModule.Data.2.14.0\lib\net451\VirtoCommerce.CoreModule.Data.dll + + ..\packages\VirtoCommerce.CoreModule.Data.2.14.1\lib\net451\VirtoCommerce.CoreModule.Data.dll True - - ..\packages\VirtoCommerce.Domain.2.14.0\lib\net451\VirtoCommerce.Domain.dll + + ..\packages\VirtoCommerce.Domain.2.14.1\lib\net451\VirtoCommerce.Domain.dll True diff --git a/VirtoCommerce.OrderModule.Web/packages.config b/VirtoCommerce.OrderModule.Web/packages.config index e8c8628c..2b6e1d1a 100644 --- a/VirtoCommerce.OrderModule.Web/packages.config +++ b/VirtoCommerce.OrderModule.Web/packages.config @@ -12,8 +12,8 @@ - - + +