@fincity/kirun-js 1.1.2 → 1.1.5
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/__tests__/engine/function/system/array/AddFirstTest.ts +29 -7
- package/__tests__/engine/function/system/array/AddTest.ts +21 -5
- package/__tests__/engine/function/system/array/BinarySearchTest.ts +26 -7
- package/__tests__/engine/function/system/array/CompareTest.ts +5 -1
- package/__tests__/engine/function/system/array/CopyTest.ts +22 -7
- package/__tests__/engine/function/system/array/DeleteFirstTest.ts +21 -5
- package/__tests__/engine/function/system/array/DeleteFromTest.ts +17 -4
- package/__tests__/engine/function/system/array/DeleteLastTest.ts +21 -5
- package/__tests__/engine/function/system/array/DeleteTest.ts +25 -6
- package/__tests__/engine/function/system/array/DisjointTest.ts +13 -3
- package/__tests__/engine/function/system/array/Equals.ts +13 -3
- package/__tests__/engine/function/system/array/FillTest.ts +5 -1
- package/__tests__/engine/function/system/array/FrequencyTest.ts +13 -3
- package/__tests__/engine/function/system/array/IndexOfArrayTest.ts +29 -7
- package/__tests__/engine/function/system/array/IndexOfTest.ts +21 -5
- package/__tests__/engine/function/system/array/InsertTest.ts +25 -6
- package/__tests__/engine/function/system/array/LastIndexOfArrayTest.ts +21 -5
- package/__tests__/engine/function/system/array/LastIndexOfTest.ts +25 -6
- package/__tests__/engine/function/system/array/MaxTest.ts +33 -24
- package/__tests__/engine/function/system/array/MinTest.ts +33 -24
- package/__tests__/engine/function/system/array/MisMatchTest.ts +17 -4
- package/__tests__/engine/function/system/array/ReverseTest.ts +21 -5
- package/__tests__/engine/function/system/array/RotateTest.ts +13 -3
- package/__tests__/engine/function/system/array/ShuffleTest.ts +9 -2
- package/__tests__/engine/function/system/array/SortTest.ts +21 -5
- package/__tests__/engine/function/system/array/SubArrayTest.ts +21 -5
- package/__tests__/engine/function/system/context/SetFunctionTest.ts +13 -3
- package/__tests__/engine/function/system/math/AddTest.ts +5 -3
- package/__tests__/engine/function/system/math/MathFunctionRepositoryTest.ts +108 -0
- package/__tests__/engine/function/system/math/MaximumTest.ts +38 -0
- package/__tests__/engine/function/system/math/MinimumTest.ts +38 -0
- package/__tests__/engine/function/system/math/RandomFloatTest.ts +83 -0
- package/__tests__/engine/function/system/math/RandomIntTest.ts +13 -5
- package/__tests__/engine/function/system/string/ConcatenateTest.ts +9 -2
- package/__tests__/engine/function/system/string/DeleteForGivenLengthTest.ts +9 -2
- package/__tests__/engine/function/system/string/InsertAtGivenPositionTest.ts +13 -3
- package/__tests__/engine/function/system/string/PostPadTest.ts +13 -3
- package/__tests__/engine/function/system/string/PrePadTest.ts +13 -3
- package/__tests__/engine/function/system/string/RegionMatchesTest.ts +13 -3
- package/__tests__/engine/function/system/string/ReverseTest.ts +10 -3
- package/__tests__/engine/function/system/string/SplitTest.ts +9 -2
- package/__tests__/engine/function/system/string/StringFunctionRepoTest2.ts +13 -3
- package/__tests__/engine/function/system/string/StringFunctionRepoTest3.ts +9 -2
- package/__tests__/engine/function/system/string/StringFunctionRepositoryTest.ts +33 -8
- package/__tests__/engine/function/system/string/ToStringTest.ts +10 -3
- package/__tests__/engine/function/system/string/TrimToTest.ts +9 -2
- package/__tests__/engine/json/schema/SchemaUtil.ts +3 -0
- package/__tests__/engine/json/schema/type/TypeUtilTest.ts +10 -0
- package/__tests__/engine/json/schema/validator/AnyOfAllOfOneOfValidatorTest.ts +38 -0
- package/__tests__/engine/json/schema/validator/SchemaValidatorTest.ts +67 -0
- package/__tests__/engine/runtime/KIRuntimeTest.ts +23 -12
- package/__tests__/engine/runtime/KIRuntimeWithDefinitionTest.ts +9 -10
- package/__tests__/engine/runtime/expression/ExpressionEvaluationTest.ts +5 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/module.js +1 -1
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts +11 -2
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/engine/function/AbstractFunction.ts +14 -5
- package/src/engine/function/system/math/Maximum.ts +1 -1
- package/src/engine/function/system/math/Minimum.ts +1 -1
- package/src/engine/function/system/math/RandomFloat.ts +2 -2
- package/src/engine/json/schema/Schema.ts +3 -3
- package/src/engine/json/schema/SchemaUtil.ts +4 -4
- package/src/engine/json/schema/type/TypeUtil.ts +3 -5
- package/src/engine/json/schema/validator/SchemaValidator.ts +4 -1
- package/src/engine/model/AbstractStatement.ts +10 -0
- package/src/engine/runtime/FunctionExecutionParameters.ts +48 -0
- package/src/engine/runtime/KIRuntime.ts +38 -24
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
KIRunFunctionRepository,
|
|
3
|
+
KIRunSchemaRepository,
|
|
4
|
+
SchemaValidationException,
|
|
5
|
+
} from '../../../../../src';
|
|
2
6
|
import { AddFirst } from '../../../../../src/engine/function/system/array/AddFirst';
|
|
3
7
|
|
|
4
8
|
import { FunctionExecutionParameters } from '../../../../../src/engine/runtime/FunctionExecutionParameters';
|
|
@@ -12,7 +16,10 @@ test('Add Test 1', async () => {
|
|
|
12
16
|
|
|
13
17
|
let temp2: any[] = ['a', 'c', 'p', 3, 4, 5];
|
|
14
18
|
|
|
15
|
-
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
19
|
+
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
20
|
+
new KIRunFunctionRepository(),
|
|
21
|
+
new KIRunSchemaRepository(),
|
|
22
|
+
)
|
|
16
23
|
.setArguments(
|
|
17
24
|
new Map([
|
|
18
25
|
[AddFirst.PARAMETER_ARRAY_SOURCE.getParameterName(), source],
|
|
@@ -36,7 +43,10 @@ test('Add Test 2', async () => {
|
|
|
36
43
|
|
|
37
44
|
let temp2: any[] = ['surendhar', 'a', 'b', 'c', 'd', 'a', 'b', 'c', 'e', 'd'];
|
|
38
45
|
|
|
39
|
-
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
46
|
+
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
47
|
+
new KIRunFunctionRepository(),
|
|
48
|
+
new KIRunSchemaRepository(),
|
|
49
|
+
)
|
|
40
50
|
.setArguments(
|
|
41
51
|
new Map([
|
|
42
52
|
[AddFirst.PARAMETER_ARRAY_SOURCE.getParameterName(), source],
|
|
@@ -83,7 +93,10 @@ test('Add Test 3', async () => {
|
|
|
83
93
|
'to',
|
|
84
94
|
];
|
|
85
95
|
|
|
86
|
-
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
96
|
+
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
97
|
+
new KIRunFunctionRepository(),
|
|
98
|
+
new KIRunSchemaRepository(),
|
|
99
|
+
)
|
|
87
100
|
.setArguments(
|
|
88
101
|
new Map([
|
|
89
102
|
[AddFirst.PARAMETER_ARRAY_SOURCE.getParameterName(), source],
|
|
@@ -180,7 +193,10 @@ test('Add Test 5', async () => {
|
|
|
180
193
|
source3,
|
|
181
194
|
];
|
|
182
195
|
|
|
183
|
-
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
196
|
+
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
197
|
+
new KIRunFunctionRepository(),
|
|
198
|
+
new KIRunSchemaRepository(),
|
|
199
|
+
)
|
|
184
200
|
.setArguments(
|
|
185
201
|
new Map<string, any>([
|
|
186
202
|
[AddFirst.PARAMETER_ARRAY_SOURCE.getParameterName(), source],
|
|
@@ -202,7 +218,10 @@ test('Add Test 4', async () => {
|
|
|
202
218
|
|
|
203
219
|
let temp2: any[] = ['a', 'c', 'p', 3, 4, 5];
|
|
204
220
|
|
|
205
|
-
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
221
|
+
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
222
|
+
new KIRunFunctionRepository(),
|
|
223
|
+
new KIRunSchemaRepository(),
|
|
224
|
+
)
|
|
206
225
|
.setArguments(
|
|
207
226
|
new Map([
|
|
208
227
|
[AddFirst.PARAMETER_ARRAY_SOURCE.getParameterName(), null],
|
|
@@ -222,7 +241,10 @@ test('Add Test 5', async () => {
|
|
|
222
241
|
|
|
223
242
|
let temp2: any[] = ['a', 'c', 'p', 3, 4, 5];
|
|
224
243
|
|
|
225
|
-
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
244
|
+
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
245
|
+
new KIRunFunctionRepository(),
|
|
246
|
+
new KIRunSchemaRepository(),
|
|
247
|
+
)
|
|
226
248
|
.setArguments(
|
|
227
249
|
new Map([
|
|
228
250
|
[AddFirst.PARAMETER_ARRAY_SOURCE.getParameterName(), temp2],
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Add } from '../../../../../src/engine/function/system/array/Add';
|
|
2
2
|
import { FunctionExecutionParameters } from '../../../../../src/engine/runtime/FunctionExecutionParameters';
|
|
3
|
+
import { KIRunFunctionRepository, KIRunSchemaRepository } from '../../../../../src';
|
|
3
4
|
|
|
4
5
|
test('Add Test 1', async () => {
|
|
5
6
|
let add: Add = new Add();
|
|
@@ -14,7 +15,10 @@ test('Add Test 1', async () => {
|
|
|
14
15
|
|
|
15
16
|
temp1.splice(temp1.length, 0, ...temp2);
|
|
16
17
|
|
|
17
|
-
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
18
|
+
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
19
|
+
new KIRunFunctionRepository(),
|
|
20
|
+
new KIRunSchemaRepository(),
|
|
21
|
+
)
|
|
18
22
|
.setArguments(
|
|
19
23
|
new Map([
|
|
20
24
|
[Add.PARAMETER_ARRAY_SOURCE.getParameterName(), source],
|
|
@@ -42,7 +46,10 @@ test('Add test 2', async () => {
|
|
|
42
46
|
|
|
43
47
|
temp1.splice(temp1.length, 0, ...temp2);
|
|
44
48
|
|
|
45
|
-
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
49
|
+
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
50
|
+
new KIRunFunctionRepository(),
|
|
51
|
+
new KIRunSchemaRepository(),
|
|
52
|
+
)
|
|
46
53
|
.setArguments(
|
|
47
54
|
new Map([
|
|
48
55
|
[Add.PARAMETER_ARRAY_SOURCE.getParameterName(), source],
|
|
@@ -70,7 +77,10 @@ test('Add test 3', async () => {
|
|
|
70
77
|
|
|
71
78
|
temp1.splice(temp1.length, 0, ...temp2);
|
|
72
79
|
|
|
73
|
-
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
80
|
+
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
81
|
+
new KIRunFunctionRepository(),
|
|
82
|
+
new KIRunSchemaRepository(),
|
|
83
|
+
)
|
|
74
84
|
.setArguments(
|
|
75
85
|
new Map([
|
|
76
86
|
[Add.PARAMETER_ARRAY_SOURCE.getParameterName(), source],
|
|
@@ -90,7 +100,10 @@ test('Add test 4', async () => {
|
|
|
90
100
|
|
|
91
101
|
let secondSource: any[] = [];
|
|
92
102
|
|
|
93
|
-
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
103
|
+
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
104
|
+
new KIRunFunctionRepository(),
|
|
105
|
+
new KIRunSchemaRepository(),
|
|
106
|
+
)
|
|
94
107
|
.setArguments(
|
|
95
108
|
new Map([
|
|
96
109
|
[Add.PARAMETER_ARRAY_SOURCE.getParameterName(), null],
|
|
@@ -108,7 +121,10 @@ test('Add test 5', async () => {
|
|
|
108
121
|
|
|
109
122
|
let secondSource: any[] = [];
|
|
110
123
|
|
|
111
|
-
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
124
|
+
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
125
|
+
new KIRunFunctionRepository(),
|
|
126
|
+
new KIRunSchemaRepository(),
|
|
127
|
+
)
|
|
112
128
|
.setArguments(
|
|
113
129
|
new Map([
|
|
114
130
|
[Add.PARAMETER_ARRAY_SOURCE.getParameterName(), secondSource],
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { BinarySearch } from '../../../../../src/engine/function/system/array/BinarySearch';
|
|
2
2
|
import { FunctionExecutionParameters } from '../../../../../src/engine/runtime/FunctionExecutionParameters';
|
|
3
|
+
import { KIRunFunctionRepository, KIRunSchemaRepository } from '../../../../../src';
|
|
3
4
|
|
|
4
5
|
let bsearch: BinarySearch = new BinarySearch();
|
|
5
6
|
|
|
@@ -8,7 +9,10 @@ test('Binary Search test 1', async () => {
|
|
|
8
9
|
|
|
9
10
|
let search: any = 16;
|
|
10
11
|
|
|
11
|
-
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
12
|
+
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
13
|
+
new KIRunFunctionRepository(),
|
|
14
|
+
new KIRunSchemaRepository(),
|
|
15
|
+
).setArguments(
|
|
12
16
|
new Map<string, any>([
|
|
13
17
|
[BinarySearch.PARAMETER_ARRAY_SOURCE_PRIMITIVE.getParameterName(), src],
|
|
14
18
|
[BinarySearch.PARAMETER_INT_SOURCE_FROM.getParameterName(), 1],
|
|
@@ -30,7 +34,10 @@ test('Binary Search test 2', async () => {
|
|
|
30
34
|
|
|
31
35
|
let search: any = 78;
|
|
32
36
|
|
|
33
|
-
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
37
|
+
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
38
|
+
new KIRunFunctionRepository(),
|
|
39
|
+
new KIRunSchemaRepository(),
|
|
40
|
+
).setArguments(
|
|
34
41
|
new Map<string, any>([
|
|
35
42
|
[BinarySearch.PARAMETER_ARRAY_SOURCE_PRIMITIVE.getParameterName(), src],
|
|
36
43
|
[BinarySearch.PARAMETER_INT_SOURCE_FROM.getParameterName(), 1],
|
|
@@ -52,7 +59,10 @@ test('Binary Search test 3', async () => {
|
|
|
52
59
|
|
|
53
60
|
let search: any = 78;
|
|
54
61
|
|
|
55
|
-
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
62
|
+
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
63
|
+
new KIRunFunctionRepository(),
|
|
64
|
+
new KIRunSchemaRepository(),
|
|
65
|
+
).setArguments(
|
|
56
66
|
new Map<string, any>([
|
|
57
67
|
[BinarySearch.PARAMETER_ARRAY_SOURCE_PRIMITIVE.getParameterName(), src],
|
|
58
68
|
[BinarySearch.PARAMETER_INT_SOURCE_FROM.getParameterName(), 1],
|
|
@@ -69,7 +79,10 @@ test('Binary Search test 6', async () => {
|
|
|
69
79
|
|
|
70
80
|
let search: number = 17;
|
|
71
81
|
|
|
72
|
-
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
82
|
+
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
83
|
+
new KIRunFunctionRepository(),
|
|
84
|
+
new KIRunSchemaRepository(),
|
|
85
|
+
).setArguments(
|
|
73
86
|
new Map<string, any>([
|
|
74
87
|
[BinarySearch.PARAMETER_ARRAY_SOURCE_PRIMITIVE.getParameterName(), src],
|
|
75
88
|
[BinarySearch.PARAMETER_INT_SOURCE_FROM.getParameterName(), 0],
|
|
@@ -91,7 +104,7 @@ test('Binary Search test 6', async () => {
|
|
|
91
104
|
|
|
92
105
|
// let search: any[] = [10];
|
|
93
106
|
|
|
94
|
-
// let fep: FunctionExecutionParameters = new FunctionExecutionParameters().setArguments(
|
|
107
|
+
// let fep: FunctionExecutionParameters = new FunctionExecutionParameters(new KIRunFunctionRepository(), new KIRunSchemaRepository()).setArguments(
|
|
95
108
|
// new Map<string, any>([
|
|
96
109
|
// [BinarySearch.PARAMETER_ARRAY_SOURCE_PRIMITIVE.getParameterName(), src],
|
|
97
110
|
// [BinarySearch.PARAMETER_INT_SOURCE_FROM.getParameterName(), 1],
|
|
@@ -108,7 +121,10 @@ test('Binary Search test 4', async () => {
|
|
|
108
121
|
|
|
109
122
|
let search: any = 'z';
|
|
110
123
|
|
|
111
|
-
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
124
|
+
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
125
|
+
new KIRunFunctionRepository(),
|
|
126
|
+
new KIRunSchemaRepository(),
|
|
127
|
+
).setArguments(
|
|
112
128
|
new Map<string, any>([
|
|
113
129
|
[BinarySearch.PARAMETER_ARRAY_SOURCE_PRIMITIVE.getParameterName(), src],
|
|
114
130
|
|
|
@@ -141,7 +157,10 @@ test('Binary Search test 5', async () => {
|
|
|
141
157
|
|
|
142
158
|
let search: any = 's';
|
|
143
159
|
|
|
144
|
-
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
160
|
+
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
161
|
+
new KIRunFunctionRepository(),
|
|
162
|
+
new KIRunSchemaRepository(),
|
|
163
|
+
).setArguments(
|
|
145
164
|
new Map<string, any>([
|
|
146
165
|
[BinarySearch.PARAMETER_ARRAY_SOURCE_PRIMITIVE.getParameterName(), arr],
|
|
147
166
|
|
|
@@ -3,6 +3,7 @@ import { Compare } from '../../../../../src/engine/function/system/array/Compare
|
|
|
3
3
|
import { FunctionOutput } from '../../../../../src/engine/model/FunctionOutput';
|
|
4
4
|
import { FunctionExecutionParameters } from '../../../../../src/engine/runtime/FunctionExecutionParameters';
|
|
5
5
|
import { MapUtil } from '../../../../../src/engine/util/MapUtil';
|
|
6
|
+
import { KIRunFunctionRepository, KIRunSchemaRepository } from '../../../../../src';
|
|
6
7
|
|
|
7
8
|
test('Compare Test 1', async () => {
|
|
8
9
|
let compare: Compare = new Compare();
|
|
@@ -27,7 +28,10 @@ test('Compare Test 1', async () => {
|
|
|
27
28
|
test('Compare Test 2', async () => {
|
|
28
29
|
let compare: Compare = new Compare();
|
|
29
30
|
|
|
30
|
-
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
31
|
+
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
32
|
+
new KIRunFunctionRepository(),
|
|
33
|
+
new KIRunSchemaRepository(),
|
|
34
|
+
);
|
|
31
35
|
|
|
32
36
|
let source: any[] = [4, 5];
|
|
33
37
|
|
|
@@ -5,12 +5,17 @@ import { FunctionExecutionParameters } from '../../../../../src/engine/runtime/F
|
|
|
5
5
|
|
|
6
6
|
import { MapUtil } from '../../../../../src/engine/util/MapUtil';
|
|
7
7
|
|
|
8
|
+
import { KIRunFunctionRepository, KIRunSchemaRepository } from '../../../../../src';
|
|
9
|
+
|
|
8
10
|
test('Compy Test', async () => {
|
|
9
11
|
let copy: Copy = new Copy();
|
|
10
12
|
|
|
11
13
|
let source: any[] = [1, 2, 3, 4, 5];
|
|
12
14
|
|
|
13
|
-
let fep1: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
15
|
+
let fep1: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
16
|
+
new KIRunFunctionRepository(),
|
|
17
|
+
new KIRunSchemaRepository(),
|
|
18
|
+
).setArguments(
|
|
14
19
|
MapUtil.of(
|
|
15
20
|
AbstractArrayFunction.PARAMETER_ARRAY_SOURCE.getParameterName(),
|
|
16
21
|
source as any,
|
|
@@ -27,7 +32,10 @@ test('Compy Test', async () => {
|
|
|
27
32
|
|
|
28
33
|
let result: any[] = [3, 4, 5, 6];
|
|
29
34
|
|
|
30
|
-
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
35
|
+
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
36
|
+
new KIRunFunctionRepository(),
|
|
37
|
+
new KIRunSchemaRepository(),
|
|
38
|
+
).setArguments(
|
|
31
39
|
MapUtil.of(
|
|
32
40
|
Copy.PARAMETER_ARRAY_SOURCE.getParameterName(),
|
|
33
41
|
source as any,
|
|
@@ -45,7 +53,10 @@ test('Compy Test', async () => {
|
|
|
45
53
|
source.push({ name: 'Kiran' });
|
|
46
54
|
source.push({ name: 'Kumar' });
|
|
47
55
|
|
|
48
|
-
fep = new FunctionExecutionParameters(
|
|
56
|
+
fep = new FunctionExecutionParameters(
|
|
57
|
+
new KIRunFunctionRepository(),
|
|
58
|
+
new KIRunSchemaRepository(),
|
|
59
|
+
).setArguments(
|
|
49
60
|
MapUtil.of(
|
|
50
61
|
Copy.PARAMETER_ARRAY_SOURCE.getParameterName(),
|
|
51
62
|
source as any,
|
|
@@ -60,16 +71,20 @@ test('Compy Test', async () => {
|
|
|
60
71
|
result.push({ name: 'Kiran' });
|
|
61
72
|
result.push({ name: 'Kumar' });
|
|
62
73
|
|
|
63
|
-
fep = new FunctionExecutionParameters(
|
|
64
|
-
|
|
65
|
-
|
|
74
|
+
fep = new FunctionExecutionParameters(
|
|
75
|
+
new KIRunFunctionRepository(),
|
|
76
|
+
new KIRunSchemaRepository(),
|
|
77
|
+
).setArguments(MapUtil.of(Copy.PARAMETER_ARRAY_SOURCE.getParameterName(), source));
|
|
66
78
|
|
|
67
79
|
fo = await copy.execute(fep);
|
|
68
80
|
|
|
69
81
|
expect(fo.allResults()[0].getResult().get(Copy.EVENT_RESULT_NAME)).toStrictEqual(result);
|
|
70
82
|
expect(source[0] == result[0]).toBeFalsy();
|
|
71
83
|
|
|
72
|
-
fep = new FunctionExecutionParameters(
|
|
84
|
+
fep = new FunctionExecutionParameters(
|
|
85
|
+
new KIRunFunctionRepository(),
|
|
86
|
+
new KIRunSchemaRepository(),
|
|
87
|
+
).setArguments(
|
|
73
88
|
MapUtil.of(
|
|
74
89
|
Copy.PARAMETER_ARRAY_SOURCE.getParameterName(),
|
|
75
90
|
source as any,
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { DeleteFirst } from '../../../../../src/engine/function/system/array/DeleteFirst';
|
|
2
2
|
import { FunctionExecutionParameters } from '../../../../../src/engine/runtime/FunctionExecutionParameters';
|
|
3
|
+
import { KIRunFunctionRepository, KIRunSchemaRepository } from '../../../../../src';
|
|
3
4
|
|
|
4
5
|
test('DeleteFirst Test 1', async () => {
|
|
5
6
|
let delet: DeleteFirst = new DeleteFirst();
|
|
@@ -8,7 +9,10 @@ test('DeleteFirst Test 1', async () => {
|
|
|
8
9
|
|
|
9
10
|
let temp: any[] = [14, 15, 9];
|
|
10
11
|
|
|
11
|
-
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
12
|
+
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
13
|
+
new KIRunFunctionRepository(),
|
|
14
|
+
new KIRunSchemaRepository(),
|
|
15
|
+
)
|
|
12
16
|
.setArguments(new Map([[DeleteFirst.PARAMETER_ARRAY_SOURCE.getParameterName(), source]]))
|
|
13
17
|
.setSteps(new Map([]))
|
|
14
18
|
.setContext(new Map([]));
|
|
@@ -25,7 +29,10 @@ test('DeleteFirst Test 2', async () => {
|
|
|
25
29
|
|
|
26
30
|
let temp: any[] = ['p', 'i', 'e'];
|
|
27
31
|
|
|
28
|
-
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
32
|
+
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
33
|
+
new KIRunFunctionRepository(),
|
|
34
|
+
new KIRunSchemaRepository(),
|
|
35
|
+
)
|
|
29
36
|
.setArguments(new Map([[DeleteFirst.PARAMETER_ARRAY_SOURCE.getParameterName(), source]]))
|
|
30
37
|
.setSteps(new Map([]))
|
|
31
38
|
.setContext(new Map([]));
|
|
@@ -40,7 +47,10 @@ test('DeleteFirst Test 3', async () => {
|
|
|
40
47
|
|
|
41
48
|
let source: any[] = [];
|
|
42
49
|
|
|
43
|
-
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
50
|
+
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
51
|
+
new KIRunFunctionRepository(),
|
|
52
|
+
new KIRunSchemaRepository(),
|
|
53
|
+
)
|
|
44
54
|
.setArguments(new Map([[DeleteFirst.PARAMETER_ARRAY_SOURCE.getParameterName(), source]]))
|
|
45
55
|
.setSteps(new Map([]))
|
|
46
56
|
.setContext(new Map([]));
|
|
@@ -79,7 +89,10 @@ test('DeleteFirst Test 4', async () => {
|
|
|
79
89
|
|
|
80
90
|
var res: any[] = [js2, js3, js4, js1];
|
|
81
91
|
|
|
82
|
-
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
92
|
+
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
93
|
+
new KIRunFunctionRepository(),
|
|
94
|
+
new KIRunSchemaRepository(),
|
|
95
|
+
)
|
|
83
96
|
.setArguments(new Map([[DeleteFirst.PARAMETER_ARRAY_SOURCE.getParameterName(), arr]]))
|
|
84
97
|
.setSteps(new Map([]))
|
|
85
98
|
.setContext(new Map([]));
|
|
@@ -94,7 +107,10 @@ test('DeleteFirst Test 5', async () => {
|
|
|
94
107
|
|
|
95
108
|
let source = null;
|
|
96
109
|
|
|
97
|
-
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
110
|
+
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
111
|
+
new KIRunFunctionRepository(),
|
|
112
|
+
new KIRunSchemaRepository(),
|
|
113
|
+
)
|
|
98
114
|
.setArguments(new Map([[DeleteFirst.PARAMETER_ARRAY_SOURCE.getParameterName(), source]]))
|
|
99
115
|
.setSteps(new Map([]))
|
|
100
116
|
.setContext(new Map([]));
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { DeleteFrom } from '../../../../../src/engine/function/system/array/DeleteFrom';
|
|
2
2
|
import { FunctionExecutionParameters } from '../../../../../src/engine/runtime/FunctionExecutionParameters';
|
|
3
|
+
import { KIRunFunctionRepository, KIRunSchemaRepository } from '../../../../../src';
|
|
3
4
|
|
|
4
5
|
let del: DeleteFrom = new DeleteFrom();
|
|
5
6
|
|
|
@@ -18,7 +19,10 @@ test('delete from 1', async () => {
|
|
|
18
19
|
arr.push('a');
|
|
19
20
|
arr.push('a');
|
|
20
21
|
|
|
21
|
-
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
22
|
+
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
23
|
+
new KIRunFunctionRepository(),
|
|
24
|
+
new KIRunSchemaRepository(),
|
|
25
|
+
)
|
|
22
26
|
.setArguments(
|
|
23
27
|
new Map<string, any>([
|
|
24
28
|
[DeleteFrom.PARAMETER_ARRAY_SOURCE.getParameterName(), arr],
|
|
@@ -57,7 +61,10 @@ test('del from 2 ', async () => {
|
|
|
57
61
|
arr.push('a');
|
|
58
62
|
arr.push('a');
|
|
59
63
|
|
|
60
|
-
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
64
|
+
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
65
|
+
new KIRunFunctionRepository(),
|
|
66
|
+
new KIRunSchemaRepository(),
|
|
67
|
+
)
|
|
61
68
|
.setArguments(
|
|
62
69
|
new Map<string, any>([
|
|
63
70
|
[DeleteFrom.PARAMETER_ARRAY_SOURCE.getParameterName(), arr],
|
|
@@ -182,7 +189,10 @@ test('del from 3 ', async () => {
|
|
|
182
189
|
res.push(array1);
|
|
183
190
|
res.push(array4);
|
|
184
191
|
|
|
185
|
-
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
192
|
+
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
193
|
+
new KIRunFunctionRepository(),
|
|
194
|
+
new KIRunSchemaRepository(),
|
|
195
|
+
)
|
|
186
196
|
.setArguments(
|
|
187
197
|
new Map<string, any>([
|
|
188
198
|
[DeleteFrom.PARAMETER_ARRAY_SOURCE.getParameterName(), arr],
|
|
@@ -217,7 +227,10 @@ test('del from 4', async () => {
|
|
|
217
227
|
res.push('b');
|
|
218
228
|
res.push('c');
|
|
219
229
|
|
|
220
|
-
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
230
|
+
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
231
|
+
new KIRunFunctionRepository(),
|
|
232
|
+
new KIRunSchemaRepository(),
|
|
233
|
+
)
|
|
221
234
|
.setArguments(
|
|
222
235
|
new Map<string, any>([
|
|
223
236
|
[DeleteFrom.PARAMETER_ARRAY_SOURCE.getParameterName(), arr],
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { DeleteLast } from '../../../../../src/engine/function/system/array/DeleteLast';
|
|
2
2
|
import { FunctionExecutionParameters } from '../../../../../src/engine/runtime/FunctionExecutionParameters';
|
|
3
|
+
import { KIRunFunctionRepository, KIRunSchemaRepository } from '../../../../../src';
|
|
3
4
|
|
|
4
5
|
test('DeleteLast Test 1', async () => {
|
|
5
6
|
let delet: DeleteLast = new DeleteLast();
|
|
@@ -8,7 +9,10 @@ test('DeleteLast Test 1', async () => {
|
|
|
8
9
|
|
|
9
10
|
let temp: any[] = [12, 14, 15];
|
|
10
11
|
|
|
11
|
-
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
12
|
+
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
13
|
+
new KIRunFunctionRepository(),
|
|
14
|
+
new KIRunSchemaRepository(),
|
|
15
|
+
)
|
|
12
16
|
.setArguments(new Map([[DeleteLast.PARAMETER_ARRAY_SOURCE.getParameterName(), source]]))
|
|
13
17
|
.setSteps(new Map([]))
|
|
14
18
|
.setContext(new Map([]));
|
|
@@ -25,7 +29,10 @@ test('DeleteLast Test 2', async () => {
|
|
|
25
29
|
|
|
26
30
|
let temp: any[] = ['c', 'p', 'i'];
|
|
27
31
|
|
|
28
|
-
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
32
|
+
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
33
|
+
new KIRunFunctionRepository(),
|
|
34
|
+
new KIRunSchemaRepository(),
|
|
35
|
+
)
|
|
29
36
|
.setArguments(new Map([[DeleteLast.PARAMETER_ARRAY_SOURCE.getParameterName(), source]]))
|
|
30
37
|
.setSteps(new Map([]))
|
|
31
38
|
.setContext(new Map([]));
|
|
@@ -40,7 +47,10 @@ test('DeleteLast Test 3', async () => {
|
|
|
40
47
|
|
|
41
48
|
let source: any[] = [];
|
|
42
49
|
|
|
43
|
-
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
50
|
+
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
51
|
+
new KIRunFunctionRepository(),
|
|
52
|
+
new KIRunSchemaRepository(),
|
|
53
|
+
)
|
|
44
54
|
.setArguments(new Map([[DeleteLast.PARAMETER_ARRAY_SOURCE.getParameterName(), source]]))
|
|
45
55
|
.setSteps(new Map([]))
|
|
46
56
|
.setContext(new Map([]));
|
|
@@ -79,7 +89,10 @@ test('DeleteFirst Test 4', async () => {
|
|
|
79
89
|
|
|
80
90
|
var res: any[] = [js1, js2, js3, js4];
|
|
81
91
|
|
|
82
|
-
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
92
|
+
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
93
|
+
new KIRunFunctionRepository(),
|
|
94
|
+
new KIRunSchemaRepository(),
|
|
95
|
+
)
|
|
83
96
|
.setArguments(new Map([[DeleteLast.PARAMETER_ARRAY_SOURCE.getParameterName(), arr]]))
|
|
84
97
|
.setSteps(new Map([]))
|
|
85
98
|
.setContext(new Map([]));
|
|
@@ -94,7 +107,10 @@ test('DeleteFirst Test 5', async () => {
|
|
|
94
107
|
|
|
95
108
|
let source = null;
|
|
96
109
|
|
|
97
|
-
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
110
|
+
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
111
|
+
new KIRunFunctionRepository(),
|
|
112
|
+
new KIRunSchemaRepository(),
|
|
113
|
+
)
|
|
98
114
|
.setArguments(new Map([[DeleteLast.PARAMETER_ARRAY_SOURCE.getParameterName(), source]]))
|
|
99
115
|
.setSteps(new Map([]))
|
|
100
116
|
.setContext(new Map([]));
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Delete } from '../../../../../src/engine/function/system/array/Delete';
|
|
2
2
|
import { FunctionExecutionParameters } from '../../../../../src/engine/runtime/FunctionExecutionParameters';
|
|
3
|
+
import { KIRunFunctionRepository, KIRunSchemaRepository } from '../../../../../src';
|
|
3
4
|
|
|
4
5
|
test('Delete Test 1', async () => {
|
|
5
6
|
let delet: Delete = new Delete();
|
|
@@ -9,7 +10,10 @@ test('Delete Test 1', async () => {
|
|
|
9
10
|
|
|
10
11
|
let temp: any[] = [12, 9];
|
|
11
12
|
|
|
12
|
-
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
13
|
+
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
14
|
+
new KIRunFunctionRepository(),
|
|
15
|
+
new KIRunSchemaRepository(),
|
|
16
|
+
)
|
|
13
17
|
.setArguments(
|
|
14
18
|
new Map([
|
|
15
19
|
[Delete.PARAMETER_ARRAY_SOURCE.getParameterName(), source],
|
|
@@ -32,7 +36,10 @@ test('Delete Test 2', async () => {
|
|
|
32
36
|
|
|
33
37
|
let temp: any[] = ['nocode', 14];
|
|
34
38
|
|
|
35
|
-
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
39
|
+
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
40
|
+
new KIRunFunctionRepository(),
|
|
41
|
+
new KIRunSchemaRepository(),
|
|
42
|
+
)
|
|
36
43
|
.setArguments(
|
|
37
44
|
new Map([
|
|
38
45
|
[Delete.PARAMETER_ARRAY_SOURCE.getParameterName(), source],
|
|
@@ -53,7 +60,10 @@ test('Delete Test 3', async () => {
|
|
|
53
60
|
|
|
54
61
|
let secondSource: any[] = ['platform'];
|
|
55
62
|
|
|
56
|
-
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
63
|
+
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
64
|
+
new KIRunFunctionRepository(),
|
|
65
|
+
new KIRunSchemaRepository(),
|
|
66
|
+
)
|
|
57
67
|
.setArguments(
|
|
58
68
|
new Map([
|
|
59
69
|
[Delete.PARAMETER_ARRAY_SOURCE.getParameterName(), source],
|
|
@@ -72,7 +82,10 @@ test('Delete Test 3', async () => {
|
|
|
72
82
|
|
|
73
83
|
let secondSource = undefined;
|
|
74
84
|
|
|
75
|
-
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
85
|
+
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
86
|
+
new KIRunFunctionRepository(),
|
|
87
|
+
new KIRunSchemaRepository(),
|
|
88
|
+
)
|
|
76
89
|
.setArguments(
|
|
77
90
|
new Map([
|
|
78
91
|
[Delete.PARAMETER_ARRAY_SOURCE.getParameterName(), source],
|
|
@@ -91,7 +104,10 @@ test('Delete Test 4', async () => {
|
|
|
91
104
|
|
|
92
105
|
let secondSource: any[] = [];
|
|
93
106
|
|
|
94
|
-
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
107
|
+
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
108
|
+
new KIRunFunctionRepository(),
|
|
109
|
+
new KIRunSchemaRepository(),
|
|
110
|
+
)
|
|
95
111
|
.setArguments(
|
|
96
112
|
new Map([
|
|
97
113
|
[Delete.PARAMETER_ARRAY_SOURCE.getParameterName(), source],
|
|
@@ -129,7 +145,10 @@ test('Delete Test 5', async () => {
|
|
|
129
145
|
|
|
130
146
|
var res: any[] = [arr1, arr2, arr2];
|
|
131
147
|
|
|
132
|
-
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
148
|
+
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
149
|
+
new KIRunFunctionRepository(),
|
|
150
|
+
new KIRunSchemaRepository(),
|
|
151
|
+
)
|
|
133
152
|
.setArguments(
|
|
134
153
|
new Map([
|
|
135
154
|
[Delete.PARAMETER_ARRAY_SOURCE.getParameterName(), arr],
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { KIRunFunctionRepository, KIRunSchemaRepository } from '../../../../../src';
|
|
1
2
|
import { Disjoint } from '../../../../../src/engine/function/system/array/Disjoint';
|
|
2
3
|
import { FunctionExecutionParameters } from '../../../../../src/engine/runtime/FunctionExecutionParameters';
|
|
3
4
|
|
|
@@ -22,7 +23,10 @@ test('Disjoint Test 1', async () => {
|
|
|
22
23
|
arr2.push('f');
|
|
23
24
|
arr2.push('e');
|
|
24
25
|
|
|
25
|
-
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
26
|
+
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
27
|
+
new KIRunFunctionRepository(),
|
|
28
|
+
new KIRunSchemaRepository(),
|
|
29
|
+
).setArguments(
|
|
26
30
|
new Map<string, any>([
|
|
27
31
|
[Disjoint.PARAMETER_ARRAY_SOURCE.getParameterName(), arr],
|
|
28
32
|
[Disjoint.PARAMETER_INT_SOURCE_FROM.getParameterName(), 2],
|
|
@@ -74,7 +78,10 @@ test('Disjoint Test 2', async () => {
|
|
|
74
78
|
arr2.push('e');
|
|
75
79
|
arr2.push('f');
|
|
76
80
|
|
|
77
|
-
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
81
|
+
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
82
|
+
new KIRunFunctionRepository(),
|
|
83
|
+
new KIRunSchemaRepository(),
|
|
84
|
+
).setArguments(
|
|
78
85
|
new Map<string, any>([
|
|
79
86
|
[Disjoint.PARAMETER_ARRAY_SOURCE.getParameterName(), arr],
|
|
80
87
|
[Disjoint.PARAMETER_INT_SOURCE_FROM.getParameterName(), -12],
|
|
@@ -163,7 +170,10 @@ test('Disjoint test 3', async () => {
|
|
|
163
170
|
|
|
164
171
|
for (let i: number = 0; i < d.length; i++) set1.add(d[i]);
|
|
165
172
|
|
|
166
|
-
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
173
|
+
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
174
|
+
new KIRunFunctionRepository(),
|
|
175
|
+
new KIRunSchemaRepository(),
|
|
176
|
+
).setArguments(
|
|
167
177
|
new Map<string, any>([
|
|
168
178
|
[Disjoint.PARAMETER_ARRAY_SOURCE.getParameterName(), arr],
|
|
169
179
|
[Disjoint.PARAMETER_INT_SOURCE_FROM.getParameterName(), 1],
|
|
@@ -2,6 +2,7 @@ import { Equals } from '../../../../../src/engine/function/system/array/Equals';
|
|
|
2
2
|
import { FunctionOutput } from '../../../../../src/engine/model/FunctionOutput';
|
|
3
3
|
import { FunctionExecutionParameters } from '../../../../../src/engine/runtime/FunctionExecutionParameters';
|
|
4
4
|
import { MapUtil } from '../../../../../src/engine/util/MapUtil';
|
|
5
|
+
import { KIRunFunctionRepository, KIRunSchemaRepository } from '../../../../../src';
|
|
5
6
|
|
|
6
7
|
test('Equals Test', async () => {
|
|
7
8
|
let equals: Equals = new Equals();
|
|
@@ -9,7 +10,10 @@ test('Equals Test', async () => {
|
|
|
9
10
|
let srcArray: any[] = [30, 31, 32, 33, 34];
|
|
10
11
|
let findArray: any[] = [30, 31, 32, 33, 34];
|
|
11
12
|
|
|
12
|
-
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
13
|
+
let fep: FunctionExecutionParameters = new FunctionExecutionParameters(
|
|
14
|
+
new KIRunFunctionRepository(),
|
|
15
|
+
new KIRunSchemaRepository(),
|
|
16
|
+
);
|
|
13
17
|
fep.setArguments(
|
|
14
18
|
MapUtil.of(
|
|
15
19
|
Equals.PARAMETER_ARRAY_SOURCE.getParameterName(),
|
|
@@ -29,7 +33,10 @@ test('Equals Test', async () => {
|
|
|
29
33
|
|
|
30
34
|
expect(fo.allResults()[0].getResult().get(Equals.EVENT_RESULT_NAME)).toBeFalsy;
|
|
31
35
|
|
|
32
|
-
fep = new FunctionExecutionParameters(
|
|
36
|
+
fep = new FunctionExecutionParameters(
|
|
37
|
+
new KIRunFunctionRepository(),
|
|
38
|
+
new KIRunSchemaRepository(),
|
|
39
|
+
);
|
|
33
40
|
fep.setArguments(
|
|
34
41
|
MapUtil.of(
|
|
35
42
|
Equals.PARAMETER_ARRAY_SOURCE.getParameterName(),
|
|
@@ -51,7 +58,10 @@ test('Equals Test', async () => {
|
|
|
51
58
|
|
|
52
59
|
findArray = [true, true, false];
|
|
53
60
|
|
|
54
|
-
fep = new FunctionExecutionParameters(
|
|
61
|
+
fep = new FunctionExecutionParameters(
|
|
62
|
+
new KIRunFunctionRepository(),
|
|
63
|
+
new KIRunSchemaRepository(),
|
|
64
|
+
);
|
|
55
65
|
fep.setArguments(
|
|
56
66
|
MapUtil.of(
|
|
57
67
|
Equals.PARAMETER_ARRAY_SOURCE.getParameterName(),
|