mirror of
https://github.com/sshnet/SSH.NET.git
synced 2026-09-10 09:15:47 +00:00
0371af9aaf
* Integration benchmark tests * Fixes * Write with encoding * Update src/Renci.SshNet/Common/SshDataStream.cs Co-authored-by: Rob Hague <rob.hague00@gmail.com> * Add more benchmarks --------- Co-authored-by: Rob Hague <rob.hague00@gmail.com>
20 lines
572 B
C#
20 lines
572 B
C#
using Renci.SshNet.IntegrationTests.TestsFixtures;
|
|
|
|
namespace Renci.SshNet.IntegrationBenchmarks
|
|
{
|
|
public class IntegrationBenchmarkBase
|
|
{
|
|
#pragma warning disable CA1822 // Mark members as static
|
|
public async Task GlobalSetup()
|
|
{
|
|
await InfrastructureFixture.Instance.InitializeAsync().ConfigureAwait(false);
|
|
}
|
|
|
|
public async Task GlobalCleanup()
|
|
{
|
|
await InfrastructureFixture.Instance.DisposeAsync().ConfigureAwait(false);
|
|
}
|
|
#pragma warning restore CA1822 // Mark members as static
|
|
}
|
|
}
|