Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
82 changes: 43 additions & 39 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,39 +1,43 @@
<Project>
<Import Project="deploy.props" Condition="Exists('deploy.props')" />
<PropertyGroup>
<TargetFramework>net471</TargetFramework>
<OutputType>Library</OutputType>
<Authors>WeBlog Community</Authors>
<Company>WeTeam Community</Company>
<Product>WeBlog</Product>
<Copyright>Copyright © 2011 - 2020</Copyright>
<Version>4.1.0</Version>
<Configurations>Debug sc9.0;Debug sc9.1;Debug sc9.2;Debug sc9.3;Release sc9.0;Release sc9.1;Release sc9.2;Release sc9.3</Configurations>
</PropertyGroup>
<PropertyGroup Condition="$(Configuration.Contains('Debug'))">
<DefineConstants>$(DefineConstants);DEBUG;TRACE</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="$(Configuration.Contains('Release'))">
<DefineConstants>$(DefineConstants);TRACE</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="$(Configuration.Contains('sc9.0'))">
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
<DefineConstants>$(DefineConstants)</DefineConstants>
<OutputPath>bin\sc90\</OutputPath>
</PropertyGroup>
<PropertyGroup Condition="$(Configuration.Contains('sc9.1'))">
<TargetFrameworkVersion>v4.7.1</TargetFrameworkVersion>
<DefineConstants>$(DefineConstants);SC91</DefineConstants>
<OutputPath>bin\sc91\</OutputPath>
</PropertyGroup>
<PropertyGroup Condition="$(Configuration.Contains('sc9.2'))">
<TargetFrameworkVersion>v4.7.1</TargetFrameworkVersion>
<DefineConstants>$(DefineConstants);FEATURE_JOB_ABSTRACTIONS</DefineConstants>
<OutputPath>bin\sc92\</OutputPath>
</PropertyGroup>
<PropertyGroup Condition="$(Configuration.Contains('sc9.3'))">
<TargetFrameworkVersion>v4.7.1</TargetFrameworkVersion>
<DefineConstants>$(DefineConstants);FEATURE_JOB_ABSTRACTIONS;SC93</DefineConstants>
<OutputPath>bin\sc93\</OutputPath>
</PropertyGroup>
</Project>
<Project>
<Import Project="deploy.props" Condition="Exists('deploy.props')" />
<PropertyGroup>
<OutputType>Library</OutputType>
<Authors>WeBlog Community</Authors>
<Company>WeTeam Community</Company>
<Product>WeBlog</Product>
<Copyright>Copyright © 2011 - 2020</Copyright>
<Version>4.1.0</Version>
<Configurations>Debug sc9.0;Debug sc9.1;Debug sc9.2;Debug sc9.3;Debug sc10.0;Release sc9.0;Release sc9.1;Release sc9.2;Release sc9.3;Release sc10.0</Configurations>
</PropertyGroup>
<PropertyGroup Condition="$(Configuration.Contains('Debug'))">
<DefineConstants>$(DefineConstants);DEBUG;TRACE</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="$(Configuration.Contains('Release'))">
<DefineConstants>$(DefineConstants);TRACE</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="$(Configuration.Contains('sc9.0'))">
<TargetFramework>net462</TargetFramework>
<DefineConstants>$(DefineConstants)</DefineConstants>
<OutputPath>bin\sc90\</OutputPath>
</PropertyGroup>
<PropertyGroup Condition="$(Configuration.Contains('sc9.1'))">
<TargetFramework>net471</TargetFramework>
<DefineConstants>$(DefineConstants);SC91</DefineConstants>
<OutputPath>bin\sc91\</OutputPath>
</PropertyGroup>
<PropertyGroup Condition="$(Configuration.Contains('sc9.2'))">
<TargetFramework>net471</TargetFramework>
<DefineConstants>$(DefineConstants);FEATURE_JOB_ABSTRACTIONS</DefineConstants>
<OutputPath>bin\sc92\</OutputPath>
</PropertyGroup>
<PropertyGroup Condition="$(Configuration.Contains('sc9.3'))">
<TargetFramework>net471</TargetFramework>
<DefineConstants>$(DefineConstants);FEATURE_JOB_ABSTRACTIONS;FEATURE_URL_BUILDERS</DefineConstants>
<OutputPath>bin\sc93\</OutputPath>
</PropertyGroup>
<PropertyGroup Condition="$(Configuration.Contains('sc10.0'))">
<TargetFramework>net48</TargetFramework>
<DefineConstants>$(DefineConstants);FEATURE_JOB_ABSTRACTIONS;FEATURE_URL_BUILDERS</DefineConstants>
<OutputPath>bin\sc100\</OutputPath>
</PropertyGroup>
</Project>
66 changes: 66 additions & 0 deletions Sitecore.Modules.WeBlog.sln
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug sc10.0|Any CPU = Debug sc10.0|Any CPU
Debug sc10.0|x64 = Debug sc10.0|x64
Debug sc10.0|x86 = Debug sc10.0|x86
Debug sc9.0|Any CPU = Debug sc9.0|Any CPU
Debug sc9.0|x64 = Debug sc9.0|x64
Debug sc9.0|x86 = Debug sc9.0|x86
Expand All @@ -35,6 +38,9 @@ Global
Debug|Any CPU = Debug|Any CPU
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release sc10.0|Any CPU = Release sc10.0|Any CPU
Release sc10.0|x64 = Release sc10.0|x64
Release sc10.0|x86 = Release sc10.0|x86
Release sc9.0|Any CPU = Release sc9.0|Any CPU
Release sc9.0|x64 = Release sc9.0|x64
Release sc9.0|x86 = Release sc9.0|x86
Expand All @@ -52,6 +58,12 @@ Global
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{747B5430-6DED-4127-96E7-E4E9CCAF9645}.Debug sc10.0|Any CPU.ActiveCfg = Debug sc10.0|Any CPU
{747B5430-6DED-4127-96E7-E4E9CCAF9645}.Debug sc10.0|Any CPU.Build.0 = Debug sc10.0|Any CPU
{747B5430-6DED-4127-96E7-E4E9CCAF9645}.Debug sc10.0|x64.ActiveCfg = Debug sc10.0|Any CPU
{747B5430-6DED-4127-96E7-E4E9CCAF9645}.Debug sc10.0|x64.Build.0 = Debug sc10.0|Any CPU
{747B5430-6DED-4127-96E7-E4E9CCAF9645}.Debug sc10.0|x86.ActiveCfg = Debug sc10.0|Any CPU
{747B5430-6DED-4127-96E7-E4E9CCAF9645}.Debug sc10.0|x86.Build.0 = Debug sc10.0|Any CPU
{747B5430-6DED-4127-96E7-E4E9CCAF9645}.Debug sc9.0|Any CPU.ActiveCfg = Debug sc9.0|Any CPU
{747B5430-6DED-4127-96E7-E4E9CCAF9645}.Debug sc9.0|Any CPU.Build.0 = Debug sc9.0|Any CPU
{747B5430-6DED-4127-96E7-E4E9CCAF9645}.Debug sc9.0|x64.ActiveCfg = Debug sc9.0|Any CPU
Expand Down Expand Up @@ -82,6 +94,12 @@ Global
{747B5430-6DED-4127-96E7-E4E9CCAF9645}.Debug|x64.Build.0 = Debug sc9.1|Any CPU
{747B5430-6DED-4127-96E7-E4E9CCAF9645}.Debug|x86.ActiveCfg = Debug sc9.1|Any CPU
{747B5430-6DED-4127-96E7-E4E9CCAF9645}.Debug|x86.Build.0 = Debug sc9.1|Any CPU
{747B5430-6DED-4127-96E7-E4E9CCAF9645}.Release sc10.0|Any CPU.ActiveCfg = Release sc10.0|Any CPU
{747B5430-6DED-4127-96E7-E4E9CCAF9645}.Release sc10.0|Any CPU.Build.0 = Release sc10.0|Any CPU
{747B5430-6DED-4127-96E7-E4E9CCAF9645}.Release sc10.0|x64.ActiveCfg = Release sc10.0|Any CPU
{747B5430-6DED-4127-96E7-E4E9CCAF9645}.Release sc10.0|x64.Build.0 = Release sc10.0|Any CPU
{747B5430-6DED-4127-96E7-E4E9CCAF9645}.Release sc10.0|x86.ActiveCfg = Release sc10.0|Any CPU
{747B5430-6DED-4127-96E7-E4E9CCAF9645}.Release sc10.0|x86.Build.0 = Release sc10.0|Any CPU
{747B5430-6DED-4127-96E7-E4E9CCAF9645}.Release sc9.0|Any CPU.ActiveCfg = Release sc9.0|Any CPU
{747B5430-6DED-4127-96E7-E4E9CCAF9645}.Release sc9.0|Any CPU.Build.0 = Release sc9.0|Any CPU
{747B5430-6DED-4127-96E7-E4E9CCAF9645}.Release sc9.0|x64.ActiveCfg = Release sc9.0|Any CPU
Expand Down Expand Up @@ -112,6 +130,12 @@ Global
{747B5430-6DED-4127-96E7-E4E9CCAF9645}.Release|x64.Build.0 = Release sc9.1|Any CPU
{747B5430-6DED-4127-96E7-E4E9CCAF9645}.Release|x86.ActiveCfg = Release sc9.1|Any CPU
{747B5430-6DED-4127-96E7-E4E9CCAF9645}.Release|x86.Build.0 = Release sc9.1|Any CPU
{B0C7A560-7D61-4BBA-9F16-EEF57BEE7E89}.Debug sc10.0|Any CPU.ActiveCfg = Debug sc10.0|Any CPU
{B0C7A560-7D61-4BBA-9F16-EEF57BEE7E89}.Debug sc10.0|Any CPU.Build.0 = Debug sc10.0|Any CPU
{B0C7A560-7D61-4BBA-9F16-EEF57BEE7E89}.Debug sc10.0|x64.ActiveCfg = Debug sc10.0|Any CPU
{B0C7A560-7D61-4BBA-9F16-EEF57BEE7E89}.Debug sc10.0|x64.Build.0 = Debug sc10.0|Any CPU
{B0C7A560-7D61-4BBA-9F16-EEF57BEE7E89}.Debug sc10.0|x86.ActiveCfg = Debug sc10.0|Any CPU
{B0C7A560-7D61-4BBA-9F16-EEF57BEE7E89}.Debug sc10.0|x86.Build.0 = Debug sc10.0|Any CPU
{B0C7A560-7D61-4BBA-9F16-EEF57BEE7E89}.Debug sc9.0|Any CPU.ActiveCfg = Debug sc9.0|Any CPU
{B0C7A560-7D61-4BBA-9F16-EEF57BEE7E89}.Debug sc9.0|Any CPU.Build.0 = Debug sc9.0|Any CPU
{B0C7A560-7D61-4BBA-9F16-EEF57BEE7E89}.Debug sc9.0|x64.ActiveCfg = Debug sc9.0|Any CPU
Expand Down Expand Up @@ -142,6 +166,12 @@ Global
{B0C7A560-7D61-4BBA-9F16-EEF57BEE7E89}.Debug|x64.Build.0 = Debug sc9.1|Any CPU
{B0C7A560-7D61-4BBA-9F16-EEF57BEE7E89}.Debug|x86.ActiveCfg = Debug sc9.1|Any CPU
{B0C7A560-7D61-4BBA-9F16-EEF57BEE7E89}.Debug|x86.Build.0 = Debug sc9.1|Any CPU
{B0C7A560-7D61-4BBA-9F16-EEF57BEE7E89}.Release sc10.0|Any CPU.ActiveCfg = Release sc10.0|Any CPU
{B0C7A560-7D61-4BBA-9F16-EEF57BEE7E89}.Release sc10.0|Any CPU.Build.0 = Release sc10.0|Any CPU
{B0C7A560-7D61-4BBA-9F16-EEF57BEE7E89}.Release sc10.0|x64.ActiveCfg = Release sc10.0|Any CPU
{B0C7A560-7D61-4BBA-9F16-EEF57BEE7E89}.Release sc10.0|x64.Build.0 = Release sc10.0|Any CPU
{B0C7A560-7D61-4BBA-9F16-EEF57BEE7E89}.Release sc10.0|x86.ActiveCfg = Release sc10.0|Any CPU
{B0C7A560-7D61-4BBA-9F16-EEF57BEE7E89}.Release sc10.0|x86.Build.0 = Release sc10.0|Any CPU
{B0C7A560-7D61-4BBA-9F16-EEF57BEE7E89}.Release sc9.0|Any CPU.ActiveCfg = Release sc9.0|Any CPU
{B0C7A560-7D61-4BBA-9F16-EEF57BEE7E89}.Release sc9.0|Any CPU.Build.0 = Release sc9.0|Any CPU
{B0C7A560-7D61-4BBA-9F16-EEF57BEE7E89}.Release sc9.0|x64.ActiveCfg = Release sc9.0|Any CPU
Expand Down Expand Up @@ -172,6 +202,12 @@ Global
{B0C7A560-7D61-4BBA-9F16-EEF57BEE7E89}.Release|x64.Build.0 = Release sc9.1|Any CPU
{B0C7A560-7D61-4BBA-9F16-EEF57BEE7E89}.Release|x86.ActiveCfg = Release sc9.1|Any CPU
{B0C7A560-7D61-4BBA-9F16-EEF57BEE7E89}.Release|x86.Build.0 = Release sc9.1|Any CPU
{93BE1BA0-A0FF-4819-A735-63CB9192C7B1}.Debug sc10.0|Any CPU.ActiveCfg = Debug sc10.0|Any CPU
{93BE1BA0-A0FF-4819-A735-63CB9192C7B1}.Debug sc10.0|Any CPU.Build.0 = Debug sc10.0|Any CPU
{93BE1BA0-A0FF-4819-A735-63CB9192C7B1}.Debug sc10.0|x64.ActiveCfg = Debug sc10.0|Any CPU
{93BE1BA0-A0FF-4819-A735-63CB9192C7B1}.Debug sc10.0|x64.Build.0 = Debug sc10.0|Any CPU
{93BE1BA0-A0FF-4819-A735-63CB9192C7B1}.Debug sc10.0|x86.ActiveCfg = Debug sc10.0|Any CPU
{93BE1BA0-A0FF-4819-A735-63CB9192C7B1}.Debug sc10.0|x86.Build.0 = Debug sc10.0|Any CPU
{93BE1BA0-A0FF-4819-A735-63CB9192C7B1}.Debug sc9.0|Any CPU.ActiveCfg = Debug sc9.0|Any CPU
{93BE1BA0-A0FF-4819-A735-63CB9192C7B1}.Debug sc9.0|Any CPU.Build.0 = Debug sc9.0|Any CPU
{93BE1BA0-A0FF-4819-A735-63CB9192C7B1}.Debug sc9.0|x64.ActiveCfg = Debug sc9.0|Any CPU
Expand Down Expand Up @@ -202,6 +238,12 @@ Global
{93BE1BA0-A0FF-4819-A735-63CB9192C7B1}.Debug|x64.Build.0 = Debug sc9.1|Any CPU
{93BE1BA0-A0FF-4819-A735-63CB9192C7B1}.Debug|x86.ActiveCfg = Debug sc9.1|Any CPU
{93BE1BA0-A0FF-4819-A735-63CB9192C7B1}.Debug|x86.Build.0 = Debug sc9.1|Any CPU
{93BE1BA0-A0FF-4819-A735-63CB9192C7B1}.Release sc10.0|Any CPU.ActiveCfg = Release sc10.0|Any CPU
{93BE1BA0-A0FF-4819-A735-63CB9192C7B1}.Release sc10.0|Any CPU.Build.0 = Release sc10.0|Any CPU
{93BE1BA0-A0FF-4819-A735-63CB9192C7B1}.Release sc10.0|x64.ActiveCfg = Release sc10.0|Any CPU
{93BE1BA0-A0FF-4819-A735-63CB9192C7B1}.Release sc10.0|x64.Build.0 = Release sc10.0|Any CPU
{93BE1BA0-A0FF-4819-A735-63CB9192C7B1}.Release sc10.0|x86.ActiveCfg = Release sc10.0|Any CPU
{93BE1BA0-A0FF-4819-A735-63CB9192C7B1}.Release sc10.0|x86.Build.0 = Release sc10.0|Any CPU
{93BE1BA0-A0FF-4819-A735-63CB9192C7B1}.Release sc9.0|Any CPU.ActiveCfg = Release sc9.0|Any CPU
{93BE1BA0-A0FF-4819-A735-63CB9192C7B1}.Release sc9.0|Any CPU.Build.0 = Release sc9.0|Any CPU
{93BE1BA0-A0FF-4819-A735-63CB9192C7B1}.Release sc9.0|x64.ActiveCfg = Release sc9.0|Any CPU
Expand Down Expand Up @@ -232,6 +274,12 @@ Global
{93BE1BA0-A0FF-4819-A735-63CB9192C7B1}.Release|x64.Build.0 = Release sc9.1|Any CPU
{93BE1BA0-A0FF-4819-A735-63CB9192C7B1}.Release|x86.ActiveCfg = Release sc9.1|Any CPU
{93BE1BA0-A0FF-4819-A735-63CB9192C7B1}.Release|x86.Build.0 = Release sc9.1|Any CPU
{EEB688C3-67F2-4F13-B525-7B577E998FA9}.Debug sc10.0|Any CPU.ActiveCfg = Debug sc10.0|Any CPU
{EEB688C3-67F2-4F13-B525-7B577E998FA9}.Debug sc10.0|Any CPU.Build.0 = Debug sc10.0|Any CPU
{EEB688C3-67F2-4F13-B525-7B577E998FA9}.Debug sc10.0|x64.ActiveCfg = Debug sc10.0|Any CPU
{EEB688C3-67F2-4F13-B525-7B577E998FA9}.Debug sc10.0|x64.Build.0 = Debug sc10.0|Any CPU
{EEB688C3-67F2-4F13-B525-7B577E998FA9}.Debug sc10.0|x86.ActiveCfg = Debug sc10.0|Any CPU
{EEB688C3-67F2-4F13-B525-7B577E998FA9}.Debug sc10.0|x86.Build.0 = Debug sc10.0|Any CPU
{EEB688C3-67F2-4F13-B525-7B577E998FA9}.Debug sc9.0|Any CPU.ActiveCfg = Debug sc9.0|Any CPU
{EEB688C3-67F2-4F13-B525-7B577E998FA9}.Debug sc9.0|Any CPU.Build.0 = Debug sc9.0|Any CPU
{EEB688C3-67F2-4F13-B525-7B577E998FA9}.Debug sc9.0|x64.ActiveCfg = Debug sc9.0|Any CPU
Expand Down Expand Up @@ -262,6 +310,12 @@ Global
{EEB688C3-67F2-4F13-B525-7B577E998FA9}.Debug|x64.Build.0 = Debug sc9.1|Any CPU
{EEB688C3-67F2-4F13-B525-7B577E998FA9}.Debug|x86.ActiveCfg = Debug sc9.1|Any CPU
{EEB688C3-67F2-4F13-B525-7B577E998FA9}.Debug|x86.Build.0 = Debug sc9.1|Any CPU
{EEB688C3-67F2-4F13-B525-7B577E998FA9}.Release sc10.0|Any CPU.ActiveCfg = Release sc10.0|Any CPU
{EEB688C3-67F2-4F13-B525-7B577E998FA9}.Release sc10.0|Any CPU.Build.0 = Release sc10.0|Any CPU
{EEB688C3-67F2-4F13-B525-7B577E998FA9}.Release sc10.0|x64.ActiveCfg = Release sc10.0|Any CPU
{EEB688C3-67F2-4F13-B525-7B577E998FA9}.Release sc10.0|x64.Build.0 = Release sc10.0|Any CPU
{EEB688C3-67F2-4F13-B525-7B577E998FA9}.Release sc10.0|x86.ActiveCfg = Release sc10.0|Any CPU
{EEB688C3-67F2-4F13-B525-7B577E998FA9}.Release sc10.0|x86.Build.0 = Release sc10.0|Any CPU
{EEB688C3-67F2-4F13-B525-7B577E998FA9}.Release sc9.0|Any CPU.ActiveCfg = Release sc9.0|Any CPU
{EEB688C3-67F2-4F13-B525-7B577E998FA9}.Release sc9.0|Any CPU.Build.0 = Release sc9.0|Any CPU
{EEB688C3-67F2-4F13-B525-7B577E998FA9}.Release sc9.0|x64.ActiveCfg = Release sc9.0|Any CPU
Expand Down Expand Up @@ -292,6 +346,12 @@ Global
{EEB688C3-67F2-4F13-B525-7B577E998FA9}.Release|x64.Build.0 = Release sc9.1|Any CPU
{EEB688C3-67F2-4F13-B525-7B577E998FA9}.Release|x86.ActiveCfg = Release sc9.1|Any CPU
{EEB688C3-67F2-4F13-B525-7B577E998FA9}.Release|x86.Build.0 = Release sc9.1|Any CPU
{D1D6021C-B84F-47BA-B7B3-4D97132219BE}.Debug sc10.0|Any CPU.ActiveCfg = Debug sc10.0|Any CPU
{D1D6021C-B84F-47BA-B7B3-4D97132219BE}.Debug sc10.0|Any CPU.Build.0 = Debug sc10.0|Any CPU
{D1D6021C-B84F-47BA-B7B3-4D97132219BE}.Debug sc10.0|x64.ActiveCfg = Debug sc10.0|Any CPU
{D1D6021C-B84F-47BA-B7B3-4D97132219BE}.Debug sc10.0|x64.Build.0 = Debug sc10.0|Any CPU
{D1D6021C-B84F-47BA-B7B3-4D97132219BE}.Debug sc10.0|x86.ActiveCfg = Debug sc10.0|Any CPU
{D1D6021C-B84F-47BA-B7B3-4D97132219BE}.Debug sc10.0|x86.Build.0 = Debug sc10.0|Any CPU
{D1D6021C-B84F-47BA-B7B3-4D97132219BE}.Debug sc9.0|Any CPU.ActiveCfg = Debug sc9.0|Any CPU
{D1D6021C-B84F-47BA-B7B3-4D97132219BE}.Debug sc9.0|Any CPU.Build.0 = Debug sc9.0|Any CPU
{D1D6021C-B84F-47BA-B7B3-4D97132219BE}.Debug sc9.0|x64.ActiveCfg = Debug sc9.0|Any CPU
Expand Down Expand Up @@ -322,6 +382,12 @@ Global
{D1D6021C-B84F-47BA-B7B3-4D97132219BE}.Debug|x64.Build.0 = Debug sc9.1|Any CPU
{D1D6021C-B84F-47BA-B7B3-4D97132219BE}.Debug|x86.ActiveCfg = Debug sc9.1|Any CPU
{D1D6021C-B84F-47BA-B7B3-4D97132219BE}.Debug|x86.Build.0 = Debug sc9.1|Any CPU
{D1D6021C-B84F-47BA-B7B3-4D97132219BE}.Release sc10.0|Any CPU.ActiveCfg = Release sc10.0|Any CPU
{D1D6021C-B84F-47BA-B7B3-4D97132219BE}.Release sc10.0|Any CPU.Build.0 = Release sc10.0|Any CPU
{D1D6021C-B84F-47BA-B7B3-4D97132219BE}.Release sc10.0|x64.ActiveCfg = Release sc10.0|Any CPU
{D1D6021C-B84F-47BA-B7B3-4D97132219BE}.Release sc10.0|x64.Build.0 = Release sc10.0|Any CPU
{D1D6021C-B84F-47BA-B7B3-4D97132219BE}.Release sc10.0|x86.ActiveCfg = Release sc10.0|Any CPU
{D1D6021C-B84F-47BA-B7B3-4D97132219BE}.Release sc10.0|x86.Build.0 = Release sc10.0|Any CPU
{D1D6021C-B84F-47BA-B7B3-4D97132219BE}.Release sc9.0|Any CPU.ActiveCfg = Release sc9.0|Any CPU
{D1D6021C-B84F-47BA-B7B3-4D97132219BE}.Release sc9.0|Any CPU.Build.0 = Release sc9.0|Any CPU
{D1D6021C-B84F-47BA-B7B3-4D97132219BE}.Release sc9.0|x64.ActiveCfg = Release sc9.0|Any CPU
Expand Down
44 changes: 36 additions & 8 deletions Test/IntegrationTest/Managers/EntryManagerFixture.cs
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
using System.Collections.Generic;
using System.Data;
using System;
using System.Linq;
using Moq;
using NUnit.Framework;
using Sitecore.Data.Items;
using Moq;
using Sitecore.Data;
using Sitecore.Modules.WeBlog.Managers;
using Sitecore.Modules.WeBlog.Search;
using Sitecore.Xdb.Reporting;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;

