logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class StructuredIdentifierValidatorTests

    Tests for StructuredIdentifierValidator — the shared safe-identifier check every relational IStructuredStore provider (MySQL, PostgreSQL, SQLite) delegates to before interpolating a caller-supplied field name into raw SQL.

    Inheritance
    object
    StructuredIdentifierValidatorTests
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.StructuredPersistence.Tests.Infrastructure
    Assembly: Tests.dll
    Syntax
    public class StructuredIdentifierValidatorTests

    Constructors

    StructuredIdentifierValidatorTests()

    Declaration
    public StructuredIdentifierValidatorTests()

    Methods

    ValidateFilterIdentifiers_InvalidFilterField_ThrowsArgumentException()

    Declaration
    public void ValidateFilterIdentifiers_InvalidFilterField_ThrowsArgumentException()

    ValidateFilterIdentifiers_NullList_DoesNotThrow()

    Declaration
    public void ValidateFilterIdentifiers_NullList_DoesNotThrow()

    ValidateIdentifier_InvalidIdentifier_ThrowsArgumentException(string)

    Declaration
    public void ValidateIdentifier_InvalidIdentifier_ThrowsArgumentException(string identifier)
    Parameters
    Type Name Description
    string identifier

    ValidateIdentifier_LettersDigitsUnderscore_DoesNotThrow()

    Declaration
    public void ValidateIdentifier_LettersDigitsUnderscore_DoesNotThrow()

    ValidateOrderingIdentifiers_InvalidOrderingField_ThrowsArgumentException()

    Declaration
    public void ValidateOrderingIdentifiers_InvalidOrderingField_ThrowsArgumentException()

    ValidateSchemaIdentifiers_InvalidIndexField_ThrowsArgumentException()

    Declaration
    public void ValidateSchemaIdentifiers_InvalidIndexField_ThrowsArgumentException()

    ValidateSchemaIdentifiers_ValidFieldsAndIndexes_DoesNotThrow()

    Declaration
    public void ValidateSchemaIdentifiers_ValidFieldsAndIndexes_DoesNotThrow()
    In this article
    © 2026 Serenity. All Rights Reserved