2018-12-31 02:38:03 +03:00
|
|
|
|
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
|
|
|
|
using Unity;
|
|
|
|
|
|
|
|
|
|
namespace Compiled.Constructor
|
|
|
|
|
{
|
|
|
|
|
[TestClass]
|
|
|
|
|
public class Injection : Unity.Specification.Constructor.Injection.SpecificationTests
|
|
|
|
|
{
|
|
|
|
|
public override IUnityContainer GetContainer()
|
|
|
|
|
{
|
2019-03-24 00:53:09 +03:00
|
|
|
|
return new UnityContainer().AddExtension(new ForceCompillation());
|
2018-12-31 02:38:03 +03:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[TestClass]
|
|
|
|
|
public class Attribute : Unity.Specification.Constructor.Attribute.SpecificationTests
|
|
|
|
|
{
|
|
|
|
|
public override IUnityContainer GetContainer()
|
|
|
|
|
{
|
2019-03-24 00:53:09 +03:00
|
|
|
|
return new UnityContainer().AddExtension(new ForceCompillation());
|
2018-12-31 02:38:03 +03:00
|
|
|
|
}
|
|
|
|
|
}
|
2019-01-01 05:18:26 +03:00
|
|
|
|
|
|
|
|
|
[TestClass]
|
|
|
|
|
public class Parameters : Unity.Specification.Constructor.Parameters.SpecificationTests
|
|
|
|
|
{
|
|
|
|
|
public override IUnityContainer GetContainer()
|
|
|
|
|
{
|
2019-03-24 00:53:09 +03:00
|
|
|
|
return new UnityContainer().AddExtension(new ForceCompillation());
|
2019-01-01 05:18:26 +03:00
|
|
|
|
}
|
|
|
|
|
}
|
2019-01-08 06:58:36 +03:00
|
|
|
|
|
|
|
|
|
[TestClass]
|
|
|
|
|
public class Overrides : Unity.Specification.Constructor.Overrides.SpecificationTests
|
|
|
|
|
{
|
|
|
|
|
public override IUnityContainer GetContainer()
|
|
|
|
|
{
|
2019-03-24 00:53:09 +03:00
|
|
|
|
return new UnityContainer().AddExtension(new ForceCompillation());
|
2019-01-08 06:58:36 +03:00
|
|
|
|
}
|
|
|
|
|
}
|
2018-12-31 02:38:03 +03:00
|
|
|
|
}
|
|
|
|
|
|
2019-01-08 06:58:36 +03:00
|
|
|
|
|
2018-12-31 02:38:03 +03:00
|
|
|
|
namespace Resolved.Constructor
|
|
|
|
|
{
|
|
|
|
|
[TestClass]
|
|
|
|
|
public class Injection : Unity.Specification.Constructor.Injection.SpecificationTests
|
|
|
|
|
{
|
|
|
|
|
public override IUnityContainer GetContainer()
|
|
|
|
|
{
|
2019-03-24 00:53:09 +03:00
|
|
|
|
return new UnityContainer().AddExtension(new ForceActivation());
|
2018-12-31 02:38:03 +03:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[TestClass]
|
|
|
|
|
public class Attribute : Unity.Specification.Constructor.Attribute.SpecificationTests
|
|
|
|
|
{
|
|
|
|
|
public override IUnityContainer GetContainer()
|
|
|
|
|
{
|
2019-03-24 00:53:09 +03:00
|
|
|
|
return new UnityContainer().AddExtension(new ForceActivation());
|
2018-12-31 02:38:03 +03:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2019-01-01 05:18:26 +03:00
|
|
|
|
[TestClass]
|
|
|
|
|
public class Parameters : Unity.Specification.Constructor.Parameters.SpecificationTests
|
|
|
|
|
{
|
|
|
|
|
public override IUnityContainer GetContainer()
|
|
|
|
|
{
|
2019-03-24 00:53:09 +03:00
|
|
|
|
return new UnityContainer().AddExtension(new ForceActivation());
|
2019-01-01 05:18:26 +03:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2019-01-08 06:58:36 +03:00
|
|
|
|
[TestClass]
|
|
|
|
|
public class Overrides : Unity.Specification.Constructor.Overrides.SpecificationTests
|
|
|
|
|
{
|
|
|
|
|
public override IUnityContainer GetContainer()
|
|
|
|
|
{
|
2019-03-24 00:53:09 +03:00
|
|
|
|
return new UnityContainer().AddExtension(new ForceActivation());
|
2019-01-08 06:58:36 +03:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2018-12-31 02:38:03 +03:00
|
|
|
|
}
|