C# Class XUnit.Solidworks.Addin.SolidWorksSpec

Afficher le fichier Open project: Weingartner/SolidworksAddinFramework Class Usage Examples

Méthodes publiques

Méthode Description
ContinueTestExecution ( ) : void
PauseTestExecution ( bool pause = true ) : System.Threading.Tasks.Task

Méthodes protégées

Méthode Description
CreatePartDoc ( ) : IModelDoc2

Create a part using the standard template

CreatePartDoc ( string path ) : IModelDoc2
CreatePartDoc ( Func action ) : System.Threading.Tasks.Task
CreatePartDoc ( Task>.Func action ) : System.Threading.Tasks.Task
CreatePartDoc ( string path, Func action ) : System.Threading.Tasks.Task
CreatePartDoc ( Action action ) : void
CreatePartDoc ( Action action ) : void

Create a part doc which will be deleted after the action even if the test fails

CreatePartDoc ( IDisposable>.Func action ) : void

Create a part doc which will be deleted if keep is false. This is mainly useful just for debugging so that the document is kept open after a test is run so you can eyeball the results.

CreatePartDoc ( string path, IDisposable>.Func action ) : void
CreatePartDocWithTitle ( string title, IDisposable>.Func action ) : void

Method Details

ContinueTestExecution() public static méthode

public static ContinueTestExecution ( ) : void
Résultat void

CreatePartDoc() protected méthode

Create a part using the standard template
protected CreatePartDoc ( ) : IModelDoc2
Résultat IModelDoc2

CreatePartDoc() protected méthode

protected CreatePartDoc ( string path ) : IModelDoc2
path string
Résultat IModelDoc2

CreatePartDoc() protected méthode

protected CreatePartDoc ( Func action ) : System.Threading.Tasks.Task
action Func
Résultat System.Threading.Tasks.Task

CreatePartDoc() protected méthode

protected CreatePartDoc ( Task>.Func action ) : System.Threading.Tasks.Task
action Task>.Func
Résultat System.Threading.Tasks.Task

CreatePartDoc() protected méthode

protected CreatePartDoc ( string path, Func action ) : System.Threading.Tasks.Task
path string
action Func
Résultat System.Threading.Tasks.Task

CreatePartDoc() protected méthode

protected CreatePartDoc ( Action action ) : void
action Action
Résultat void

CreatePartDoc() protected méthode

Create a part doc which will be deleted after the action even if the test fails
protected CreatePartDoc ( Action action ) : void
action Action
Résultat void

CreatePartDoc() protected méthode

Create a part doc which will be deleted if keep is false. This is mainly useful just for debugging so that the document is kept open after a test is run so you can eyeball the results.
protected CreatePartDoc ( IDisposable>.Func action ) : void
action IDisposable>.Func
Résultat void

CreatePartDoc() protected méthode

protected CreatePartDoc ( string path, IDisposable>.Func action ) : void
path string
action IDisposable>.Func
Résultat void

CreatePartDocWithTitle() protected méthode

protected CreatePartDocWithTitle ( string title, IDisposable>.Func action ) : void
title string
action IDisposable>.Func
Résultat void

PauseTestExecution() public static méthode

public static PauseTestExecution ( bool pause = true ) : System.Threading.Tasks.Task
pause bool
Résultat System.Threading.Tasks.Task