상속: IPagedCollectionTester
예제 #1
0
        public void GetPagedMetaTagsHandlesPagingProperly(int total, int pageSize, int expectedPageCount,
                                                          int itemsCountOnLastPage)
        {
            Config.CreateBlog("", "username", "password", _hostName, "blog");
            BlogRequest.Current.Blog = Config.GetBlog(_hostName, "blog");
            var tester = new MetaTagCollectionTester();

            AssertPagedCollection(tester, expectedPageCount, itemsCountOnLastPage, pageSize, total);
        }
 public void GetPagedMetaTagsHandlesPagingProperly(int total, int pageSize, int expectedPageCount, int itemsCountOnLastPage)
 {
     Assert.IsTrue(Config.CreateBlog("", "username", "password", this.hostName, "blog"));
     IPagedCollectionTester tester = new MetaTagCollectionTester();
     AssertPagedCollection(tester, expectedPageCount, itemsCountOnLastPage, pageSize, total);
 }