Esempio n. 1
0
        public void TestItReturnsCorrectAirportKeyWithDescriptor()
        {
            ConfigFileSection configSection = ConfigFileSectionFactory.Make(dataType: InputDataType.ESE_AGREEMENTS);

            Assert.Equal("airport.ESE_AGREEMENTS.EGLL", OutputGroupKeyGenerator.GenerateAirportKey(configSection, "EGLL"));
        }
Esempio n. 2
0
        public void TestItReturnsCorrectAirportKeyWithoutDescriptor()
        {
            ConfigFileSection configSection = ConfigFileSectionFactory.Make(descriptor: null, dataType: InputDataType.SCT_STARS);

            Assert.Equal("airport.SCT_STARS", OutputGroupKeyGenerator.GenerateAirportKey(configSection, "EGLL"));
        }
Esempio n. 3
0
        public void TestItReturnsCorrectMiscKey()
        {
            ConfigFileSection configSection = ConfigFileSectionFactory.Make(dataType: InputDataType.ESE_AGREEMENTS);

            Assert.Equal("misc.ESE_AGREEMENTS", OutputGroupKeyGenerator.GenerateMiscKey(configSection));
        }