public void ItemTest()
        {
            LogConfigurationCollection target = new LogConfigurationCollection(); // TODO: Initialize to an appropriate value
            int index = 0;                                                        // TODO: Initialize to an appropriate value
            LogConfigurationElement actual;

            actual = target[index];
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
Пример #2
0
        public LogTailParser()
        {
            var section = ConfigurationManager.GetSection("LogTail") as LogConfigurationSection;
            cursor = new OffsetCursor<long>("log");
            if (section != null)
            {
                logs = section.Logs;
            }

            if (ConfigurationManager.AppSettings["warmGeoLocation"] == "true")
            {
                Task.Factory.StartNew(new Action(() => { var test = Geolocation.Instance; }));
            }
        }
        public void LogConfigurationCollectionConstructorTest()
        {
            LogConfigurationCollection target = new LogConfigurationCollection();

            Assert.Inconclusive("TODO: Implement code to verify target");
        }