Esempio n. 1
0
        public void SingletonVueloIntegrationTest()
        {
            SingletonVuelo singletonVueloReal = SingletonVuelo.Instance;
            SingletonVuelo singletonVueloFake = SingletonVuelo.Instance;

            Assert.AreEqual(singletonVueloReal.SingletonGuid, singletonVueloFake.SingletonGuid);
        }
Esempio n. 2
0
        private void frmAirports_Load(object sender, EventArgs e)
        {
            vuelosSingleton = SingletonVuelo.Instance;
            InitializeOriginComboBox();

            string selectedCity = originCbo.SelectedItem.ToString();

            InitializeDestinationCombobox(selectedCity);
        }