public async Task HeaderDateOnPublicConference() { // Make sure that we can get back the header date properly. var fileInfo = new TalkMaterial() { URL = "http://indico.cern.ch/event/336571/session/1/contribution/1/material/slides/0.pdf" }; var f = new IndicoMeetingRef.IndicoFile(fileInfo, "thisIsAFile") as IFile; Assert.IsTrue((await f.GetFileDate()).Contains("53:19")); }
/// <summary> /// Initialize with the URL for this talk /// </summary> /// <param name="fileUri"></param> public IndicoFile(TalkMaterial talkInfo, string uniqueKey) { _aFile = talkInfo; UniqueKey = uniqueKey; }