protected override void Dispose(bool disposing)
 {
     if (disposing)
     {
         DatabaseFixture.Dispose();
     }
 }
Example #2
0
        public void should_create_database()
        {
            var fixture = new DatabaseFixture();

            var exists = fixture.TestDatabase.Exists();

            Assert.True(exists);

            fixture.Dispose();
        }
Example #3
0
        protected virtual void Dispose(bool disposing)
        {
            if (_Disposed)
            {
                return;
            }

            if (disposing)
            {
                _DatabaseFixture.Dispose();
            }

            _Disposed = true;
        }
 public void Dispose()
 {
     _fixture?.Dispose();
 }
 public void Teardown()
 {
     _fixture.Dispose();
 }
Example #6
0
 public void Cleanup()
 {
     DatabaseFixture.Dispose();
 }
Example #7
0
 public void Dispose()
 {
     _client.Dispose();
     _fixture.Dispose();
 }
 public void Dispose()
 {
     Client.Dispose();
     _testServer.Dispose();
     _databaseFixture.Dispose();
 }
 public void TearDown()
 {
     _databaseFixture?.Dispose();
 }
Example #10
0
 public void Dispose()
 {
     _databaseFixture.Dispose();
 }
Example #11
0
 public void Dispose()
 {
     _fixture.Dispose();
     _context.Dispose();
 }