rdf-test-suite
Version:
Executes the RDF and SPARQL test suites.
15 lines (14 loc) • 675 B
TypeScript
import { Resource } from "rdf-object";
import { ITestCaseData } from "../../ITestCase";
import { TestCaseSyntax, TestCaseSyntaxHandler } from "../TestCaseSyntax";
import { IFetchOptions } from "../../../Util";
/**
* Test case handler for:
* * https://json-ld.org/test-suite/vocab#NegativeEvaluationTest
* * https://w3c.github.io/json-ld-api/tests/vocab#PositiveSyntaxTest
*/
export declare class TestCaseJsonLdSyntaxHandler extends TestCaseSyntaxHandler {
constructor(expectNoError: boolean);
resourceToTestCase(resource: Resource, testCaseData: ITestCaseData, options?: IFetchOptions): Promise<TestCaseSyntax>;
protected normalizeUrl(url: string): string;
}