Exemple #1
0
        private static void logException(Exception exception)
        {
            var file = Path.Combine(PathParsing.GetRootDirectory(), "panic.dump");

            using (var writer = new StreamWriter(file))
            {
                writeException(writer, exception);
            }
        }
Exemple #2
0
        public void Should_retrieve_correct_path()
        {
            var path = PathParsing.GetRootDirectory();

            Directory.Exists(path).ShouldBeTrue();
        }
 private string getPath()
 {
     return(PathParsing.GetRootDirectory());
 }