public void GlobalSetup() { builder = new RelationalLockBuilder(); baseCfg = new RelationalLockConfigurator(); baseCfg.RegisterRelation("key1", "key2", "key3"); baseCfg.RegisterRelation("key2", "key4"); }
public RelationalLockConfigurator Get3Key2RelConfigurator() { var cfg = new RelationalLockConfigurator(); cfg.RegisterRelation("key1", "key2"); cfg.RegisterRelation("key2", "key3"); return(cfg); }
public void GlobalSetup() { var builder = new RelationalLockBuilder(); var cfg = new RelationalLockConfigurator(); cfg.RegisterRelation("key1", "key2"); cfg.RegisterRelation("key2", "key3"); cfg.RegisterRelation("key3", "key4"); cfg.RegisterRelation("key4", "key5"); cfg.RegisterRelation("key5", "key1"); manager = builder.Build(cfg); }
public void Setup() { configurator = new RelationalLockConfigurator(); builder = new RelationalLockBuilder(); }
public void Setup() { cfg = new RelationalLockConfigurator(); }