Line data Source code
1 : #region Copyright
2 : // // -----------------------------------------------------------------------
3 : // // <copyright company="Chinchilla Software Limited">
4 : // // Copyright Chinchilla Software Limited. All rights reserved.
5 : // // </copyright>
6 : // // -----------------------------------------------------------------------
7 : #endregion
8 :
9 : using cdmdotnet.Logging;
10 : using Cqrs.Azure.BlobStorage.DataStores;
11 : using Cqrs.Configuration;
12 : using TestClass = NUnit.Framework.TestFixtureAttribute;
13 : using TestMethod = NUnit.Framework.TestAttribute;
14 : using TestInitialize = NUnit.Framework.SetUpAttribute;
15 : using TestCleanup = NUnit.Framework.TearDownAttribute;
16 : using TestContext = System.Object;
17 :
18 : namespace Cqrs.Azure.Storage.Test.Integration
19 : {
20 : /// <summary>
21 : /// A series of tests on the <see cref="TableStorageDataStore{TData}"/> class
22 : /// </summary>
23 : [TestClass]
24 : public class TableStorageDataStoreTests : BlobStorage.Test.Integration.TableStorageDataStoreTests
25 1 : {
26 : #region Overrides of TableStorageDataStoreTests
27 :
28 : /// <summary>
29 : /// Create a <see cref="TableStorageDataStore{TData}"/> ready for testing.
30 : /// </summary>
31 1 : protected override TableStorageDataStore<TData> CreateDataStore<TData>(ILogger logger, IConfigurationManager configurationManager)
32 : {
33 : return new DataStores.TableStorageDataStore<TData>(logger, new DataStores.TableStorageDataStoreConnectionStringFactory<TData>(configurationManager, logger));
34 : }
35 :
36 : #endregion
37 : }
38 : }
|