| 
| override void  | AdditionalValidResourceTests (T posted) | 
|   | Deriving classes can optionally override this function to perform additional validation on every successfully POSTed resource.  
  | 
|   | 
| void  | BaseTest_Cleanup () | 
|   | 
| void  | BaseTest_Initialize () | 
|   | 
| void  | POST_Attribute_Null< TProperty > (Expression< Func< T, TProperty > > PropertyExpression, bool? shouldSucceed=null) | 
|   | Post a resource with the specified property set to null.  
  | 
|   | 
| void  | POST_ListAttribute_Duplicates< TItem, TValue > (Expression< Func< T, ICollection< TItem > > > PropertyExpression, TValue valueToDuplicate, bool shouldSucceed) | 
|   | 
| void  | POST_ListAttribute_Empty< TItem > (Expression< Func< T, ICollection< TItem > > > PropertyExpression, bool? shouldSucceed=null) | 
|   | 
| void  | POST_Reference_EmptyStringId< TRefType > (Expression< Func< T, IReference< TRefType > > > PropertyExpression) | 
|   | Posts a reference with a empty string Id and verifies the correct error is returned.  
  | 
|   | 
| void  | POST_Reference_NonExistantId< TRefType > (Expression< Func< T, IReference< TRefType > > > PropertyExpression) | 
|   | Posts a reference with a non-existent Id and verifies the correct error is returned.  
  | 
|   | 
| void  | POST_Reference_NullId< TRefType > (Expression< Func< T, IReference< TRefType > > > PropertyExpression) | 
|   | Posts a reference with a null Id and verifies the correct error is returned.  
  | 
|   | 
| void  | POST_ReferenceList_NonExistantId< TRefType > (Expression< Func< T, ICollection< IReference< TRefType > > > > PropertyExpression) | 
|   | Posts a reference list with a non-existent Id and verifies the correct error is returned.  
  | 
|   | 
| void  | POST_StringAttribute_Empty (Expression< Func< T, string > > PropertyExpression, bool? shouldSucceed=null) | 
|   | Post a resource with the specified string set to an empty string.  
  | 
|   | 
| virtual void  | POST_ThenDoAction (T validToPost, Action< T > toExecute) | 
|   | Post a valid resource under the assumption that it will succeed, then perform an action on the resulting posted object, then clean up.  
  | 
|   | 
| virtual void  | POST_WithValue< TProperty > (Expression< Func< T, TProperty > > PropertyExpression, TProperty newValue, bool shouldSucceed) | 
|   | Modify a property of the test resource, and then test it.  
  | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_BackAllocations_Self () | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_BackAllocations_SourceID_Invalid () | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_CoMetrics_AggregationMethods () | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_CoMetrics_ApplyParticipation () | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_CoMetrics_ComponentFilter_NonExistant () | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_CoMetrics_ComponentReportingPeriod () | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_CoMetrics_Currency () | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_CoMetrics_CurrencyUnavailable () | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_CoMetrics_Filter_Existing () | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_CoMetrics_Filter_NonExistant () | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_CoMetrics_IncludePrimaryMetrics_false () | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_CoMetrics_IncludePrimaryMetrics_true () | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_CoMetrics_LayerView_ValidValues () | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_CoMetrics_Legacy_LayerView_ValidValues () | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_CoMetrics_Legacy_PortfolioView_ValidValues () | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_CoMetrics_Legacy_Probability_InvalidValues () | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_CoMetrics_Legacy_Vectorized () | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_CoMetrics_Overloads () | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_CoMetrics_Perspective_LossNetOfAggregateTermsAnd () | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_CoMetrics_Perspective_Main () | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_CoMetrics_PortfolioView_ValidValues () | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_CoMetrics_ProbabilityWindow_InvalidValues () | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_CoMetrics_ReportingPeriod () | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_CoMetrics_ReportingPeriod_ComponentDefaultInvalid () | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_CoMetrics_ReportingPeriod_PartialComponentSet () | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_CoMetrics_ReportingPeriod_PrimaryAndComponentSet () | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_CoMetrics_SecondaryUncertainty () | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_CoMetrics_Vectorized () | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_ExceedanceProbability_Filter_Existing () | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_ExceedanceProbability_Filter_NonExistant () | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_ExceedanceProbability_Inclusive () | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_ExceedanceProbability_OEP () | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_ExceedanceProbability_Overloads () | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_ExceedanceProbability_ParticipationThreshold () | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_ExceedanceProbability_Perspective_LossNetOfAggregateTermsAnd () | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_ExceedanceProbability_Perspective_Main () | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_ExceedanceProbability_ReportingPeriod () | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_ExceedanceProbability_SecondaryUncertainty () | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_ExceedanceProbability_Threshold_ValidValues () | 
