UNPKG

rdf-test-suite

Version:
26 lines (25 loc) 1.13 kB
import { Resource } from "rdf-object"; import { IFetchOptions } from "../../Util"; import { ITestCaseData } from "../ITestCase"; import { ITestCaseHandler } from "../ITestCaseHandler"; import { IQueryEngine } from "./IQueryEngine"; import { ITestCaseSparql } from "./ITestCaseSparql"; /** * Test case handler for http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#NegativeSyntaxTest. */ export declare class TestCaseNegativeSyntaxHandler implements ITestCaseHandler<TestCaseNegativeSyntax> { resourceToTestCase(resource: Resource, testCaseData: ITestCaseData, options?: IFetchOptions): Promise<TestCaseNegativeSyntax>; } export declare class TestCaseNegativeSyntax implements ITestCaseSparql { readonly type = "sparql"; readonly approval: string; readonly approvedBy: string; readonly comment: string; readonly types: string[]; readonly name: string; readonly uri: string; readonly queryString: string; readonly baseIRI: string; constructor(testCaseData: ITestCaseData, queryString: string, baseIRI: string); test(engine: IQueryEngine, injectArguments: any): Promise<void>; }