Repository rearrangement
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
using NUnit.Framework;
|
||||
using System.Linq;
|
||||
using YouTube.Models;
|
||||
|
||||
namespace YouTube.API.Test
|
||||
{
|
||||
public class ClosedCaptionsTest
|
||||
{
|
||||
[Test]
|
||||
public void ValidCaptionsTest()
|
||||
{
|
||||
ExtendedYouTubeService service = new ExtendedYouTubeService();
|
||||
ClosedCaptionInfo info = service.VideoPlayback.List("VC5-YkjMHuw").Execute().ClosedCaptions.FirstOrDefault();
|
||||
ClosedCaptionTrack track = service.Captions.Load(info).Execute();
|
||||
Assert.IsNotNull(track);
|
||||
Assert.IsNotEmpty(track.Captions);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user