예제 #1
0
        public void DirectoryIsValid_With_Valid_Dir_Should_Return_True()
        {
            var  service = new IoService();
            bool result  = service.DirectoryIsValid("../../testdata");

            Assert.IsTrue(result);
        }
예제 #2
0
        public void DirectoryIsValid_With_Invalid_Dir_Should_Return_False()
        {
            var  service = new IoService();
            bool result  = service.DirectoryIsValid("invalid/path");

            Assert.IsFalse(result);
        }
예제 #3
0
        public void DirectoryIsValid_With_EmptyOrNull_Dir_Should_Return_False(String input)
        {
            var  service = new IoService();
            bool result  = service.DirectoryIsValid(input);

            Assert.IsFalse(result);
        }
예제 #4
0
		public void DirectoryIsValid_With_Valid_Dir_Should_Return_True ()
		{
			var service = new IoService();
			bool result = service.DirectoryIsValid("../../testdata");
			Assert.IsTrue(result);
		}
예제 #5
0
		public void DirectoryIsValid_With_Invalid_Dir_Should_Return_False ()
		{
			var service = new IoService();
			bool result = service.DirectoryIsValid("invalid/path");
			Assert.IsFalse(result);
		}
예제 #6
0
		public void DirectoryIsValid_With_EmptyOrNull_Dir_Should_Return_False (String input)
		{
			var service = new IoService();
			bool result = service.DirectoryIsValid(input);
			Assert.IsFalse(result);
		}