Exemple #1
0
        public void VerifyTrueName()
        {
            foreach (Environment.SpecialFolder sv in Enum.GetValues(typeof(Environment.SpecialFolder)))
            {
                string path = Environment.GetFolderPath(sv);

                if (string.IsNullOrEmpty(path))
                {
                    continue;
                }

                Assert.That(QQnPath.GetTruePath(path.ToUpperInvariant()), Is.Not.Null);
            }
        }