Ejemplo n.º 1
0
        public async Task TearDownAsync()
        {
            // Wait for pending operations so the repository is not deleted while operations run in the background
            await AsyncTestHelper.JoinPendingOperationsAsync(AsyncTestHelper.UnexpectedTimeout);

            _repo1.Dispose();
        }
 public void TearDown()
 {
     //// _provider is a singleton and must not be disposed
     _repo1.Dispose();
     _repo2.Dispose();
     _repo3.Dispose();
 }
Ejemplo n.º 3
0
 public void OneTimeTearDown()
 {
     _provider.Dispose();
     _repo1.Dispose();
     _repo2.Dispose();
     _repo3.Dispose();
 }
        public void TearDown()
        {
            _userRoaming.SettingsCache.Dispose();
            _repoDistributed.SettingsCache.Dispose();
            _repoLocal.SettingsCache.Dispose();

            _testHelper.Dispose();
        }
Ejemplo n.º 5
0
        public void TearDown()
        {
            _commands = null;

            _repo1.Dispose();
            _repo2.Dispose();
            _repo3.Dispose();
        }
Ejemplo n.º 6
0
        public async Task TearDownAsync()
        {
            // Wait for pending operations so the repository is not deleted while operations run in the background
            await AsyncTestHelper.JoinPendingOperationsAsync(AsyncTestHelper.UnexpectedTimeout);

            //// _provider is a singleton and must not be disposed
            _repo1.Dispose();
            _repo2.Dispose();
            _repo3.Dispose();
        }
 protected virtual void Dispose(bool disposing)
 {
     _moduleTestHelper.Dispose();
 }
 public void TearDown()
 {
     _repo1.Dispose();
 }