public TransactionTestBase(TransactionTableFixture fixture, ITestOutputHelper outputHelper)
 {
     _fixture = fixture;
     TestLogger.TestOutputHelper = outputHelper;
     _key = IdGenerator.FromGuid();
     (_oldestEntry, _newestEntry) = PopulateTableForTest(fixture, _key);
 }
        public TransactionTests(TransactionTableFixture fixture, ITestOutputHelper outputHelper)
        {
            _fixture = fixture;
#if LoggingOn
            SpannerConnection.ConnectionPoolOptions.LogLevel                    = LogLevel.Debug;
            SpannerConnection.ConnectionPoolOptions.LogPerformanceTraces        = true;
            SpannerConnection.ConnectionPoolOptions.PerformanceTraceLogInterval = 1000;
#endif
            TestLogger.TestOutputHelper = outputHelper;
            _key = Guid.NewGuid().ToString();
            (_oldestEntry, _newestEntry) = PopulateTableForTest(fixture, _key);
        }
예제 #3
0
 public TransactionTests(TransactionTableFixture fixture)
     : base(fixture)
 {
 }
 public TransactionTests(TransactionTableFixture fixture, ITestOutputHelper outputHelper)
     : base(fixture, outputHelper)
 {
 }
 private static (HistoryEntry oldest, HistoryEntry newest) PopulateTableForTest(TransactionTableFixture fixture, string key)
 {
     HistoryEntry oldest = default, newest = default;
 public TransactionTestBase(TransactionTableFixture fixture)
 {
     _fixture = fixture;
     _key     = IdGenerator.FromGuid();
     (_oldestEntry, _newestEntry) = PopulateTableForTest(fixture, _key);
 }