Skip to content

Commit

Permalink
Unit Test Cases
Browse files Browse the repository at this point in the history
2.0.0 Release and added unit test cases
  • Loading branch information
nemi-chand committed Sep 17, 2018
1 parent 0770edc commit 63751c1
Show file tree
Hide file tree
Showing 5 changed files with 148 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/CookieManager/Base64TextEncoder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public static bool TryDecode(string encodedText,out string plainText)
plainText = Decode(encodedText);
return true;
}
catch (Exception)
catch (Exception ex)
{
}

Expand Down
4 changes: 3 additions & 1 deletion src/CookieManager/CookieManager.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,15 @@
<PackageProjectUrl>https://github.com/nemi-chand/CookieManager</PackageProjectUrl>
<Description>ASP.Net Core Abstraction layer on top of Http Cookie</Description>
<Authors>Nemi Chand</Authors>
<Version>2.0.0-pre</Version>
<Title>CookieManager : ASP.Net Core Abstraction layer on top of Http Cookie</Title>
<Version>2.0.0</Version>
<NeutralLanguage>en</NeutralLanguage>
<PackageTags>Cookie Manager,asp.net core cookie,cookie,http cookie,secure cookie</PackageTags>
<PackageReleaseNotes>Added support netstandard 1.6 and netstandard 2.0</PackageReleaseNotes>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<FileVersion>2.0.0.0</FileVersion>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageLicenseUrl>https://github.com/nemi-chand/CookieManager/blob/master/LICENSE</PackageLicenseUrl>
</PropertyGroup>

<PropertyGroup Condition=" '$(TargetFramework)' == 'netcoreapp1.0' ">
Expand Down
2 changes: 1 addition & 1 deletion src/CookieManager/DataProtectorExtension.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public static bool TryUnprotect(this IDataProtector dataProtector,string protect
unProtectedData = dataProtector.Unprotect(protectedData);
return true;
}
catch (Exception)
catch (Exception ex)
{

}
Expand Down
10 changes: 10 additions & 0 deletions test/CookieManager.Test/ICookieManagerTest.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
using System;
using System.Collections.Generic;
using System.Text;

namespace CookieManager.Test
{
class ICookieManagerTest
{
}
}
Loading

0 comments on commit 63751c1

Please sign in to comment.