public void GetJobbParameter_EmptyDirectory_Test() { var expected = new List <string>() { "Name", "Period", "Unit", "Target Directory" }; var actual = JobbFactory.GetJobbParameter(JobbType.EmptyDirectory); Assert.AreEqual(expected[0], actual[0]); Assert.AreEqual(expected[1], actual[1]); Assert.AreEqual(expected[2], actual[2]); Assert.AreEqual(expected[3], actual[3]); }
public void GetJobbParameter_CopyFile_Test() { var expected = new List <string>() { "Name", "Period", "Unit", "Source Directory", "Target Directory", "File Name" }; var actual = JobbFactory.GetJobbParameter(JobbType.CopyFile); Assert.AreEqual(expected[0], actual[0]); Assert.AreEqual(expected[1], actual[1]); Assert.AreEqual(expected[2], actual[2]); Assert.AreEqual(expected[3], actual[3]); Assert.AreEqual(expected[4], actual[4]); Assert.AreEqual(expected[5], actual[5]); }