public RunAsRadioUnitTests()
 {
     _sut = new RunAsRadio();
     _sut.AddInner(new BaseHandler());
     _sample = new PodCastTableEntity
     {
         FeedName       = "RunAs Radio",
         EpisodeName    = "Using Query Store to Help Developers Understand Query Performance with Erin Stellato",
         EpisodeUrl     = "http://www.podtrac.com/pts/redirect.mp3/s3.amazonaws.com/runas/runasradio_0632_query_store.mp3",
         EpisodePostUrl = "http://feedproxy.google.com/~r/RunasRadio/~3/5gqNMw2W2zU/default.aspx"
     };
 }
 public RiskyBusinessUnitTests()
 {
     _sut = new RiskyBusiness();
     _sut.AddInner(new BaseHandler());
     _sample = new PodCastTableEntity
     {
         FeedName       = "Risky Business",
         EpisodeName    = "Snake Oilers 9 part 2: Rapid7 talks SOAR, Trend Micro on its API-based email security play",
         EpisodeUrl     = "http://media2.risky.biz/snakeoilers9pt2.mp3",
         EpisodePostUrl = "https://risky.biz/snakeoilers9pt2"
     };
 }
 public SoftwareEngineeringRadioUnitTests()
 {
     _sut = new SoftwareEngineeringRadio();
     _sut.AddInner(new BaseHandler());
     _sample = new PodCastTableEntity
     {
         FeedName       = "Software Engineering Radio - The Podcast for Professional Software Developers",
         EpisodeName    = "366: Test Automation",
         EpisodeUrl     = "http://feedproxy.google.com/~r/se-radio/~5/s1Z7O3Vlm4M/366-Test-Automation.mp3",
         EpisodePostUrl = "http://feedproxy.google.com/~r/se-radio/~3/EJth7FBvjnc/"
     };
 }
예제 #4
0
 public BrainScienceUnitTests()
 {
     _sut = new BrainScience();
     _sut.AddInner(new BaseHandler());
     _sample = new PodCastTableEntity
     {
         FeedName       = "Brain Science",
         EpisodeName    = "What are you thinking?",
         EpisodeUrl     = "https://cdn.changelog.com/uploads/brainscience/7/brain-science-7.mp3",
         EpisodePostUrl = "https://changelog.com/brainscience/7"
     };
 }
 public PodCtlUnitTests()
 {
     _sut = new PodCtl();
     _sut.AddInner(new BaseHandler());
     _sample = new PodCastTableEntity
     {
         FeedName       = "PodCTL - Containers | Kubernetes | OpenShift",
         EpisodeName    = "Operators and OperatorHub",
         EpisodeUrl     = "https://www.buzzsprout.com/110399/1077212-operators-and-operatorhub.mp3",
         EpisodePostUrl = "https://www.buzzsprout.com/110399/1077212"
     };
 }
 public WeeklyDevTipsUnitTests()
 {
     _sut = new WeeklyDevTips();
     _sut.AddInner(new BaseHandler());
     _sample = new PodCastTableEntity
     {
         FeedName       = "Weekly Dev Tips",
         EpisodeName    = "Introducing SOLID Principles",
         EpisodeUrl     = "https://audio.simplecast.com/416f001e.mp3",
         EpisodePostUrl = "http://www.weeklydevtips.com/047"
     };
 }
 public ReactRoundUpUnitTests()
 {
     _sut = new ReactRoundup();
     _sut.AddInner(new BaseHandler());
     _sample = new PodCastTableEntity
     {
         FeedName       = "React Round Up",
         EpisodeName    = "RRU 062: Image Lazy Loading in React",
         EpisodeUrl     = "https://media.devchat.tv/reactroundup/RRU_062_Image_Lazy_Loading_in_React.mp3",
         EpisodePostUrl = "https://devchat.tv/react-round-up/rru-062-image-lazy-loading-in-react/"
     };
 }
 public FridayNightComedyUnitTests()
 {
     _sut = new FridayNightComedy();
     _sut.AddInner(new BaseHandler());
     _sample = new PodCastTableEntity
     {
         FeedName       = "Friday Night Comedy from BBC Radio 4",
         EpisodeName    = "The News Quiz 17 May 2019",
         EpisodeUrl     = "http://open.live.bbc.co.uk/mediaselector/6/redir/version/2.0/mediaset/audio-nondrm-download/proto/http/vpid/p079jvf9.mp3",
         EpisodePostUrl = "http://www.bbc.co.uk/programmes/p079jwb4"
     };
 }
 public SixFigureDeveloperUnitTests()
 {
     _sut = new SixFigureDeveloper();
     _sut.AddInner(new BaseHandler());
     _sample = new PodCastTableEntity
     {
         FeedName       = "The 6 Figure Developer Podcast",
         EpisodeName    = "Episode 092 – AI on the Edge and IoT with Jared Rhodes",
         EpisodeUrl     = "http://media.blubrry.com/6figuredev/content.blubrry.com/6figuredev/6_Figure_Developer-092-Jared_Rhodes.mp3",
         EpisodePostUrl = "https://6figuredev.com/podcast/episode-092-ai-on-the-edge-and-iot-with-jared-rhodes/"
     };
 }
예제 #10
0
 public TwoThousandBooksUnitTestsUnitTests()
 {
     _sut = new TwoThousandBooks();
     _sut.AddInner(new BaseHandler());
     _sample = new PodCastTableEntity
     {
         FeedName       = "2000 Books for Ambitious Entrepreneurs - Author Interviews and Book Summaries",
         EpisodeName    = "197[Self Help] As a Man Thinketh - James Allen | The 1 Key to never be a victim of circumstances",
         EpisodeUrl     = "https://traffic.libsyn.com/secure/2000books/As_a_Man_thinketh_-_Purpose.mp3?dest-id=380666",
         EpisodePostUrl = "https://2000books.libsyn.com/197self-help-as-a-man-thinketh-james-allen-the-1-key-to-never-be-a-victim-of-circumstances"
     };
 }
 public InOurTimeUnitTests()
 {
     _sut = new InOurTime();
     _sut.AddInner(new BaseHandler());
     _sample = new PodCastTableEntity
     {
         FeedName       = "In Our Time: Science",
         EpisodeName    = "Pheromones",
         EpisodeUrl     = "http://open.live.bbc.co.uk/mediaselector/5/redir/version/2.0/mediaset/audio-nondrm-download/proto/http/vpid/p071jzyp.mp3",
         EpisodePostUrl = "http://www.bbc.co.uk/programmes/m0002mdl"
     };
 }
예제 #12
0
        public void TemporaryTestUntilWehaveDependacyInjection()
        {
            var source = new PodCastTableEntity
            {
                FeedName = "The Azure Podcast"
            };

            var result = _sut.Convert(source);

            Assert.NotNull(result);
            Assert.Equal("The Azure Podcast", result.FeedName);
            Assert.Equal("Azure & AWS", result.Category);
        }
 public static async Task AddToCloudTableEntities(CloudTable cloudTable, PodCastTableEntity entity)
 {
     await cloudTable.ExecuteAsync(TableOperation.Insert(entity));
 }