public void Attach() { Description desc = new Description("filename", "the filename", eROLE.PASSED, new ParamString(), eSCOPE.REQUIRED, eMULTIPLICITY.ONCE); ArgumentPassed arg = new ArgumentPassed(0, "document.txt"); arg.Attach(new[] { desc }); Assert.IsNotNull(arg.Desc); }
public void ArgumentPassed_0() { ArgumentPassed arg = new ArgumentPassed(0, "document.txt"); Assert.AreEqual(0, arg.Order); arg.Order = 99; Assert.AreEqual(99, arg.Order); }
public void Request_0() { Description desc = new Description("filename", "the filename", eROLE.PASSED, new ParamString(), eSCOPE.REQUIRED, eMULTIPLICITY.ONCE); ArgumentPassed passed = new ArgumentPassed(0, "document.txt"); Request r = new Request(new[] { passed }, new[] { desc }); // ensure description is attached to argument Assert.IsNotNull(passed.Desc); }
public void ArgumentPassed_2() { ArgumentPassed arg = new ArgumentPassed(0, ""); }
public void ArgumentPassed_1() { ArgumentPassed arg = new ArgumentPassed(0, null); }