Documentation ¶
Overview ¶
Package expandTests contains common tests for expand stage.
Index ¶
- func RunBenchmarkArrayField(b *testing.B, stageFactory expand.StageFactory)
- func RunBenchmarkBinDataField(b *testing.B, stageFactory expand.StageFactory)
- func RunBenchmarkBoolField(b *testing.B, stageFactory expand.StageFactory)
- func RunBenchmarkDateField(b *testing.B, stageFactory expand.StageFactory)
- func RunBenchmarkDbPointerField(b *testing.B, stageFactory expand.StageFactory)
- func RunBenchmarkDecimalField(b *testing.B, stageFactory expand.StageFactory)
- func RunBenchmarkDepth0Full(b *testing.B, stageFactory expand.StageFactory)
- func RunBenchmarkDepth0Min(b *testing.B, stageFactory expand.StageFactory)
- func RunBenchmarkDepth5Full(b *testing.B, stageFactory expand.StageFactory)
- func RunBenchmarkDoubleField(b *testing.B, stageFactory expand.StageFactory)
- func RunBenchmarkIntField(b *testing.B, stageFactory expand.StageFactory)
- func RunBenchmarkJavascriptField(b *testing.B, stageFactory expand.StageFactory)
- func RunBenchmarkJavascriptWithField(b *testing.B, stageFactory expand.StageFactory)
- func RunBenchmarkLongField(b *testing.B, stageFactory expand.StageFactory)
- func RunBenchmarkMaxKeyField(b *testing.B, stageFactory expand.StageFactory)
- func RunBenchmarkMinKeyField(b *testing.B, stageFactory expand.StageFactory)
- func RunBenchmarkNullField(b *testing.B, stageFactory expand.StageFactory)
- func RunBenchmarkObjectField(b *testing.B, stageFactory expand.StageFactory)
- func RunBenchmarkObjectIdField(b *testing.B, stageFactory expand.StageFactory)
- func RunBenchmarkRegexField(b *testing.B, stageFactory expand.StageFactory)
- func RunBenchmarkStringField(b *testing.B, stageFactory expand.StageFactory)
- func RunBenchmarkSymbolField(b *testing.B, stageFactory expand.StageFactory)
- func RunBenchmarkTimestampField(b *testing.B, stageFactory expand.StageFactory)
- func RunBenchmarkUndefinedField(b *testing.B, stageFactory expand.StageFactory)
- func RunTestArrayFieldArrayMaxLength(t *testing.T, stageFactory expand.StageFactory)
- func RunTestArrayFieldLength(t *testing.T, stageFactory expand.StageFactory)
- func RunTestArrayFieldMaxDepth(t *testing.T, stageFactory expand.StageFactory)
- func RunTestArrayFieldMinimal(t *testing.T, stageFactory expand.StageFactory)
- func RunTestArrayFieldValue(t *testing.T, stageFactory expand.StageFactory)
- func RunTestObjectFieldLength(t *testing.T, stageFactory expand.StageFactory)
- func RunTestObjectFieldMaxDepth(t *testing.T, stageFactory expand.StageFactory)
- func RunTestObjectFieldMinimal(t *testing.T, stageFactory expand.StageFactory)
- func RunTestObjectFieldValue(t *testing.T, stageFactory expand.StageFactory)
- func RunTestScalarTypesMinimal(t *testing.T, stageFactory expand.StageFactory)
- func RunTestScalarTypesValue(t *testing.T, stageFactory expand.StageFactory)
- func RunTestStringFieldAll(t *testing.T, stageFactory expand.StageFactory)
- func RunTestStringFieldLength(t *testing.T, stageFactory expand.StageFactory)
- func RunTestStringFieldMaxLength(t *testing.T, stageFactory expand.StageFactory)
- func RunTestStringFieldMinimal(t *testing.T, stageFactory expand.StageFactory)
- func RunTestStringFieldValue(t *testing.T, stageFactory expand.StageFactory)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunBenchmarkArrayField ¶
RunBenchmarkArrayField tests speed of expand stage with array field.
func RunBenchmarkBinDataField ¶
RunBenchmarkBinDataField tests speed of expand stage with bin field.
func RunBenchmarkBoolField ¶
RunBenchmarkBoolField tests speed of expand stage with bool field.
func RunBenchmarkDateField ¶
RunBenchmarkDateField tests speed of expand stage with date field.
func RunBenchmarkDbPointerField ¶
RunBenchmarkDbPointerField tests speed of expand stage with dbPointer field.
func RunBenchmarkDecimalField ¶
RunBenchmarkDecimalField tests speed of expand stage with decimal field.
func RunBenchmarkDepth0Full ¶
RunBenchmarkDepth0Full tests speed of expand stage with depth 0 and full configuration.
func RunBenchmarkDepth0Min ¶
RunBenchmarkDepth0Min tests speed of expand stage with depth 0 and minimal configuration.
func RunBenchmarkDepth5Full ¶
RunBenchmarkDepth5Full tests speed of expand stage with depth 5 and full configuration.
func RunBenchmarkDoubleField ¶
RunBenchmarkDoubleField tests speed of expand stage with double field.
func RunBenchmarkIntField ¶
RunBenchmarkIntField tests speed of expand stage with int field.
func RunBenchmarkJavascriptField ¶
RunBenchmarkJavascriptField tests speed of expand stage with Javascript field.
func RunBenchmarkJavascriptWithField ¶
RunBenchmarkJavascriptWithField tests speed of expand stage with Javascript field.
func RunBenchmarkLongField ¶
RunBenchmarkLongField tests speed of expand stage with long field.
func RunBenchmarkMaxKeyField ¶
RunBenchmarkMaxKeyField tests speed of expand stage with maxKey field.
func RunBenchmarkMinKeyField ¶
RunBenchmarkMinKeyField tests speed of expand stage with minKey field.
func RunBenchmarkNullField ¶
RunBenchmarkNullField tests speed of expand stage with null field.
func RunBenchmarkObjectField ¶
RunBenchmarkObjectField tests speed of expand stage with object field.
func RunBenchmarkObjectIdField ¶
RunBenchmarkObjectIdField tests speed of expand stage with ObjectId field.
func RunBenchmarkRegexField ¶
RunBenchmarkRegexField tests speed of expand stage with regexp field.
func RunBenchmarkStringField ¶
RunBenchmarkStringField tests speed of expand stage with string field.
func RunBenchmarkSymbolField ¶
RunBenchmarkSymbolField tests speed of expand stage with Symbol field.
func RunBenchmarkTimestampField ¶
RunBenchmarkTimestampField tests speed of expand stage with timestamp field.
func RunBenchmarkUndefinedField ¶
RunBenchmarkUndefinedField tests speed of expand stage with undefined field.
func RunTestArrayFieldArrayMaxLength ¶
RunTestArrayFieldArrayMaxLength tests expand stage with array field and ArrayMaxLength option.
func RunTestArrayFieldLength ¶
RunTestArrayFieldLength tests expand stage with array field and StoreArrayLength option.
func RunTestArrayFieldMaxDepth ¶
RunTestArrayFieldMaxDepth tests expand stage with array field and MaxDepth option.
func RunTestArrayFieldMinimal ¶
RunTestArrayFieldMinimal tests expand stage with array field and minimal configuration.
func RunTestArrayFieldValue ¶
RunTestArrayFieldValue tests expand stage with array field and StoreValue option.
func RunTestObjectFieldLength ¶
RunTestObjectFieldLength tests expand stage with StoreObjectLength option.
func RunTestObjectFieldMaxDepth ¶
RunTestObjectFieldMaxDepth tests expand stage with MaxDepth option.
func RunTestObjectFieldMinimal ¶
RunTestObjectFieldMinimal tests expand stage with minimal configuration.
func RunTestObjectFieldValue ¶
RunTestObjectFieldValue tests expand stage with StoreValue option.
func RunTestScalarTypesMinimal ¶
RunTestScalarTypesMinimal tests expand stage with scalar types and minimal configuration.
func RunTestScalarTypesValue ¶
RunTestScalarTypesValue tests expand stage with scalar types and StoreValue option.
func RunTestStringFieldAll ¶
RunTestStringFieldAll tests string field - all options.
func RunTestStringFieldLength ¶
RunTestStringFieldLength tests string field - StoreLength option.
func RunTestStringFieldMaxLength ¶
RunTestStringFieldMaxLength tests string field - StringMaxLength option.
func RunTestStringFieldMinimal ¶
RunTestStringFieldMinimal tests string field with minimal configuration.
func RunTestStringFieldValue ¶
RunTestStringFieldValue tests string field - StoreValue option.
Types ¶
This section is empty.