pareto-test 0.13.110 → 0.13.112
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/dist/declarations/refiners/test_command/main.d.ts +1 -0
- package/dist/declarations/refiners/test_command/main.js +2 -0
- package/dist/declarations/refiners/test_command/text.d.ts +1 -0
- package/dist/declarations/refiners/test_command/text.js +2 -0
- package/dist/declarations/transformers/directory_content/generic_testset.d.ts +1 -0
- package/dist/declarations/transformers/directory_content/generic_testset.js +2 -0
- package/dist/declarations/transformers/directory_content/merged_file_structure.d.ts +11 -0
- package/dist/declarations/transformers/directory_content/merged_file_structure.js +2 -0
- package/dist/declarations/transformers/merged_file_structure/generic_testset.d.ts +1 -0
- package/dist/declarations/transformers/merged_file_structure/generic_testset.js +2 -0
- package/dist/declarations/transformers/read_directory_content/generic_testset.d.ts +1 -0
- package/dist/declarations/transformers/read_directory_content/generic_testset.js +2 -0
- package/dist/declarations/transformers/read_directory_content/merged_file_structure.d.ts +11 -0
- package/dist/declarations/transformers/read_directory_content/merged_file_structure.js +2 -0
- package/dist/declarations/transformers/read_directory_content/prose.d.ts +4 -0
- package/dist/declarations/transformers/read_directory_content/prose.js +2 -0
- package/dist/declarations/transformers/test_result/prose.d.ts +1 -0
- package/dist/declarations/transformers/test_result/prose.js +2 -0
- package/dist/declarations/transformers/test_result_2/actual_tree.d.ts +1 -0
- package/dist/declarations/transformers/test_result_2/actual_tree.js +2 -0
- package/dist/declarations/transformers/test_result_2/prose.d.ts +1 -0
- package/dist/declarations/transformers/test_result_2/prose.js +2 -0
- package/dist/declarations/transformers/test_result_2/summary.d.ts +1 -0
- package/dist/declarations/transformers/test_result_2/summary.js +2 -0
- package/dist/declarations/transformers/write_directory_content/prose.d.ts +4 -0
- package/dist/declarations/transformers/write_directory_content/prose.js +2 -0
- package/dist/globals.d.ts +28 -25
- package/dist/globals.js +2 -2
- package/dist/implementation/generic.d.ts +1 -0
- package/dist/implementation/generic.js +9 -9
- package/dist/implementation/manual/commands/run_tests.d.ts +1 -0
- package/dist/implementation/manual/commands/run_tests.js +12 -12
- package/dist/implementation/manual/refiners/test_command/main.d.ts +3 -3
- package/dist/implementation/manual/refiners/test_command/main.js +6 -44
- package/dist/implementation/manual/refiners/test_command/text.d.ts +3 -0
- package/dist/implementation/manual/refiners/test_command/text.js +8 -0
- package/dist/implementation/manual/transformers/directory_content/generic_testset.d.ts +1 -0
- package/dist/implementation/manual/transformers/directory_content/generic_testset.js +23 -23
- package/dist/implementation/manual/transformers/directory_content/merged_file_structure.d.ts +2 -11
- package/dist/implementation/manual/transformers/directory_content/merged_file_structure.js +9 -49
- package/dist/implementation/manual/transformers/merged_file_structure/generic_testset.d.ts +1 -0
- package/dist/implementation/manual/transformers/merged_file_structure/generic_testset.js +19 -19
- package/dist/implementation/manual/transformers/read_directory_content/generic_testset.d.ts +1 -0
- package/dist/implementation/manual/transformers/read_directory_content/generic_testset.js +23 -23
- package/dist/implementation/manual/transformers/read_directory_content/merged_file_structure.d.ts +2 -11
- package/dist/implementation/manual/transformers/read_directory_content/merged_file_structure.js +10 -50
- package/dist/implementation/manual/transformers/read_directory_content/prose.d.ts +2 -0
- package/dist/implementation/manual/transformers/read_directory_content/prose.js +24 -0
- package/dist/implementation/manual/transformers/test_result/prose.d.ts +1 -0
- package/dist/implementation/manual/transformers/test_result/prose.js +29 -0
- package/dist/implementation/manual/transformers/test_result_2/actual_tree.d.ts +1 -0
- package/dist/implementation/manual/transformers/test_result_2/actual_tree.js +29 -29
- package/dist/implementation/manual/transformers/test_result_2/{fountain_pen.d.ts → prose.d.ts} +2 -2
- package/dist/implementation/manual/transformers/test_result_2/prose.js +188 -0
- package/dist/implementation/manual/transformers/test_result_2/summary.d.ts +12 -9
- package/dist/implementation/manual/transformers/test_result_2/summary.js +17 -55
- package/dist/implementation/manual/transformers/write_directory_content/prose.d.ts +2 -0
- package/dist/implementation/manual/transformers/write_directory_content/prose.js +25 -0
- package/dist/implementation/temp/higher_order_functions/command_creators/test.d.ts +1 -0
- package/dist/implementation/temp/higher_order_functions/command_creators/test.js +35 -35
- package/dist/implementation/temp/higher_order_functions/generic_testset/temp.d.ts +1 -0
- package/dist/implementation/temp/higher_order_functions/generic_testset/temp.js +6 -6
- package/dist/implementation/temp/higher_order_functions/generic_testset/testset_shorthands.d.ts +1 -0
- package/dist/implementation/temp/higher_order_functions/generic_testset/testset_shorthands.js +6 -6
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2 -0
- package/dist/interface/data/generic_testset.d.ts +1 -1
- package/dist/interface/data/generic_testset.js +2 -3
- package/dist/interface/data/merged_filesystem_nodes.d.ts +2 -2
- package/dist/interface/data/merged_filesystem_nodes.js +2 -3
- package/dist/interface/data/summary.js +1 -2
- package/dist/interface/data/test_command.d.ts +1 -1
- package/dist/interface/data/test_command.js +1 -2
- package/dist/interface/data/test_result.d.ts +2 -2
- package/dist/interface/data/test_result.js +2 -3
- package/dist/interface/temp/generic.d.ts +1 -0
- package/dist/interface/temp/generic.js +2 -2
- package/dist/temporary_testset_generator/create_test_bin.d.ts +1 -0
- package/dist/temporary_testset_generator/create_test_bin.js +7 -7
- package/dist/temporary_testset_generator/interface/testers.d.ts +1 -0
- package/dist/temporary_testset_generator/interface/testers.js +3 -3
- package/dist/temporary_testset_generator/shorthands.d.ts +1 -0
- package/dist/temporary_testset_generator/shorthands.js +2 -2
- package/package.json +12 -5
- package/dist/implementation/manual/productions/test_command/text.d.ts +0 -3
- package/dist/implementation/manual/productions/test_command/text.js +0 -44
- package/dist/implementation/manual/transformers/read_directory_content/fountain_pen.d.ts +0 -4
- package/dist/implementation/manual/transformers/read_directory_content/fountain_pen.js +0 -59
- package/dist/implementation/manual/transformers/test_result/fountain_pen.d.ts +0 -0
- package/dist/implementation/manual/transformers/test_result/fountain_pen.js +0 -29
- package/dist/implementation/manual/transformers/test_result_2/fountain_pen.js +0 -225
- package/dist/implementation/manual/transformers/write_directory_content/fountain_pen.d.ts +0 -4
- package/dist/implementation/manual/transformers/write_directory_content/fountain_pen.js +0 -62
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export {};
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2VuZXJpY190ZXN0c2V0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2RlY2xhcmF0aW9ucy90cmFuc2Zvcm1lcnMvZGlyZWN0b3J5X2NvbnRlbnQvZ2VuZXJpY190ZXN0c2V0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as p_ from 'pareto-core/interface/transformer';
|
|
2
|
+
import type * as d_in from "pareto-filesystem-unrestricted-api/interface/data/directory_content";
|
|
3
|
+
import type * as d_out from "../../../interface/data/merged_filesystem_nodes.js";
|
|
4
|
+
export type Directory = p_.Transformer_With_Parameter<d_in.Directory, d_out.Valid_Directory, {
|
|
5
|
+
'support': d_in.Directory;
|
|
6
|
+
/**
|
|
7
|
+
* the file suffix makes it possible to match a support file that is expected to have a suffix.
|
|
8
|
+
* for example given the suffix 'foo': /a/b/c.txt.foo is matched to /a/b/c.txt
|
|
9
|
+
*/
|
|
10
|
+
'support suffix': string;
|
|
11
|
+
}>;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import p_implement_me from 'pareto-core-dev/implement_me';
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVyZ2VkX2ZpbGVfc3RydWN0dXJlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2RlY2xhcmF0aW9ucy90cmFuc2Zvcm1lcnMvZGlyZWN0b3J5X2NvbnRlbnQvbWVyZ2VkX2ZpbGVfc3RydWN0dXJlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBLE9BQU8sY0FBYyxNQUFNLDhCQUE4QixDQUFBIn0=
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export {};
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2VuZXJpY190ZXN0c2V0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2RlY2xhcmF0aW9ucy90cmFuc2Zvcm1lcnMvbWVyZ2VkX2ZpbGVfc3RydWN0dXJlL2dlbmVyaWNfdGVzdHNldC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export {};
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2VuZXJpY190ZXN0c2V0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2RlY2xhcmF0aW9ucy90cmFuc2Zvcm1lcnMvcmVhZF9kaXJlY3RvcnlfY29udGVudC9nZW5lcmljX3Rlc3RzZXQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as p_ from 'pareto-core/interface/transformer';
|
|
2
|
+
import type * as d_in from "pareto-filesystem-unrestricted-api/interface/data/directory_content";
|
|
3
|
+
import type * as d_out from "../../../interface/data/merged_filesystem_nodes.js";
|
|
4
|
+
export type Directory = p_.Transformer_With_Parameter<d_in.Directory, d_out.Valid_Directory, {
|
|
5
|
+
'support': d_in.Directory;
|
|
6
|
+
/**
|
|
7
|
+
* the file suffix makes it possible to match a support file that is expected to have a suffix.
|
|
8
|
+
* for example given the suffix 'foo': /a/b/c.txt.foo is matched to /a/b/c.txt
|
|
9
|
+
*/
|
|
10
|
+
'support suffix': string;
|
|
11
|
+
}>;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import p_implement_me from 'pareto-core-dev/implement_me';
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVyZ2VkX2ZpbGVfc3RydWN0dXJlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2RlY2xhcmF0aW9ucy90cmFuc2Zvcm1lcnMvcmVhZF9kaXJlY3RvcnlfY29udGVudC9tZXJnZWRfZmlsZV9zdHJ1Y3R1cmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUEsT0FBTyxjQUFjLE1BQU0sOEJBQThCLENBQUEifQ==
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type * as p_ from 'pareto-core/interface/transformer';
|
|
2
|
+
import type * as d_in from "pareto-filesystem-unrestricted-api/interface/data/read_directory_content";
|
|
3
|
+
import type * as d_out from "pareto-fountain-pen/interface/generated/liana/schemas/prose/data";
|
|
4
|
+
export type Error = p_.Transformer<d_in.Error, d_out.Phrase>;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export {};
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvc2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvZGVjbGFyYXRpb25zL3RyYW5zZm9ybWVycy9yZWFkX2RpcmVjdG9yeV9jb250ZW50L3Byb3NlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export {};
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWN0dWFsX3RyZWUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvZGVjbGFyYXRpb25zL3RyYW5zZm9ybWVycy90ZXN0X3Jlc3VsdF8yL2FjdHVhbF90cmVlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type * as p_ from 'pareto-core/interface/transformer';
|
|
2
|
+
import type * as d_in from "pareto-filesystem-unrestricted-api/interface/data/write_directory_content";
|
|
3
|
+
import type * as d_out from "pareto-fountain-pen/interface/generated/liana/schemas/prose/data";
|
|
4
|
+
export type Error = p_.Transformer<d_in.Error, d_out.Phrase>;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export {};
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvc2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvZGVjbGFyYXRpb25zL3RyYW5zZm9ybWVycy93cml0ZV9kaXJlY3RvcnlfY29udGVudC9wcm9zZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
|
package/dist/globals.d.ts
CHANGED
|
@@ -1,26 +1,29 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
interface
|
|
9
|
-
}
|
|
10
|
-
interface
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}
|
|
15
|
-
interface
|
|
16
|
-
}
|
|
17
|
-
interface
|
|
18
|
-
}
|
|
19
|
-
interface
|
|
20
|
-
}
|
|
21
|
-
interface
|
|
22
|
-
}
|
|
23
|
-
interface
|
|
24
|
-
}
|
|
25
|
-
interface
|
|
1
|
+
export {};
|
|
2
|
+
declare global {
|
|
3
|
+
interface Array<T> {
|
|
4
|
+
[n: number]: T;
|
|
5
|
+
length: number;
|
|
6
|
+
readonly __state: true;
|
|
7
|
+
}
|
|
8
|
+
interface Boolean {
|
|
9
|
+
}
|
|
10
|
+
interface CallableFunction {
|
|
11
|
+
}
|
|
12
|
+
interface Function {
|
|
13
|
+
(...args: unknown[]): unknown;
|
|
14
|
+
}
|
|
15
|
+
interface IArguments {
|
|
16
|
+
}
|
|
17
|
+
interface NewableFunction {
|
|
18
|
+
}
|
|
19
|
+
interface Number {
|
|
20
|
+
}
|
|
21
|
+
interface Object {
|
|
22
|
+
}
|
|
23
|
+
interface RegExp {
|
|
24
|
+
}
|
|
25
|
+
interface String {
|
|
26
|
+
}
|
|
27
|
+
interface Promise<T> {
|
|
28
|
+
}
|
|
26
29
|
}
|
package/dist/globals.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
export {};
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2xvYmFscy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9nbG9iYWxzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxDQUFBIn0=
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
// import * as generic from "../interface/temp/generic"
|
|
4
|
-
// import * as resources_pareto from "pareto-stream/
|
|
1
|
+
// import create_refinement_context from 'pareto-core/__internals/async/create_refinement_context'
|
|
2
|
+
export {};
|
|
3
|
+
// import * as generic from "../interface/temp/generic.js"
|
|
4
|
+
// import * as resources_pareto from "pareto-stream-api/interface/resources"
|
|
5
5
|
// export type Resources = {
|
|
6
6
|
// 'commands': {
|
|
7
7
|
// 'log error': resources_pareto.commands.log_error
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
// switch ($[0]) {
|
|
47
47
|
// case 'output': return _pt.ss($, ($) => output === $)
|
|
48
48
|
// case 'error': return _pt.ss($, ($) => false)
|
|
49
|
-
// default: return _pt.
|
|
49
|
+
// default: return _pt.exhaustive($[0])
|
|
50
50
|
// }
|
|
51
51
|
// })
|
|
52
52
|
// },
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
// switch ($[0]) {
|
|
57
57
|
// case 'output': return _pt.ss($, ($) => false)
|
|
58
58
|
// case 'error': return _pt.ss($, ($) => error === $)
|
|
59
|
-
// default: return _pt.
|
|
59
|
+
// default: return _pt.exhaustive($[0])
|
|
60
60
|
// }
|
|
61
61
|
// })
|
|
62
62
|
// },
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
// switch ($[0]) {
|
|
83
83
|
// case 'output': return _pt.ss($, ($) => output === $)
|
|
84
84
|
// case 'error': return _pt.ss($, ($) => false)
|
|
85
|
-
// default: return _pt.
|
|
85
|
+
// default: return _pt.exhaustive($[0])
|
|
86
86
|
// }
|
|
87
87
|
// })
|
|
88
88
|
// },
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
// switch ($[0]) {
|
|
93
93
|
// case 'output': return _pt.ss($, ($) => false)
|
|
94
94
|
// case 'error': return _pt.ss($, ($) => error === $)
|
|
95
|
-
// default: return _pt.
|
|
95
|
+
// default: return _pt.exhaustive($[0])
|
|
96
96
|
// }
|
|
97
97
|
// })
|
|
98
98
|
// },
|
|
@@ -100,4 +100,4 @@
|
|
|
100
100
|
// }]
|
|
101
101
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/temp/generic"
|
|
5
|
-
// import * as resources_pareto from "pareto-stream/
|
|
1
|
+
// import type * as p_qi from 'pareto-core/interface/query'
|
|
2
|
+
// import type * as p_i from 'pareto-core/interface/command'
|
|
3
|
+
export {};
|
|
4
|
+
// import type * as d_test from "../../../interface/temp/generic.js"
|
|
5
|
+
// import * as resources_pareto from "pareto-stream-api/interface/resources"
|
|
6
6
|
// //shorthands
|
|
7
|
-
// import * as sh from "pareto-fountain-pen/
|
|
7
|
+
// import * as sh from "pareto-fountain-pen/shorthands/prose/deprecated"
|
|
8
8
|
// export type Parameters = {
|
|
9
9
|
// 'test results': d_test.Results,
|
|
10
10
|
// }
|
|
11
11
|
// export type Command = p_i.Command<null, Parameters>
|
|
12
|
-
// export type Signature = p_i.
|
|
12
|
+
// export type Signature = p_i.Command<
|
|
13
13
|
// Command,
|
|
14
14
|
// null,
|
|
15
15
|
// null,
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
// 'log': resources_pareto.commands.log,
|
|
19
19
|
// }
|
|
20
20
|
// >
|
|
21
|
-
// import * as
|
|
21
|
+
// import * as t_test_result_to_prose from "../transformers/test_result/fountain_pen.js"
|
|
22
22
|
// const has_passed = (results: d_test.Results): boolean => _pt.from.dictionary(// _pt.from .dictionary(results,
|
|
23
23
|
// ).map_optionally(
|
|
24
24
|
// ($) => _pt.from.state($).decide(
|
|
@@ -26,12 +26,12 @@
|
|
|
26
26
|
// switch ($[0]) {
|
|
27
27
|
// case 'test': return _pt.ss($, ($) => $.passed ? _pt.literal.not_set() : _pt.literal.set(null))
|
|
28
28
|
// case 'group': return _pt.ss($, ($) => has_passed($) ? _pt.literal.not_set() : _pt.literal.set(null))
|
|
29
|
-
// default: return _pt.
|
|
29
|
+
// default: return _pt.exhaustive($[0])
|
|
30
30
|
// }
|
|
31
31
|
// })
|
|
32
32
|
// )
|
|
33
33
|
// ).is_ empty()
|
|
34
|
-
// export const $$: Signature = p_.
|
|
34
|
+
// export const $$: Signature = p_.command(
|
|
35
35
|
// ($d, $s, $q, $c) => [
|
|
36
36
|
// $c.log.execute(
|
|
37
37
|
// {
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
// $c['log error'].execute(
|
|
66
66
|
// {
|
|
67
67
|
// 'message': sh.pg.composed([
|
|
68
|
-
//
|
|
68
|
+
// t_test_result_to_prose.Results($d['test results']),
|
|
69
69
|
// sh.pg.sentences([
|
|
70
70
|
// sh.sentence([]),
|
|
71
71
|
// sh.sentence([
|
|
@@ -87,4 +87,4 @@
|
|
|
87
87
|
// )
|
|
88
88
|
// ]
|
|
89
89
|
// )
|
|
90
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
90
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicnVuX3Rlc3RzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2ltcGxlbWVudGF0aW9uL21hbnVhbC9jb21tYW5kcy9ydW5fdGVzdHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsMkRBQTJEO0FBQzNELDREQUE0RDs7QUFJNUQsb0VBQW9FO0FBRXBFLDRFQUE0RTtBQUU1RSxlQUFlO0FBQ2Ysd0VBQXdFO0FBRXhFLDZCQUE2QjtBQUM3QixzQ0FBc0M7QUFDdEMsSUFBSTtBQUVKLHNEQUFzRDtBQUV0RCx1Q0FBdUM7QUFDdkMsZUFBZTtBQUNmLFlBQVk7QUFDWixZQUFZO0FBQ1osUUFBUTtBQUNSLDREQUE0RDtBQUM1RCxnREFBZ0Q7QUFDaEQsUUFBUTtBQUNSLElBQUk7QUFFSix3RkFBd0Y7QUFFeEYsb0hBQW9IO0FBQ3BILHdCQUF3QjtBQUN4QiwyQ0FBMkM7QUFDM0MscUNBQXFDO0FBQ3JDLDhCQUE4QjtBQUM5QixpSEFBaUg7QUFDakgsdUhBQXVIO0FBQ3ZILHVEQUF1RDtBQUN2RCxnQkFBZ0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
|
-
import * as p_i from 'pareto-core/
|
|
2
|
-
import * as d from "../../../../interface/data/test_command";
|
|
3
|
-
import * as d_main from "pareto-
|
|
1
|
+
import type * as p_i from 'pareto-core/interface/refiner';
|
|
2
|
+
import * as d from "../../../../interface/data/test_command.js";
|
|
3
|
+
import type * as d_main from "pareto-application-api/interface/data/main";
|
|
4
4
|
export declare const Parameters: p_i.Refiner<d.Parameters, string, d_main.Parameters>;
|
|
@@ -1,50 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
-
var ownKeys = function(o) {
|
|
20
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
-
var ar = [];
|
|
22
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
-
return ar;
|
|
24
|
-
};
|
|
25
|
-
return ownKeys(o);
|
|
26
|
-
};
|
|
27
|
-
return function (mod) {
|
|
28
|
-
if (mod && mod.__esModule) return mod;
|
|
29
|
-
var result = {};
|
|
30
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
-
__setModuleDefault(result, mod);
|
|
32
|
-
return result;
|
|
33
|
-
};
|
|
34
|
-
})();
|
|
35
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
36
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
37
|
-
};
|
|
38
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.Parameters = void 0;
|
|
40
|
-
const iterate_1 = __importDefault(require("pareto-core/dist/implementation/refiner/specials/iterate"));
|
|
1
|
+
import p_iterate from 'pareto-core/implementation/refiner/specials/iterate';
|
|
2
|
+
//data types
|
|
3
|
+
import * as d from "../../../../interface/data/test_command.js";
|
|
41
4
|
//dependencies
|
|
42
|
-
|
|
43
|
-
const Parameters = ($, abort) => (
|
|
5
|
+
import * as pr_text_command_from_text from "./text.js";
|
|
6
|
+
export const Parameters = ($, abort) => p_iterate({
|
|
44
7
|
list: $.arguments,
|
|
45
8
|
end_info: null,
|
|
46
9
|
assign: (iterator) => pr_text_command_from_text.Parameters(iterator, abort),
|
|
47
10
|
on_dangling_item: () => abort("too many arguments"),
|
|
48
11
|
});
|
|
49
|
-
|
|
50
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFpbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9pbXBsZW1lbnRhdGlvbi9tYW51YWwvcmVmaW5lcnMvdGVzdF9jb21tYW5kL21haW4udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBQ0EsdUdBQWdGO0FBT2hGLGNBQWM7QUFDZCwrRkFBZ0Y7QUFFekUsTUFBTSxVQUFVLEdBRW5CLENBQUMsQ0FBQyxFQUFFLEtBQUssRUFBRSxFQUFFLENBQUMsSUFBQSxpQkFBUyxFQUl6QjtJQ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Bb0IsQ0FBQztDQUN0RCxDQUFDLENBQUEifQ==
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as d from "../../../../interface/data/test_command.js";
|
|
2
|
+
import * as r_path_from_text from "pareto-filesystem-unrestricted-api/implementation/manual/refiners/path_unrestricted/text";
|
|
3
|
+
export const Parameters = (iterator, abort) => {
|
|
4
|
+
return {
|
|
5
|
+
'path to test data': r_path_from_text.Context_Path(iterator.consume(($) => abort("expected path to test data"), ($) => $))
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGV4dC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9pbXBsZW1lbnRhdGlvbi9tYW51YWwvcmVmaW5lcnMvdGVzdF9jb21tYW5kL3RleHQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUEsT0FBTyxLQUFLLENBQUMsTUFBTSw0Q0FBNEMsQ0FBQTtBQUUvRCxPQUFPLEtBQUssZ0JBQWdCLE1BQU0sMEZBQTBGLENBQUE7QUFFNUgsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUtuQixDQUFDLFFBQVEsRUFBRSxLQUFLLEVBQUUsRUFBRTtJQUNwQixPQUFPO1FBQ0gsbUJBQW1CLEVBQUUsZ0JBQWdCLENBQUMsWUFBWSxDQUM5QyxRQUFRLENBQUMsT0FBTyxDQUNaLENBQUMsQ0FBQyxFQUFFLEVBQUUsQ0FBQyxLQUFLLENBQUMsNEJBQTRCLENBQUMsRUFDMUMsQ0FBQyxDQUFDLEVBQUUsRUFBRSxDQUFDLENBQUMsQ0FDWCxDQUNKO0tBQ0osQ0FBQTtBQUNMLENBQUMsQ0FBQSJ9
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
// import
|
|
3
|
-
// import
|
|
4
|
-
|
|
5
|
-
// import * as d_in from "pareto-resources/
|
|
6
|
-
// import * as d_out from "../../../../interface/data/generic_testset"
|
|
1
|
+
// import * as p_ from 'pareto-core/implementation/transformer'
|
|
2
|
+
// import p_list_from_text from 'pareto-core/implementation/refiner/specials/list_from_text'
|
|
3
|
+
// import p_text_from_list from 'pareto-core/implementation/transformer/specials/text_from_list'
|
|
4
|
+
export {};
|
|
5
|
+
// import type * as d_in from "pareto-resources/interface/to_be_generated/directory_content"
|
|
6
|
+
// import type * as d_out from "../../../../interface/data/generic_testset.js"
|
|
7
7
|
// const remove_suffix = ($: string, suffix: string): p_di.Optional_Value<string> => {
|
|
8
8
|
// let suffix_matches = true
|
|
9
9
|
// const main_as_characters = p_list_from_text(
|
|
@@ -67,8 +67,8 @@
|
|
|
67
67
|
//($, id) => p_.from.state($).decide(
|
|
68
68
|
//($): d_out.Node => {
|
|
69
69
|
// switch ($[0]) {
|
|
70
|
-
// case 'other': return p_.
|
|
71
|
-
// case 'file': return p_.
|
|
70
|
+
// case 'other': return p_.option($, () => p_unreachable_code_path("this needs proper handling"))//"expected a file or a directory"
|
|
71
|
+
// case 'file': return p_.option($, ($): d_out.Node => {
|
|
72
72
|
// const get_matching_expect_file = ($: string): d_out.Node__file__expected => {
|
|
73
73
|
// const expected_node = $p.expected.__ get_possible_entry_deprecated($ + $p['suffix settings']['to be appended to expected'].__ decide(
|
|
74
74
|
// ($) => $,
|
|
@@ -78,10 +78,10 @@
|
|
|
78
78
|
// ($) => p_.from.state($).decide(
|
|
79
79
|
//($): d_out.Node__file__expected => {
|
|
80
80
|
// switch ($[0]) {
|
|
81
|
-
// case 'file': return p_.
|
|
82
|
-
// case 'directory': return p_.
|
|
83
|
-
// case 'other': return p_.
|
|
84
|
-
// default: return p_.
|
|
81
|
+
// case 'file': return p_.option($, ($) => ['valid', $])
|
|
82
|
+
// case 'directory': return p_.option($, ($) => ['invalid', ['expected', ['is not a file', null]]])
|
|
83
|
+
// case 'other': return p_.option($, ($) => ['invalid', ['expected', ['is not a file', null]]])
|
|
84
|
+
// default: return p_.exhaustive($[0])
|
|
85
85
|
// }
|
|
86
86
|
// }),
|
|
87
87
|
// (): d_out.Node__file__expected => ['invalid', ['expected', ['does not exist', null]]]
|
|
@@ -99,29 +99,29 @@
|
|
|
99
99
|
// )
|
|
100
100
|
// }]
|
|
101
101
|
// })
|
|
102
|
-
// case 'directory': return p_.
|
|
102
|
+
// case 'directory': return p_.option($, ($) => {
|
|
103
103
|
// const expected_node = $p.expected.__ get_possible_entry_deprecated(id)
|
|
104
104
|
// const input_node = $
|
|
105
105
|
// return ['directory', expected_node.__ decide(
|
|
106
106
|
// ($) => p_.from.state($).decide(
|
|
107
107
|
//($) => {
|
|
108
108
|
// switch ($[0]) {
|
|
109
|
-
// case 'other': return p_.
|
|
110
|
-
// case 'file': return p_.
|
|
111
|
-
// case 'directory': return p_.
|
|
109
|
+
// case 'other': return p_.option($, ($) => ['invalid', ['node for expected is not a directory', null]])
|
|
110
|
+
// case 'file': return p_.option($, ($) => ['invalid', ['node for expected is not a directory', null]])
|
|
111
|
+
// case 'directory': return p_.option($, ($) => ['valid', Directory(
|
|
112
112
|
// input_node,
|
|
113
113
|
// {
|
|
114
114
|
// 'expected': $,
|
|
115
115
|
// 'suffix settings': $p['suffix settings'],
|
|
116
116
|
// }
|
|
117
117
|
// )])
|
|
118
|
-
// default: return p_.
|
|
118
|
+
// default: return p_.exhaustive($[0])
|
|
119
119
|
// }
|
|
120
120
|
// }),
|
|
121
121
|
// () => ['invalid', ['directory for expected does not exist', null]]
|
|
122
122
|
// )]
|
|
123
123
|
// })
|
|
124
|
-
// default: return p_.
|
|
124
|
+
// default: return p_.exhaustive($[0])
|
|
125
125
|
// }
|
|
126
126
|
// })),
|
|
127
127
|
// // 'superfluous nodes': p_.block(
|
|
@@ -132,8 +132,8 @@
|
|
|
132
132
|
// // const key_of_expected = p_.from.state($).decide(
|
|
133
133
|
//($): string => {
|
|
134
134
|
// // switch ($[0]) {
|
|
135
|
-
// // case 'other': return p_.
|
|
136
|
-
// // case 'file': return p_.
|
|
135
|
+
// // case 'other': return p_.option($, ($) => key)
|
|
136
|
+
// // case 'file': return p_.option($, ($): string => $p['suffix settings']['to be removed from input'].__ decide(
|
|
137
137
|
// // ($) => {
|
|
138
138
|
// // return remove_suffix(key, $).__ decide(
|
|
139
139
|
// // ($) => $,
|
|
@@ -142,8 +142,8 @@
|
|
|
142
142
|
// // },
|
|
143
143
|
// // () => key
|
|
144
144
|
// // ))
|
|
145
|
-
// // case 'directory': return p_.
|
|
146
|
-
// // default: return p_.
|
|
145
|
+
// // case 'directory': return p_.option($, ($) => key)
|
|
146
|
+
// // default: return p_.exhaustive($[0])
|
|
147
147
|
// // }
|
|
148
148
|
// // })
|
|
149
149
|
// // temp[key_of_expected] = null
|
|
@@ -156,4 +156,4 @@
|
|
|
156
156
|
// // }))
|
|
157
157
|
// // })
|
|
158
158
|
// })
|
|
159
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
159
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2VuZXJpY190ZXN0c2V0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vc3JjL2ltcGxlbWVudGF0aW9uL21hbnVhbC90cmFuc2Zvcm1lcnMvZGlyZWN0b3J5X2NvbnRlbnQvZ2VuZXJpY190ZXN0c2V0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLCtEQUErRDtBQUMvRCw0RkFBNEY7QUFDNUYsZ0dBQWdHOztBQUVoRyw0RkFBNEY7QUFDNUYsOEVBQThFO0FBRTlFLHNGQUFzRjtBQUN0RixnQ0FBZ0M7QUFDaEMsbURBQW1EO0FBQ25ELGFBQWE7QUFDYixtQkFBbUI7QUFDbkIsUUFBUTtBQUNSLHFEQUFxRDtBQUNyRCxrQkFBa0I7QUFDbEIsbUJ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EMseUVBQXlFO0FBQ3pFLCtDQUErQztBQUMvQywrQ0FBK0M7QUFFL0MsbUNBQW1DO0FBQ25DLGdDQUFnQztBQUNoQyx1Q0FBdUM7QUFDdkMsNEJBQTRCO0FBQzVCLDJFQUEyRTtBQUMzRSw2REFBNkQ7QUFDN0QsdUJBQXVCO0FBQ3ZCLG9CQUFvQjtBQUNwQiw4Q0FBOEM7QUFDOUMsZ0JBQWdCO0FBQ2hCLHNEQUFzRDtBQUN0RCwwRUFBMEU7QUFDMUUsY0FBYztBQUNWLGlFQUFpRTtBQUNqRSxhQUFhO0FBQ2pDLGlCQUFpQjtBQUNqQixZQUFZO0FBQ1osS0FBSyJ9
|
package/dist/implementation/manual/transformers/directory_content/merged_file_structure.d.ts
CHANGED
|
@@ -1,11 +1,2 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
|
|
3
|
-
import * as d_out from "../../../../interface/data/merged_filesystem_nodes";
|
|
4
|
-
export declare const Directory: p_i.Transformer_With_Parameter<d_in.Directory, d_out.Valid_Directory, {
|
|
5
|
-
'support': d_in.Directory;
|
|
6
|
-
/**
|
|
7
|
-
* the file suffix makes it possible to match a support file that is expected to have a suffix.
|
|
8
|
-
* for example given the suffix 'foo': /a/b/c.txt.foo is matched to /a/b/c.txt
|
|
9
|
-
*/
|
|
10
|
-
'support suffix': string;
|
|
11
|
-
}>;
|
|
1
|
+
import type * as interface_ from "../../../../declarations/transformers/directory_content/merged_file_structure.js";
|
|
2
|
+
export declare const Directory: interface_.Directory;
|