Пример #1
0
        private static IEnumerable <MangaInfo> MangaToDownload()
        {
            MangaInfos.Init();
            yield return(MangaInfos.Acomics.MgsLdioh);

            yield return(MangaInfos.Henchan.TwistedIntent);

            yield return(MangaInfos.Hentai2Read.AttentionPlease);

            yield return(MangaInfos.Mangachan.Rain);

            if (!AppveyorHelper.IsRunning())
            {
                yield return(MangaInfos.Mintmanga.ChiaChia);
            }
            if (!AppveyorHelper.IsRunning())
            {
                yield return(MangaInfos.Readmanga.Kuroshitsuji);
            }
        }
Пример #2
0
        private static IEnumerable <TestCaseData> MangaToValidateStatusAndDescription()
        {
            MangaInfos.Init();
            yield return(new TestCaseData(MangaInfos.Acomics.SuperScienceFriends));

            yield return(new TestCaseData(MangaInfos.Henchan.LoveAndDevil));

            yield return(new TestCaseData(MangaInfos.Hentai2Read.AttentionPlease));

            yield return(new TestCaseData(MangaInfos.Mangachan.ThisGirlfriendIsFiction));

            yield return(new TestCaseData(MangaInfos.Mangachan.EveScramble).SetDescription("html codes in description"));

            if (!AppveyorHelper.IsRunning())
            {
                yield return(new TestCaseData(MangaInfos.Mintmanga.LoveMate));
            }
            if (!AppveyorHelper.IsRunning())
            {
                yield return(new TestCaseData(MangaInfos.Readmanga.Kuroshitsuji));
            }
        }
Пример #3
0
        public static IEnumerable <(ILogin, Guid)> GetLogins()
        {
            if (!AppveyorHelper.IsRunning())
            {
                yield return(new GroupleLogin()
                {
                    Name = "*****@*****.**", Password = "******"
                }, MintmangaPlugin.Manga);
            }
            if (!AppveyorHelper.IsRunning())
            {
                yield return(new GroupleLogin()
                {
                    Name = "*****@*****.**", Password = "******"
                }, ReadmangaPlugin.Manga);
            }
            yield return(new AcomicsLogin()
            {
                Name = "v924147", Password = "******"
            }, AcomicsPlugin.Manga);

            yield return(new HentaichanLogin()
            {
                Name = "v924147", Password = "******"
            }, HentaichanPlugin.Manga);

            yield return(new MangachanLogin()
            {
                Name = "v924147", Password = "******"
            }, MangachanPlugin.Manga);

            yield return(new Hentai2ReadLogin()
            {
                Name = "v924147", Password = "******"
            }, Hentai2ReadPlugin.Manga);
        }