C# Class Rebel.Tests.Extensions.IoHiveTestSetupHelper

显示文件 Open project: RebelCMS/rebelcmsxu5 Class Usage Examples

Public Methods

Method Description
CreateFile ( string contents ) : Rebel.Framework.Persistence.Model.IO.File
CreateGroup ( string name, string route ) : ProviderMappingGroup
GetTestDirectory ( ) : DirectoryInfo
IoHiveTestSetupHelper ( FakeFrameworkContext frameworkContext = null ) : System
IoHiveTestSetupHelper ( string supportedExtensions, FakeFrameworkContext frameworkContext = null ) : System

Method Details

CreateFile() public static method

public static CreateFile ( string contents ) : Rebel.Framework.Persistence.Model.IO.File
contents string
return Rebel.Framework.Persistence.Model.IO.File

CreateGroup() public method

public CreateGroup ( string name, string route ) : ProviderMappingGroup
name string
route string
return Rebel.Hive.Configuration.ProviderMappingGroup

GetTestDirectory() public static method

public static GetTestDirectory ( ) : DirectoryInfo
return System.IO.DirectoryInfo

IoHiveTestSetupHelper() public method

public IoHiveTestSetupHelper ( FakeFrameworkContext frameworkContext = null ) : System
frameworkContext FakeFrameworkContext
return System

IoHiveTestSetupHelper() public method

public IoHiveTestSetupHelper ( string supportedExtensions, FakeFrameworkContext frameworkContext = null ) : System
supportedExtensions string
frameworkContext FakeFrameworkContext
return System