|   | Test numerous valid threshold values and ensure they succeed.  
  | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_ExceedanceProbability_ThresholdCurrency () | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_ExceedanceProbability_ThresholdCurrencyInvalid () | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_ExceedanceProbability_Vectorized () | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_ExpectedLoss () | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_Tail_CoMetrics_API_Endpoint () | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_Tail_Metrics_API_Endpoint () | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_TailMetrics_ApplyParticipation () | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_TailMetrics_Currency () | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_TailMetrics_CurrencyUnavailable () | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_TailMetrics_Filter_Existing () | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_TailMetrics_Filter_NonExistant () | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_TailMetrics_OEP () | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_TailMetrics_Overloads () | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_TailMetrics_Perspective_LossNetOfAggregateTermsAnd () | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_TailMetrics_Perspective_Main () | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_TailMetrics_Probability_InvalidValues () | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_TailMetrics_Probability_ValidValues () | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_TailMetrics_ReportingPeriod () | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_TailMetrics_SecondaryUncertainty () | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_TailMetrics_Vectorized () | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_TailMetrics_Vectorized_ListOfOne () | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_Tvar () | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_Window_ExpectedLoss () | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_Window_Tvar () | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_WindowMetrics_ApplyParticipation () | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_WindowMetrics_Currency () | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_WindowMetrics_CurrencyUnavailable () | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_WindowMetrics_Filter_Existing () | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_WindowMetrics_Filter_NonExistant () | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_WindowMetrics_Legacy_Overloads () | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_WindowMetrics_OEP () | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_WindowMetrics_Overloads () | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_WindowMetrics_Perspective_LossNetOfAggregateTermsAnd () | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_WindowMetrics_Perspective_Main () | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_WindowMetrics_Probability_ValidValues () | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_WindowMetrics_ProbabilityWindow_InvalidValues () | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_WindowMetrics_ReportingPeriod () | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_WindowMetrics_SecondaryUncertainty () | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_WindowMetrics_Vectorized () | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_WindowMetrics_Vectorized_ListOfOne () | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_YELT () | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_YELT_AdditionalColumns () | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_YELT_Start_End_Trial () | 
|   | 
| virtual void  | Test_IAPIResourceView_GET_YLT () | 
|   | 
| virtual void  | Test_IAPIResourceView_POST_AnalysisProfile_Null () | 
|   | 
| virtual void  | Test_IAPIResourceView_POST_AnalysisProfile_Reference_EmptyStringId () | 
|   | 
| virtual void  | Test_IAPIResourceView_POST_AnalysisProfile_Reference_NonExistantId () | 
|   | 
| virtual void  | Test_IAPIResourceView_POST_AnalysisProfile_Reference_NullId () | 
|   | 
| virtual void  | Test_IAPIResourceView_POST_TargetCurrency_Null () | 
|   | 
| virtual void  | Test_IAPIResourceView_POST_TargetCurrency_ValidISO () | 
|   | 
| virtual void  | Test_Reflection_ChangePropertyValueRandomly () | 
|   | Test reflection utilities meant to randomly change property values in a way that would pass server validation.  
  | 
|   | 
| virtual void  | Test_Resource_DeepCopy () | 
|   | Test that any resource can be "Deep Copied", a slower copy method that creates a new duplicate instance of a resource type by serializing it and then deserializing the resulting JSON to a new resource.  
  | 
