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 System;
10 : using cdmdotnet.Logging;
11 : using Cqrs.Azure.BlobStorage;
12 : using Cqrs.Azure.BlobStorage.Events;
13 : using Cqrs.Events;
14 : using TestClass = NUnit.Framework.TestFixtureAttribute;
15 : using TestMethod = NUnit.Framework.TestAttribute;
16 : using TestInitialize = NUnit.Framework.SetUpAttribute;
17 : using TestCleanup = NUnit.Framework.TearDownAttribute;
18 : using TestContext = System.Object;
19 :
20 : namespace Cqrs.Azure.Storage.Test.Integration
21 : {
22 : /// <summary>
23 : /// A series of tests on the <see cref="TableStorageEventStore{TAuthenticationToken}"/> class
24 : /// </summary>
25 : [TestClass]
26 : public class TableStorageEventStoreTests : BlobStorage.Test.Integration.TableStorageEventStoreTests
27 1 : {
28 : #region Overrides of TableStorageDataStoreTests
29 :
30 : /// <summary>
31 : /// Create a <see cref="TableStorageEventStore{TAuthenticationToken}"/> ready for testing.
32 : /// </summary>
33 1 : protected override TableStorageEventStore<Guid> CreateEventStore(IEventBuilder<Guid> eventBuilder, IEventDeserialiser<Guid> eventDeserialiser, ILogger logger, ITableStorageStoreConnectionStringFactory tableStorageEventStoreConnectionStringFactory)
34 : {
35 : return new Events.TableStorageEventStore<Guid>(eventBuilder, eventDeserialiser, logger, tableStorageEventStoreConnectionStringFactory);
36 : }
37 :
38 : #endregion
39 : }
40 : }
|