C# Client Library
A C# Client Library for the AnalyzeRe REST API
|
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_EventCatalog_POST_DataEmpty () |
void | Test_EventCatalog_POST_Source_Blank () |
void | Test_EventCatalog_POST_Source_Null () |
void | Test_EventCatalog_POST_Tags_Duplicates () |
void | Test_EventCatalog_POST_Tags_Empty () |
void | Test_EventCatalog_POST_Tags_Null () |
void | Test_EventCatalog_Profile () |
void | Test_EventCatalog_PUT_Source () |
void | Test_EventCatalog_PUT_Source_Blank () |
void | Test_EventCatalog_PUT_Source_Null () |
void | Test_EventCatalog_PUT_Tags () |
void | Test_EventCatalog_PUT_Tags_Duplicates () |
void | Test_EventCatalog_PUT_Tags_Empty () |
void | Test_EventCatalog_PUT_Tags_Null () |
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< EventCatalog > | TestInjectableResource [get] |
Definition at line 29 of file Test_EventCatalog.cs.
|
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.
|
inlinevirtualinherited |
Definition at line 45 of file BaseResourceWithDataTestSuite.cs.
|
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.
|
inline |
Definition at line 119 of file Test_EventCatalog.cs.
|
inline |
Definition at line 47 of file Test_EventCatalog.cs.
|
inline |
Definition at line 42 of file Test_EventCatalog.cs.
|
inline |
Definition at line 65 of file Test_EventCatalog.cs.
|
inline |
Definition at line 60 of file Test_EventCatalog.cs.
|
inline |
Definition at line 55 of file Test_EventCatalog.cs.
|
inline |
Definition at line 128 of file Test_EventCatalog.cs.
|
inline |
Definition at line 77 of file Test_EventCatalog.cs.
|
inline |
Definition at line 87 of file Test_EventCatalog.cs.
|
inline |
Definition at line 82 of file Test_EventCatalog.cs.
|
inline |
Definition at line 95 of file Test_EventCatalog.cs.
|
inline |
Definition at line 110 of file Test_EventCatalog.cs.
|
inline |
Definition at line 105 of file Test_EventCatalog.cs.
|
inline |
Definition at line 100 of file Test_EventCatalog.cs.
|
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.
|
inlinevirtualinherited |
Verify that posting the test resource along with it's data succeeds using segmented uploads.
Definition at line 146 of file BaseResourceWithDataTestSuite.cs.
|
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.
|
inlinevirtualinherited |
Verify that posting the test resource along with it's data succeeds.
Definition at line 53 of file BaseResourceWithDataTestSuite.cs.
|
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.
|
inlinesealedinherited |
Verify that posting the test resource along with it's data succeeds.
Definition at line 79 of file BaseResourceWithDataTestSuite.cs.
|
inlinevirtualinherited |
Verify that doing a PUT with empty data fails with a BadRequest.
Definition at line 111 of file BaseResourceWithDataTestSuite.cs.
|
inlineinherited |
Definition at line 120 of file BaseResourceWithDataTestSuite.cs.
|
getprotectedinherited |
Definition at line 28 of file BaseResourceWithDataTestSuite.cs.
Definition at line 36 of file Test_EventCatalog.cs.
|
getprotected |
Definition at line 33 of file Test_EventCatalog.cs.