Show / Hide Table of Contents

Class BlogPostRepository_Test<TStartupModule>

Inheritance
object
AbpTestBaseWithServiceProvider
AbpIntegratedTest<TStartupModule>
CmsKitTestBase<TStartupModule>
BlogPostRepository_Test<TStartupModule>
BlogPostRepository_Test
BlogPostRepository_Test
Implements
IDisposable
Inherited Members
CmsKitTestBase<TStartupModule>.SetAbpApplicationCreationOptions(AbpApplicationCreationOptions)
CmsKitTestBase<TStartupModule>.WithUnitOfWorkAsync(Func<Task>)
CmsKitTestBase<TStartupModule>.WithUnitOfWorkAsync(AbpUnitOfWorkOptions, Func<Task>)
CmsKitTestBase<TStartupModule>.WithUnitOfWorkAsync<TResult>(Func<Task<TResult>>)
CmsKitTestBase<TStartupModule>.WithUnitOfWorkAsync<TResult>(AbpUnitOfWorkOptions, Func<Task<TResult>>)
AbpIntegratedTest<TStartupModule>.CreateServiceCollection()
AbpIntegratedTest<TStartupModule>.BeforeAddApplication(IServiceCollection)
AbpIntegratedTest<TStartupModule>.AfterAddApplication(IServiceCollection)
AbpIntegratedTest<TStartupModule>.CreateServiceProvider(IServiceCollection)
AbpIntegratedTest<TStartupModule>.Dispose()
AbpIntegratedTest<TStartupModule>.Application
AbpIntegratedTest<TStartupModule>.RootServiceProvider
AbpIntegratedTest<TStartupModule>.TestServiceScope
AbpTestBaseWithServiceProvider.GetService<T>()
AbpTestBaseWithServiceProvider.GetRequiredService<T>()
AbpTestBaseWithServiceProvider.GetKeyedServices<T>(object)
AbpTestBaseWithServiceProvider.GetRequiredKeyedService<T>(object)
AbpTestBaseWithServiceProvider.ServiceProvider
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.CmsKit.Blogs
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
Type Description
Task

GetBySlugAsync_ShouldHaveAuthor_WithCorrectParameters()

Declaration
public Task GetBySlugAsync_ShouldHaveAuthor_WithCorrectParameters()
Returns
Type Description
Task

GetBySlugAsync_ShouldThrowException_WithNonExistingBlogId()

Declaration
public Task GetBySlugAsync_ShouldThrowException_WithNonExistingBlogId()
Returns
Type Description
Task

GetBySlugAsync_ShouldThrowException_WithNonExistingBlogPostSlug()

Declaration
public Task GetBySlugAsync_ShouldThrowException_WithNonExistingBlogPostSlug()
Returns
Type Description
Task

GetBySlugAsync_ShouldWorkProperly_WithCorrectParameters()

Declaration
public Task GetBySlugAsync_ShouldWorkProperly_WithCorrectParameters()
Returns
Type Description
Task

GetListAsync_ShouldFilter_ByStatus()

Declaration
public Task GetListAsync_ShouldFilter_ByStatus()
Returns
Type Description
Task

GetPagedListAsync_ShouldHaveAuthor_WithBlogId_WhileGetting10_WithoutSorting()

Declaration
public Task GetPagedListAsync_ShouldHaveAuthor_WithBlogId_WhileGetting10_WithoutSorting()
Returns
Type Description
Task

GetPagedListAsync_ShouldWorkProperly_WithBlogId_WhileGetting10_WithSortingByTitle()

Declaration
public Task GetPagedListAsync_ShouldWorkProperly_WithBlogId_WhileGetting10_WithSortingByTitle()
Returns
Type Description
Task

GetPagedListAsync_ShouldWorkProperly_WithBlogId_WhileGetting10_WithoutSorting()

Declaration
public Task GetPagedListAsync_ShouldWorkProperly_WithBlogId_WhileGetting10_WithoutSorting()
Returns
Type Description
Task

GetPagedListAsync_ShouldWorkProperly_WithBlogId_WhileGetting1InPage2_WithoutSorting()

Declaration
public Task GetPagedListAsync_ShouldWorkProperly_WithBlogId_WhileGetting1InPage2_WithoutSorting()
Returns
Type Description
Task

GetPagedListAsync_ShouldWorkProperly_WithBlogId_WhileGetting1_WithoutSorting()

Declaration
public Task GetPagedListAsync_ShouldWorkProperly_WithBlogId_WhileGetting1_WithoutSorting()
Returns
Type Description
Task

ShouldCreateItem_WithDraftStatus()

Declaration
public Task ShouldCreateItem_WithDraftStatus()
Returns
Type Description
Task

ShouldCreateItem_WithPublishedStatus()

Declaration
public Task ShouldCreateItem_WithPublishedStatus()
Returns
Type Description
Task

SlugExistsAsync_ShouldReturnFalse_WithNonExistingBlogId()

Declaration
public Task SlugExistsAsync_ShouldReturnFalse_WithNonExistingBlogId()
Returns
Type Description
Task

SlugExistsAsync_ShouldReturnFalse_WithNonExistingSlug()

Declaration
public Task SlugExistsAsync_ShouldReturnFalse_WithNonExistingSlug()
Returns
Type Description
Task

SlugExistsAsync_ShouldReturnTrue_WithExistingSlug()

Declaration
public Task SlugExistsAsync_ShouldReturnTrue_WithExistingSlug()
Returns
Type Description
Task

Implements

IDisposable

Extension Methods

AbpObjectExtensions.As<T>(object)
AbpObjectExtensions.To<T>(object)
LockExtensions.Locking(object, Action)
LockExtensions.Locking<TResult>(object, Func<TResult>)
AbpObjectExtensions.If<T>(T, bool, Action<T>)
AbpObjectExtensions.If<T>(T, bool, Func<T, T>)
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.IsIn<T>(T, params T[])
AbpQueryableExtensions.OrderByIf<T, TQueryable>(TQueryable, bool, string)
AbpQueryableExtensions.PageBy<T, TQueryable>(TQueryable, int, int)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, bool>>)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, int, bool>>)
AbpOpenIddictQueryableExtensions.SkipIf<T, TQueryable>(TQueryable, bool, int?)
AbpOpenIddictQueryableExtensions.TakeIf<T, TQueryable>(TQueryable, bool, int?)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In this article
Back to top Powered by ABP.IO Platform