@traqula/test-utils 0.0.23 → 0.0.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/dist/cjs/lib/Sparql11NotesTest.js +243 -261
- package/dist/cjs/lib/Sparql11NotesTest.js.map +1 -0
- package/dist/cjs/lib/fileUtils.js +15 -45
- package/dist/cjs/lib/fileUtils.js.map +1 -0
- package/dist/cjs/lib/generators/algebraGenerators.js +56 -84
- package/dist/cjs/lib/generators/algebraGenerators.js.map +1 -0
- package/dist/cjs/lib/generators/generators.js +64 -83
- package/dist/cjs/lib/generators/generators.js.map +1 -0
- package/dist/cjs/lib/generators/utils.js +10 -38
- package/dist/cjs/lib/generators/utils.js.map +1 -0
- package/dist/cjs/lib/index.js +22 -32
- package/dist/cjs/lib/index.js.map +1 -0
- package/dist/cjs/lib/matchers/toEqualParsedQuery.js +93 -78
- package/dist/cjs/lib/matchers/toEqualParsedQuery.js.map +1 -0
- package/dist/cjs/lib/matchers/vitest.js +3 -1
- package/dist/cjs/lib/matchers/vitest.js.map +1 -0
- package/dist/esm/lib/Sparql11NotesTest.d.ts +1 -1
- package/dist/esm/lib/Sparql11NotesTest.js +23 -23
- package/dist/esm/lib/Sparql11NotesTest.js.map +1 -1
- package/dist/esm/lib/generators/algebraGenerators.js +18 -18
- package/dist/esm/lib/generators/algebraGenerators.js.map +1 -1
- package/dist/esm/lib/generators/generators.d.ts +2 -1
- package/dist/esm/lib/generators/generators.js +45 -32
- package/dist/esm/lib/generators/generators.js.map +1 -1
- package/package.json +8 -8
|
@@ -1,49 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var
|
|
3
|
-
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var __export = (target, all) => {
|
|
9
|
-
for (var name in all)
|
|
10
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
11
4
|
};
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
-
mod
|
|
27
|
-
));
|
|
28
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
-
var fileUtils_exports = {};
|
|
30
|
-
__export(fileUtils_exports, {
|
|
31
|
-
readFile: () => readFile,
|
|
32
|
-
readFileSync: () => readFileSync
|
|
33
|
-
});
|
|
34
|
-
module.exports = __toCommonJS(fileUtils_exports);
|
|
35
|
-
var import_node_fs = __toESM(require("node:fs"), 1);
|
|
36
|
-
var import_promises = __toESM(require("node:fs/promises"), 1);
|
|
37
|
-
async function readFile(path, encoding = "utf-8") {
|
|
38
|
-
const content = await import_promises.default.readFile(path, encoding);
|
|
39
|
-
return content.replaceAll(/\r?\n/gu, "\n");
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.readFile = readFile;
|
|
7
|
+
exports.readFileSync = readFileSync;
|
|
8
|
+
const node_fs_1 = __importDefault(require("node:fs"));
|
|
9
|
+
const promises_1 = __importDefault(require("node:fs/promises"));
|
|
10
|
+
async function readFile(path, encoding = 'utf-8') {
|
|
11
|
+
const content = await promises_1.default.readFile(path, encoding);
|
|
12
|
+
return content.replaceAll(/\r?\n/gu, '\n');
|
|
40
13
|
}
|
|
41
|
-
function readFileSync(path, encoding =
|
|
42
|
-
|
|
43
|
-
|
|
14
|
+
function readFileSync(path, encoding = 'utf-8') {
|
|
15
|
+
// eslint-disable-next-line no-sync
|
|
16
|
+
const content = node_fs_1.default.readFileSync(path, encoding);
|
|
17
|
+
return content.replaceAll(/\r?\n/gu, '\n');
|
|
44
18
|
}
|
|
45
|
-
|
|
46
|
-
0 && (module.exports = {
|
|
47
|
-
readFile,
|
|
48
|
-
readFileSync
|
|
49
|
-
});
|
|
19
|
+
//# sourceMappingURL=fileUtils.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fileUtils.js","sourceRoot":"","sources":["../../../lib/fileUtils.ts"],"names":[],"mappings":";;;;;AAMA,4BAGC;AAED,oCAIC;AAbD,sDAAyB;AAEzB,gEAAmC;AAE5B,KAAK,UAAU,QAAQ,CAAC,IAA2B,EAAE,WAA2B,OAAO;IAC5F,MAAM,OAAO,GAAG,MAAM,kBAAG,CAAC,QAAQ,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;IACnD,OAAO,OAAO,CAAC,UAAU,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;AAC7C,CAAC;AAED,SAAgB,YAAY,CAAC,IAAY,EAAE,WAA2B,OAAO;IAC3E,mCAAmC;IACnC,MAAM,OAAO,GAAG,iBAAE,CAAC,YAAY,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;IAChD,OAAO,OAAO,CAAC,UAAU,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;AAC7C,CAAC","sourcesContent":["/* eslint-disable import/no-nodejs-modules */\nimport type { PathLike } from 'node:fs';\nimport fs from 'node:fs';\nimport type { FileHandle } from 'node:fs/promises';\nimport fsp from 'node:fs/promises';\n\nexport async function readFile(path: PathLike | FileHandle, encoding: BufferEncoding = 'utf-8'): Promise<string> {\n const content = await fsp.readFile(path, encoding);\n return content.replaceAll(/\\r?\\n/gu, '\\n');\n}\n\nexport function readFileSync(path: string, encoding: BufferEncoding = 'utf-8'): string {\n // eslint-disable-next-line no-sync\n const content = fs.readFileSync(path, encoding);\n return content.replaceAll(/\\r?\\n/gu, '\\n');\n}\n"]}
|
|
@@ -1,91 +1,63 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
for (let key of __getOwnPropNames(from))
|
|
15
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
-
}
|
|
18
|
-
return to;
|
|
19
|
-
};
|
|
20
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
-
mod
|
|
27
|
-
));
|
|
28
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
-
var algebraGenerators_exports = {};
|
|
30
|
-
__export(algebraGenerators_exports, {
|
|
31
|
-
sparqlAlgebraTests: () => sparqlAlgebraTests,
|
|
32
|
-
sparqlQueries: () => sparqlQueries
|
|
33
|
-
});
|
|
34
|
-
module.exports = __toCommonJS(algebraGenerators_exports);
|
|
35
|
-
var fs = __toESM(require("node:fs"), 1);
|
|
36
|
-
var path = __toESM(require("node:path"), 1);
|
|
37
|
-
var import_fileUtils = require("../fileUtils.js");
|
|
38
|
-
var import_utils = require("./utils.js");
|
|
39
|
-
const rootDir = (0, import_utils.getStaticFilePath)("algebra");
|
|
40
|
-
const rootSparql = path.join(rootDir, "sparql");
|
|
41
|
-
const rootJson = path.join(rootDir, "algebra");
|
|
42
|
-
const rootJsonBlankToVariable = path.join(rootDir, "algebra-blank-to-var");
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.sparqlAlgebraTests = sparqlAlgebraTests;
|
|
4
|
+
exports.sparqlQueries = sparqlQueries;
|
|
5
|
+
/* eslint-disable import/no-nodejs-modules */
|
|
6
|
+
const node_fs_1 = require("node:fs");
|
|
7
|
+
const node_path_1 = require("node:path");
|
|
8
|
+
const fileUtils_js_1 = require("../fileUtils.js");
|
|
9
|
+
const utils_js_1 = require("./utils.js");
|
|
10
|
+
const rootDir = (0, utils_js_1.getStaticFilePath)('algebra');
|
|
11
|
+
const rootSparql = (0, node_path_1.join)(rootDir, 'sparql');
|
|
12
|
+
const rootJson = (0, node_path_1.join)(rootDir, 'algebra');
|
|
13
|
+
const rootJsonBlankToVariable = (0, node_path_1.join)(rootDir, 'algebra-blank-to-var');
|
|
43
14
|
function* sparqlAlgebraTests(suite, blankToVariable, getSPARQL) {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
15
|
+
// Relative path starting from roots declared above.
|
|
16
|
+
function* subGen(relativePath) {
|
|
17
|
+
const absolutePath = (0, node_path_1.join)(blankToVariable ? rootJsonBlankToVariable : rootJson, relativePath);
|
|
18
|
+
if ((0, node_fs_1.lstatSync)(absolutePath).isDirectory()) {
|
|
19
|
+
// Recursion
|
|
20
|
+
for (const sub of (0, node_fs_1.readdirSync)(absolutePath)) {
|
|
21
|
+
yield* subGen((0, node_path_1.join)(relativePath, sub));
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
else {
|
|
25
|
+
const name = relativePath.replace(/\.json$/u, '');
|
|
26
|
+
const sparqlPath = (0, node_path_1.join)(rootSparql, relativePath.replace(/\.json/u, '.sparql'));
|
|
27
|
+
yield {
|
|
28
|
+
name,
|
|
29
|
+
json: JSON.parse((0, fileUtils_js_1.readFileSync)(absolutePath)),
|
|
30
|
+
sparql: getSPARQL ? (0, fileUtils_js_1.readFileSync)(sparqlPath, 'utf8') : undefined,
|
|
31
|
+
quads: name.endsWith('-quads'),
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
const subfolders = (0, node_fs_1.readdirSync)(blankToVariable ? rootJsonBlankToVariable : rootJson);
|
|
36
|
+
if (subfolders.includes(suite)) {
|
|
37
|
+
yield* subGen(suite);
|
|
59
38
|
}
|
|
60
|
-
}
|
|
61
|
-
const subfolders = fs.readdirSync(blankToVariable ? rootJsonBlankToVariable : rootJson);
|
|
62
|
-
if (subfolders.includes(suite)) {
|
|
63
|
-
yield* subGen(suite);
|
|
64
|
-
}
|
|
65
39
|
}
|
|
66
40
|
function* sparqlQueries(suite) {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
41
|
+
function* subGen(relativePath) {
|
|
42
|
+
const absolutePath = (0, node_path_1.join)(rootSparql, relativePath);
|
|
43
|
+
if ((0, node_fs_1.lstatSync)(absolutePath).isDirectory()) {
|
|
44
|
+
// Recursion
|
|
45
|
+
for (const sub of (0, node_fs_1.readdirSync)(absolutePath)) {
|
|
46
|
+
yield* subGen((0, node_path_1.join)(relativePath, sub));
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
else {
|
|
50
|
+
const name = relativePath.replace(/\.sparql$/u, '');
|
|
51
|
+
const content = (0, fileUtils_js_1.readFileSync)(absolutePath, 'utf-8');
|
|
52
|
+
yield {
|
|
53
|
+
name,
|
|
54
|
+
query: content.replaceAll(/\r?\n/gu, '\n'),
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
const subfolders = (0, node_fs_1.readdirSync)(rootSparql);
|
|
59
|
+
if (subfolders.includes(suite)) {
|
|
60
|
+
yield* subGen(suite);
|
|
80
61
|
}
|
|
81
|
-
}
|
|
82
|
-
const subfolders = fs.readdirSync(rootSparql);
|
|
83
|
-
if (subfolders.includes(suite)) {
|
|
84
|
-
yield* subGen(suite);
|
|
85
|
-
}
|
|
86
62
|
}
|
|
87
|
-
|
|
88
|
-
0 && (module.exports = {
|
|
89
|
-
sparqlAlgebraTests,
|
|
90
|
-
sparqlQueries
|
|
91
|
-
});
|
|
63
|
+
//# sourceMappingURL=algebraGenerators.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"algebraGenerators.js","sourceRoot":"","sources":["../../../../lib/generators/algebraGenerators.ts"],"names":[],"mappings":"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","sourcesContent":["/* eslint-disable import/no-nodejs-modules */\nimport { lstatSync, readdirSync } from 'node:fs';\nimport { join } from 'node:path';\nimport { readFileSync } from '../fileUtils.js';\nimport { getStaticFilePath } from './utils.js';\n\nconst rootDir = getStaticFilePath('algebra');\nconst rootSparql = join(rootDir, 'sparql');\nconst rootJson = join(rootDir, 'algebra');\nconst rootJsonBlankToVariable = join(rootDir, 'algebra-blank-to-var');\n\nexport interface algebraTestGen {\n name: string;\n json: unknown;\n quads: boolean;\n sparql: string | undefined;\n}\n\nexport type AlgebraTestSuite = 'dawg-syntax' | 'sparql-1.1' | 'sparql11-query' | 'sparql12';\n\nexport function sparqlAlgebraTests(suites: AlgebraTestSuite, blankToVariable: boolean, getSPARQL: true):\nGenerator<algebraTestGen & { sparql: string }>;\nexport function sparqlAlgebraTests(suites: AlgebraTestSuite, blankToVariable: boolean, getSPARQL: boolean):\nGenerator<algebraTestGen>;\nexport function* sparqlAlgebraTests(suite: AlgebraTestSuite, blankToVariable: boolean, getSPARQL: boolean):\nGenerator<algebraTestGen> {\n // Relative path starting from roots declared above.\n function* subGen(relativePath: string): Generator<algebraTestGen> {\n const absolutePath = join(blankToVariable ? rootJsonBlankToVariable : rootJson, relativePath);\n if (lstatSync(absolutePath).isDirectory()) {\n // Recursion\n for (const sub of readdirSync(absolutePath)) {\n yield* subGen(join(relativePath, sub));\n }\n } else {\n const name = relativePath.replace(/\\.json$/u, '');\n const sparqlPath = join(rootSparql, relativePath.replace(/\\.json/u, '.sparql'));\n yield {\n name,\n json: JSON.parse(readFileSync(absolutePath)),\n sparql: getSPARQL ? readFileSync(sparqlPath, 'utf8') : undefined,\n quads: name.endsWith('-quads'),\n };\n }\n }\n\n const subfolders = readdirSync(blankToVariable ? rootJsonBlankToVariable : rootJson);\n if (subfolders.includes(suite)) {\n yield* subGen(suite);\n }\n}\n\ntype GenQuery = { query: string; name: string };\nexport function* sparqlQueries(suite: AlgebraTestSuite): Generator<GenQuery> {\n function* subGen(relativePath: string): Generator<GenQuery> {\n const absolutePath = join(rootSparql, relativePath);\n if (lstatSync(absolutePath).isDirectory()) {\n // Recursion\n for (const sub of readdirSync(absolutePath)) {\n yield* subGen(join(relativePath, sub));\n }\n } else {\n const name = relativePath.replace(/\\.sparql$/u, '');\n const content = readFileSync(absolutePath, 'utf-8');\n yield {\n name,\n query: content.replaceAll(/\\r?\\n/gu, '\\n'),\n };\n }\n }\n\n const subfolders = readdirSync(rootSparql);\n if (subfolders.includes(suite)) {\n yield* subGen(suite);\n }\n}\n"]}
|
|
@@ -1,92 +1,73 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
-
};
|
|
12
|
-
var __copyProps = (to, from, except, desc) => {
|
|
13
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
-
for (let key of __getOwnPropNames(from))
|
|
15
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
-
}
|
|
18
|
-
return to;
|
|
19
|
-
};
|
|
20
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
-
mod
|
|
27
|
-
));
|
|
28
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
-
var generators_exports = {};
|
|
30
|
-
__export(generators_exports, {
|
|
31
|
-
negativeTest: () => negativeTest,
|
|
32
|
-
positiveTest: () => positiveTest
|
|
33
|
-
});
|
|
34
|
-
module.exports = __toCommonJS(generators_exports);
|
|
35
|
-
var fs = __toESM(require("node:fs"), 1);
|
|
36
|
-
var import_fileUtils = require("../fileUtils.js");
|
|
37
|
-
var import_utils = require("./utils.js");
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.positiveTest = positiveTest;
|
|
4
|
+
exports.negativeTest = negativeTest;
|
|
5
|
+
/* eslint-disable import/no-nodejs-modules */
|
|
6
|
+
const node_fs_1 = require("node:fs");
|
|
7
|
+
const node_path_1 = require("node:path");
|
|
8
|
+
const fileUtils_js_1 = require("../fileUtils.js");
|
|
9
|
+
const utils_js_1 = require("./utils.js");
|
|
38
10
|
function* positiveTest(type, filter) {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
statics: async () => {
|
|
49
|
-
const query = await (0, import_fileUtils.readFile)(`${dir}/${file.replace(".json", ".sparql")}`);
|
|
50
|
-
const result = await (0, import_fileUtils.readFile)(`${dir}/${file}`);
|
|
51
|
-
let autoGen;
|
|
52
|
-
try {
|
|
53
|
-
autoGen = await (0, import_fileUtils.readFile)(`${dir}/${file.replace(".json", "-generated.sparql")}`);
|
|
54
|
-
} catch {
|
|
55
|
-
autoGen = query;
|
|
56
|
-
}
|
|
57
|
-
const json = JSON.parse(result);
|
|
58
|
-
return {
|
|
59
|
-
query,
|
|
60
|
-
ast: json,
|
|
61
|
-
autoGen
|
|
62
|
-
};
|
|
11
|
+
const astDir = (0, utils_js_1.getStaticFilePath)('ast');
|
|
12
|
+
const jsonSourceTrackedDir = (0, node_path_1.join)(astDir, 'ast-source-tracked', type);
|
|
13
|
+
const jsonNonSourceTrackedDir = (0, node_path_1.join)(astDir, 'ast-no-source-tracked', type);
|
|
14
|
+
const sparqlDir = (0, node_path_1.join)(astDir, 'sparql', type);
|
|
15
|
+
const sparqlGeneratedDir = (0, node_path_1.join)(astDir, 'sparql-generated', type);
|
|
16
|
+
const statics = (0, node_fs_1.readdirSync)(jsonSourceTrackedDir);
|
|
17
|
+
for (const file of statics) {
|
|
18
|
+
if (filter && !filter(file.replace('.json', ''))) {
|
|
19
|
+
continue;
|
|
63
20
|
}
|
|
64
|
-
|
|
21
|
+
const name = file.replace(/\.json$/u, '');
|
|
22
|
+
yield {
|
|
23
|
+
name,
|
|
24
|
+
statics: async () => {
|
|
25
|
+
const query = await (0, fileUtils_js_1.readFile)((0, node_path_1.join)(sparqlDir, `${name}.sparql`));
|
|
26
|
+
const sourceTracked = await (0, fileUtils_js_1.readFile)((0, node_path_1.join)(jsonSourceTrackedDir, file));
|
|
27
|
+
let noSourceTracked;
|
|
28
|
+
try {
|
|
29
|
+
noSourceTracked = await (0, fileUtils_js_1.readFile)((0, node_path_1.join)(jsonNonSourceTrackedDir, file));
|
|
30
|
+
}
|
|
31
|
+
catch {
|
|
32
|
+
noSourceTracked = '{}';
|
|
33
|
+
}
|
|
34
|
+
let autoGen;
|
|
35
|
+
try {
|
|
36
|
+
autoGen = await (0, fileUtils_js_1.readFile)((0, node_path_1.join)(sparqlGeneratedDir, `${name}.sparql`));
|
|
37
|
+
}
|
|
38
|
+
catch {
|
|
39
|
+
autoGen = '';
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
query,
|
|
43
|
+
astWithSource: JSON.parse(sourceTracked),
|
|
44
|
+
astNoSource: JSON.parse(noSourceTracked),
|
|
45
|
+
autoGen,
|
|
46
|
+
};
|
|
47
|
+
},
|
|
48
|
+
};
|
|
65
49
|
}
|
|
66
|
-
}
|
|
67
50
|
}
|
|
68
51
|
function* negativeTest(type, filter) {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
52
|
+
const astDir = (0, utils_js_1.getStaticFilePath)('ast');
|
|
53
|
+
const sparqlGeneratedDir = (0, node_path_1.join)(astDir, 'sparql', type);
|
|
54
|
+
const statics = (0, node_fs_1.readdirSync)(sparqlGeneratedDir);
|
|
55
|
+
for (const file of statics) {
|
|
56
|
+
if (file.endsWith('.sparql')) {
|
|
57
|
+
if (filter && !filter(file.replace('.sparql', ''))) {
|
|
58
|
+
continue;
|
|
59
|
+
}
|
|
60
|
+
const name = file.replace(/\.sparql$/u, '');
|
|
61
|
+
yield {
|
|
62
|
+
name,
|
|
63
|
+
statics: async () => {
|
|
64
|
+
const query = await (0, fileUtils_js_1.readFile)((0, node_path_1.join)(sparqlGeneratedDir, file));
|
|
65
|
+
return {
|
|
66
|
+
query,
|
|
67
|
+
};
|
|
68
|
+
},
|
|
69
|
+
};
|
|
83
70
|
}
|
|
84
|
-
};
|
|
85
71
|
}
|
|
86
|
-
}
|
|
87
72
|
}
|
|
88
|
-
|
|
89
|
-
0 && (module.exports = {
|
|
90
|
-
negativeTest,
|
|
91
|
-
positiveTest
|
|
92
|
-
});
|
|
73
|
+
//# sourceMappingURL=generators.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generators.js","sourceRoot":"","sources":["../../../../lib/generators/generators.ts"],"names":[],"mappings":";;AAgBA,oCAyCC;AASD,oCAwBC;AA1FD,6CAA6C;AAC7C,qCAAsC;AACtC,yCAAiC;AACjC,kDAA2C;AAC3C,yCAA+C;AAY/C,QAAe,CAAC,CAAC,YAAY,CAC3B,IAA2C,EAC3C,MAAkC;IAElC,MAAM,MAAM,GAAG,IAAA,4BAAiB,EAAC,KAAK,CAAC,CAAC;IACxC,MAAM,oBAAoB,GAAG,IAAA,gBAAI,EAAC,MAAM,EAAE,oBAAoB,EAAE,IAAI,CAAC,CAAC;IACtE,MAAM,uBAAuB,GAAG,IAAA,gBAAI,EAAC,MAAM,EAAE,uBAAuB,EAAE,IAAI,CAAC,CAAC;IAC5E,MAAM,SAAS,GAAG,IAAA,gBAAI,EAAC,MAAM,EAAE,QAAQ,EAAE,IAAI,CAAC,CAAC;IAC/C,MAAM,kBAAkB,GAAG,IAAA,gBAAI,EAAC,MAAM,EAAE,kBAAkB,EAAE,IAAI,CAAC,CAAC;IAClE,MAAM,OAAO,GAAG,IAAA,qBAAW,EAAC,oBAAoB,CAAC,CAAC;IAClD,KAAK,MAAM,IAAI,IAAI,OAAO,EAAE,CAAC;QAC3B,IAAI,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,EAAE,CAAC;YACjD,SAAS;QACX,CAAC;QACD,MAAM,IAAI,GAAG,IAAI,CAAC,OAAO,CAAC,UAAU,EAAE,EAAE,CAAC,CAAC;QAC1C,MAAM;YACJ,IAAI;YACJ,OAAO,EAAE,KAAK,IAAG,EAAE;gBACjB,MAAM,KAAK,GAAG,MAAM,IAAA,uBAAQ,EAAC,IAAA,gBAAI,EAAC,SAAS,EAAE,GAAG,IAAI,SAAS,CAAC,CAAC,CAAC;gBAChE,MAAM,aAAa,GAAG,MAAM,IAAA,uBAAQ,EAAC,IAAA,gBAAI,EAAC,oBAAoB,EAAE,IAAI,CAAC,CAAC,CAAC;gBACvE,IAAI,eAAuB,CAAC;gBAC5B,IAAI,CAAC;oBACH,eAAe,GAAG,MAAM,IAAA,uBAAQ,EAAC,IAAA,gBAAI,EAAC,uBAAuB,EAAE,IAAI,CAAC,CAAC,CAAC;gBACxE,CAAC;gBAAC,MAAM,CAAC;oBACP,eAAe,GAAG,IAAI,CAAC;gBACzB,CAAC;gBACD,IAAI,OAAe,CAAC;gBACpB,IAAI,CAAC;oBACH,OAAO,GAAG,MAAM,IAAA,uBAAQ,EAAC,IAAA,gBAAI,EAAC,kBAAkB,EAAE,GAAG,IAAI,SAAS,CAAC,CAAC,CAAC;gBACvE,CAAC;gBAAC,MAAM,CAAC;oBACP,OAAO,GAAG,EAAE,CAAC;gBACf,CAAC;gBACD,OAAO;oBACL,KAAK;oBACL,aAAa,EAAE,IAAI,CAAC,KAAK,CAAC,aAAa,CAAC;oBACxC,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,eAAe,CAAC;oBACxC,OAAO;iBACR,CAAC;YACJ,CAAC;SACF,CAAC;IACJ,CAAC;AACH,CAAC;AASD,QAAe,CAAC,CAAC,YAAY,CAC3B,IAAiD,EACjD,MAAkC;IAElC,MAAM,MAAM,GAAG,IAAA,4BAAiB,EAAC,KAAK,CAAC,CAAC;IACxC,MAAM,kBAAkB,GAAG,IAAA,gBAAI,EAAC,MAAM,EAAE,QAAQ,EAAE,IAAI,CAAC,CAAC;IACxD,MAAM,OAAO,GAAG,IAAA,qBAAW,EAAC,kBAAkB,CAAC,CAAC;IAChD,KAAK,MAAM,IAAI,IAAI,OAAO,EAAE,CAAC;QAC3B,IAAI,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,EAAE,CAAC;YAC7B,IAAI,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,EAAE,CAAC,CAAC,EAAE,CAAC;gBACnD,SAAS;YACX,CAAC;YACD,MAAM,IAAI,GAAG,IAAI,CAAC,OAAO,CAAC,YAAY,EAAE,EAAE,CAAC,CAAC;YAC5C,MAAM;gBACJ,IAAI;gBACJ,OAAO,EAAE,KAAK,IAAG,EAAE;oBACjB,MAAM,KAAK,GAAG,MAAM,IAAA,uBAAQ,EAAC,IAAA,gBAAI,EAAC,kBAAkB,EAAE,IAAI,CAAC,CAAC,CAAC;oBAC7D,OAAO;wBACL,KAAK;qBACN,CAAC;gBACJ,CAAC;aACF,CAAC;QACJ,CAAC;IACH,CAAC;AACH,CAAC","sourcesContent":["/* eslint-disable import/no-nodejs-modules */\nimport { readdirSync } from 'node:fs';\nimport { join } from 'node:path';\nimport { readFile } from '../fileUtils.js';\nimport { getStaticFilePath } from './utils.js';\n\ninterface PositiveTest {\n name: string;\n statics: () => Promise<{\n query: string;\n astWithSource: unknown;\n astNoSource: unknown;\n autoGen: string;\n }>;\n}\n\nexport function* positiveTest(\n type: 'paths' | 'sparql-1-1' | 'sparql-1-2',\n filter?: (name: string) => boolean,\n): Generator<PositiveTest> {\n const astDir = getStaticFilePath('ast');\n const jsonSourceTrackedDir = join(astDir, 'ast-source-tracked', type);\n const jsonNonSourceTrackedDir = join(astDir, 'ast-no-source-tracked', type);\n const sparqlDir = join(astDir, 'sparql', type);\n const sparqlGeneratedDir = join(astDir, 'sparql-generated', type);\n const statics = readdirSync(jsonSourceTrackedDir);\n for (const file of statics) {\n if (filter && !filter(file.replace('.json', ''))) {\n continue;\n }\n const name = file.replace(/\\.json$/u, '');\n yield {\n name,\n statics: async() => {\n const query = await readFile(join(sparqlDir, `${name}.sparql`));\n const sourceTracked = await readFile(join(jsonSourceTrackedDir, file));\n let noSourceTracked: string;\n try {\n noSourceTracked = await readFile(join(jsonNonSourceTrackedDir, file));\n } catch {\n noSourceTracked = '{}';\n }\n let autoGen: string;\n try {\n autoGen = await readFile(join(sparqlGeneratedDir, `${name}.sparql`));\n } catch {\n autoGen = '';\n }\n return {\n query,\n astWithSource: JSON.parse(sourceTracked),\n astNoSource: JSON.parse(noSourceTracked),\n autoGen,\n };\n },\n };\n }\n}\n\ninterface NegativeTest {\n name: string;\n statics: () => Promise<{\n query: string;\n }>;\n}\n\nexport function* negativeTest(\n type: 'sparql-1-1-invalid' | 'sparql-1-2-invalid',\n filter?: (name: string) => boolean,\n): Generator<NegativeTest> {\n const astDir = getStaticFilePath('ast');\n const sparqlGeneratedDir = join(astDir, 'sparql', type);\n const statics = readdirSync(sparqlGeneratedDir);\n for (const file of statics) {\n if (file.endsWith('.sparql')) {\n if (filter && !filter(file.replace('.sparql', ''))) {\n continue;\n }\n const name = file.replace(/\\.sparql$/u, '');\n yield {\n name,\n statics: async() => {\n const query = await readFile(join(sparqlGeneratedDir, file));\n return {\n query,\n };\n },\n };\n }\n }\n}\n"]}
|
|
@@ -1,42 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var
|
|
3
|
-
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var __export = (target, all) => {
|
|
9
|
-
for (var name in all)
|
|
10
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
11
4
|
};
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
return to;
|
|
19
|
-
};
|
|
20
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
-
mod
|
|
27
|
-
));
|
|
28
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
-
var utils_exports = {};
|
|
30
|
-
__export(utils_exports, {
|
|
31
|
-
getStaticFilePath: () => getStaticFilePath
|
|
32
|
-
});
|
|
33
|
-
module.exports = __toCommonJS(utils_exports);
|
|
34
|
-
var import_node_path = __toESM(require("node:path"), 1);
|
|
35
|
-
const staticsPath = import_node_path.default.join(__dirname, "..", "..", "..", "..", "statics");
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.getStaticFilePath = getStaticFilePath;
|
|
7
|
+
/* eslint-disable import/no-nodejs-modules */
|
|
8
|
+
const node_path_1 = __importDefault(require("node:path"));
|
|
9
|
+
// Note that this path is correct AFTER tsc conversion
|
|
10
|
+
const staticsPath = node_path_1.default.join(__dirname, '..', '..', '..', '..', 'statics');
|
|
36
11
|
function getStaticFilePath(...paths) {
|
|
37
|
-
|
|
12
|
+
return node_path_1.default.join(staticsPath, ...paths);
|
|
38
13
|
}
|
|
39
|
-
|
|
40
|
-
0 && (module.exports = {
|
|
41
|
-
getStaticFilePath
|
|
42
|
-
});
|
|
14
|
+
//# sourceMappingURL=utils.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../lib/generators/utils.ts"],"names":[],"mappings":";;;;;AAMA,8CAEC;AARD,6CAA6C;AAC7C,0DAA6B;AAE7B,sDAAsD;AACtD,MAAM,WAAW,GAAG,mBAAI,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,SAAS,CAAC,CAAC;AAE5E,SAAgB,iBAAiB,CAAC,GAAG,KAAe;IAClD,OAAO,mBAAI,CAAC,IAAI,CAAC,WAAW,EAAE,GAAG,KAAK,CAAC,CAAC;AAC1C,CAAC","sourcesContent":["/* eslint-disable import/no-nodejs-modules */\nimport path from 'node:path';\n\n// Note that this path is correct AFTER tsc conversion\nconst staticsPath = path.join(__dirname, '..', '..', '..', '..', 'statics');\n\nexport function getStaticFilePath(...paths: string[]): string {\n return path.join(staticsPath, ...paths);\n}\n"]}
|
package/dist/cjs/lib/index.js
CHANGED
|
@@ -1,34 +1,24 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var
|
|
3
|
-
|
|
4
|
-
var
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
13
15
|
};
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
__reExport(index_exports, require("./Sparql11NotesTest.js"), module.exports);
|
|
24
|
-
__reExport(index_exports, require("./fileUtils.js"), module.exports);
|
|
25
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
26
|
-
0 && (module.exports = {
|
|
27
|
-
...require("./matchers/toEqualParsedQuery.js"),
|
|
28
|
-
...require("./matchers/vitest.js"),
|
|
29
|
-
...require("./generators/generators.js"),
|
|
30
|
-
...require("./generators/algebraGenerators.js"),
|
|
31
|
-
...require("./generators/utils.js"),
|
|
32
|
-
...require("./Sparql11NotesTest.js"),
|
|
33
|
-
...require("./fileUtils.js")
|
|
34
|
-
});
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./matchers/toEqualParsedQuery.js"), exports);
|
|
18
|
+
__exportStar(require("./matchers/vitest.js"), exports);
|
|
19
|
+
__exportStar(require("./generators/generators.js"), exports);
|
|
20
|
+
__exportStar(require("./generators/algebraGenerators.js"), exports);
|
|
21
|
+
__exportStar(require("./generators/utils.js"), exports);
|
|
22
|
+
__exportStar(require("./Sparql11NotesTest.js"), exports);
|
|
23
|
+
__exportStar(require("./fileUtils.js"), exports);
|
|
24
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mEAAiD;AACjD,uDAAqC;AACrC,6DAA2C;AAC3C,oEAAkD;AAClD,wDAAsC;AACtC,yDAAuC;AACvC,iDAA+B","sourcesContent":["export * from './matchers/toEqualParsedQuery.js';\nexport * from './matchers/vitest.js';\nexport * from './generators/generators.js';\nexport * from './generators/algebraGenerators.js';\nexport * from './generators/utils.js';\nexport * from './Sparql11NotesTest.js';\nexport * from './fileUtils.js';\n"]}
|