64 строки
1.7 KiB
C#
64 строки
1.7 KiB
C#
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
|
using Unity;
|
|
|
|
namespace Compiled.Property
|
|
{
|
|
[TestClass]
|
|
public class Attribute : Unity.Specification.Property.Attribute.SpecificationTests
|
|
{
|
|
public override IUnityContainer GetContainer()
|
|
{
|
|
return new UnityContainer().AddExtension(new ForceCompillation());
|
|
}
|
|
}
|
|
|
|
[TestClass]
|
|
public class Injection : Unity.Specification.Property.Injection.SpecificationTests
|
|
{
|
|
public override IUnityContainer GetContainer()
|
|
{
|
|
return new UnityContainer().AddExtension(new ForceCompillation());
|
|
}
|
|
}
|
|
|
|
[TestClass]
|
|
public class Override : Unity.Specification.Property.Overrides.SpecificationTests
|
|
{
|
|
public override IUnityContainer GetContainer()
|
|
{
|
|
return new UnityContainer().AddExtension(new ForceCompillation());
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
namespace Resolved.Property
|
|
{
|
|
[TestClass]
|
|
public class Attribute : Unity.Specification.Property.Attribute.SpecificationTests
|
|
{
|
|
public override IUnityContainer GetContainer()
|
|
{
|
|
return new UnityContainer().AddExtension(new ForceActivation());
|
|
}
|
|
}
|
|
|
|
[TestClass]
|
|
public class Injection : Unity.Specification.Property.Injection.SpecificationTests
|
|
{
|
|
public override IUnityContainer GetContainer()
|
|
{
|
|
return new UnityContainer().AddExtension(new ForceActivation());
|
|
}
|
|
}
|
|
|
|
[TestClass]
|
|
public class Override : Unity.Specification.Property.Overrides.SpecificationTests
|
|
{
|
|
public override IUnityContainer GetContainer()
|
|
{
|
|
return new UnityContainer().AddExtension(new ForceActivation());
|
|
}
|
|
}
|
|
}
|