C# Class Jint.Tests.ReplaceCultureAttribute

Inheritance: Xunit.Sdk.BeforeAfterTestAttribute
Show file Open project: sebastienros/jint

Public Methods

Method Description
After ( MethodInfo methodUnderTest ) : void

The Thread.CurrentUICulture for the test. Defaults to en-US.

The CultureInfo.CurrentUICulture for the test. Defaults to en-US.

Before ( MethodInfo methodUnderTest ) : void
ReplaceCultureAttribute ( string currentCulture ) : System

Replaces the current culture and UI culture based on specified value.

ReplaceCultureAttribute ( string currentCulture, string currentUICulture ) : System

Replaces the current culture and UI culture based on specified values.

Method Details

After() public method

The Thread.CurrentUICulture for the test. Defaults to en-US. The CultureInfo.CurrentUICulture for the test. Defaults to en-US.
public After ( MethodInfo methodUnderTest ) : void
methodUnderTest System.Reflection.MethodInfo
return void

Before() public method

public Before ( MethodInfo methodUnderTest ) : void
methodUnderTest System.Reflection.MethodInfo
return void

ReplaceCultureAttribute() public method

Replaces the current culture and UI culture based on specified value.
public ReplaceCultureAttribute ( string currentCulture ) : System
currentCulture string
return System

ReplaceCultureAttribute() public method

Replaces the current culture and UI culture based on specified values.
public ReplaceCultureAttribute ( string currentCulture, string currentUICulture ) : System
currentCulture string
currentUICulture string
return System