C# Class Mocks.EnvironmentMock

Show file Open project: mono/f-spot Class Usage Examples

Public Methods

Method Description
Create ( string user ) : IEnvironment
EnvironmentMock ( string variable, string value ) : FSpot.FileSystem
SetVariable ( string variable, string value ) : void

Method Details

Create() public static method

public static Create ( string user ) : IEnvironment
user string
return IEnvironment

EnvironmentMock() public method

public EnvironmentMock ( string variable, string value ) : FSpot.FileSystem
variable string
value string
return FSpot.FileSystem

SetVariable() public method

public SetVariable ( string variable, string value ) : void
variable string
value string
return void