Class EntityCache_Tests<TStartupModule>
Inheritance
object
AbpIntegratedTest<TStartupModule>
TestAppTestBase<TStartupModule>
EntityCache_Tests<TStartupModule>
Implements
System.IDisposable
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.TestApp.Testing
Assembly: Volo.Abp.TestApp.dll
Syntax
public abstract class EntityCache_Tests<TStartupModule> : TestAppTestBase<TStartupModule>, IDisposable where TStartupModule : IAbpModule
Type Parameters
| Name | Description |
|---|---|
| TStartupModule |
Constructors
EntityCache_Tests()
Declaration
protected EntityCache_Tests()
Fields
ProductCacheItem
Declaration
protected readonly IEntityCache<ProductCacheItem, Guid> ProductCacheItem
Field Value
| Type | Description |
|---|---|
| IEntityCache<ProductCacheItem, System.Guid> |
ProductEntityCache
Declaration
protected readonly IEntityCache<Product, Guid> ProductEntityCache
Field Value
| Type | Description |
|---|---|
| IEntityCache<Product, System.Guid> |
ProductRepository
Declaration
protected readonly IRepository<Product, Guid> ProductRepository
Field Value
| Type | Description |
|---|---|
| IRepository<Product, System.Guid> |
Methods
Should_Return_EntityCache()
Declaration
public Task Should_Return_EntityCache()
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task |
Should_Return_New_EntityCache_IF_Updated()
Declaration
public Task Should_Return_New_EntityCache_IF_Updated()
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task |
Should_Return_Null_IF_Deleted()
Declaration
public Task Should_Return_Null_IF_Deleted()
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task |
Should_Return_Null_IF_Entity_Not_Exist()
Declaration
public Task Should_Return_Null_IF_Entity_Not_Exist()
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task |
Should_Throw_EntityNotFoundException_IF_Entity_Not_Exist()
Declaration
public Task Should_Throw_EntityNotFoundException_IF_Entity_Not_Exist()
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task |
Implements
System.IDisposable