private bool setTempDirTest( DbSystem dbSystem) { string sSetDir = "abc/def/efg"; string sGetDir; System.IO.Directory.CreateDirectory(sSetDir); beginTest("Set Temporary Directory"); try { dbSystem.setTempDir(sSetDir); } catch (XFlaimException ex) { endTest(false, ex, "calling setTempDir"); return(false); } try { sGetDir = dbSystem.getTempDir(); } catch (XFlaimException ex) { endTest(false, ex, "calling getTempDir"); return(false); } if (sSetDir != sGetDir) { endTest(false, false); System.Console.WriteLine("GetDir != SetDir"); System.Console.WriteLine("GetDir = [{0}], setDir = [{1}]", sGetDir, sSetDir); } endTest(false, true); return(true); }