Ejemplo n.º 1
0
 public async Task IsLinuxEngineEnabled()
 {
     using (var client = new TestcontainersClient())
     {
         Assert.False(await client.GetIsWindowsEngineEnabled());
     }
 }
 public IgnoreOnLinuxEngine()
 {
     using (var client = new TestcontainersClient())
     {
         if (!RuntimeInformation.IsOSPlatform(OSPlatform.Windows) || !client.GetIsWindowsEngineEnabled().GetAwaiter().GetResult())
         {
             this.Skip = "Ignore as long as Docker Windows engine is not available.";
         }
     }
 }
            public async Task IsWindowsEngineEnabled()
            {
                var client = new TestcontainersClient();

                Assert.True(await client.GetIsWindowsEngineEnabled());
            }