public void ParseFile()
        {
            string dataDir = Environment.GetEnvironmentVariable("TEST_DATA_DIR");

            Assert.IsNotNull(dataDir,
                             "TEST_DATA_DIR environment variable should be set");

            processor = new IniFileProcessor(
                Path.Combine(dataDir, "browscap.ini"));
            processor.ShowWarnings = false;
            processor.ProcessFile();
        }
        public void VerifyWindirResolution()
        {
            string windir = Environment.GetEnvironmentVariable("WINDIR");

            Assert.IsNotNull(windir,
                             "WINDIR environment variable should be set (if on UNIX, should be set to TEST_DATA_DIR)");
            IniFileProcessor ini = new IniFileProcessor("system.ini");

            ini.ShowWarnings = false;
            ini.ProcessFile();

            ConfigSection section = ini["drivers"];

            Assert.AreEqual("mmdrv.dll", section["wave"]);
        }