public RedisResultCollection(IRedisClient client, string filePrefix) { this.client = client; this.filePrefix = filePrefix; this.testRunInfos = new RedisInfoCollection<TestRun>(client, () => new TestRun()); if(!Directory.Exists(filePrefix)) Directory.CreateDirectory(filePrefix); ForceUnlock(); }
public TestPlanRepository(RedisClient client, string baseDir, string dbKey) { repo = new RedisTestRepository(client, baseDir, dbKey); planInfos = new RedisInfoCollection<TestPlanInfo>(client, () => new TestPlanInfo()); }
public TestPlanRepository(RedisClient client, string baseDir, string dbKey) { repo = new RedisTestRepository(client, baseDir, dbKey); planInfos = new RedisInfoCollection <TestPlanInfo>(client, () => new TestPlanInfo()); }