C# Client Library
A C# Client Library for the AnalyzeRe REST API
Loading...
Searching...
No Matches
AnalyzeReTesting.Tests.Model.TestSuite_Layer_Filter Class Referencesealed

Public Member Functions

override void POST_WithValue< TProperty > (Expression< Func< T, TProperty > > PropertyExpression, TProperty newValue, bool shouldSucceed)
 Override the base test helper method to skip attempting to post the layer entirely and only perform the attempt with a layer_view containing that layer.
 
void Test_Layer_Filter_POST_Filters ()
 
void Test_Layer_Filter_POST_Filters_Empty ()
 
void Test_Layer_Filter_POST_Filters_NonExistantId ()
 
void Test_Layer_Filter_POST_Filters_Null ()
 
void Test_Layer_Filter_POST_Invert ()
 
override void Test_Layer_Saveable ()
 As a sanity check, layers that are saveable should not carry the NotSaveableAttribute. This is of course overridden to test the opposite in TestSuite_Layer_Unsaveable<T>.
 
override void Test_Layer_WithLossSets_PUT_LossSet_NotFinalized ()
 
override void Test_Layer_WithLossSets_PUT_LossSets ()
 
override void Test_Layer_WithLossSets_PUT_LossSets_Duplicates ()
 
override void Test_Layer_WithLossSets_PUT_LossSets_Empty ()
 
override void Test_Layer_WithLossSets_PUT_LossSets_Invalid ()
 
override void Test_Layer_WithLossSets_PUT_Policy ()
 
override void Test_Layer_WithLossSets_PUT_Policy_Duplicates ()
 
override void Test_Layer_WithLossSets_PUT_Policy_Empty ()
 
override void Test_Layer_WithLossSets_PUT_Policy_ForwardAll ()
 
override void Test_Layer_WithLossSets_PUT_Policy_TransformAll ()
 
override void Test_Resource_DELETE ()
 
override void Test_Resource_GET_Existing ()
 
override void Test_Resource_GET_Existing_ResolveReferences ()
 IStoredAPIResource collections support reference resolution.
 
override void Test_Resource_GET_FromBatch ()
 Test that resources of this type can be retrieved using the collection batch-get feature.
 
override void Test_Resource_POST_CreatedAndModified ()
 
override void Test_Resource_POST_ExistingId ()
 Verifies that it is okay to post an object with an ID that already exists on the server, even if the object is identical to the one already on the server. This is tested by posting a valid resource, and then rePOSTing the returned resource again (including the id property).
 
override void Test_Resource_POST_FieldsIdOnly ()
 
override void Test_Resource_POST_Id_Ignored ()
 No matter what string we set the Id property to, POST should succeed because the Id of the posted resource should be ignored by the server.
 
override void Test_Resource_POST_Valid ()
 
override void Test_Resource_PUT_CreatedAndModified ()
 
override void Test_Resource_PUT_Description ()
 
override void Test_Resource_PUT_Description_Blank ()
 
override void Test_Resource_PUT_Description_Null ()
 
override void Test_Resource_PUT_Metadata_Empty ()
 
override void Test_Resource_PUT_Metadata_InvalidValues ()
 
override void Test_Resource_PUT_Metadata_MixedTypes ()
 
override void Test_Resource_PUT_Metadata_Null ()
 
override void Test_Resource_PUT_NoChanges ()
 
override void Test_Resource_Search ()
 All resources should support searching in a few fundamental ways.
 

Properties

override IInjectableResource< FilterTestInjectableResource [get]
 

Detailed Description

Definition at line 956 of file Test_Layer.cs.

Inheritance diagram for AnalyzeReTesting.Tests.Model.TestSuite_Layer_Filter:
AnalyzeReTesting.Tests.Model.TestSuite_Layer_Unsaveable< Filter >

Member Function Documentation

◆ POST_WithValue< TProperty >()

