container/tests/Unity.Specification/Constructor.cs

83 строки
2.3 KiB
C#

using Microsoft.VisualStudio.TestTools.UnitTesting;
using Unity;
namespace Compiled.Constructor
{
[TestClass]
public class Injection : Unity.Specification.Constructor.Injection.SpecificationTests
{
public override IUnityContainer GetContainer()
{
return new UnityContainer().AddExtension(new ForceCompillation());
}
}
[TestClass]
public class Attribute : Unity.Specification.Constructor.Attribute.SpecificationTests
{
public override IUnityContainer GetContainer()
{
return new UnityContainer().AddExtension(new ForceCompillation());
}
}
[TestClass]
public class Parameters : Unity.Specification.Constructor.Parameters.SpecificationTests
{
public override IUnityContainer GetContainer()
{
return new UnityContainer().AddExtension(new ForceCompillation());
}
}
[TestClass]
public class Overrides : Unity.Specification.Constructor.Overrides.SpecificationTests
{
public override IUnityContainer GetContainer()
{
return new UnityContainer().AddExtension(new ForceCompillation());
}
}
}
namespace Resolved.Constructor
{
[TestClass]
public class Injection : Unity.Specification.Constructor.Injection.SpecificationTests
{
public override IUnityContainer GetContainer()
{
return new UnityContainer().AddExtension(new ForceActivation());
}
}
[TestClass]
public class Attribute : Unity.Specification.Constructor.Attribute.SpecificationTests
{
public override IUnityContainer GetContainer()
{
return new UnityContainer().AddExtension(new ForceActivation());
}
}
[TestClass]
public class Parameters : Unity.Specification.Constructor.Parameters.SpecificationTests
{
public override IUnityContainer GetContainer()
{
return new UnityContainer().AddExtension(new ForceActivation());
}
}
[TestClass]
public class Overrides : Unity.Specification.Constructor.Overrides.SpecificationTests
{
public override IUnityContainer GetContainer()
{
return new UnityContainer().AddExtension(new ForceActivation());
}
}
}