Files
cefsharp/CefSharp.Test/SkipIfRunOnAppVeyorFact.cs
Alex Maitland 3eca8bdba6 Enhancement - Simplify Setting of RequestContext Proxy (#3250)
Core - Simplify Setting of Proxy for new RequestContext

- Throw exception if requestContext.CanSetPreference returns false.
Proxy likely set via command line args.
- Add IRequestContext.SetPreferenceAsync
-  Test - Add SelfHosted Proxy
Use Titanium.Web.Proxy to self host a proxy for testing proxy settings
Only run Proxy Tests when run locally
- Add RequestContext Builder Fluent API
2020-10-13 13:40:46 +10:00

21 lines
517 B
C#

// Copyright © 2020 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
using System;
using Xunit;
namespace CefSharp.Test
{
public class SkipIfRunOnAppVeyorFact : FactAttribute
{
public SkipIfRunOnAppVeyorFact()
{
if(Environment.GetEnvironmentVariable("APPVEYOR") == "True")
{
Skip = "Running on Appveyor - Test Skipped";
}
}
}
}