public void AddTest() { OSCAGeneralName Name = testData2; subjectAltName target = new subjectAltName(); target.Add(Name); Assert.AreEqual(testData2, target.SubjAltNames[0]); }
private void butAdd_Click(object sender, EventArgs e) { GetName getname = new GetName(permittedTypes); if (getname.ShowDialog() == DialogResult.OK) { san.Add(getname.gn); updateDataSet(getname.gn, san.SubjAltNames.Count - 1); } }