Skip to content
This repository was archived by the owner on Oct 16, 2020. It is now read-only.

Commit 4a84b07

Browse files
committed
Merged pull request #419 UnitTestNode should subscribe test events on create.
2 parents 3069706 + 56c0e48 commit 4a84b07

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/AddIns/Analysis/UnitTesting/Pad/UnitTestNode.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ public UnitTestNode(ITest test)
3737
if (test == null)
3838
throw new ArgumentNullException("test");
3939
this.test = test;
40+
if (IsVisible) {
41+
test.DisplayNameChanged += test_NameChanged;
42+
test.ResultChanged += test_ResultChanged;
43+
}
4044
}
4145

4246
protected override void OnIsVisibleChanged()

0 commit comments

Comments
 (0)