Esempio n. 1
0
        public void CmdMoveLocalFile_FalseWithLessThan3()
        {
            CmdMoveLocalFile _move = new CmdMoveLocalFile();

            string[] args   = { "string1", "string2" };
            var      result = _move.Validate(args);

            Assert.False(result, "Local move should return false with less than 3 arguments");
        }
Esempio n. 2
0
        public void CmdMoveLocalFile_FalseWithInvalidFilename()
        {
            CmdMoveLocalFile _move = new CmdMoveLocalFile();

            string[] args   = { "string1", "this should never be a valid filename", "string2" };
            var      result = _move.Validate(args);

            Assert.False(result, "Local move should return false with less than 3 arguments");
        }
Esempio n. 3
0
        public void CmdMoveLocalFile_FalseWithNoArguments()
        {
            CmdMoveLocalFile _move = new CmdMoveLocalFile();

            string[] args   = {};
            var      result = _move.Validate(args);

            Assert.False(result, "Local move should return false with no arguments");
        }