gitlab.com/evatix-go/core@v1.3.55/tests/testwrappers/corevalidatortestwrappers/SegmentValidatorTestCases.go (about)

     1  package corevalidatortestwrappers
     2  
     3  import (
     4  	"gitlab.com/evatix-go/core/coredata/corerange"
     5  	"gitlab.com/evatix-go/core/corevalidator"
     6  	"gitlab.com/evatix-go/core/enums/stringcompareas"
     7  )
     8  
     9  var SegmentValidatorTestCases = []SegmentValidatorWrapper{
    10  	{
    11  		Header:                "",
    12  		IsSkipOnContentsEmpty: false,
    13  		IsCaseSensitive:       true,
    14  		SimpleSliceRangeValidator: corevalidator.SimpleSliceRangeValidator{
    15  			VerifierSegments: []corevalidator.RangesSegment{
    16  				{
    17  					RangeInt:      corerange.RangeInt{},
    18  					ExpectedLines: nil,
    19  					CompareAs:     stringcompareas.Equal,
    20  					ValidatorCoreCondition: corevalidator.ValidatorCoreCondition{
    21  						IsTrimCompare:        false,
    22  						IsUniqueWordOnly:     false,
    23  						IsNonEmptyWhitespace: false,
    24  						IsSortStringsBySpace: false,
    25  					},
    26  				},
    27  			},
    28  		},
    29  	},
    30  }