コード例 #1
0
        public void checkpoint_cleans_up_on_dispose()
        {
            var checkpoint = new CheckpointStore(fixture.CheckpointPath);

            Directory.Exists(checkpoint.checkpointTempPath).Should().BeTrue();
            checkpoint.Dispose();
            Directory.Exists(checkpoint.checkpointTempPath).Should().BeFalse();
        }
コード例 #2
0
 public void Dispose()
 {
     _checkpointStore.Dispose();
     File.Delete(_filePath);
 }