public void MyTestInitialize() { SetUpUtilities.AddUmbracoConfigFileToHttpCache(); m_ExistingMediaType = GetExistingMediaType(); m_NewRootMedia = CreateNewUnderRoot(m_ExistingMediaType); }
public void InitTestFixture() { ConfigurationManagerService.ConfigManager = new ConfigurationManagerTest(SetUpUtilities.GetAppSettings()); m_User = new User(0); SetUpUtilities.InitConfigurationManager(); SetUpUtilities.InitAppDomainDynamicBase(); }
public void MyTestCleanup() { //remove the member type m_MemberType.delete(); SetUpUtilities.RemoveUmbracoConfigFileFromHttpCache(); }
public void MyTestInitialize() { SetUpUtilities.AddUmbracoConfigFileToHttpCache(); //need to create a member type for the provider m_MemberType = MemberType.MakeNew(User.GetUser(0), Guid.NewGuid().ToString("N")); m_Provider = new UmbracoMembershipProvider(); // TODO: Initialize to an appropriate value //initialize the provider var config = new NameValueCollection(); config.Add("enablePasswordRetrieval", "false"); config.Add("enablePasswordReset", "false"); config.Add("requiresQuestionAndAnswer", "false"); config.Add("defaultMemberTypeAlias", m_MemberType.Alias); config.Add("passwordFormat", "Hashed"); m_Provider.Initialize(string.Empty, config); }
public void MyTestCleanup() { SetUpUtilities.RemoveUmbracoConfigFileFromHttpCache(); }
public void MyTestInitialize() { SetUpUtilities.AddUmbracoConfigFileToHttpCache(); }
public void InitTestFixture() { SetUpUtilities.InitConfigurationManager(); m_User = new User(0); SetUpUtilities.InitAppDomainDynamicBase(); }
public void InitTestFixture() { SetUpUtilities.InitConfigurationManager(); m_User = new User(0); }
public void MyTestCleanup() { DeleteMediaType(m_NewMediaType); SetUpUtilities.RemoveUmbracoConfigFileFromHttpCache(); }
public void MyTestInitialize() { SetUpUtilities.AddUmbracoConfigFileToHttpCache(); m_NewMediaType = CreateNewMediaType(); SetUpUtilities.InitAppDomainDynamicBase(); }
public void Init() { SetUpUtilities.AddUmbracoConfigFileToHttpCache(); m_ExistingDocType = GetExistingDocType(); m_NewRootDoc = CreateNewUnderRoot(m_ExistingDocType, m_User); }
public void Cleanup() { RecycleAndDelete(m_NewRootDoc); SetUpUtilities.RemoveUmbracoConfigFileFromHttpCache(); }
public void InitTestFixture() { ConfigurationManagerService.ConfigManager = new ConfigurationManagerTest(SetUpUtilities.GetAppSettings()); }
public void Init() { SetUpUtilities.AddUmbracoConfigFileToHttpCache(); }
public void MyTestInitialize() { SetUpUtilities.AddUmbracoConfigFileToHttpCache(); m_NewDocType = CreateNewDocType(); }
public void InitTestFixture() { ConfigurationManagerService.ConfigManager = new ConfigurationManagerTest(SetUpUtilities.GetAppSettings()); m_User = new User(0); AppDomain.CurrentDomain.SetDynamicBase("/tmp/kol3-temp-aspnet-0"); }