orthograph
This commit is contained in:
@ -1,7 +1,4 @@
|
||||
using System;
|
||||
using System.Data;
|
||||
using System.IO;
|
||||
using System.Xml;
|
||||
using System.Net.Http;
|
||||
|
||||
using System.Threading.Tasks;
|
||||
@ -10,7 +7,6 @@ using isn.Abstract;
|
||||
using System.Linq;
|
||||
using Xunit;
|
||||
using isn.abst;
|
||||
using isnd.Entities;
|
||||
|
||||
namespace isn.tests
|
||||
{
|
||||
@ -22,12 +18,12 @@ namespace isn.tests
|
||||
{
|
||||
string pass = "a lame and big pass";
|
||||
isn.IDataProtector _protector = new isn.DefaultDataProtector();
|
||||
string protectedpass = _protector.Protect(pass);
|
||||
string unprotectedpass = _protector.UnProtect(protectedpass);
|
||||
Console.WriteLine(protectedpass);
|
||||
Assert.Equal(pass, unprotectedpass);
|
||||
Assert.True(protectedpass != null);
|
||||
Assert.True(protectedpass.Length > 0);
|
||||
string protectedPassword = _protector.Protect(pass);
|
||||
string unprotectedPassword = _protector.UnProtect(protectedPassword);
|
||||
Console.WriteLine(protectedPassword);
|
||||
Assert.Equal(pass, unprotectedPassword);
|
||||
Assert.True(protectedPassword != null);
|
||||
Assert.True(protectedPassword.Length > 0);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
@ -49,7 +45,7 @@ namespace isn.tests
|
||||
{
|
||||
Program.LoadConfig();
|
||||
var report = Program.PushPkg(new string[] { "./src/isn.abst/bin/Debug/isn.abst.1.0.1.nupkg"
|
||||
+ Constants.PaquetFileEstension });
|
||||
+ Constants.PacketFileExtension });
|
||||
}
|
||||
|
||||
[Fact]
|
||||
|
Reference in New Issue
Block a user