public void CheckProcessesListSize() { var listOfRunningProcesses = processAggregator.getProcesses(); Process[] AllProcesses = Process.GetProcesses(); Assert.IsFalse(listOfRunningProcesses.Count.Equals(AllProcesses.Length)); }
private void VisualizeProcesses(DataGrid DataGridXML) { foreach (CurrentlyRunningProcess process in processes.getProcesses()) { DataGridXML.Items.Add(process); } }