override void AnalyzeReTesting.Tests.Model.TestSuite_Layer_Unsaveable< T >.POST_WithValue< TProperty > ( Expression< Func< T, TProperty > >  PropertyExpression,
TProperty  newValue,
bool  shouldSucceed 
)
inlineinherited

Override the base test helper method to skip attempting to post the layer entirely and only perform the attempt with a layer_view containing that layer.

Definition at line 3198 of file Test_Layer.cs.

◆ Test_Layer_Filter_POST_Filters()

void AnalyzeReTesting.Tests.Model.TestSuite_Layer_Filter.Test_Layer_Filter_POST_Filters ( )
inline

Definition at line 975 of file Test_Layer.cs.

◆ Test_Layer_Filter_POST_Filters_Empty()

void AnalyzeReTesting.Tests.Model.TestSuite_Layer_Filter.Test_Layer_Filter_POST_Filters_Empty ( )
inline

Definition at line 996 of file Test_Layer.cs.

◆ Test_Layer_Filter_POST_Filters_NonExistantId()

void AnalyzeReTesting.Tests.Model.TestSuite_Layer_Filter.Test_Layer_Filter_POST_Filters_NonExistantId ( )
inline

Definition at line 988 of file Test_Layer.cs.

◆ Test_Layer_Filter_POST_Filters_Null()

void AnalyzeReTesting.Tests.Model.TestSuite_Layer_Filter.Test_Layer_Filter_POST_Filters_Null ( )
inline

Definition at line 982 of file Test_Layer.cs.

◆ Test_Layer_Filter_POST_Invert()

void AnalyzeReTesting.Tests.Model.TestSuite_Layer_Filter.Test_Layer_Filter_POST_Invert ( )
inline

Definition at line 967 of file Test_Layer.cs.

◆ Test_Layer_Saveable()

override void AnalyzeReTesting.Tests.Model.TestSuite_Layer_Unsaveable< T >.Test_Layer_Saveable ( )
inlinesealedinherited

As a sanity check, layers that are saveable should not carry the NotSaveableAttribute. This is of course overridden to test the opposite in TestSuite_Layer_Unsaveable<T>.

Definition at line 3176 of file Test_Layer.cs.

◆ Test_Layer_WithLossSets_PUT_LossSet_NotFinalized()

override void AnalyzeReTesting.Tests.Model.TestSuite_Layer_Unsaveable< T >.Test_Layer_WithLossSets_PUT_LossSet_NotFinalized ( )
inlinesealedinherited

Definition at line 3230 of file Test_Layer.cs.

◆ Test_Layer_WithLossSets_PUT_LossSets()

override void AnalyzeReTesting.Tests.Model.TestSuite_Layer_Unsaveable< T >.Test_Layer_WithLossSets_PUT_LossSets ( )
inlinesealedinherited

Definition at line 3231 of file Test_Layer.cs.

◆ Test_Layer_WithLossSets_PUT_LossSets_Duplicates()

override void AnalyzeReTesting.Tests.Model.TestSuite_Layer_Unsaveable< T >.Test_Layer_WithLossSets_PUT_LossSets_Duplicates ( )
inlinesealedinherited

Definition at line 3232 of file Test_Layer.cs.

◆ Test_Layer_WithLossSets_PUT_LossSets_Empty()

override void AnalyzeReTesting.Tests.Model.TestSuite_Layer_Unsaveable< T >.Test_Layer_WithLossSets_PUT_LossSets_Empty ( )
inlinesealedinherited

Definition at line 3233 of file Test_Layer.cs.

◆ Test_Layer_WithLossSets_PUT_LossSets_Invalid()

override void AnalyzeReTesting.Tests.Model.TestSuite_Layer_Unsaveable< T >.Test_Layer_WithLossSets_PUT_LossSets_Invalid ( )
inlinesealedinherited

Definition at line 3234 of file Test_Layer.cs.

◆ Test_Layer_WithLossSets_PUT_Policy()

