Skip to content

Commit 9d50e6f

Browse files
committed
Moved MockJsRuntime to its own namespace
1 parent e04e331 commit 9d50e6f

9 files changed

Lines changed: 9 additions & 8 deletions

src/Mocking/JSInterop/JsInvokeCountExpectedException.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using System;
22
using System.Diagnostics.CodeAnalysis;
3-
using Egil.RazorComponents.Testing;
3+
using Egil.RazorComponents.Testing.Mocking.JSInterop;
44
using Xunit.Sdk;
55

66
namespace Xunit.Sdk

src/Mocking/JSInterop/JsRuntimeAssertExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
using Xunit;
77
using Xunit.Sdk;
88

9-
namespace Egil.RazorComponents.Testing
9+
namespace Egil.RazorComponents.Testing.Mocking.JSInterop
1010
{
1111
/// <summary>
1212
/// Assert extensions for JsRuntimeMock

src/Mocking/JSInterop/JsRuntimeInvocation.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using System.Diagnostics.CodeAnalysis;
44
using System.Threading;
55

6-
namespace Egil.RazorComponents.Testing
6+
namespace Egil.RazorComponents.Testing.Mocking.JSInterop
77
{
88
/// <summary>
99
/// Represents an invocation of JavaScript via the JsRuntime Mock

src/Mocking/JSInterop/JsRuntimeMockMode.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using Microsoft.JSInterop;
22

3-
namespace Egil.RazorComponents.Testing
3+
namespace Egil.RazorComponents.Testing.Mocking.JSInterop
44
{
55
/// <summary>
66
/// The execution mode of the <see cref="MockJsRuntimeExtensions"/>.

src/Mocking/JSInterop/JsRuntimePlannedInvocation.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using System;
44
using System.Diagnostics.CodeAnalysis;
55

6-
namespace Egil.RazorComponents.Testing
6+
namespace Egil.RazorComponents.Testing.Mocking.JSInterop
77
{
88
/// <summary>
99
/// Represents a planned invocation of a JavaScript function with specific arguments.

src/Mocking/JSInterop/MockJsRuntimeInvokeHandler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
using System;
77
using System.Linq;
88

9-
namespace Egil.RazorComponents.Testing
9+
namespace Egil.RazorComponents.Testing.Mocking.JSInterop
1010
{
1111
/// <summary>
1212
/// Represents an invoke handler for a mock of a <see cref="IJSRuntime"/>.

src/Mocking/JSInterop/UnplannedJsInvocationException.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
using System.Threading.Tasks;
66
using System.Diagnostics.CodeAnalysis;
77

8-
namespace Egil.RazorComponents.Testing
8+
namespace Egil.RazorComponents.Testing.Mocking.JSInterop
99
{
1010
/// <summary>
1111
/// Exception use to indicate that an unplanned invocation was

src/Mocking/MockJsRuntimeExtensions.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
using System;
2+
using Egil.RazorComponents.Testing.Mocking.JSInterop;
23

34
namespace Egil.RazorComponents.Testing
45
{

tests/Mocking/JSInterop/MockJsRuntimeInvokeHandlerTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
using Shouldly;
88
using Xunit;
99

10-
namespace Egil.RazorComponents.Testing.JSInterop
10+
namespace Egil.RazorComponents.Testing.Mocking.JSInterop
1111
{
1212
public class MockJsRuntimeInvokeHandlerTest
1313
{

0 commit comments

Comments
 (0)