namespace Sitecore.Modules.WeBlog.IntegrationTest.Managers
{
Expand All @@ -35,7 +34,7 @@ public void GetBlogEntries_NoEntries()
}

[Test]
public void GetBlogEntries_WithEntries()
public void GetBlogEntries_EntriesExist_ReturnsEntries()
{
var blog = TestUtil.CreateNewBlog(TestContentRoot);
var entryLuna = TestUtil.CreateNewEntry(blog, "Luna", entryDate: new DateTime(2012, 3, 1));
Expand All @@ -50,6 +49,33 @@ public void GetBlogEntries_WithEntries()
Assert.That(ids, Is.EqualTo(new[] { entryPhobos.ID, entryDeimos.ID, entryLuna.ID }));
}

[Test]
public void GetBlogEntries_EntriesExist_FieldsRehydratedProperly()
{
// arrange
var entryDate = new DateTime(2012, 3, 1, 13, 42, 10, DateTimeKind.Utc);
var blog = TestUtil.CreateNewBlog(TestContentRoot);
var entryLuna = TestUtil.CreateNewEntry(
blog,
name: "Luna",
tags: "tag",
entryDate: entryDate);

TestUtil.UpdateIndex();

var manager = new EntryManager();

// act
var results = manager.GetBlogEntries(blog, EntryCriteria.AllEntries, ListOrder.Descending);

// assert
var ids = from result in results.Results select result.Uri.ItemID;

Assert.That(results.Results[0].Title, Is.EqualTo("Luna"));
Assert.That(results.Results[0].Tags, Is.EquivalentTo(new[] { "tag" }));
Assert.That(results.Results[0].EntryDate, Is.EqualTo(entryDate));
}