override void AnalyzeReTesting.Tests.Model.TestSuite_Layer_Unsaveable< T >.Test_Layer_WithLossSets_PUT_Policy ( )
inlinesealedinherited

Definition at line 3235 of file Test_Layer.cs.

◆ Test_Layer_WithLossSets_PUT_Policy_Duplicates()

override void AnalyzeReTesting.Tests.Model.TestSuite_Layer_Unsaveable< T >.Test_Layer_WithLossSets_PUT_Policy_Duplicates ( )
inlinesealedinherited

Definition at line 3239 of file Test_Layer.cs.

◆ Test_Layer_WithLossSets_PUT_Policy_Empty()

override void AnalyzeReTesting.Tests.Model.TestSuite_Layer_Unsaveable< T >.Test_Layer_WithLossSets_PUT_Policy_Empty ( )
inlinesealedinherited

Definition at line 3238 of file Test_Layer.cs.

◆ Test_Layer_WithLossSets_PUT_Policy_ForwardAll()

override void AnalyzeReTesting.Tests.Model.TestSuite_Layer_Unsaveable< T >.Test_Layer_WithLossSets_PUT_Policy_ForwardAll ( )
inlinesealedinherited

Definition at line 3237 of file Test_Layer.cs.

◆ Test_Layer_WithLossSets_PUT_Policy_TransformAll()

override void AnalyzeReTesting.Tests.Model.TestSuite_Layer_Unsaveable< T >.Test_Layer_WithLossSets_PUT_Policy_TransformAll ( )
inlinesealedinherited

Definition at line 3236 of file Test_Layer.cs.

◆ Test_Resource_DELETE()

override void AnalyzeReTesting.Tests.Model.TestSuite_Layer_Unsaveable< T >.Test_Resource_DELETE ( )
inlinesealedinherited

Definition at line 3243 of file Test_Layer.cs.

◆ Test_Resource_GET_Existing()

override void AnalyzeReTesting.Tests.Model.TestSuite_Layer_Unsaveable< T >.Test_Resource_GET_Existing ( )
inlinesealedinherited

Definition at line 3214 of file Test_Layer.cs.

◆ Test_Resource_GET_Existing_ResolveReferences()

override void AnalyzeReTesting.Tests.Model.TestSuite_Layer_Unsaveable< T >.Test_Resource_GET_Existing_ResolveReferences ( )
inlinesealedinherited

IStoredAPIResource collections support reference resolution.

Definition at line 3215 of file Test_Layer.cs.

◆ Test_Resource_GET_FromBatch()

override void AnalyzeReTesting.Tests.Model.TestSuite_Layer_Unsaveable< T >.Test_Resource_GET_FromBatch ( )
inlinesealedinherited

Test that resources of this type can be retrieved using the collection batch-get feature.

Definition at line 3217 of file Test_Layer.cs.

◆ Test_Resource_POST_CreatedAndModified()

override void AnalyzeReTesting.Tests.Model.TestSuite_Layer_Unsaveable< T >.Test_Resource_POST_CreatedAndModified ( )
inlinesealedinherited

Definition at line 3219 of file Test_Layer.cs.

◆ Test_Resource_POST_ExistingId()

override void AnalyzeReTesting.Tests.Model.TestSuite_Layer_Unsaveable< T >.Test_Resource_POST_ExistingId ( )
inlinesealedinherited

Verifies that it is okay to post an object with an ID that already exists on the server, even if the object is identical to the one already on the server. This is tested by posting a valid resource, and then rePOSTing the returned resource again (including the id property).

TODO: This test is almost meaningless because the JSON serializer used does not even include the ID in the request JSON (as it is a server-generated property). As such, this does not end up testing the behaviour of the server, so much as the behaviour of the client library.

Definition at line 3221 of file Test_Layer.cs.

◆ Test_Resource_POST_FieldsIdOnly()

override void AnalyzeReTesting.Tests.Model.TestSuite_Layer_Filter.Test_Resource_POST_FieldsIdOnly ( )
inline

