public void ReviewDisplayUpdaterReviewDisplayUpdaterTest()
        {
            MainWindow main_window = new MainWindow();
            Nkujukira.Demo.Singletons.Singleton.CURRENT_FILE_NAME = Singleton.VIDEO_FILE_PATH;
            ReviewDisplayUpdater thread = new ReviewDisplayUpdater(main_window.GetReviewFootageImageBox());

            Assert.IsNotNull(thread);
        }
 public void ReviewDisplayUpdaterResumeTest()
 {
     MainWindow main_window = new MainWindow();
     Nkujukira.Demo.Singletons.Singleton.CURRENT_FILE_NAME = Singleton.VIDEO_FILE_PATH;
     ReviewDisplayUpdater thread = new ReviewDisplayUpdater(main_window.GetReviewFootageImageBox());
     bool sucess = thread.Resume();
     Assert.IsTrue(sucess);
 }
 public void ReviewDisplayUpdaterRequestStopTest()
 {
     MainWindow main_window = new MainWindow();
     Nkujukira.Demo.Singletons.Singleton.CURRENT_FILE_NAME = Singleton.VIDEO_FILE_PATH;
     ReviewDisplayUpdater thread = new ReviewDisplayUpdater(main_window.GetReviewFootageImageBox());
     thread.StartWorking();
     thread.RequestStop();
     Assert.IsFalse(thread.IsRunning());
 }
 public void ReviewDisplayUpdaterDisplayNextFrameTest()
 {
     MainWindow main_window = new MainWindow();
     Nkujukira.Demo.Singletons.Singleton.CURRENT_FILE_NAME = Singleton.VIDEO_FILE_PATH;
     ReviewDisplayUpdater thread = new ReviewDisplayUpdater(main_window.GetReviewFootageImageBox());
     Nkujukira.Demo.Singletons.Singleton.REVIEW_FRAMES_TO_BE_DISPLAYED.Enqueue(Singleton.FACE_PIC);
     bool sucess=thread.DisplayNextFrame();
     Assert.IsTrue(sucess);
 }