expandTests

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 27, 2017 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Overview

Package expandTests contains common tests for expand stage.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunBenchmarkArrayField

func RunBenchmarkArrayField(b *testing.B, stageFactory expand.StageFactory)

RunBenchmarkArrayField tests speed of expand stage with array field.

func RunBenchmarkBinDataField

func RunBenchmarkBinDataField(b *testing.B, stageFactory expand.StageFactory)

RunBenchmarkBinDataField tests speed of expand stage with bin field.

func RunBenchmarkBoolField

func RunBenchmarkBoolField(b *testing.B, stageFactory expand.StageFactory)

RunBenchmarkBoolField tests speed of expand stage with bool field.

func RunBenchmarkDateField

func RunBenchmarkDateField(b *testing.B, stageFactory expand.StageFactory)

RunBenchmarkDateField tests speed of expand stage with date field.

func RunBenchmarkDbPointerField

func RunBenchmarkDbPointerField(b *testing.B, stageFactory expand.StageFactory)

RunBenchmarkDbPointerField tests speed of expand stage with dbPointer field.

func RunBenchmarkDecimalField

func RunBenchmarkDecimalField(b *testing.B, stageFactory expand.StageFactory)

RunBenchmarkDecimalField tests speed of expand stage with decimal field.

func RunBenchmarkDepth0Full

func RunBenchmarkDepth0Full(b *testing.B, stageFactory expand.StageFactory)

RunBenchmarkDepth0Full tests speed of expand stage with depth 0 and full configuration.

func RunBenchmarkDepth0Min

func RunBenchmarkDepth0Min(b *testing.B, stageFactory expand.StageFactory)

RunBenchmarkDepth0Min tests speed of expand stage with depth 0 and minimal configuration.

func RunBenchmarkDepth5Full

func RunBenchmarkDepth5Full(b *testing.B, stageFactory expand.StageFactory)

RunBenchmarkDepth5Full tests speed of expand stage with depth 5 and full configuration.

func RunBenchmarkDoubleField

func RunBenchmarkDoubleField(b *testing.B, stageFactory expand.StageFactory)

RunBenchmarkDoubleField tests speed of expand stage with double field.

func RunBenchmarkIntField

func RunBenchmarkIntField(b *testing.B, stageFactory expand.StageFactory)

RunBenchmarkIntField tests speed of expand stage with int field.

func RunBenchmarkJavascriptField

func RunBenchmarkJavascriptField(b *testing.B, stageFactory expand.StageFactory)

RunBenchmarkJavascriptField tests speed of expand stage with Javascript field.

func RunBenchmarkJavascriptWithField

func RunBenchmarkJavascriptWithField(b *testing.B, stageFactory expand.StageFactory)

RunBenchmarkJavascriptWithField tests speed of expand stage with Javascript field.

func RunBenchmarkLongField

func RunBenchmarkLongField(b *testing.B, stageFactory expand.StageFactory)

RunBenchmarkLongField tests speed of expand stage with long field.

func RunBenchmarkMaxKeyField

func RunBenchmarkMaxKeyField(b *testing.B, stageFactory expand.StageFactory)

RunBenchmarkMaxKeyField tests speed of expand stage with maxKey field.

func RunBenchmarkMinKeyField

func RunBenchmarkMinKeyField(b *testing.B, stageFactory expand.StageFactory)

RunBenchmarkMinKeyField tests speed of expand stage with minKey field.

func RunBenchmarkNullField

func RunBenchmarkNullField(b *testing.B, stageFactory expand.StageFactory)

RunBenchmarkNullField tests speed of expand stage with null field.

func RunBenchmarkObjectField

func RunBenchmarkObjectField(b *testing.B, stageFactory expand.StageFactory)

RunBenchmarkObjectField tests speed of expand stage with object field.

func RunBenchmarkObjectIdField

func RunBenchmarkObjectIdField(b *testing.B, stageFactory expand.StageFactory)

RunBenchmarkObjectIdField tests speed of expand stage with ObjectId field.

func RunBenchmarkRegexField

func RunBenchmarkRegexField(b *testing.B, stageFactory expand.StageFactory)

RunBenchmarkRegexField tests speed of expand stage with regexp field.

