public void MaxOrderByNodeCount_Property_RoundTrips() { ReflectionAssert.IntegerProperty( new ODataValidationSettings(), o => o.MaxOrderByNodeCount, expectedDefaultValue: 5, minLegalValue: 1, maxLegalValue: int.MaxValue, illegalLowerValue: -1, illegalUpperValue: null, roundTripTestValue: 100); }
public void MaxAnyAllExpressionDepth_Property_RoundTrips() { ReflectionAssert.IntegerProperty <ODataValidationSettings, int>( new ODataValidationSettings(), o => o.MaxAnyAllExpressionDepth, expectedDefaultValue: 1, minLegalValue: 1, maxLegalValue: int.MaxValue, illegalLowerValue: 0, illegalUpperValue: null, roundTripTestValue: 2); }
public void MaxExpansionDepth_Property_RoundTrips() { ReflectionAssert.IntegerProperty( new ODataValidationSettings(), o => o.MaxExpansionDepth, expectedDefaultValue: 2, minLegalValue: 0, maxLegalValue: int.MaxValue, illegalLowerValue: -1, illegalUpperValue: null, roundTripTestValue: 100); }
public void MaxNodeCount_Property_RoundTrips() { // Arrange & Act & Assert ReflectionAssert.IntegerProperty <ODataValidationSettings, int>( new ODataValidationSettings(), o => o.MaxNodeCount, expectedDefaultValue: 100, minLegalValue: 1, maxLegalValue: int.MaxValue, illegalLowerValue: 0, illegalUpperValue: null, roundTripTestValue: 2); }