[Test]
public void GetBlogEntries_WithEntriesAscending()
{
Expand Down Expand Up @@ -591,6 +617,8 @@ public void GetPopularEntriesByView_NullItem()
Assert.That(entries, Is.Empty);
}



// TODO: Write tests for methods accepting language

private void VerifyAnalyticsSetup()
Expand All @@ -614,7 +642,7 @@ private ReportDataProviderBase CreateMockReportDataProvider(IEnumerable<ID> ids)
var visitCount = ids.Count();
foreach (var id in ids)
{
var dataTable = new DataTable();
var dataTable = new System.Data.DataTable();
dataTable.Columns.AddRange(new[]
{
new DataColumn("Visits", typeof(long))
Expand Down
15 changes: 0 additions & 15 deletions Test/UnitTest/App.config.FakeDBLegacy.xslt

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
using Sitecore.Modules.WeBlog.Pipelines.CreateComment;
using Sitecore.Workflows;

#if SC93
#if FEATURE_URL_BUILDERS
using Sitecore.Links.UrlBuilders;
#endif

Expand Down Expand Up @@ -145,7 +145,7 @@ public void Process_CommentIsSpam_AbortsPipeline()
private (AkismetSpamCheck processor, CreateCommentArgs args, Mock<IAkismet> akismetApiMock) CreateAkismetSpamCheck(IWeBlogSettings settings, IWorkflowProvider workflowProvider)
{
var linkManager = Mock.Of<BaseLinkManager>(x =>
#if SC93
#if FEATURE_URL_BUILDERS
x.GetItemUrl(It.IsAny<Item>(), It.Is<ItemUrlBuilderOptions>(y => y.AlwaysIncludeServerUrl == true)) == "link"
#else
x.GetItemUrl(It.IsAny<Item>(), It.Is<UrlOptions>(y => y.AlwaysIncludeServerUrl == true)) == "link"
Expand Down
Loading