-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3cbbbcb
commit e2093a3
Showing
31 changed files
with
764 additions
and
1,532 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 12 additions & 11 deletions
23
src/Microsoft.Azure.SignalR.Management/ManagementConnectionFactory.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
test/Microsoft.Azure.SignalR.E2ETests/Common/ITestHubConnection.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
// Copyright (c) Microsoft. All rights reserved. | ||
// Licensed under the MIT license. See LICENSE file in the project root for full license information. | ||
|
||
using System.Threading.Tasks; | ||
|
||
namespace Microsoft.Azure.SignalR.E2ETests.Common; | ||
|
||
public interface ITestHubConnection | ||
{ | ||
public string ConnectionId { get; } | ||
|
||
public string User { get; } | ||
|
||
public int MessageCount { get; } | ||
|
||
public void Listen(params string[] methods); | ||
|
||
public Task StartAsync(); | ||
|
||
public Task StopAsync(); | ||
|
||
public Task SendAsync(string method, params string[] messages); | ||
|
||
public void ResetInvoke(string method); | ||
|
||
public Task ExpectInvokeAsync(string method, params string[] message); | ||
|
||
public void ResetMessageCount(); | ||
} |
10 changes: 10 additions & 0 deletions
10
test/Microsoft.Azure.SignalR.E2ETests/Common/ITestHubConnectionGroup.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
// Copyright (c) Microsoft. All rights reserved. | ||
// Licensed under the MIT license. See LICENSE file in the project root for full license information. | ||
|
||
using System.Collections.Generic; | ||
|
||
namespace Microsoft.Azure.SignalR.E2ETests.Common; | ||
|
||
public interface ITestHubConnectionGroup : ITestHubConnection, IEnumerable<ITestHubConnection> | ||
{ | ||
} |
15 changes: 15 additions & 0 deletions
15
test/Microsoft.Azure.SignalR.E2ETests/Common/ITestServer.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// Copyright (c) Microsoft. All rights reserved. | ||
// Licensed under the MIT license. See LICENSE file in the project root for full license information. | ||
|
||
using System; | ||
using System.Collections.Generic; | ||
using System.Threading.Tasks; | ||
|
||
namespace Microsoft.Azure.SignalR.E2ETests.Common; | ||
|
||
public interface ITestServer : IDisposable | ||
{ | ||
Task<string> StartAsync(Dictionary<string, string?>? configuration = null); | ||
|
||
Task StopAsync(); | ||
} |
Oops, something went wrong.