static void Main(string[] args) { Menu.Hello(); JSONRulesReader jra = new JSONRulesReader(@"D:\Storage\FIA UES\project\QA_ANDROID\FIA_APK_QA\QA_FIA_APK_CONSOLE\VerificationRules\Android"); //ClassTextReader ctr = new ClassTextReader(@"C:\Users\Marcos\Desktop\IVerificable.cs"); VerifyAction va = new VerifyAction(jra.METRIC_DATA); Console.WriteLine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location)); var files = jra.METRIC_FILES; jra.read(); var metricInfo = va.StartVerifications(); foreach (MetricInfo info in metricInfo) { Console.WriteLine("======================================"); Console.WriteLine($"Metrica: {info.Name}"); Console.WriteLine($"Descripción: {info.Description}"); Console.WriteLine($"Operación: {info.Operation}"); Console.WriteLine($"Archivo: {info.File}"); Console.WriteLine($"Resultado: {info.Result}"); } Console.ReadKey(); }
public List <MetricInfo> StartMetricVerification(string apkBasePath) { return(va.StartVerifications(apkBasePath)); }