File tree Expand file tree Collapse file tree 3 files changed +32
-3
lines changed Expand file tree Collapse file tree 3 files changed +32
-3
lines changed Original file line number Diff line number Diff line change 1+ using Microsoft . VisualStudio . TestTools . UnitTesting ;
2+ using Unity ;
3+
4+ namespace Compiled
5+ {
6+
7+ [ TestClass ]
8+ public class Cyclic : Unity . Specification . Diagnostic . Cyclic . SpecificationTests
9+ {
10+ public override IUnityContainer GetContainer ( )
11+ {
12+ return new UnityContainer ( UnityContainer . BuildStrategy . Compiled )
13+ . AddExtension ( new Diagnostic ( ) ) ;
14+ }
15+ }
16+ }
17+
18+ namespace Resolved
19+ {
20+
21+ [ TestClass ]
22+ public class Cyclic : Unity . Specification . Diagnostic . Cyclic . SpecificationTests
23+ {
24+ public override IUnityContainer GetContainer ( )
25+ {
26+ return new UnityContainer ( UnityContainer . BuildStrategy . Resolved )
27+ . AddExtension ( new Diagnostic ( ) ) ;
28+ }
29+ }
30+ }
Original file line number Diff line number Diff line change 11using Microsoft . VisualStudio . TestTools . UnitTesting ;
22using Unity ;
3- using Unity . Extension ;
43
54namespace Compiled
65{
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ namespace Compiled
55{
66
77 [ TestClass ]
8- public class Override : Unity . Specification . Diagnostic . Override . SpecificationTests
8+ public class Override : Unity . Specification . Diagnostic . Overrides . SpecificationTests
99 {
1010 public override IUnityContainer GetContainer ( )
1111 {
@@ -19,7 +19,7 @@ namespace Resolved
1919{
2020
2121 [ TestClass ]
22- public class Override : Unity . Specification . Diagnostic . Override . SpecificationTests
22+ public class Override : Unity . Specification . Diagnostic . Overrides . SpecificationTests
2323 {
2424 public override IUnityContainer GetContainer ( )
2525 {
You can’t perform that action at this time.
0 commit comments