2022-08-25 21:43:51 -07:00
|
|
|
|
|
|
|
|
namespace Content.IntegrationTests.Tests.Utility;
|
|
|
|
|
|
|
|
|
|
public sealed class SandboxTest
|
|
|
|
|
{
|
|
|
|
|
[Test]
|
|
|
|
|
public async Task Test()
|
|
|
|
|
{
|
2023-07-05 21:54:25 -07:00
|
|
|
await using var pairTracker = await PoolManager.GetServerClient(new PoolSettings { NoServer = true, Destructive = true });
|
2022-08-25 21:43:51 -07:00
|
|
|
var client = pairTracker.Pair.Client;
|
|
|
|
|
await client.CheckSandboxed(typeof(Client.Entry.EntryPoint).Assembly);
|
|
|
|
|
await pairTracker.CleanReturnAsync();
|
|
|
|
|
}
|
|
|
|
|
}
|