Esempio n. 1
0
        private void Button5_Click(object sender, EventArgs e)
        {
            //string path = @"C:\Users\masuo_esp0vb3\Desktop\jm\Evaluation\Evaluation-Q1.xlsx";
            string         path = @"C:\Users\masuo_esp0vb3\Desktop\Evaluation-Q1.xlsx";
            string         time = NSGAII.estimatedTime.ToString();
            SaveEvaluation sv   = new SaveEvaluation(path, Lcoverage.Text, Lcost.Text, LFDE.Text, LRCover.Text, LRCost.Text, LRFDE.Text, CurrentFileName, Reusability, time);

            sv.FilterTestCase = filter;
            sv.AllTestCount   = compair.ChangedPairs[0].TestCases.Count;
            sv.Run();
        }
Esempio n. 2
0
        private void SaveCompairViaRandom(double myR, double randR)
        {
            //string path = @"C:\Users\masuo_esp0vb3\Desktop\jm\Evaluation\Evaluation-Q1.xlsx";
            string         path = @"C:\Users\masuod\Desktop\Evaluation-Q1.xlsx";
            string         time = NSGAII.estimatedTime.ToString();
            SaveEvaluation sv   = new SaveEvaluation(path, Lcoverage.Text, Lcost.Text, LFDE.Text, LRCover.Text, LRCost.Text, LRFDE.Text, CurrentFileName, Reusability, time);

            sv.FilterTestCase = filter;
            sv.AllTestCount   = compair.ChangedPairs[0].TestCases.Count;
            sv.MyUsability    = myR.ToString();
            sv.RandUsability  = randR.ToString();
            sv.Run();
        }