public SlideRenderer(IUlearnVideoAnnotationsClient videoAnnotationsClient, IUserSolutionsRepo solutionsRepo, ISlideCheckingsRepo slideCheckingsRepo, ICourseRolesRepo courseRolesRepo) { this.videoAnnotationsClient = videoAnnotationsClient; this.solutionsRepo = solutionsRepo; this.slideCheckingsRepo = slideCheckingsRepo; this.courseRolesRepo = courseRolesRepo; }
public void OneTimeSetUp() { Directory.SetCurrentDirectory(TestContext.CurrentContext.TestDirectory); videoAnnotationsClient = Mock.Of <IUlearnVideoAnnotationsClient>(); slideRenderer = new SlideRenderer(videoAnnotationsClient, null, null, null); loader = new XmlSlideLoader(); courseSettings = new CourseSettings(CourseSettings.DefaultSettings); courseSettings.Scoring.Groups.Add("ScoringGroup1", new ScoringGroup { Id = "ScoringGroup1" }); unit = new Unit(UnitSettings.CreateByTitle("Unit title", courseSettings), new DirectoryInfo(testDataDirectory)); }