public virtual void FixtureSetup() { // This needs to be set for ICU RegistryHelper.CompanyName = "SIL"; Icu.InitIcuDataDir(); m_DebugProcs = new DebugProcs(); }
public void TestFixtureSetup() { // This needs to be set for ICU RegistryHelper.CompanyName = "SIL"; Icu.InitIcuDataDir(); m_wsf = new PalasoWritingSystemManager(); m_DebugProcs = new DebugProcs(); }
public void SetUp() { m_DebugProcs = new DebugProcs(); m_comparer = new UCDComparer(); m_bidi = new BidiCharacter("0669", "ARABIC-INDIC DIGIT NINE;Nd;0;AN;;9;9;9;N;;;;;"); m_pua = new PUACharacter("0669", "ARABIC-INDIC DIGIT NINE;Nd;0;AN;;9;9;9;N;;;;;"); }
public void FixtureSetup() { m_DebugProcs = new DebugProcs(); RegistryHelper.CompanyName = "SIL"; Icu.InitIcuDataDir(); m_wsManager = new PalasoWritingSystemManager(); IWritingSystem enWs; m_wsManager.GetOrSet("en", out enWs); m_enWs = enWs.Handle; IWritingSystem esWs; m_wsManager.GetOrSet("es", out esWs); m_esWs = esWs.Handle; }
public virtual void FixtureTeardown() { m_DebugProcs.Dispose(); m_DebugProcs = null; }
public virtual void FixtureSetup() { m_debugProcs = new DebugProcs(); try { Icu.InitIcuDataDir(); } catch (Exception e) { Console.WriteLine(e.Message); } #if __MonoCS__ try { using (var process = System.Diagnostics.Process.GetCurrentProcess()) { // try to change PTRACE option so that unmanaged call stacks show more useful // information. Since Ubuntu 10.10 a normal user is no longer allowed to use // PTRACE. This prevents call stacks and assertions from working properly. // However, we can set a flag on the currently running process to allow // it. See also the similar code in Generic/ModuleEntry.cpp prctl(PR_SET_PTRACER, (IntPtr)process.Id, IntPtr.Zero, IntPtr.Zero, IntPtr.Zero); } } catch (Exception e) { // just ignore any errors we get } #endif }
public virtual void FixtureTeardown() { // FWC-16: we have to call CoFreeUnusedLibraries. This causes sqlnclir.dll to get // unloaded. If we don't do this we get a deadlock after the fixture teardown // because we're running STA. CoFreeUnusedLibraries(); m_debugProcs.Dispose(); m_debugProcs = null; }
public virtual void FixtureSetup() { m_DebugProcs = new DebugProcs(); }