|   | 
| virtual void  | Test_Resource_DELETE () | 
|   | 
| virtual void  | Test_Resource_DELETE_NonExistant () | 
|   | 
| virtual void  | Test_Resource_GET_AllPropertiesRecognized () | 
|   | 
| virtual void  | Test_Resource_GET_Existing () | 
|   | 
| virtual void  | Test_Resource_GET_FromBatch () | 
|   | Test that resources of this type can be retrieved using the collection batch-get feature.  
  | 
|   | 
| virtual void  | Test_Resource_GetCollectionName () | 
|   | Verify that all runtime types expose their collection name.  
  | 
|   | 
| virtual void  | Test_Resource_OfflineRandomGeneration () | 
|   | Test reflection utilities meant to randomly change property values (used for testing comprarer coverage).  
  | 
|   | 
| virtual void  | Test_Resource_OnlineRandomGeneration () | 
|   | Test reflection utilities meant to randomly change property values in a way that would pass server validation.  
  | 
|   | 
| virtual 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).  
  | 
|   | 
| virtual void  | Test_Resource_POST_FieldsIdOnly () | 
|   | Test that a user can post a resource and get back only the id using the omit query parameter.  
  | 
|   | 
| virtual 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.  
  | 
|   | 
| virtual void  | Test_Resource_POST_Valid () | 
|   | 
| virtual void  | Test_Resource_ShallowCopy () | 
|   | Test that any resource can be "Shallow Copied", which is a quick copy that does a member-wise clone of the object, including private members.  
  | 
|   | 
| virtual void  | Test_Resource_TypeReflectionUtilities () | 
|   | Test reflection utilities meant to get extract information about runtime types.  
  | 
|   | 
 | 
| static IAccessToken  | API_AuthenticationToken [get, set] | 
|   | Set the AuthenticationToken to supply to the server before every test (if applicable).  
  | 
|   | 
| static string  | API_URL [get, set] | 
|   | Location of the REST API being tested against. This can be set using the API_URL environment variable. Default is https://localhost:8000/.  
  | 
|   | 
| virtual bool  | DELETE_Allowed [get] | 
|   | 
| bool  | DeletingResourcesBetweenTests [get] | 
|   | Determines based on the EnvironmentSettings whether injected resources (such as Samples) are being deleted between each test.  
  | 
|   | 
| static PollingOptions  | SimulationPolling [get] | 
|   | 
| TestContext  | TestContext [get, set] | 
|   | 
| IInjectableResource< T >  | TestInjectableResource [get] | 
|   | Deriving class must override the TestResourceFactory to return a disposable POSTable test resource that unit tests can consume.  
  | 
|   | 
| virtual T  | TestResource [get] | 
|   | The resource used for all unit tests that require a valid prepared but unPOSTed resource.  
  | 
|   | 
| virtual T  | TestResource_Existing [get] | 
|   | The resource used for all unit tests that require a prepared and already posted resource. Warning, there is no protection against the user invoking "PUT" on this resource and changing the state of the resource on the API for everyone. Users that require a resource that it can make modifications to and test saving those modifications must not use this resource. It's here for speed to avoid having to re-POST the same resource multiple times for read-only purposes.  
  | 
|   | 
| bool  | TryPost_RandomTestResources = true [get, set] | 
|   | Allows deriving classes to disable attempting to POST and validate random resources generated by the Test_Resource_OnlineRandomGeneration base tests method - since some randomly generated resources can wreak havoc on the server. When we have some time to "disaster-proof" the server, we should turn these on and solve the problems encountered.  
  | 
|   | 
| bool  | TryRunAdditionalValidResourceTests_RandomTestResources = true [get, set] | 
|   | Similar to TryPost_RandomTestResources - but controls whether these resources have the AdditionalValidResourceTests method run on them.  
  | 
|   | 
Contains static helper methods for testing IAPIResourceView instances. 
Definition at line 69 of file Test_APIResourceView.cs.