예제 #1
0
        public void FormParameter_Clone()
        {
            FormParameterPoker FormParam   = new FormParameterPoker("EmployeeName", TypeCode.String, "EmployeeLabel");
            FormParameter      clonedParam = (FormParameter)FormParam.DoClone();

            Assert.AreEqual("EmployeeName", clonedParam.Name, "FormParameterCloneName");
            Assert.AreEqual(TypeCode.String, clonedParam.Type, "FormParameterCloneType");
            Assert.AreEqual("EmployeeLabel", clonedParam.FormField, "FormParameterCloneFormField");
        }
예제 #2
0
		public void FormParameter_Clone ()
		{
			
			FormParameterPoker FormParam = new FormParameterPoker ("EmployeeName", TypeCode.String, "EmployeeLabel");
			FormParameter clonedParam = (FormParameter) FormParam.DoClone ();
			Assert.AreEqual ("EmployeeName", clonedParam.Name, "FormParameterCloneName");
			Assert.AreEqual (TypeCode.String, clonedParam.Type, "FormParameterCloneType");
			Assert.AreEqual ("EmployeeLabel", clonedParam.FormField, "FormParameterCloneFormField");
		}