public GetLogName ( |
||
eac3toConfiguration | ||
filesOutputPath | string | |
paddedEpisodeNumber | string | |
episodeName | string | |
return | string |
public void movieRemuxTemplate1EAC3ToOutputNamingService_can_set_log_name_test() { //given not extract for remux BluRaySummaryInfo summary = new BluRaySummaryInfo() { IsSelected = true, RemuxFileNameForMovieTemplate = new EAC3ToRemuxFileNameTemplate() { SeriesName = "BatchGuy", SeasonNumber = "2", } }; EAC3ToConfiguration config = new EAC3ToConfiguration() { IsExtractForRemux = true, IfIsExtractForRemuxIsItForAMovie = true }; string filesOutputPath = "c:\\bluray"; string paddedEpisodeNumber = "01"; string episodeName = "Episode 3"; //when i get the subtitle name IAudioService audioService = new AudioService(); AbstractEAC3ToOutputNamingService service = new MovieRemuxTemplate1EAC3ToOutputNamingService(audioService); service.SetCurrentBluRaySummaryInfo(summary); string logName = service.GetLogName(config, filesOutputPath, paddedEpisodeNumber, episodeName); //then subtitle name should be based on the remux template logName.Should().Be(" -log=\"c:\\bluray\\BatchGuy log.log\""); }