예제 #1
0
        private void btnALL_Click(object sender, RoutedEventArgs e)
        {
            if (isRunning)
            {
                Global.LstInfo = new System.Collections.ObjectModel.ObservableCollection <string>();
                Global.LstInfo.Add("已经有测试用例在执行!");
                return;
            }

            isRunning = true;
            //德雅管理后台
            DentureLoginModule.LoginAllTest();
            HospitalModule.HospitalAllTest();
            DoctorModule.DoctorAllTest();
            DentureModule.DentureAllTest();
            RoleModule.RoleAllTest();
            DoctorModule.DoctorAllTest();

            //Dentlab 客户端
            DoctorLoginModule.LoginAllTest();
            FactoryHospitalModule.HospitalAllTest();
            TechnicianListModule.TechnicianAllTest();
            UploadReportModule.DoctorAllTest();

            isRunning = false;

            this.Activate();
        }
예제 #2
0
        /// <summary>
        /// 用户管理
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btnUser_Click(object sender, RoutedEventArgs e)
        {
            if (isRunning)
            {
                Global.LstInfo = new System.Collections.ObjectModel.ObservableCollection <string>();
                Global.LstInfo.Add("已经有测试用例在执行!");
                return;
            }

            isRunning = true;
            DoctorModule.DoctorAllTest();
            isRunning = false;

            this.Activate();
        }