C# Class Microsoft.VisualStudio.R.Package.Test.DataInspect.VariableRHostScript

Inheritance: Microsoft.R.Host.Client.Test.Script.RHostScript
显示文件 Open project: Microsoft/RTVS Class Usage Examples

Public Methods

Method Description
AssertEvaluationWrapper ( IRSessionDataObject rdo, Microsoft.VisualStudio.R.Package.Test.DataInspect.VariableExpectation expectation ) : void
AssertEvaluationWrapper_ValueStartWith ( IRSessionDataObject rdo, Microsoft.VisualStudio.R.Package.Test.DataInspect.VariableExpectation expectation ) : void
EvaluateAndAssert ( string rScript, Microsoft.VisualStudio.R.Package.Test.DataInspect.VariableExpectation expectation, VariableExpectation>.Action assertAction ) : Task

evaluate R script and assert if the expectation is not found in global environment

EvaluateAsync ( string rScript ) : Task
VariableRHostScript ( IRSessionProvider sessionProvider ) : System

Method Details

AssertEvaluationWrapper() public static method

public static AssertEvaluationWrapper ( IRSessionDataObject rdo, Microsoft.VisualStudio.R.Package.Test.DataInspect.VariableExpectation expectation ) : void
rdo IRSessionDataObject
expectation Microsoft.VisualStudio.R.Package.Test.DataInspect.VariableExpectation
return void

AssertEvaluationWrapper_ValueStartWith() public static method

public static AssertEvaluationWrapper_ValueStartWith ( IRSessionDataObject rdo, Microsoft.VisualStudio.R.Package.Test.DataInspect.VariableExpectation expectation ) : void
rdo IRSessionDataObject
expectation Microsoft.VisualStudio.R.Package.Test.DataInspect.VariableExpectation
return void

EvaluateAndAssert() public method

evaluate R script and assert if the expectation is not found in global environment
public EvaluateAndAssert ( string rScript, Microsoft.VisualStudio.R.Package.Test.DataInspect.VariableExpectation expectation, VariableExpectation>.Action assertAction ) : Task
rScript string
expectation Microsoft.VisualStudio.R.Package.Test.DataInspect.VariableExpectation
assertAction VariableExpectation>.Action
return Task

EvaluateAsync() public method

public EvaluateAsync ( string rScript ) : Task
rScript string
return Task

VariableRHostScript() public method

public VariableRHostScript ( IRSessionProvider sessionProvider ) : System
sessionProvider IRSessionProvider
return System