Пример #1
0
        public void NotFoundProfileAbsolutePath()
        {
            var temp = new ConfigurationProfile();

            temp.LoadProfile(Path.Combine(Path.GetTempPath(), "derp.ini"));
        }
Пример #2
0
        public void NotFoundProfileRelativePath()
        {
            var temp = new ConfigurationProfile();

            temp.LoadProfile(@"Phantom");
        }
Пример #3
0
        public void IncorrectSchemaRelativePath()
        {
            var temp = new ConfigurationProfile();

            temp.LoadProfile(@"CorruptedProfile");
        }
Пример #4
0
        public void IncorrectSchemaAbsolutePath()
        {
            var temp = new ConfigurationProfile();

            temp.LoadProfile(Path.Combine(Globals.DefaultProfileDirectory, @"CorruptedProfile"));
        }
Пример #5
0
        public void CorrectSchemaRelativePath()
        {
            var temp = new ConfigurationProfile();

            temp.LoadProfile(@"BasicProfile");
        }