Comunica
    Preparing search index...

    Interface FuncTestTableConfig<E>

    interface FuncTestTableConfig<E> {
        additionalArgs?: E;
        additionalPrefixes?: Record<string, string>;
        aliases?: AliasMap;
        arity: 2 | 3 | 1 | "vary";
        config?: IActionContext;
        errorArray?: string[][];
        errorTable?: string;
        exprEvalFactory?: ActorExpressionEvaluatorFactory<undefined>;
        notation: Notation;
        operation: string;
        registeredActors?: (
            (arg: RunFuncTestTableArgs & E) => ActorFunctionFactory
        )[];
        testArray?: string[][];
        testTable?: string;
        toAlgebraParse?: (query: string) => BaseOperation;
    }

    Type Parameters

    • E

    Hierarchy (View Summary)

    Index

    Properties

    additionalArgs?: E
    additionalPrefixes?: Record<string, string>

    Additional prefixes can be provided if the defaultPrefixes in ./Aliases.ts are not enough.

    aliases?: AliasMap
    arity: 2 | 3 | 1 | "vary"

    How many arguments does the operation take. The vary option means you don't know. This can only be provided when the notation is Notation.Function.

    Configuration that'll we provided to the Evaluator. If the type is sync, the test will be preformed both sync and async.

    errorArray?: string[][]

    Test array that will check if a given error is thrown. Result can be '' if the message doesn't need to be checked.

    errorTable?: string

    TestTable that will check if a given error is thrown. Result can be '' if the message doesn't need to be checked.

    exprEvalFactory?: ActorExpressionEvaluatorFactory<undefined>

    The factory that will create the evaluator used for this evaluation.

    notation: Notation
    operation: string

    Operation / function that needs to be called on the arguments provided in the TestTable.

    registeredActors?: ((arg: RunFuncTestTableArgs & E) => ActorFunctionFactory)[]
    testArray?: string[][]

    Test array that will check equality;

    testTable?: string

    TestTable that will check equality;

    toAlgebraParse?: (query: string) => BaseOperation