Class BlogPostRepository_Test<TStartupModule>
Inheritance
BlogPostRepository_Test<TStartupModule>
Assembly: Volo.CmsKit.TestBase.dll
Syntax
public abstract class BlogPostRepository_Test<TStartupModule> : CmsKitTestBase<TStartupModule>, IDisposable where TStartupModule : IAbpModule
Type Parameters
Name |
Description |
TStartupModule |
|
Constructors
BlogPostRepository_Test()
Declaration
public BlogPostRepository_Test()
Methods
GetAuthorsHasBlogPosts_ShouldWorkProperly()
Declaration
public Task GetAuthorsHasBlogPosts_ShouldWorkProperly()
Returns
GetBySlugAsync_ShouldHaveAuthor_WithCorrectParameters()
Declaration
public Task GetBySlugAsync_ShouldHaveAuthor_WithCorrectParameters()
Returns
GetBySlugAsync_ShouldThrowException_WithNonExistingBlogId()
Declaration
public Task GetBySlugAsync_ShouldThrowException_WithNonExistingBlogId()
Returns
GetBySlugAsync_ShouldThrowException_WithNonExistingBlogPostSlug()
Declaration
public Task GetBySlugAsync_ShouldThrowException_WithNonExistingBlogPostSlug()
Returns
GetBySlugAsync_ShouldWorkProperly_WithCorrectParameters()
Declaration
public Task GetBySlugAsync_ShouldWorkProperly_WithCorrectParameters()
Returns
GetListAsync_ShouldFilter_ByStatus()
Declaration
public Task GetListAsync_ShouldFilter_ByStatus()
Returns
GetPagedListAsync_ShouldHaveAuthor_WithBlogId_WhileGetting10_WithoutSorting()
Declaration
public Task GetPagedListAsync_ShouldHaveAuthor_WithBlogId_WhileGetting10_WithoutSorting()
Returns
GetPagedListAsync_ShouldWorkProperly_WithBlogId_WhileGetting10_WithSortingByTitle()
Declaration
public Task GetPagedListAsync_ShouldWorkProperly_WithBlogId_WhileGetting10_WithSortingByTitle()
Returns
GetPagedListAsync_ShouldWorkProperly_WithBlogId_WhileGetting10_WithoutSorting()
Declaration
public Task GetPagedListAsync_ShouldWorkProperly_WithBlogId_WhileGetting10_WithoutSorting()
Returns
GetPagedListAsync_ShouldWorkProperly_WithBlogId_WhileGetting1InPage2_WithoutSorting()
Declaration
public Task GetPagedListAsync_ShouldWorkProperly_WithBlogId_WhileGetting1InPage2_WithoutSorting()
Returns
GetPagedListAsync_ShouldWorkProperly_WithBlogId_WhileGetting1_WithoutSorting()
Declaration
public Task GetPagedListAsync_ShouldWorkProperly_WithBlogId_WhileGetting1_WithoutSorting()
Returns
ShouldCreateItem_WithDraftStatus()
Declaration
public Task ShouldCreateItem_WithDraftStatus()
Returns
ShouldCreateItem_WithPublishedStatus()
Declaration
public Task ShouldCreateItem_WithPublishedStatus()
Returns
SlugExistsAsync_ShouldReturnFalse_WithNonExistingBlogId()
Declaration
public Task SlugExistsAsync_ShouldReturnFalse_WithNonExistingBlogId()
Returns
SlugExistsAsync_ShouldReturnFalse_WithNonExistingSlug()
Declaration
public Task SlugExistsAsync_ShouldReturnFalse_WithNonExistingSlug()
Returns
SlugExistsAsync_ShouldReturnTrue_WithExistingSlug()
Declaration
public Task SlugExistsAsync_ShouldReturnTrue_WithExistingSlug()
Returns
Implements
Extension Methods