func RunBenchmarkStringField

func RunBenchmarkStringField(b *testing.B, stageFactory expand.StageFactory)

RunBenchmarkStringField tests speed of expand stage with string field.

func RunBenchmarkSymbolField

func RunBenchmarkSymbolField(b *testing.B, stageFactory expand.StageFactory)

RunBenchmarkSymbolField tests speed of expand stage with Symbol field.

func RunBenchmarkTimestampField

func RunBenchmarkTimestampField(b *testing.B, stageFactory expand.StageFactory)

RunBenchmarkTimestampField tests speed of expand stage with timestamp field.

func RunBenchmarkUndefinedField

func RunBenchmarkUndefinedField(b *testing.B, stageFactory expand.StageFactory)

RunBenchmarkUndefinedField tests speed of expand stage with undefined field.

func RunTestArrayFieldArrayMaxLength

func RunTestArrayFieldArrayMaxLength(t *testing.T, stageFactory expand.StageFactory)

RunTestArrayFieldArrayMaxLength tests expand stage with array field and ArrayMaxLength option.

func RunTestArrayFieldLength

func RunTestArrayFieldLength(t *testing.T, stageFactory expand.StageFactory)

RunTestArrayFieldLength tests expand stage with array field and StoreArrayLength option.

func RunTestArrayFieldMaxDepth

func RunTestArrayFieldMaxDepth(t *testing.T, stageFactory expand.StageFactory)

RunTestArrayFieldMaxDepth tests expand stage with array field and MaxDepth option.

func RunTestArrayFieldMinimal

func RunTestArrayFieldMinimal(t *testing.T, stageFactory expand.StageFactory)

RunTestArrayFieldMinimal tests expand stage with array field and minimal configuration.

func RunTestArrayFieldValue

func RunTestArrayFieldValue(t *testing.T, stageFactory expand.StageFactory)

RunTestArrayFieldValue tests expand stage with array field and StoreValue option.

func RunTestObjectFieldLength

func RunTestObjectFieldLength(t *testing.T, stageFactory expand.StageFactory)

RunTestObjectFieldLength tests expand stage with StoreObjectLength option.

func RunTestObjectFieldMaxDepth

func RunTestObjectFieldMaxDepth(t *testing.T, stageFactory expand.StageFactory)

RunTestObjectFieldMaxDepth tests expand stage with MaxDepth option.

func RunTestObjectFieldMinimal

func RunTestObjectFieldMinimal(t *testing.T, stageFactory expand.StageFactory)

RunTestObjectFieldMinimal tests expand stage with minimal configuration.

func RunTestObjectFieldValue

func RunTestObjectFieldValue(t *testing.T, stageFactory expand.StageFactory)

RunTestObjectFieldValue tests expand stage with StoreValue option.

func RunTestScalarTypesMinimal

func RunTestScalarTypesMinimal(t *testing.T, stageFactory expand.StageFactory)

RunTestScalarTypesMinimal tests expand stage with scalar types and minimal configuration.

func RunTestScalarTypesValue

func RunTestScalarTypesValue(t *testing.T, stageFactory expand.StageFactory)

RunTestScalarTypesValue tests expand stage with scalar types and StoreValue option.

func RunTestStringFieldAll

func RunTestStringFieldAll(t *testing.T, stageFactory expand.StageFactory)

RunTestStringFieldAll tests string field - all options.

func RunTestStringFieldLength

func RunTestStringFieldLength(t *testing.T, stageFactory expand.StageFactory)

RunTestStringFieldLength tests string field - StoreLength option.

func RunTestStringFieldMaxLength

func RunTestStringFieldMaxLength(t *testing.T, stageFactory expand.StageFactory)

RunTestStringFieldMaxLength tests string field - StringMaxLength option.

func RunTestStringFieldMinimal

func RunTestStringFieldMinimal(t *testing.T, stageFactory expand.StageFactory)

RunTestStringFieldMinimal tests string field with minimal configuration.

func RunTestStringFieldValue

func RunTestStringFieldValue(t *testing.T, stageFactory expand.StageFactory)

RunTestStringFieldValue tests string field - StoreValue option.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL