public ContentAddressableStoreTests() { // Create a new temporary content path var tempPath = Path.GetTempPath(); var random = new Random(); do { _contentPath = Path.Combine(tempPath, "Cassette-Test-Data-" + random.Next().ToString("X")); }while (Directory.Exists(_contentPath)); // Create a store _store = new ContentAddressableStore(_contentPath); }
public ContentAddressableStoreTests() { // Create a new temporary content path var tempPath = Path.GetTempPath(); var random = new Random(); do { _contentPath = Path.Combine(tempPath, "Cassette-Test-Data-" + random.Next().ToString("X")); } while (Directory.Exists(_contentPath)); // Create a store _store = new ContentAddressableStore(_contentPath); }