Definition at line 1005 of file Test_Layer.cs.

◆ Test_Resource_POST_Id_Ignored()

override void AnalyzeReTesting.Tests.Model.TestSuite_Layer_Unsaveable< T >.Test_Resource_POST_Id_Ignored ( )
inlinesealedinherited

No matter what string we set the Id property to, POST should succeed because the Id of the posted resource should be ignored by the server.

Definition at line 3220 of file Test_Layer.cs.

◆ Test_Resource_POST_Valid()

override void AnalyzeReTesting.Tests.Model.TestSuite_Layer_Filter.Test_Resource_POST_Valid ( )
inline

Definition at line 1011 of file Test_Layer.cs.

◆ Test_Resource_PUT_CreatedAndModified()

override void AnalyzeReTesting.Tests.Model.TestSuite_Layer_Unsaveable< T >.Test_Resource_PUT_CreatedAndModified ( )
inlinesealedinherited

Definition at line 3240 of file Test_Layer.cs.

◆ Test_Resource_PUT_Description()

override void AnalyzeReTesting.Tests.Model.TestSuite_Layer_Unsaveable< T >.Test_Resource_PUT_Description ( )
inlinesealedinherited

Definition at line 3223 of file Test_Layer.cs.

◆ Test_Resource_PUT_Description_Blank()

override void AnalyzeReTesting.Tests.Model.TestSuite_Layer_Unsaveable< T >.Test_Resource_PUT_Description_Blank ( )
inlinesealedinherited

Definition at line 3224 of file Test_Layer.cs.

◆ Test_Resource_PUT_Description_Null()

override void AnalyzeReTesting.Tests.Model.TestSuite_Layer_Unsaveable< T >.Test_Resource_PUT_Description_Null ( )
inlinesealedinherited

Definition at line 3225 of file Test_Layer.cs.

◆ Test_Resource_PUT_Metadata_Empty()

override void AnalyzeReTesting.Tests.Model.TestSuite_Layer_Unsaveable< T >.Test_Resource_PUT_Metadata_Empty ( )
inlinesealedinherited

Definition at line 3226 of file Test_Layer.cs.

◆ Test_Resource_PUT_Metadata_InvalidValues()

override void AnalyzeReTesting.Tests.Model.TestSuite_Layer_Unsaveable< T >.Test_Resource_PUT_Metadata_InvalidValues ( )
inlinesealedinherited

Definition at line 3229 of file Test_Layer.cs.

◆ Test_Resource_PUT_Metadata_MixedTypes()

override void AnalyzeReTesting.Tests.Model.TestSuite_Layer_Unsaveable< T >.Test_Resource_PUT_Metadata_MixedTypes ( )
inlinesealedinherited

Definition at line 3227 of file Test_Layer.cs.

◆ Test_Resource_PUT_Metadata_Null()

override void AnalyzeReTesting.Tests.Model.TestSuite_Layer_Unsaveable< T >.Test_Resource_PUT_Metadata_Null ( )
inlinesealedinherited

Definition at line 3228 of file Test_Layer.cs.

◆ Test_Resource_PUT_NoChanges()

override void AnalyzeReTesting.Tests.Model.TestSuite_Layer_Unsaveable< T >.Test_Resource_PUT_NoChanges ( )
inlinesealedinherited

Definition at line 3241 of file Test_Layer.cs.

◆ Test_Resource_Search()

override void AnalyzeReTesting.Tests.Model.TestSuite_Layer_Unsaveable< T >.Test_Resource_Search ( )
inlinesealedinherited

All resources should support searching in a few fundamental ways.

Definition at line 3216 of file Test_Layer.cs.

Property Documentation

◆ TestInjectableResource

override IInjectableResource<Filter> AnalyzeReTesting.Tests.Model.TestSuite_Layer_Filter.TestInjectableResource
getprotected

Definition at line 960 of file Test_Layer.cs.


The documentation for this class was generated from the following file: