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

Public Member Functions

override void AdditionalValidResourceTests (T posted)
 Deriving classes can optionally override this function to perform additional validation on every successfully POSTed resource.
 
virtual void AdditionalValidResourceWithDataTests (T posted)
 
override void POST_ThenDoAction (T validToPost, Action< T > toExecute)
 We need to override this universally used POST test helper method to ensure test data is uploaded as well.
 
void Test_ExchangeRateTable_Currencies ()
 
void Test_ExchangeRateTable_POST_BaseCurrency_Blank ()
 
void Test_ExchangeRateTable_POST_BaseCurrency_Null ()
 
void Test_ExchangeRateTable_POST_DataEmpty ()
 
virtual void Test_Resource_Data_LargeStreamUpload ()
 Verify that posting the test resource along with it's data succeeds using the LargeStreamUpload extension method.
 
virtual void Test_Resource_Data_SegmentedUpload ()
 Verify that posting the test resource along with it's data succeeds using segmented uploads.
 
virtual void Test_Resource_DELETE_Before_Uploading_Data ()
 Verify that the delete method is either supported or not supported before data has been uploaded. (BaseResourceTestSuite<T>.Test_Resource_DELETE already tests DELETE when invoked on a finalized resource.)
 
virtual void Test_Resource_GET_Data ()
 Verify that posting the test resource along with it's data succeeds.
 
override void Test_Resource_POST_CreatedAndModified ()
 Overridden because the base test doesn't account for the fact that a full POST (with data) involves multiple steps, so the created and modified date will no longer be equal. This checks that the dates are equal before data is uploaded, and then different following the completed upload.
 
override void Test_Resource_POST_Valid ()
 Verify that posting the test resource along with it's data succeeds.
 
virtual void Test_Resource_PUT_Data_EmptyString ()
 Verify that doing a PUT with empty data fails with a BadRequest.
 
override void Test_Resource_PUT_NoChanges ()
 

Properties

virtual bool DELETE_Allowed_BeforeData [get]
 
override string POSTData [get]
 
override IInjectableResource< ExchangeRateTableTestInjectableResource [get]
 

Detailed Description

Definition at line 29 of file Test_ExchangeRateTable.cs.

Inheritance diagram for AnalyzeReTesting.Tests.Model.TestSuite_ExchangeRateTable:
AnalyzeReTesting.Base.BaseResourceWithDataTestSuite< ExchangeRateTable >

Member Function Documentation

◆ AdditionalValidResourceTests()

override void AnalyzeReTesting.Base.BaseResourceWithDataTestSuite< T >.AdditionalValidResourceTests ( T  posted)
inlinesealedinherited

Deriving classes can optionally override this function to perform additional validation on every successfully POSTed resource.

Definition at line 33 of file BaseResourceWithDataTestSuite.cs.

◆ AdditionalValidResourceWithDataTests()

virtual void AnalyzeReTesting.Base.BaseResourceWithDataTestSuite< T >.AdditionalValidResourceWithDataTests ( T  posted)
inlinevirtualinherited

Definition at line 45 of file BaseResourceWithDataTestSuite.cs.

◆ POST_ThenDoAction()

override void AnalyzeReTesting.Base.BaseResourceWithDataTestSuite< T >.POST_ThenDoAction ( T  validToPost,
Action< T toExecute 
)
inlinesealedinherited

We need to override this universally used POST test helper method to ensure test data is uploaded as well.

Definition at line 67 of file BaseResourceWithDataTestSuite.cs.

◆ Test_ExchangeRateTable_Currencies()

void AnalyzeReTesting.Tests.Model.TestSuite_ExchangeRateTable.Test_ExchangeRateTable_Currencies ( )
inline

Definition at line 68 of file Test_ExchangeRateTable.cs.

◆ Test_ExchangeRateTable_POST_BaseCurrency_Blank()

void AnalyzeReTesting.Tests.Model.TestSuite_ExchangeRateTable.Test_ExchangeRateTable_POST_BaseCurrency_Blank ( )
inline

Definition at line 47 of file Test_ExchangeRateTable.cs.

◆ Test_ExchangeRateTable_POST_BaseCurrency_Null()

void AnalyzeReTesting.Tests.Model.TestSuite_ExchangeRateTable.Test_ExchangeRateTable_POST_BaseCurrency_Null ( )
inline

Definition at line 42 of file Test_ExchangeRateTable.cs.

◆ Test_ExchangeRateTable_POST_DataEmpty()

void AnalyzeReTesting.Tests.Model.TestSuite_ExchangeRateTable.Test_ExchangeRateTable_POST_DataEmpty ( )
inline

Definition at line 58 of file Test_ExchangeRateTable.cs.

◆ Test_Resource_Data_LargeStreamUpload()

virtual void AnalyzeReTesting.Base.BaseResourceWithDataTestSuite< T >.Test_Resource_Data_LargeStreamUpload ( )
inlinevirtualinherited

Verify that posting the test resource along with it's data succeeds using the LargeStreamUpload extension method.

Definition at line 179 of file BaseResourceWithDataTestSuite.cs.

◆ Test_Resource_Data_SegmentedUpload()

virtual void AnalyzeReTesting.Base.BaseResourceWithDataTestSuite< T >.Test_Resource_Data_SegmentedUpload ( )
inlinevirtualinherited

Verify that posting the test resource along with it's data succeeds using segmented uploads.

Definition at line 146 of file BaseResourceWithDataTestSuite.cs.

◆ Test_Resource_DELETE_Before_Uploading_Data()

virtual void AnalyzeReTesting.Base.BaseResourceWithDataTestSuite< T >.Test_Resource_DELETE_Before_Uploading_Data ( )
inlinevirtualinherited

Verify that the delete method is either supported or not supported before data has been uploaded. (BaseResourceTestSuite<T>.Test_Resource_DELETE already tests DELETE when invoked on a finalized resource.)

Definition at line 135 of file BaseResourceWithDataTestSuite.cs.

◆ Test_Resource_GET_Data()

virtual void AnalyzeReTesting.Base.BaseResourceWithDataTestSuite< T >.Test_Resource_GET_Data ( )
inlinevirtualinherited

Verify that posting the test resource along with it's data succeeds.

Definition at line 53 of file BaseResourceWithDataTestSuite.cs.

◆ Test_Resource_POST_CreatedAndModified()

override void AnalyzeReTesting.Base.BaseResourceWithDataTestSuite< T >.Test_Resource_POST_CreatedAndModified ( )
inlineinherited

Overridden because the base test doesn't account for the fact that a full POST (with data) involves multiple steps, so the created and modified date will no longer be equal. This checks that the dates are equal before data is uploaded, and then different following the completed upload.

Definition at line 95 of file BaseResourceWithDataTestSuite.cs.

◆ Test_Resource_POST_Valid()

override void AnalyzeReTesting.Base.BaseResourceWithDataTestSuite< T >.Test_Resource_POST_Valid ( )
inlinesealedinherited

Verify that posting the test resource along with it's data succeeds.

Definition at line 79 of file BaseResourceWithDataTestSuite.cs.

◆ Test_Resource_PUT_Data_EmptyString()

virtual void AnalyzeReTesting.Base.BaseResourceWithDataTestSuite< T >.Test_Resource_PUT_Data_EmptyString ( )
inlinevirtualinherited

Verify that doing a PUT with empty data fails with a BadRequest.

Definition at line 111 of file BaseResourceWithDataTestSuite.cs.

◆ Test_Resource_PUT_NoChanges()

override void AnalyzeReTesting.Base.BaseResourceWithDataTestSuite< T >.Test_Resource_PUT_NoChanges ( )
inlineinherited

Definition at line 120 of file BaseResourceWithDataTestSuite.cs.

Property Documentation

◆ DELETE_Allowed_BeforeData

virtual bool AnalyzeReTesting.Base.BaseResourceWithDataTestSuite< T >.DELETE_Allowed_BeforeData
getprotectedinherited

Definition at line 28 of file BaseResourceWithDataTestSuite.cs.

◆ POSTData

override string AnalyzeReTesting.Tests.Model.TestSuite_ExchangeRateTable.POSTData
getprotected

Definition at line 36 of file Test_ExchangeRateTable.cs.

◆ TestInjectableResource

override IInjectableResource<ExchangeRateTable> AnalyzeReTesting.Tests.Model.TestSuite_ExchangeRateTable.TestInjectableResource
getprotected

Definition at line 33 of file Test_ExchangeRateTable.cs.


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