C# Class BlueCollar.Test.ApplicationUtils

Provides utilities and helpers for application testing.
Exibir arquivo Open project: ChadBurggraf/blue-collar Class Usage Examples

Public Methods

Method Description
CopyEmbeddedResourceToPath ( string name, string path ) : void

Copies the embedded resource with the given name to the given path on disk.

CreateValidExampleApplication ( ) : string

Creates a valid example application structure in a random destination directory and returns the path to the directory.

CreateValidExampleWebApplication ( ) : string

Creates a valid example web application structure in a random directory and returns the path to the directory.

GetAssemblyPathsForBasicApplication ( ) : IList

Gets a list of fully-qualified paths for the minimum required input assemblies for a valid Blue Collar application.

Method Details

CopyEmbeddedResourceToPath() public static method

Copies the embedded resource with the given name to the given path on disk.
public static CopyEmbeddedResourceToPath ( string name, string path ) : void
name string The name of the resource file top copy.
path string The path to copy the file to.
return void

CreateValidExampleApplication() public static method

Creates a valid example application structure in a random destination directory and returns the path to the directory.
public static CreateValidExampleApplication ( ) : string
return string

CreateValidExampleWebApplication() public static method

Creates a valid example web application structure in a random directory and returns the path to the directory.
public static CreateValidExampleWebApplication ( ) : string
return string

GetAssemblyPathsForBasicApplication() public static method

Gets a list of fully-qualified paths for the minimum required input assemblies for a valid Blue Collar application.
public static GetAssemblyPathsForBasicApplication ( ) : IList
return IList