/// <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>();
 }
Exemple #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);
 }