예제 #1
0
 /// <summary>
 /// Configure dependencies for query tests
 /// </summary>
 /// <param name="container">container to configure dependencies on</param>
 protected override void ConfigureDependencies(Test.Taupo.Contracts.DependencyInjectionContainer container)
 {
     base.ConfigureDependencies(container);
     ODataTaupoTestUtils.ConfigureDependenciesHelper(container);
     container.Register <IQueryVerifier, ODataUriParserVerifier>();
     container.Register <IDataServiceProviderFactory, StronglyTypedDataServiceProviderFactory>();
     container.Register <ClientResultComparerBase, ODataObjectResultComparer>();
     container.Register <IClientExpectedErrorComparer, EmptyErrorResultComparer>();
     container.Register <IClientCodeLayerGenerator, PocoClientCodeLayerGenerator>();
     container.Register <DataProviderSettings, ReflectionDataProviderSettings>();
 }
예제 #2
0
 /// <summary>
 /// Specify Astoria Model for ModelGenerator
 /// </summary>
 /// <param name="container">container on which to register impelemntation dependencies</param>
 protected override void ConfigureDependencies(DependencyInjectionContainer container)
 {
     base.ConfigureDependencies(container);
     ODataTaupoTestUtils.ConfigureDependenciesHelper(container);
 }