/// ------------------------------------------------------------------------------------ /// <summary> /// Setup the test. /// </summary> /// ------------------------------------------------------------------------------------ public override void Initialize() { base.Initialize(); m_bookFilter = new FilteredScrBooks(Cache, 1); m_bookFilter.UpdateFilter(new int[] { m_Genesis.Hvo }); m_dummyParaDlg = new DummyParatextDialog(Cache, m_bookFilter); //ScrImportSet importSet = new ScrImportSet(); //Cache.LangProject.TranslatedScriptureOA.ImportSettingsOC.Add(importSet); //importSet.ParatextScrProj = "xyz"; //importSet.ParatextBTProj = "xyzBT"; //Cache.LangProject.TranslatedScriptureOA.DefaultImportSettings = importSet; ILgWritingSystem wsVern = ((LgWritingSystem)Cache.LangProject.CurVernWssRS[0]); wsVern.Abbr.UserDefaultWritingSystem = "xyz"; // Initialize in-memory registry settings. m_dummyParaDlg.Registry.SetIntValue("ParatextOneDomainExportWhat", 0); m_dummyParaDlg.Registry.SetStringValue("ParatextOutputSpec", @"C:\My Paratext Projects"); m_dummyParaDlg.Registry.SetStringValue("ParatextBTOutputSpec", @"C:\My Paratext Projects"); }
/// ------------------------------------------------------------------------------------ /// <summary> /// Setup the test. /// </summary> /// ------------------------------------------------------------------------------------ public override void Initialize() { base.Initialize(); m_bookFilter = new FilteredScrBooks(Cache, 1); m_bookFilter.UpdateFilter(new int[] { m_Genesis.Hvo }); m_dummyParaDlg = new DummyParatextDialog(Cache, m_bookFilter); //ScrImportSet importSet = new ScrImportSet(); //Cache.LangProject.TranslatedScriptureOA.ImportSettingsOC.Add(importSet); //importSet.ParatextScrProj = "xyz"; //importSet.ParatextBTProj = "xyzBT"; //Cache.LangProject.TranslatedScriptureOA.DefaultImportSettings = importSet; ILgWritingSystem wsVern = ((LgWritingSystem)Cache.LangProject.CurVernWssRS[0]); wsVern.Abbr.UserDefaultWritingSystem = "xyz"; // Initialize in-memory registry settings. m_dummyParaDlg.Registry.SetIntValue("ParatextOneDomainExportWhat", 0); m_dummyParaDlg.Registry.SetStringValue("ParatextOutputSpec", @"C:\My Paratext Projects"); m_dummyParaDlg.Registry.SetStringValue("ParatextBTOutputSpec", @"C:\My Paratext Projects"); }