Skip to content

Commit 4850232

Browse files
committed
Merge branch 'master' of https://github.com/unitycontainer/container into v5.x
2 parents 874b115 + dc50cc4 commit 4850232

File tree

2 files changed

+27
-92
lines changed

2 files changed

+27
-92
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
using Microsoft.VisualStudio.TestTools.UnitTesting;
2+
using Unity;
3+
4+
namespace Compiled
5+
{
6+
[TestClass]
7+
public class Lifetime : Unity.Specification.Lifetime.SpecificationTests
8+
{
9+
public override IUnityContainer GetContainer()
10+
{
11+
return new UnityContainer(UnityContainer.BuildStrategy.Compiled);
12+
}
13+
}
14+
}
15+
16+
namespace Resolved
17+
{
18+
[TestClass]
19+
public class Lifetime : Unity.Specification.Lifetime.SpecificationTests
20+
{
21+
public override IUnityContainer GetContainer()
22+
{
23+
return new UnityContainer(UnityContainer.BuildStrategy.Resolved);
24+
}
25+
}
26+
}
27+

tests/Unity.Tests/Lifetime/PerThreadLifeTimeManagerFixture.cs

Lines changed: 0 additions & 92 deletions
This file was deleted.

0 commit comments

Comments
 (0)