Inheritance: FlipperDotNet.AdapterTests.Interop.RubyAdapter
Exemplo n.º 1
0
        public void SetUp()
        {
            client = new Client();
            client.KV.DeleteTree("/");
            adapter = new ConsulAdapter(client);
            flipper = new Flipper(adapter);

            rubyAdapter = new ConsulRubyAdapter();
        }
Exemplo n.º 2
0
        public void SetUp()
        {
            client = new Client();
            client.KV.DeleteTree("/");
            adapter = new ConsulAdapter(client);
            flipper = new Flipper(adapter);

            rubyAdapter = new ConsulRubyAdapter();
        }
        public void SetUp()
        {
            _client = new ConsulClient();
            var pairs = _client.KV.Keys("/", "/").Result;
            foreach (var key in pairs.Response)
            {
                _client.KV.DeleteTree(key).Wait();
            }
            adapter = new ConsulAdapter(_client);
            flipper = new Flipper(adapter);

            rubyAdapter = new ConsulRubyAdapter();
        }