◆ TypeToBeTested
Used by the serialization tests below
\r\n
class | EmptyAspect |
class | JsonBuilder |
class | JsonData |
enum | JsPropertyType { JavaScript, IAspectPropertyValue, AspectPropertyValue } |
enum | TypeToBeTested { String, JavaScript, List, APV_String, APV_JavaScript, APV_List } Used by the serialization tests below More...
|
void | Init () |
void | JsonBuilder_ValidJson ()
Check that the JSON produced by the JsonBuilder is valid. More...
|
void | JsonBuilder_JsProperty (JsPropertyType propertyType)
Check that the JSON element removes JavaScript properties from the response after max number of iterations has been reached. More...
|
void | JsonBuilder_MaxIterations ()
Check that the JSON element removes JavaScript properties from the response after max number of iterations has been reached. More...
|
void | JsonBuilder_ElementExclusionlist ()
Check that entries will not appear in the output for elements in the exclusion list. More...
|
void | JsonBuilder_NestedProperties ()
Check that nested properties are serialised as expected More...
|
void | JsonBuilder_DelayedExecution (bool delayExecution, bool propertyValueNull, JsPropertyType jsPropertyType)
Check that delayed execution and evidence properties values are populated correctly. More...
|
void | JsonBuilder_MultipleEvidenceProperties ()
Check that delayed execution and evidence properties values are populated correctly when a property has multiple evidence properties More...
|
void | JsonBuilder_LazyLoading ()
Check that the JSON produced by the JsonBuilder is correct when lazy loading is enabled. More...
|
void | JsonBuilder_Serialization_Text (string valueOfProperty, TypeToBeTested typeToBeTested)
Verify that various types and values are serialized correctly. More...
|
void | JsonBuilder_Serialization_PropertyValues ()
Test that various values are serialized properly. More...
|
void | JsonBuilder_VerifyErrorHandling ()
Check that error handling works as expected when a serialization error occurs. More...
|
Used by the serialization tests below
void FiftyOne.Pipeline.JsonBuilderElementTests.JsonBuilderElementTests.JsonBuilder_DelayedExecution | ( | bool | delayExecution, |
bool | propertyValueNull, | ||
JsPropertyType | jsPropertyType | ||
) |
Check that delayed execution and evidence properties values are populated correctly.
void FiftyOne.Pipeline.JsonBuilderElementTests.JsonBuilderElementTests.JsonBuilder_ElementExclusionlist | ( | ) |
Check that entries will not appear in the output for elements in the exclusion list.
void FiftyOne.Pipeline.JsonBuilderElementTests.JsonBuilderElementTests.JsonBuilder_JsProperty | ( | JsPropertyType | propertyType | ) |
Check that the JSON element removes JavaScript properties from the response after max number of iterations has been reached.
void FiftyOne.Pipeline.JsonBuilderElementTests.JsonBuilderElementTests.JsonBuilder_LazyLoading | ( | ) |
Check that the JSON produced by the JsonBuilder is correct when lazy loading is enabled.
void FiftyOne.Pipeline.JsonBuilderElementTests.JsonBuilderElementTests.JsonBuilder_MaxIterations | ( | ) |
Check that the JSON element removes JavaScript properties from the response after max number of iterations has been reached.
void FiftyOne.Pipeline.JsonBuilderElementTests.JsonBuilderElementTests.JsonBuilder_MultipleEvidenceProperties | ( | ) |
Check that delayed execution and evidence properties values are populated correctly when a property has multiple evidence properties
void FiftyOne.Pipeline.JsonBuilderElementTests.JsonBuilderElementTests.JsonBuilder_NestedProperties | ( | ) |
Check that nested properties are serialised as expected
void FiftyOne.Pipeline.JsonBuilderElementTests.JsonBuilderElementTests.JsonBuilder_Serialization_PropertyValues | ( | ) |
Test that various values are serialized properly.
For tests on string-based values, see the
tests.
void FiftyOne.Pipeline.JsonBuilderElementTests.JsonBuilderElementTests.JsonBuilder_Serialization_Text | ( | string | valueOfProperty, |
TypeToBeTested | typeToBeTested | ||
) |
Verify that various types and values are serialized correctly.
void FiftyOne.Pipeline.JsonBuilderElementTests.JsonBuilderElementTests.JsonBuilder_ValidJson | ( | ) |
Check that the JSON produced by the JsonBuilder is valid.
void FiftyOne.Pipeline.JsonBuilderElementTests.JsonBuilderElementTests.JsonBuilder_VerifyErrorHandling | ( | ) |
Check that error handling works as expected when a serialization error occurs.