1212using Xtensive . Orm . Providers ;
1313using Xtensive . Sql ;
1414using Xtensive . Orm . Tests . Storage . ConnectionHandlersModel ;
15+ using System . Threading . Tasks ;
1516
1617namespace Xtensive . Orm . Tests . Storage . ConnectionHandlersModel
1718{
18- public class MyConnectionHandler : IConnectionHandler
19+ public class MyConnectionHandler : ConnectionHandler
1920 {
2021 private Guid instanceMarker ;
2122
@@ -26,29 +27,29 @@ public class MyConnectionHandler : IConnectionHandler
2627 public int ConnectionOpenedCounter ;
2728 public int ConnectionOpeningFailedCounter ;
2829
29- public void ConnectionOpening ( ConnectionEventData eventData )
30+ public override void ConnectionOpening ( ConnectionEventData eventData )
3031 {
3132 instanceMarker = UniqueInstanceIdentifier ;
3233 ConnectionOpeningCounter ++ ;
3334 }
3435
35- public void ConnectionInitialization ( ConnectionInitEventData eventData )
36+ public override void ConnectionInitialization ( ConnectionInitEventData eventData )
3637 {
3738 ConnectionInitializationCounter ++ ;
3839 if ( instanceMarker != UniqueInstanceIdentifier ) {
3940 throw new Exception ( "Not the same instance" ) ;
4041 }
4142 }
4243
43- public void ConnectionOpened ( ConnectionEventData eventData )
44+ public override void ConnectionOpened ( ConnectionEventData eventData )
4445 {
4546 ConnectionOpenedCounter ++ ;
4647 if ( instanceMarker != UniqueInstanceIdentifier ) {
4748 throw new Exception ( "Not the same instance" ) ;
4849 }
4950 }
5051
51- public void ConnectionOpeningFailed ( ConnectionErrorEventData eventData )
52+ public override void ConnectionOpeningFailed ( ConnectionErrorEventData eventData )
5253 {
5354 ConnectionOpeningFailedCounter ++ ;
5455 if ( instanceMarker != UniqueInstanceIdentifier ) {
@@ -62,7 +63,7 @@ public MyConnectionHandler()
6263 }
6364 }
6465
65- public class NoDefaultConstructorHandler : IConnectionHandler
66+ public class NoDefaultConstructorHandler : ConnectionHandler
6667 {
6768#pragma warning disable IDE0060 // Remove unused parameter
6869 public NoDefaultConstructorHandler ( int dummyParameter )
@@ -71,7 +72,7 @@ public NoDefaultConstructorHandler(int dummyParameter)
7172 }
7273 }
7374
74- public class NonPublicDefaultConstructorHandler : IConnectionHandler
75+ public class NonPublicDefaultConstructorHandler : ConnectionHandler
7576 {
7677 private NonPublicDefaultConstructorHandler ( )
7778 {
@@ -80,31 +81,31 @@ private NonPublicDefaultConstructorHandler()
8081
8182 #region Performance Test handlers
8283
83- public class PerfHandler1 : IConnectionHandler { }
84- public class PerfHandler2 : IConnectionHandler { }
85- public class PerfHandler3 : IConnectionHandler { }
86- public class PerfHandler4 : IConnectionHandler { }
87- public class PerfHandler5 : IConnectionHandler { }
88- public class PerfHandler6 : IConnectionHandler { }
89- public class PerfHandler7 : IConnectionHandler { }
90- public class PerfHandler8 : IConnectionHandler { }
91- public class PerfHandler9 : IConnectionHandler { }
92- public class PerfHandler10 : IConnectionHandler { }
93- public class PerfHandler11 : IConnectionHandler { }
94- public class PerfHandler12 : IConnectionHandler { }
95- public class PerfHandler13 : IConnectionHandler { }
96- public class PerfHandler14 : IConnectionHandler { }
97- public class PerfHandler15 : IConnectionHandler { }
98- public class PerfHandler16 : IConnectionHandler { }
99- public class PerfHandler17 : IConnectionHandler { }
100- public class PerfHandler18 : IConnectionHandler { }
101- public class PerfHandler19 : IConnectionHandler { }
102- public class PerfHandler20 : IConnectionHandler { }
103- public class PerfHandler21 : IConnectionHandler { }
104- public class PerfHandler22 : IConnectionHandler { }
105- public class PerfHandler23 : IConnectionHandler { }
106- public class PerfHandler24 : IConnectionHandler { }
107- public class PerfHandler25 : IConnectionHandler { }
84+ public class PerfHandler1 : ConnectionHandler { }
85+ public class PerfHandler2 : ConnectionHandler { }
86+ public class PerfHandler3 : ConnectionHandler { }
87+ public class PerfHandler4 : ConnectionHandler { }
88+ public class PerfHandler5 : ConnectionHandler { }
89+ public class PerfHandler6 : ConnectionHandler { }
90+ public class PerfHandler7 : ConnectionHandler { }
91+ public class PerfHandler8 : ConnectionHandler { }
92+ public class PerfHandler9 : ConnectionHandler { }
93+ public class PerfHandler10 : ConnectionHandler { }
94+ public class PerfHandler11 : ConnectionHandler { }
95+ public class PerfHandler12 : ConnectionHandler { }
96+ public class PerfHandler13 : ConnectionHandler { }
97+ public class PerfHandler14 : ConnectionHandler { }
98+ public class PerfHandler15 : ConnectionHandler { }
99+ public class PerfHandler16 : ConnectionHandler { }
100+ public class PerfHandler17 : ConnectionHandler { }
101+ public class PerfHandler18 : ConnectionHandler { }
102+ public class PerfHandler19 : ConnectionHandler { }
103+ public class PerfHandler20 : ConnectionHandler { }
104+ public class PerfHandler21 : ConnectionHandler { }
105+ public class PerfHandler22 : ConnectionHandler { }
106+ public class PerfHandler23 : ConnectionHandler { }
107+ public class PerfHandler24 : ConnectionHandler { }
108+ public class PerfHandler25 : ConnectionHandler { }
108109
109110 #endregion
110111
@@ -276,4 +277,4 @@ private IEnumerable<Type> GetHandlers(int neededCount)
276277 }
277278 }
278279 }
279- }
280+ }
0 commit comments