This commit is contained in:
@@ -1,36 +0,0 @@
|
||||
using System;
|
||||
using Xunit;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using FluentAssertions;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.Concurrent;
|
||||
|
||||
namespace raven_integration
|
||||
{
|
||||
|
||||
public class AyaType
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
[Fact]
|
||||
public async void AyaTypeListShouldWork()
|
||||
{
|
||||
ApiResponse a = await Util.GetAsync("AyaType", await Util.GetTokenAsync("manager", "l3tm3in"));
|
||||
Util.ValidateDataReturnResponseOk(a);
|
||||
Util.ValidateHTTPStatusCode(a, 200);
|
||||
//there should be at least 8 of them (at time of writing late March 2018)
|
||||
((JArray)a.ObjectResponse["data"]).Count.Should().BeGreaterOrEqualTo(8);
|
||||
|
||||
//Number 2 is widget and list is zero based so confirm:
|
||||
a.ObjectResponse["data"][2]["id"].Value<long>().Should().Be(2);
|
||||
a.ObjectResponse["data"][2]["name"].Value<string>().Should().Be("Widget [Attachable]");
|
||||
|
||||
}
|
||||
|
||||
|
||||
//==================================================
|
||||
|
||||
}//eoc
|
||||
}//eons
|
||||
@@ -16,7 +16,7 @@ namespace raven_integration
|
||||
[Fact]
|
||||
public async void GetListOfEnumListsWorks()
|
||||
{
|
||||
ApiResponse a = await Util.GetAsync("AyaEnumPickList/listkeys", await Util.GetTokenAsync("manager", "l3tm3in"));
|
||||
ApiResponse a = await Util.GetAsync("EnumPickList/listkeys", await Util.GetTokenAsync("manager", "l3tm3in"));
|
||||
Util.ValidateDataReturnResponseOk(a);
|
||||
Util.ValidateHTTPStatusCode(a, 200);
|
||||
|
||||
@@ -30,7 +30,7 @@ namespace raven_integration
|
||||
[Fact]
|
||||
public async void GetSpecificEnumListWorks()
|
||||
{
|
||||
ApiResponse a = await Util.GetAsync("AyaEnumPickList/list/usertypes", await Util.GetTokenAsync("manager", "l3tm3in"));
|
||||
ApiResponse a = await Util.GetAsync("EnumPickList/list/usertypes", await Util.GetTokenAsync("manager", "l3tm3in"));
|
||||
Util.ValidateDataReturnResponseOk(a);
|
||||
Util.ValidateHTTPStatusCode(a, 200);
|
||||
|
||||
|
||||
@@ -7,22 +7,22 @@ namespace raven_integration
|
||||
public class Privacy
|
||||
{
|
||||
|
||||
//DEPRECATED, NOT USEFUL
|
||||
|
||||
// /// <summary>
|
||||
// ///
|
||||
// /// </summary>
|
||||
// [Fact]
|
||||
// public async void LogShouldNotContainPrivateData()
|
||||
// {
|
||||
// ApiResponse a = await Util.GetAsync("AyaType", await Util.GetTokenAsync("TEST_PRIVACY_USER_ACCOUNT"));
|
||||
// ApiTextResponse t = await Util.GetTextResultAsync("LogFiles/log-ayanova.txt", await Util.GetTokenAsync("TEST_PRIVACY_USER_ACCOUNT"));
|
||||
// Util.ValidateHTTPStatusCode(t, 200);
|
||||
// t.TextResponse.Should().NotContain("TEST_PRIVACY_USER_ACCOUNT");
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
[Fact]
|
||||
public async void LogShouldNotContainPrivateData()
|
||||
{
|
||||
ApiResponse a = await Util.GetAsync("AyaType", await Util.GetTokenAsync("TEST_PRIVACY_USER_ACCOUNT"));
|
||||
ApiTextResponse t = await Util.GetTextResultAsync("LogFiles/log-ayanova.txt", await Util.GetTokenAsync("TEST_PRIVACY_USER_ACCOUNT"));
|
||||
Util.ValidateHTTPStatusCode(t, 200);
|
||||
t.TextResponse.Should().NotContain("TEST_PRIVACY_USER_ACCOUNT");
|
||||
// }
|
||||
|
||||
}
|
||||
|
||||
//==================================================
|
||||
// //==================================================
|
||||
|
||||
}//eoc
|
||||
}//eons
|
||||
|
||||
4
burntesttimer.txt
Normal file
4
burntesttimer.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
2020-01-27 run
|
||||
Start burntest 19:26:19.22
|
||||
Stop burntest 6:20:40.99
|
||||
Approximately 11 hours! (jesus christ that seems slow)
|
||||
Reference in New Issue
Block a user