Skip to content

Commit a80d33f

Browse files
committed
rename stuff and add dummytest
1 parent ab62b96 commit a80d33f

28 files changed

+57
-52
lines changed

Common.ASPNET.Tests/DummyTest.cs

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
namespace OpenShock.Common.ASPNET.Tests;
2+
3+
public class DummyTest
4+
{
5+
[Test]
6+
public async Task TrueIsTrue()
7+
{
8+
bool value = true;
9+
10+
// Assert
11+
await Assert.That(value).IsTrue();
12+
}
13+
}

Common.ASPNET/Authentication/OpenShockAuthClaims.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace OpenShock.Common.Authentication;
1+
namespace OpenShock.Common.ASPNET.Authentication;
22

33
public class OpenShockAuthClaims
44
{

Common.ASPNET/Constants/AuthConstants.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace OpenShock.Common.Constants;
1+
namespace OpenShock.Common.ASPNET.Constants;
22

33
public static class AuthConstants
44
{

Common.ASPNET/Constants/Constants.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace OpenShock.Common.Constants;
1+
namespace OpenShock.Common.ASPNET.Constants;
22

33
public static class Duration
44
{

Common.ASPNET/Constants/HardLimits.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace OpenShock.Common.Constants;
1+
namespace OpenShock.Common.ASPNET.Constants;
22

33
public static class HardLimits
44
{

Common.ASPNET/Errors/ExceptionError.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
using OpenShock.Common.Problems;
1+
using OpenShock.Common.ASPNET.Problems;
22

3-
namespace OpenShock.Common.Errors;
3+
namespace OpenShock.Common.ASPNET.Errors;
44

55
public static class ExceptionError
66
{

Common.ASPNET/Errors/ExpressionError.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using System.Net;
2-
using OpenShock.Common.Problems;
2+
using OpenShock.Common.ASPNET.Problems;
33

4-
namespace OpenShock.Common.Errors;
4+
namespace OpenShock.Common.ASPNET.Errors;
55

66
public static class ExpressionError
77
{

Common.ASPNET/Errors/TurnstileError.cs

Lines changed: 0 additions & 9 deletions
This file was deleted.

Common.ASPNET/ExceptionHandle/ExceptionHandler.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
using System.Net;
22
using Microsoft.AspNetCore.Diagnostics;
3-
using OpenShock.Common.Errors;
3+
using OpenShock.Common.ASPNET.Errors;
44

5-
namespace OpenShock.Common.ExceptionHandle;
5+
namespace OpenShock.Common.ASPNET.ExceptionHandle;
66

77
public sealed class OpenShockExceptionHandler : IExceptionHandler
88
{

Common.ASPNET/ExceptionHandle/RequestInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// ReSharper disable UnusedAutoPropertyAccessor.Global
2-
namespace OpenShock.Common.ExceptionHandle;
2+
namespace OpenShock.Common.ASPNET.ExceptionHandle;
33

44
public sealed class RequestInfo
55
{

0 commit comments

Comments
 (0)