public void GetAllVideosTest() { VideoManager target = new VideoManager(); List <VideoInfoModel> actual = target.GetAllVideos(); Assert.AreEqual(actual.Count >= 1, true); }
/// <summary> /// 获取所有摄像头信息 /// </summary> /// <returns></returns> public List <VideoInfoModel> GetAllVideos() { return(videoManager.GetAllVideos()); }