mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-04 08:03:22 +00:00
3eca8bdba6
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
21 lines
517 B
C#
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";
|
|
}
|
|
}
|
|
}
|
|
}
|