public override void TearDown() { base.TearDown(); //reset the app context DataTypesResolver.Reset(); }
public override void TearDown() { //reset the app context DataTypesResolver.Reset(); PluginManager.Current = null; base.TearDown(); }
public override void TearDown() { //reset the app context DataTypesResolver.Reset(); _error = null; //dispose! _dbFactory.Dispose(); _uowProvider.Dispose(); base.TearDown(); }
public override void TearDown() { base.TearDown(); //reset the app context DataTypesResolver.Reset(); ApplicationContext.Current = null; Resolution.IsFrozen = false; PluginManager.Current = null; string path = TestHelper.CurrentAssemblyDirectory; AppDomain.CurrentDomain.SetData("DataDirectory", null); SerializationService = null; UmbracoSettings.ResetSetters(); }
public override void TearDown() { base.TearDown(); //TestHelper.ClearDatabase(); //reset the app context DataTypesResolver.Reset(); ApplicationContext.Current = null; Resolution.IsFrozen = false; RepositoryResolver.Reset(); string path = TestHelper.CurrentAssemblyDirectory; AppDomain.CurrentDomain.SetData("DataDirectory", null); UmbracoSettings.ResetSetters(); }
public override void Initialize() { Resolution.IsFrozen = false; //this ensures its reset PluginManager.Current = new PluginManager(); //for testing, we'll specify which assemblies are scanned for the PluginTypeResolver PluginManager.Current.AssembliesToScan = new[] { typeof(IDataType).Assembly, typeof(tinyMCE3dataType).Assembly }; DataTypesResolver.Reset(); DataTypesResolver.Current = new DataTypesResolver( () => PluginManager.Current.ResolveDataTypes()); base.Initialize(); }
public void TearDown() { DataTypesResolver.Reset(); Resolution.IsFrozen = false; }
public void TearDown() { DataTypesResolver.Reset(); PluginManager.Current = null; }