public void VideoFromFileThreadDoWorkTest() { MainWindow main_window = new MainWindow(); VideoFromFileThread thread = new VideoFromFileThread(Singleton.VIDEO_FILE_PATH); thread.StartWorking(); Assert.IsTrue(thread.IsRunning()); }
//STARTS A CONTINUOUS RUNNING THREAD TO GRAB FRAMES FROM THE VIDEO FILE IN THE BACKGROUND private static VideoFromFileThread CreateVideoFileGrabberThread(VideoFile video_file) { video_from_file_grabber = new VideoFromFileThread(video_file); video_from_file_grabber.StartWorking(); return video_from_file_grabber; }