Exemplo n.º 1
0
        public void InvalidPathTest()
        {
            ValidPathTest test = new ValidPathTest()
            {
                Value = "..\\..\\test\\" + new string(System.IO.Path.GetInvalidPathChars())
            };

            test = ValidateSettings <ValidPathTest> .Validate(test);
        }
Exemplo n.º 2
0
        public void ValidPathTest3()
        {
            ValidPathTest test = new ValidPathTest()
            {
                Value = "test"
            };

            test = ValidateSettings <ValidPathTest> .Validate(test);
        }