rdf-test-suite
Version:
Executes the RDF and SPARQL test suites.
24 lines (23 loc) • 916 B
TypeScript
import { Resource } from "rdf-object";
import { ITestCase, ITestCaseData } from "./ITestCase";
import { ITestCaseHandler } from "./ITestCaseHandler";
/**
* A fallback test case handler that constructs unsupported test cases.
*/
export declare class TestCaseUnsupportedHandler implements ITestCaseHandler<TestCaseUnsupported> {
private readonly name;
constructor(name: string);
resourceToTestCase(resource: Resource, testCaseData: ITestCaseData): Promise<TestCaseUnsupported>;
}
export declare class TestCaseUnsupported implements ITestCase<any> {
readonly type = "unsupported";
readonly approval: string;
readonly approvedBy: string;
readonly comment: string;
readonly types: string[];
readonly name: string;
readonly uri: string;
readonly testCaseName: string;
constructor(testCaseName: string, testCaseData: ITestCaseData);
test(engine: any): Promise<void>;
}