/// <summary>
 /// Removes the corresponding test member node after it has been
 /// removed from the TestClass.
 /// </summary>
 void TestMemberRemoved(object source, TestMemberEventArgs e)
 {
     foreach (TestMemberTreeNode memberNode in Nodes)
     {
         if (memberNode.Text == e.TestMember.Name)
         {
             Nodes.Remove(memberNode);
             memberNode.Dispose();
             break;
         }
     }
 }
Exemplo n.º 2
0
		/// <summary>
		/// Removes the corresponding test member node after it has been
		/// removed from the TestClass.
		/// </summary>
		void TestMemberRemoved(object source, TestMemberEventArgs e)
		{
			foreach (TestMemberTreeNode memberNode in Nodes) {
				if (memberNode.Text == e.TestMember.Name) {
					Nodes.Remove(memberNode);
					memberNode.Dispose();
					break;
				}
			}
		}
 /// <summary>
 /// Adds a new test member tree node to this class node after a new
 /// TestMember has been added to the TestClass.
 /// </summary>
 void TestMemberAdded(object source, TestMemberEventArgs e)
 {
     AddTestMemberTreeNode(e.TestMember);
     SortChildNodes();
 }
Exemplo n.º 4
0
		/// <summary>
		/// Adds a new test member tree node to this class node after a new
		/// TestMember has been added to the TestClass.
		/// </summary>
		void TestMemberAdded(object source, TestMemberEventArgs e)
		{
			AddTestMemberTreeNode(e.TestMember);
			SortChildNodes();
		}