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