@overkill-dev/test 0.0.13 → 0.0.15
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/package.json +18 -12
- package/packages/test/authoring-input.js +34 -0
- package/packages/test/authoring-input.js.map +1 -0
- package/packages/test/authoring-source-locations.js +19 -3
- package/packages/test/authoring-source-locations.js.map +1 -1
- package/packages/test/authoring-test-data.d.ts +58 -0
- package/packages/test/authoring-test-data.d.ts.map +1 -0
- package/packages/test/authoring-test-data.js +194 -0
- package/packages/test/authoring-test-data.js.map +1 -0
- package/packages/test/command-line-runner.js +50 -5
- package/packages/test/command-line-runner.js.map +1 -1
- package/packages/test/compatibility.entry-point.d.ts +4 -0
- package/packages/test/compatibility.entry-point.d.ts.map +1 -0
- package/packages/test/compatibility.entry-point.js +2 -0
- package/packages/test/compatibility.entry-point.js.map +1 -0
- package/packages/test/config.entry-point.d.ts +1 -1
- package/packages/test/config.entry-point.d.ts.map +1 -1
- package/packages/test/harness-authoring.d.ts +18 -0
- package/packages/test/harness-authoring.d.ts.map +1 -0
- package/packages/test/harness-authoring.js +25 -0
- package/packages/test/harness-authoring.js.map +1 -0
- package/packages/test/interaction-transcript.d.ts +39 -0
- package/packages/test/interaction-transcript.d.ts.map +1 -0
- package/packages/test/interaction-transcript.js +302 -0
- package/packages/test/interaction-transcript.js.map +1 -0
- package/packages/test/reporters.entry-point.d.ts +1 -0
- package/packages/test/reporters.entry-point.d.ts.map +1 -1
- package/packages/test/resource-wrapper-composition.js +313 -0
- package/packages/test/resource-wrapper-composition.js.map +1 -0
- package/packages/test/resource-wrapper-data.d.ts +39 -0
- package/packages/test/resource-wrapper-data.d.ts.map +1 -0
- package/packages/test/resource-wrapper-data.js +101 -0
- package/packages/test/resource-wrapper-data.js.map +1 -0
- package/packages/test/resource-wrapper-runtime-scope.js +44 -0
- package/packages/test/resource-wrapper-runtime-scope.js.map +1 -0
- package/packages/test/resource-wrapper-session.js +3 -0
- package/packages/test/resource-wrapper-session.js.map +1 -0
- package/packages/test/resources.entry-point.d.ts +20 -1
- package/packages/test/resources.entry-point.d.ts.map +1 -1
- package/packages/test/resources.entry-point.js +46 -2
- package/packages/test/resources.entry-point.js.map +1 -1
- package/packages/test/run-seed-parser.js +8 -0
- package/packages/test/run-seed-parser.js.map +1 -0
- package/packages/test/run-shard-parser.js +32 -0
- package/packages/test/run-shard-parser.js.map +1 -0
- package/packages/test/table-authoring.d.ts +19 -0
- package/packages/test/table-authoring.d.ts.map +1 -0
- package/packages/test/table-authoring.js +77 -0
- package/packages/test/table-authoring.js.map +1 -0
- package/packages/test/test-authoring.d.ts +68 -0
- package/packages/test/test-authoring.d.ts.map +1 -0
- package/packages/test/test-authoring.js +212 -0
- package/packages/test/test-authoring.js.map +1 -0
- package/packages/test/test.entry-point.d.ts +10 -57
- package/packages/test/test.entry-point.d.ts.map +1 -1
- package/packages/test/test.entry-point.js +3 -215
- package/packages/test/test.entry-point.js.map +1 -1
- package/packages/test/throwing-test-authoring.d.ts +15 -0
- package/packages/test/throwing-test-authoring.d.ts.map +1 -0
- package/packages/test/throwing-test-authoring.js +47 -0
- package/packages/test/throwing-test-authoring.js.map +1 -0
- package/readme.md +355 -16
- package/sbom.cdx.json +61 -44
- package/packages/test/authoring-metadata.d.ts +0 -32
- package/packages/test/authoring-metadata.d.ts.map +0 -1
- package/packages/test/authoring-metadata.js +0 -98
- package/packages/test/authoring-metadata.js.map +0 -1
|
@@ -1,217 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
export { createTestFacade, defineMacro, defineParameterizedTestBody, runIfMain, skippedTest, suite, table, test } from "./test-authoring.js";
|
|
2
|
+
export { defineHarness } from "./harness-authoring.js";
|
|
3
|
+
export { createTranscript, recordAsyncSink, recordSink, transcriptUsage } from "./interaction-transcript.js";
|
|
4
4
|
export { doubleUsage, rule, testAsyncDisposable, testAsyncIterable, testAsyncIterator, testDisposable, testDouble, testIterable, testIterator } from "@overkill-dev/doubles";
|
|
5
|
-
const singleArgumentCount = 1;
|
|
6
|
-
const positionalArgumentCount = 2;
|
|
7
|
-
const testArgumentsError = 'test() requires (title, body) or ({ title, metadata, body }).';
|
|
8
|
-
const suiteArgumentsError = 'suite() requires (title, children) or ({ title, metadata, children }).';
|
|
9
|
-
const tableArgumentsError = 'table() requires ({ title, cases, metadata?, caseTitle?, test }).';
|
|
10
|
-
function isRecord(value) {
|
|
11
|
-
return typeof value === 'object' && value !== null && !Array.isArray(value);
|
|
12
|
-
}
|
|
13
|
-
function readRecord(value, message) {
|
|
14
|
-
if (!isRecord(value)) {
|
|
15
|
-
throw new TypeError(message);
|
|
16
|
-
}
|
|
17
|
-
return value;
|
|
18
|
-
}
|
|
19
|
-
function readTitle(value, message) {
|
|
20
|
-
if (typeof value !== 'string') {
|
|
21
|
-
throw new TypeError(message);
|
|
22
|
-
}
|
|
23
|
-
return value;
|
|
24
|
-
}
|
|
25
|
-
function isTestBody(value) {
|
|
26
|
-
return typeof value === 'function';
|
|
27
|
-
}
|
|
28
|
-
function readBody(value) {
|
|
29
|
-
if (!isTestBody(value)) {
|
|
30
|
-
throw new TypeError('Test case body must be a function.');
|
|
31
|
-
}
|
|
32
|
-
return value;
|
|
33
|
-
}
|
|
34
|
-
function readChildren(value, message) {
|
|
35
|
-
if (!Array.isArray(value)) {
|
|
36
|
-
throw new TypeError(message);
|
|
37
|
-
}
|
|
38
|
-
const children = [];
|
|
39
|
-
for (const child of value) {
|
|
40
|
-
children.push(child);
|
|
41
|
-
}
|
|
42
|
-
return children;
|
|
43
|
-
}
|
|
44
|
-
function readTestDefinition(value) {
|
|
45
|
-
const definition = readRecord(value, testArgumentsError);
|
|
46
|
-
return {
|
|
47
|
-
body: readBody(definition.body),
|
|
48
|
-
metadata: readAuthoringMetadata(definition.metadata),
|
|
49
|
-
title: readTitle(definition.title, testArgumentsError)
|
|
50
|
-
};
|
|
51
|
-
}
|
|
52
|
-
function readSuiteDefinition(value) {
|
|
53
|
-
const definition = readRecord(value, suiteArgumentsError);
|
|
54
|
-
return {
|
|
55
|
-
children: readChildren(definition.children, suiteArgumentsError),
|
|
56
|
-
metadata: readAuthoringMetadata(definition.metadata),
|
|
57
|
-
title: readTitle(definition.title, suiteArgumentsError)
|
|
58
|
-
};
|
|
59
|
-
}
|
|
60
|
-
function defaultCaseTitle(index) {
|
|
61
|
-
return `case ${index + 1}`;
|
|
62
|
-
}
|
|
63
|
-
function tableCaseTitle(caseTitle, parameters, index) {
|
|
64
|
-
const title = caseTitle === null ? defaultCaseTitle(index) : caseTitle(parameters, index);
|
|
65
|
-
if (typeof title !== 'string') {
|
|
66
|
-
throw new TypeError('table() caseTitle must return a string.');
|
|
67
|
-
}
|
|
68
|
-
return title;
|
|
69
|
-
}
|
|
70
|
-
function tableCaseBody(definition, parameters, sourceLocations) {
|
|
71
|
-
return async function runTableCase(scope) {
|
|
72
|
-
return await runWithForwardedSourceLocations(sourceLocations, async function runMacroGeneratedTableCase() {
|
|
73
|
-
return await definition.test({ ...scope, parameters });
|
|
74
|
-
});
|
|
75
|
-
};
|
|
76
|
-
}
|
|
77
|
-
function ensureTableDefinitionShape(definition) {
|
|
78
|
-
if (definition.caseTitle !== undefined && typeof definition.caseTitle !== 'function') {
|
|
79
|
-
throw new TypeError(tableArgumentsError);
|
|
80
|
-
}
|
|
81
|
-
if (!Array.isArray(definition.cases)) {
|
|
82
|
-
throw new TypeError(tableArgumentsError);
|
|
83
|
-
}
|
|
84
|
-
if (!isTestBody(definition.test)) {
|
|
85
|
-
throw new TypeError('Test case body must be a function.');
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
function readTableDefinition(definition) {
|
|
89
|
-
const runtimeDefinition = readRecord(definition, tableArgumentsError);
|
|
90
|
-
ensureTableDefinitionShape(runtimeDefinition);
|
|
91
|
-
return {
|
|
92
|
-
caseTitle: definition.caseTitle ?? null,
|
|
93
|
-
cases: definition.cases,
|
|
94
|
-
metadata: readAuthoringMetadata(runtimeDefinition.metadata ?? {}),
|
|
95
|
-
test: definition.test,
|
|
96
|
-
title: readTitle(runtimeDefinition.title, tableArgumentsError)
|
|
97
|
-
};
|
|
98
|
-
}
|
|
99
|
-
function tableCases(definition) {
|
|
100
|
-
const sourceLocations = activeMacroSourceLocations();
|
|
101
|
-
return definition.cases.map(function createTableCase(parameters, index) {
|
|
102
|
-
return {
|
|
103
|
-
body: tableCaseBody(definition, parameters, sourceLocations),
|
|
104
|
-
metadata: {},
|
|
105
|
-
parameters,
|
|
106
|
-
title: tableCaseTitle(definition.caseTitle, parameters, index)
|
|
107
|
-
};
|
|
108
|
-
});
|
|
109
|
-
}
|
|
110
|
-
function createAuthoredTest(testFamily, facadeMetadata, ...input) {
|
|
111
|
-
if (input.length === singleArgumentCount) {
|
|
112
|
-
const definition = readTestDefinition(input[0]);
|
|
113
|
-
return createTestCase({
|
|
114
|
-
body: assertionBodyForActiveMacro(definition.body),
|
|
115
|
-
definitionLocations: definitionLocationsForAuthoringCall(),
|
|
116
|
-
metadata: createAuthoringMetadata(testFamily, facadeMetadata, definition.metadata),
|
|
117
|
-
title: definition.title
|
|
118
|
-
});
|
|
119
|
-
}
|
|
120
|
-
if (input.length === positionalArgumentCount) {
|
|
121
|
-
const [name, body] = input;
|
|
122
|
-
return createTestCase({
|
|
123
|
-
body: assertionBodyForActiveMacro(readBody(body)),
|
|
124
|
-
definitionLocations: definitionLocationsForAuthoringCall(),
|
|
125
|
-
metadata: createAuthoringMetadata(testFamily, facadeMetadata, {}),
|
|
126
|
-
title: readTitle(name, testArgumentsError)
|
|
127
|
-
});
|
|
128
|
-
}
|
|
129
|
-
throw new TypeError(testArgumentsError);
|
|
130
|
-
}
|
|
131
|
-
export function test(...input) {
|
|
132
|
-
return createAuthoredTest('microtest', {}, ...input);
|
|
133
|
-
}
|
|
134
|
-
function createAuthoredSuite(testFamily, facadeMetadata, ...input) {
|
|
135
|
-
if (input.length === singleArgumentCount) {
|
|
136
|
-
const definition = readSuiteDefinition(input[0]);
|
|
137
|
-
return createSuite({
|
|
138
|
-
children: definition.children,
|
|
139
|
-
definitionLocations: definitionLocationsForAuthoringCall(),
|
|
140
|
-
metadata: createAuthoringMetadata(testFamily, facadeMetadata, definition.metadata),
|
|
141
|
-
title: definition.title
|
|
142
|
-
});
|
|
143
|
-
}
|
|
144
|
-
if (input.length === positionalArgumentCount) {
|
|
145
|
-
const [name, children] = input;
|
|
146
|
-
return createSuite({
|
|
147
|
-
children: readChildren(children, suiteArgumentsError),
|
|
148
|
-
definitionLocations: definitionLocationsForAuthoringCall(),
|
|
149
|
-
metadata: createAuthoringMetadata(testFamily, facadeMetadata, {}),
|
|
150
|
-
title: readTitle(name, suiteArgumentsError)
|
|
151
|
-
});
|
|
152
|
-
}
|
|
153
|
-
throw new TypeError(suiteArgumentsError);
|
|
154
|
-
}
|
|
155
|
-
export function suite(...input) {
|
|
156
|
-
return createAuthoredSuite('microtest', {}, ...input);
|
|
157
|
-
}
|
|
158
|
-
function createAuthoredTable(testFamily, facadeMetadata, definition) {
|
|
159
|
-
const tableDefinition = readTableDefinition(definition);
|
|
160
|
-
return createTable({
|
|
161
|
-
cases: tableCases(tableDefinition),
|
|
162
|
-
definitionLocations: definitionLocationsForAuthoringCall(),
|
|
163
|
-
metadata: createAuthoringMetadata(testFamily, facadeMetadata, tableDefinition.metadata),
|
|
164
|
-
title: tableDefinition.title
|
|
165
|
-
});
|
|
166
|
-
}
|
|
167
|
-
export function table(definition) {
|
|
168
|
-
return createAuthoredTable('microtest', {}, definition);
|
|
169
|
-
}
|
|
170
|
-
function createMacroNode(factory, parameters) {
|
|
171
|
-
const node = factory(...parameters);
|
|
172
|
-
if (!ownsTestNode(node)) {
|
|
173
|
-
throw new TypeError('defineMacro() factory must return a default-engine TestNode value.');
|
|
174
|
-
}
|
|
175
|
-
return node;
|
|
176
|
-
}
|
|
177
|
-
export function defineMacro(factory) {
|
|
178
|
-
if (typeof factory !== 'function') {
|
|
179
|
-
throw new TypeError('defineMacro() requires a factory function.');
|
|
180
|
-
}
|
|
181
|
-
return function runMacro(...parameters) {
|
|
182
|
-
return runMacroWithDefinitionLocations(function createNode() {
|
|
183
|
-
return createMacroNode(factory, parameters);
|
|
184
|
-
});
|
|
185
|
-
};
|
|
186
|
-
}
|
|
187
|
-
export function defineParameterizedTestBody(body) {
|
|
188
|
-
if (typeof body !== 'function') {
|
|
189
|
-
throw new TypeError('defineParameterizedTestBody() requires a body function.');
|
|
190
|
-
}
|
|
191
|
-
return defineParameterizedTestBodyFactory(body);
|
|
192
|
-
}
|
|
193
|
-
export async function runIfMain(meta, testNode, options) {
|
|
194
|
-
if (!meta.main) {
|
|
195
|
-
return;
|
|
196
|
-
}
|
|
197
|
-
const runModule = await import("@overkill-dev/run");
|
|
198
|
-
await runModule.runIfMain(meta, testNode, options);
|
|
199
|
-
}
|
|
200
|
-
export function createTestFacade(definition) {
|
|
201
|
-
const facadeDefinition = readTestFacadeDefinition(definition);
|
|
202
|
-
return {
|
|
203
|
-
defineMacro,
|
|
204
|
-
defineParameterizedTestBody,
|
|
205
|
-
runIfMain,
|
|
206
|
-
suite(...input) {
|
|
207
|
-
return createAuthoredSuite(facadeDefinition.testFamily, facadeDefinition.metadata, ...input);
|
|
208
|
-
},
|
|
209
|
-
table(tableDefinition) {
|
|
210
|
-
return createAuthoredTable(facadeDefinition.testFamily, facadeDefinition.metadata, tableDefinition);
|
|
211
|
-
},
|
|
212
|
-
test(...input) {
|
|
213
|
-
return createAuthoredTest(facadeDefinition.testFamily, facadeDefinition.metadata, ...input);
|
|
214
|
-
}
|
|
215
|
-
};
|
|
216
|
-
}
|
|
217
5
|
//# sourceMappingURL=test.entry-point.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"test.entry-point.js","sourceRoot":"","sources":["../../../../../source/packages/test/test.entry-point.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,
|
|
1
|
+
{"version":3,"file":"test.entry-point.js","sourceRoot":"","sources":["../../../../../source/packages/test/test.entry-point.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,gBAAgB,EAChB,WAAW,EACX,2BAA2B,EAC3B,SAAS,EACT,WAAW,EACX,KAAK,EACL,KAAK,EACL,IAAI,EACP,MAAM,qBAAqB,CAAC;AAa7B,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AASvD,OAAO,EACH,gBAAgB,EAChB,eAAe,EACf,UAAU,EACV,eAAe,EAClB,MAAM,6BAA6B,CAAC;AASrC,OAAO,EACH,WAAW,EACX,IAAI,EACJ,mBAAmB,EACnB,iBAAiB,EACjB,iBAAiB,EACjB,cAAc,EACd,UAAU,EACV,YAAY,EACZ,YAAY,EACf,MAAM,uBAAmC,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type TestCase, type ThrowingTestBody } from '@overkill-dev/engine';
|
|
2
|
+
import { type AuthoringAnnotations, type AuthoringControls } from './authoring-test-data.ts';
|
|
3
|
+
export type ThrowingTestDefinition = {
|
|
4
|
+
readonly annotations?: AuthoringAnnotations;
|
|
5
|
+
readonly body: ThrowingTestBody;
|
|
6
|
+
readonly controls?: AuthoringControls;
|
|
7
|
+
readonly title: string;
|
|
8
|
+
};
|
|
9
|
+
export type ThrowingTestAuthor = {
|
|
10
|
+
(definition: Readonly<ThrowingTestDefinition>): TestCase;
|
|
11
|
+
(title: string, body: ThrowingTestBody): TestCase;
|
|
12
|
+
};
|
|
13
|
+
export declare function throwingTest(...input: readonly [definition: Readonly<ThrowingTestDefinition>]): TestCase;
|
|
14
|
+
export declare function throwingTest(...input: readonly [title: string, body: ThrowingTestBody]): TestCase;
|
|
15
|
+
//# sourceMappingURL=throwing-test-authoring.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"throwing-test-authoring.d.ts","sourceRoot":"","sources":["../../../../../source/packages/test/throwing-test-authoring.ts"],"names":[],"mappings":"AAAA,OAAO,EAGH,KAAK,QAAQ,EAEb,KAAK,gBAAgB,EACxB,MAAM,sBAAiC,CAAC;AACzC,OAAO,EAKH,KAAK,oBAAoB,EACzB,KAAK,iBAAiB,EACzB,MAAM,0BAA0B,CAAC;AAQlC,MAAM,MAAM,sBAAsB,GAAG;IACjC,QAAQ,CAAC,WAAW,CAAC,EAAE,oBAAoB,CAAC;IAC5C,QAAQ,CAAC,IAAI,EAAE,gBAAgB,CAAC;IAChC,QAAQ,CAAC,QAAQ,CAAC,EAAE,iBAAiB,CAAC;IACtC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;CAC1B,CAAC;AASF,MAAM,MAAM,kBAAkB,GAAG;IAC7B,CAAC,UAAU,EAAE,QAAQ,CAAC,sBAAsB,CAAC,GAAG,QAAQ,CAAC;IACzD,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,gBAAgB,GAAG,QAAQ,CAAC;CACrD,CAAC;AAmDF,wBAAgB,YAAY,CAAC,GAAG,KAAK,EAAE,SAAS,CAAC,UAAU,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,GAAG,QAAQ,CAAC;AAC1G,wBAAgB,YAAY,CAAC,GAAG,KAAK,EAAE,SAAS,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,gBAAgB,CAAC,GAAG,QAAQ,CAAC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { createThrowingTestCase } from "@overkill-dev/engine";
|
|
2
|
+
import { createAuthoringAnnotations, createAuthoringControls, readAuthoringAnnotations, readAuthoringControls } from "./authoring-test-data.js";
|
|
3
|
+
import { readAuthoringRecord, readAuthoringString, readAuthoringThrowingTestBody } from "./authoring-input.js";
|
|
4
|
+
import { definitionLocationsForAuthoringCall, throwingBodyForActiveMacro } from "./authoring-source-locations.js";
|
|
5
|
+
const singleArgumentCount = 1;
|
|
6
|
+
const positionalArgumentCount = 2;
|
|
7
|
+
const throwingTestArgumentsError = 'throwingTest() requires (title, body) or ({ title, annotations?, controls?, body }).';
|
|
8
|
+
function readThrowingTestDefinition(value) {
|
|
9
|
+
const definition = readAuthoringRecord(value, throwingTestArgumentsError);
|
|
10
|
+
return {
|
|
11
|
+
annotations: readAuthoringAnnotations(definition.annotations ?? {}),
|
|
12
|
+
body: readAuthoringThrowingTestBody(definition.body),
|
|
13
|
+
controls: readAuthoringControls(definition.controls ?? {}),
|
|
14
|
+
title: readAuthoringString(definition.title, throwingTestArgumentsError)
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
function readPositionalThrowingTestDefinition(input) {
|
|
18
|
+
const [title, body] = input;
|
|
19
|
+
return {
|
|
20
|
+
annotations: {},
|
|
21
|
+
body: readAuthoringThrowingTestBody(body),
|
|
22
|
+
controls: {},
|
|
23
|
+
title: readAuthoringString(title, throwingTestArgumentsError)
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
function createRuntimeThrowingTest(definition) {
|
|
27
|
+
return createThrowingTestCase({
|
|
28
|
+
annotations: createAuthoringAnnotations({}, definition.annotations),
|
|
29
|
+
body: throwingBodyForActiveMacro(definition.body),
|
|
30
|
+
controls: createAuthoringControls({}, definition.controls),
|
|
31
|
+
definitionLocations: definitionLocationsForAuthoringCall(),
|
|
32
|
+
title: definition.title
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
function createAuthoredThrowingTest(...input) {
|
|
36
|
+
if (input.length === singleArgumentCount) {
|
|
37
|
+
return createRuntimeThrowingTest(readThrowingTestDefinition(input[0]));
|
|
38
|
+
}
|
|
39
|
+
if (input.length === positionalArgumentCount) {
|
|
40
|
+
return createRuntimeThrowingTest(readPositionalThrowingTestDefinition(input));
|
|
41
|
+
}
|
|
42
|
+
throw new TypeError(throwingTestArgumentsError);
|
|
43
|
+
}
|
|
44
|
+
export function throwingTest(...input) {
|
|
45
|
+
return createAuthoredThrowingTest(...input);
|
|
46
|
+
}
|
|
47
|
+
//# sourceMappingURL=throwing-test-authoring.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"throwing-test-authoring.js","sourceRoot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