Tests.Tests.Tests C# (CSharp) Method

Tests() public method

public Tests ( TestMode mode ) : System
mode TestMode
return System
        public Tests(TestMode mode)
        {
            _mode = mode;            
            var codeBase = Assembly.GetExecutingAssembly().Location;
            var uri = new UriBuilder(codeBase);
            var path = Uri.UnescapeDataString(uri.Path);
                path = System.IO.Path.GetDirectoryName(path);
            Directory.SetCurrentDirectory(path);            
        }
Tests