\r\n

51Degrees Pipeline .NET  4.3

51Degrees Pipeline for .NET

FiftyOne.Pipeline.JsonBuilderElementTests.JsonBuilderElementTests Class Reference

Classes

class  EmptyAspect
class  JsonBuilder
class  JsonData

Public Types

enum  JsPropertyType { JavaScript, IAspectPropertyValue, AspectPropertyValue }

Public Member Functions

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...

Properties

static IEnumerable< object[]>  GetDelayedExecutionTestParameters [get]

Member Function Documentation

◆ JsonBuilder_DelayedExecution()

void FiftyOne.Pipeline.JsonBuilderElementTests.JsonBuilderElementTests.JsonBuilder_DelayedExecution ( bool   delayExecution,
bool   propertyValueNull,
JsPropertyType   jsPropertyType  
)

Check that delayed execution and evidence properties values are populated correctly.

◆ JsonBuilder_ElementExclusionlist()

void FiftyOne.Pipeline.JsonBuilderElementTests.JsonBuilderElementTests.JsonBuilder_ElementExclusionlist ( )

Check that entries will not appear in the output for elements in the exclusion list.

◆ JsonBuilder_JsProperty()

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.

◆ JsonBuilder_LazyLoading()

void FiftyOne.Pipeline.JsonBuilderElementTests.JsonBuilderElementTests.JsonBuilder_LazyLoading ( )

Check that the JSON produced by the JsonBuilder is correct when lazy loading is enabled.

◆ JsonBuilder_MaxIterations()

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.

◆ JsonBuilder_MultipleEvidenceProperties()

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

◆ JsonBuilder_NestedProperties()

void FiftyOne.Pipeline.JsonBuilderElementTests.JsonBuilderElementTests.JsonBuilder_NestedProperties ( )

Check that nested properties are serialised as expected

◆ JsonBuilder_ValidJson()

void FiftyOne.Pipeline.JsonBuilderElementTests.JsonBuilderElementTests.JsonBuilder_ValidJson ( )

Check that the JSON produced by the JsonBuilder is valid.