@sankhyalabs/core 0.0.0-feat-dev-KB-83113.2 → 0.0.0-feat-dev-KB-69274.2
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/.docs/enumerations/UserInterface.md +15 -5
- package/.releaserc +1 -0
- package/dist/dataunit/formatting/PrettyFormatter.js +3 -0
- package/dist/dataunit/formatting/PrettyFormatter.js.map +1 -1
- package/dist/dataunit/metadata/UnitMetadata.d.ts +1 -0
- package/dist/dataunit/metadata/UnitMetadata.js +1 -0
- package/dist/dataunit/metadata/UnitMetadata.js.map +1 -1
- package/package.json +1 -1
- package/reports/test-report.xml +114 -114
- package/src/dataunit/formatting/PrettyFormatter.ts +4 -0
- package/src/dataunit/metadata/UnitMetadata.ts +1 -0
|
@@ -74,7 +74,7 @@ src/dataunit/metadata/UnitMetadata.ts:82
|
|
|
74
74
|
|
|
75
75
|
#### Source
|
|
76
76
|
|
|
77
|
-
src/dataunit/metadata/UnitMetadata.ts:
|
|
77
|
+
src/dataunit/metadata/UnitMetadata.ts:99
|
|
78
78
|
|
|
79
79
|
***
|
|
80
80
|
|
|
@@ -104,7 +104,7 @@ src/dataunit/metadata/UnitMetadata.ts:92
|
|
|
104
104
|
|
|
105
105
|
#### Source
|
|
106
106
|
|
|
107
|
-
src/dataunit/metadata/UnitMetadata.ts:
|
|
107
|
+
src/dataunit/metadata/UnitMetadata.ts:98
|
|
108
108
|
|
|
109
109
|
***
|
|
110
110
|
|
|
@@ -114,7 +114,7 @@ src/dataunit/metadata/UnitMetadata.ts:97
|
|
|
114
114
|
|
|
115
115
|
#### Source
|
|
116
116
|
|
|
117
|
-
src/dataunit/metadata/UnitMetadata.ts:
|
|
117
|
+
src/dataunit/metadata/UnitMetadata.ts:97
|
|
118
118
|
|
|
119
119
|
***
|
|
120
120
|
|
|
@@ -134,7 +134,7 @@ src/dataunit/metadata/UnitMetadata.ts:90
|
|
|
134
134
|
|
|
135
135
|
#### Source
|
|
136
136
|
|
|
137
|
-
src/dataunit/metadata/UnitMetadata.ts:
|
|
137
|
+
src/dataunit/metadata/UnitMetadata.ts:96
|
|
138
138
|
|
|
139
139
|
***
|
|
140
140
|
|
|
@@ -148,13 +148,23 @@ src/dataunit/metadata/UnitMetadata.ts:93
|
|
|
148
148
|
|
|
149
149
|
***
|
|
150
150
|
|
|
151
|
+
### SEARCHPLUS
|
|
152
|
+
|
|
153
|
+
> **SEARCHPLUS**: `"SEARCHPLUS"`
|
|
154
|
+
|
|
155
|
+
#### Source
|
|
156
|
+
|
|
157
|
+
src/dataunit/metadata/UnitMetadata.ts:94
|
|
158
|
+
|
|
159
|
+
***
|
|
160
|
+
|
|
151
161
|
### SHORTTEXT
|
|
152
162
|
|
|
153
163
|
> **SHORTTEXT**: `"SHORTTEXT"`
|
|
154
164
|
|
|
155
165
|
#### Source
|
|
156
166
|
|
|
157
|
-
src/dataunit/metadata/UnitMetadata.ts:
|
|
167
|
+
src/dataunit/metadata/UnitMetadata.ts:95
|
|
158
168
|
|
|
159
169
|
***
|
|
160
170
|
|
package/.releaserc
CHANGED
|
@@ -64,6 +64,9 @@ const getSearchFormat = (value, descriptor) => {
|
|
|
64
64
|
if (descriptor.userInterface === UserInterface.SEARCH) {
|
|
65
65
|
return label ? `${codeValue} - ${label}` : codeValue;
|
|
66
66
|
}
|
|
67
|
+
if (descriptor.userInterface === UserInterface.SEARCHPLUS) {
|
|
68
|
+
return codeValue;
|
|
69
|
+
}
|
|
67
70
|
return label ? label : codeValue;
|
|
68
71
|
};
|
|
69
72
|
const getOptionFormat = (value, descriptor) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PrettyFormatter.js","sourceRoot":"","sources":["../../../src/dataunit/formatting/PrettyFormatter.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,0BAA0B,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAE,WAAW,EAAE,MA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AAA;AAED,MAAM,aAAa,GAAG,CAAC,KAAU,EAAE,EAAE;IACjC,IAAI,CAAC,KAAK,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC;QAAE,OAAO,EAAE,CAAC;IAE/C,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;IAE7C,OAAO,GAAG,KAAK,CAAC,MAAM,WAAW,CAAC;AACtC,CAAC,CAAA"}
|
|
@@ -23,6 +23,7 @@ export var UserInterface;
|
|
|
23
23
|
UserInterface["DECIMALNUMBER"] = "DECIMALNUMBER";
|
|
24
24
|
UserInterface["INTEGERNUMBER"] = "INTEGERNUMBER";
|
|
25
25
|
UserInterface["SEARCH"] = "SEARCH";
|
|
26
|
+
UserInterface["SEARCHPLUS"] = "SEARCHPLUS";
|
|
26
27
|
UserInterface["SHORTTEXT"] = "SHORTTEXT";
|
|
27
28
|
UserInterface["PASSWORD"] = "PASSWORD";
|
|
28
29
|
UserInterface["MASKEDTEXT"] = "MASKEDTEXT";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UnitMetadata.js","sourceRoot":"","sources":["../../../src/dataunit/metadata/UnitMetadata.ts"],"names":[],"mappings":"AAqEA,MAAM,CAAN,IAAY,QAGX;AAHD,WAAY,QAAQ;IAChB,uBAAW,CAAA;IACX,yBAAa,CAAA;AACjB,CAAC,EAHW,QAAQ,KAAR,QAAQ,QAGnB;AAED,MAAM,CAAN,IAAY,cAIX;AAJD,WAAY,cAAc;IACtB,yCAAuB,CAAA;IACvB,6CAA2B,CAAA;IAC3B,4CAA0B,CAAA;AAC9B,CAAC,EAJW,cAAc,KAAd,cAAc,QAIzB;AAED,MAAM,CAAN,IAAY,
|
|
1
|
+
{"version":3,"file":"UnitMetadata.js","sourceRoot":"","sources":["../../../src/dataunit/metadata/UnitMetadata.ts"],"names":[],"mappings":"AAqEA,MAAM,CAAN,IAAY,QAGX;AAHD,WAAY,QAAQ;IAChB,uBAAW,CAAA;IACX,yBAAa,CAAA;AACjB,CAAC,EAHW,QAAQ,KAAR,QAAQ,QAGnB;AAED,MAAM,CAAN,IAAY,cAIX;AAJD,WAAY,cAAc;IACtB,yCAAuB,CAAA;IACvB,6CAA2B,CAAA;IAC3B,4CAA0B,CAAA;AAC9B,CAAC,EAJW,cAAc,KAAd,cAAc,QAIzB;AAED,MAAM,CAAN,IAAY,aAmBX;AAnBD,WAAY,aAAa;IACrB,8BAAa,CAAA;IACb,gCAAe,CAAA;IACf,8BAAa,CAAA;IACb,sCAAqB,CAAA;IACrB,8BAAa,CAAA;IACb,4CAA2B,CAAA;IAC3B,sCAAqB,CAAA;IACrB,kCAAiB,CAAA;IACjB,kDAAiC,CAAA;IACjC,gDAA+B,CAAA;IAC/B,gDAA+B,CAAA;IAC/B,kCAAiB,CAAA;IACjB,0CAAyB,CAAA;IACzB,wCAAuB,CAAA;IACvB,sCAAqB,CAAA;IACrB,0CAAyB,CAAA;IACzB,sCAAqB,CAAA;IACrB,8BAAa,CAAA;AACjB,CAAC,EAnBW,aAAa,KAAb,aAAa,QAmBxB;AAED,MAAM,CAAN,IAAY,iBAEX;AAFD,WAAY,iBAAiB;IACzB,mEAA8C,CAAA;AAClD,CAAC,EAFW,iBAAiB,KAAjB,iBAAiB,QAE5B"}
|
package/package.json
CHANGED
package/reports/test-report.xml
CHANGED
|
@@ -1,53 +1,38 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
2
|
<unitTest version="1">
|
|
3
3
|
<file path="/builds/dti/design-system/sankhyacore/test/util/CriteriaModel.spec.ts">
|
|
4
|
-
<testCase name="StringUtils it should return the undefined and [] to Criteria Props through new class with empty constructor" duration="
|
|
4
|
+
<testCase name="StringUtils it should return the undefined and [] to Criteria Props through new class with empty constructor" duration="93"/>
|
|
5
5
|
<testCase name="StringUtils it should modify "expressions" and "parameters" properties through Setters methods" duration="1"/>
|
|
6
|
-
<testCase name="StringUtils it should return "expression" and "parameters" setted through constructor method" duration="
|
|
6
|
+
<testCase name="StringUtils it should return "expression" and "parameters" setted through constructor method" duration="1"/>
|
|
7
7
|
<testCase name="StringUtils it should return a Criteria class with "expression" and "parameters" as needed setted through "append" method" duration="1"/>
|
|
8
|
-
<testCase name="StringUtils it should return a Criteria class with "Criteria class" and "parameters" concatenaded as needed setted through "append" method" duration="
|
|
8
|
+
<testCase name="StringUtils it should return a Criteria class with "Criteria class" and "parameters" concatenaded as needed setted through "append" method" duration="96"/>
|
|
9
9
|
<testCase name="StringUtils it should return undefined as "expression" and "[]" as parameters as we use an empty criteria as first entry in the constructor" duration="1"/>
|
|
10
10
|
<testCase name="StringUtils it should return a Criteria class with "Expression" and "parameters" concatenaded as needed setted through "OR" method" duration="1"/>
|
|
11
|
-
<testCase name="StringUtils it should return a Criteria class with "Criteria class" and "parameters" concatenaded as needed setted through "OR" method" duration="0"/>
|
|
12
11
|
<testCase name="StringUtils it should return a Criteria class with "Criteria class" and "parameters" concatenaded as needed setted through "OR" method" duration="1"/>
|
|
13
|
-
<testCase name="StringUtils it should return a Criteria class with "
|
|
14
|
-
<testCase name="StringUtils it should return a Criteria class with "
|
|
15
|
-
<testCase name="StringUtils it should return a Criteria class with "Criteria class" and "parameters" concatenaded as needed setted through "AND" method" duration="
|
|
12
|
+
<testCase name="StringUtils it should return a Criteria class with "Criteria class" and "parameters" concatenaded as needed setted through "OR" method" duration="1"/>
|
|
13
|
+
<testCase name="StringUtils it should return a Criteria class with "Expression" and "parameters" concatenaded as needed setted through "AND" method" duration="3"/>
|
|
14
|
+
<testCase name="StringUtils it should return a Criteria class with "Criteria class" and "parameters" concatenaded as needed setted through "AND" method" duration="82"/>
|
|
15
|
+
<testCase name="StringUtils it should return a Criteria class with "Criteria class" and "parameters" concatenaded as needed setted through "AND" method" duration="9"/>
|
|
16
16
|
<testCase name="StringUtils it should return a toJSON object with "Criteria class" and "parameters" concatenaded as needed setted through "AND" method" duration="1"/>
|
|
17
17
|
<testCase name="StringUtils it should return a toJSON object with through empty constructor" duration="0"/>
|
|
18
18
|
</file>
|
|
19
|
-
<file path="/builds/dti/design-system/sankhyacore/src/utils/test/objectUtils.spec.ts">
|
|
20
|
-
<testCase name="ObjectUtils hasEquivalentValues should return true if both objects have the same property value" duration="94"/>
|
|
21
|
-
<testCase name="ObjectUtils hasEquivalentValues should return false if both objects have different property values" duration="0"/>
|
|
22
|
-
<testCase name="ObjectUtils hasEquivalentValues should return true if both objects are equivalent with custom property to compare" duration="1"/>
|
|
23
|
-
<testCase name="ObjectUtils hasEquivalentValues should return false if both objects are not equivalent with custom property to compare" duration="0"/>
|
|
24
|
-
<testCase name="ObjectUtils hasEquivalentValues should return false if one object does not have the property" duration="0"/>
|
|
25
|
-
<testCase name="ObjectUtils hasEquivalentValues should return true if comparing primitive values directly" duration="0"/>
|
|
26
|
-
<testCase name="ObjectUtils hasEquivalentValues should return false if comparing different primitive values" duration="0"/>
|
|
27
|
-
<testCase name="ObjectUtils hasEquivalentValues should return true when comparing object with a null value" duration="0"/>
|
|
28
|
-
<testCase name="ObjectUtils hasEquivalentValues should return false when comparing object with null and non-null value" duration="0"/>
|
|
29
|
-
<testCase name="ObjectUtils hasEquivalentValues should return true when comparing non-object values that are equal" duration="0"/>
|
|
30
|
-
<testCase name="ObjectUtils should get an object value based on its path" duration="2"/>
|
|
31
|
-
<testCase name="ObjectUtils should get an object value based on its path" duration="1"/>
|
|
32
|
-
<testCase name="ObjectUtils should return undefined if the path doesn't exist in the object" duration="0"/>
|
|
33
|
-
</file>
|
|
34
19
|
<file path="/builds/dti/design-system/sankhyacore/test/util/MaskFormatter.spec.ts">
|
|
35
|
-
<testCase name="Mask Formatter mask:CPF complete valid" duration="
|
|
20
|
+
<testCase name="Mask Formatter mask:CPF complete valid" duration="3"/>
|
|
36
21
|
<testCase name="Mask Formatter mask:CPF complete valid literals" duration="1"/>
|
|
37
22
|
<testCase name="Mask Formatter mask:CPF incomplete valid" duration="1"/>
|
|
38
23
|
<testCase name="Mask Formatter mask:CPF incomplete valid placeholder" duration="1"/>
|
|
39
24
|
<testCase name="Mask Formatter mask:CPF too long valid" duration="1"/>
|
|
40
|
-
<testCase name="Mask Formatter mask:CPF invalid for string" duration="
|
|
41
|
-
<testCase name="Mask Formatter mask:CPF invalid for being too long" duration="
|
|
42
|
-
<testCase name="Mask Formatter mask:Licence plate valid uppercase" duration="
|
|
43
|
-
<testCase name="Mask Formatter mask:Licence plate valid lowercase" duration="
|
|
44
|
-
<testCase name="Mask Formatter mask:Licence plate invalid" duration="
|
|
45
|
-
<testCase name="Mask Formatter mask:Licence plate invalid for being too short" duration="
|
|
25
|
+
<testCase name="Mask Formatter mask:CPF invalid for string" duration="293"/>
|
|
26
|
+
<testCase name="Mask Formatter mask:CPF invalid for being too long" duration="0"/>
|
|
27
|
+
<testCase name="Mask Formatter mask:Licence plate valid uppercase" duration="0"/>
|
|
28
|
+
<testCase name="Mask Formatter mask:Licence plate valid lowercase" duration="0"/>
|
|
29
|
+
<testCase name="Mask Formatter mask:Licence plate invalid" duration="1"/>
|
|
30
|
+
<testCase name="Mask Formatter mask:Licence plate invalid for being too short" duration="0"/>
|
|
46
31
|
<testCase name="Mask Formatter mask:Licence plate invalid for being too short with placeholder" duration="1"/>
|
|
47
|
-
<testCase name="Mask Formatter mask:Licence plate invalid" duration="
|
|
32
|
+
<testCase name="Mask Formatter mask:Licence plate invalid" duration="79"/>
|
|
48
33
|
<testCase name="Mask Formatter mask:Licence plate with AlphaNumerical Mask" duration="1"/>
|
|
49
34
|
<testCase name="Mask Formatter mask:Licence plate with AlphaNumerical Mask with placeholder" duration="1"/>
|
|
50
|
-
<testCase name="Mask Formatter mask:Licence plate invalid" duration="
|
|
35
|
+
<testCase name="Mask Formatter mask:Licence plate invalid" duration="1"/>
|
|
51
36
|
<testCase name="Mask Formatter mask:Licence plate with AlphaNumerical Mask" duration="0"/>
|
|
52
37
|
<testCase name="Mask Formatter mask:Licence plate with AlphaNumerical Mask with placeholder" duration="1"/>
|
|
53
38
|
<testCase name="Mask Formatter mask:Licence plate invalid" duration="1"/>
|
|
@@ -55,128 +40,148 @@
|
|
|
55
40
|
<testCase name="Mask Formatter mask:Licence plate with AlphaNumerical Mask with placeholder" duration="1"/>
|
|
56
41
|
<testCase name="Mask Formatter mask:Licence plate invalid" duration="1"/>
|
|
57
42
|
</file>
|
|
58
|
-
<file path="/builds/dti/design-system/sankhyacore/test/http/HttpProvider.spec.ts">
|
|
59
|
-
<testCase name="HttpProvider Metodo GET" duration="1"/>
|
|
60
|
-
</file>
|
|
61
|
-
<file path="/builds/dti/design-system/sankhyacore/test/http/SkwHttpProvider.ts.spec.ts">
|
|
62
|
-
<testCase name="HttpProvider Metodo POST" duration="1"/>
|
|
63
|
-
</file>
|
|
64
|
-
<file path="/builds/dti/design-system/sankhyacore/test/util/CriteriaParameter.spec.ts">
|
|
65
|
-
<testCase name="StringUtils it should return the correct values of "value" and "type" through the getters methods initial setted by the constructor" duration="83"/>
|
|
66
|
-
<testCase name="StringUtils it should return the correct values of "value" and "type" through the getters methods initial setted by the setters methods" duration="1"/>
|
|
67
|
-
<testCase name="StringUtils it should return the correct JSON/Object value through the buildParam method" duration="0"/>
|
|
68
|
-
</file>
|
|
69
|
-
<file path="/builds/dti/design-system/sankhyacore/test/util/StringUtils.spec.ts">
|
|
70
|
-
<testCase name="StringUtils valor vazio" duration="105"/>
|
|
71
|
-
<testCase name="StringUtils valor em branco" duration="1"/>
|
|
72
|
-
<testCase name="StringUtils valor null" duration="0"/>
|
|
73
|
-
<testCase name="StringUtils valor undefined" duration="1"/>
|
|
74
|
-
<testCase name="StringUtils valor 0" duration="0"/>
|
|
75
|
-
<testCase name="StringUtils com valor" duration="0"/>
|
|
76
|
-
<testCase name="StringUtils substitui vogais com acento por vogais sem acento" duration="2"/>
|
|
77
|
-
<testCase name="StringUtils should return the original value when called with an object without a toString method" duration="1"/>
|
|
78
|
-
<testCase name="StringUtils should return the original value when called with undefined" duration="1"/>
|
|
79
|
-
</file>
|
|
80
43
|
<file path="/builds/dti/design-system/sankhyacore/test/util/NumberUtils.spec.ts">
|
|
81
|
-
<testCase name="StringUtils stringToNumber" duration="
|
|
82
|
-
<testCase name="StringUtils format" duration="
|
|
44
|
+
<testCase name="StringUtils stringToNumber" duration="91"/>
|
|
45
|
+
<testCase name="StringUtils format" duration="192"/>
|
|
46
|
+
<testCase name="StringUtils format without formatnumber parameter" duration="0"/>
|
|
83
47
|
<testCase name="StringUtils format without formatnumber parameter" duration="1"/>
|
|
84
|
-
<testCase name="StringUtils format without formatnumber parameter" duration="6"/>
|
|
85
48
|
<testCase name="StringUtils format round number" duration="2"/>
|
|
86
49
|
</file>
|
|
87
50
|
<file path="/builds/dti/design-system/sankhyacore/test/dataunit/loader/utils/dataUnitLoaderUtils.spec.ts">
|
|
88
|
-
<testCase name="Utility Functions applyFilter should return the original records if no filters are provided" duration="
|
|
51
|
+
<testCase name="Utility Functions applyFilter should return the original records if no filters are provided" duration="88"/>
|
|
89
52
|
<testCase name="Utility Functions applyFilter should filter records based on provided filters" duration="1"/>
|
|
90
53
|
<testCase name="Utility Functions buildPaginationInfo function should return correct pagination info with default values" duration="1"/>
|
|
91
54
|
<testCase name="Utility Functions buildPaginationInfo function should redosLenth as same size as recordsPerPage" duration="1"/>
|
|
92
55
|
<testCase name="Utility Functions buildPaginationInfo function should handle case when totalRecordsLength and offset 0" duration="0"/>
|
|
93
56
|
<testCase name="Utility Functions buildPaginationInfo function should handle case when currentPageLength is less than totalRecordsLength and lastPage" duration="1"/>
|
|
94
|
-
<testCase name="Utility Functions applySorting function should return the original records if no sorting is provided" duration="
|
|
57
|
+
<testCase name="Utility Functions applySorting function should return the original records if no sorting is provided" duration="1"/>
|
|
95
58
|
<testCase name="Utility Functions applySorting function should sort records based on provided sorting criteria" duration="1"/>
|
|
96
59
|
</file>
|
|
97
|
-
<file path="/builds/dti/design-system/sankhyacore/test/
|
|
98
|
-
<testCase name="
|
|
99
|
-
<testCase name="
|
|
100
|
-
<testCase name="
|
|
60
|
+
<file path="/builds/dti/design-system/sankhyacore/src/utils/test/objectUtils.spec.ts">
|
|
61
|
+
<testCase name="ObjectUtils hasEquivalentValues should return true if both objects have the same property value" duration="1"/>
|
|
62
|
+
<testCase name="ObjectUtils hasEquivalentValues should return false if both objects have different property values" duration="0"/>
|
|
63
|
+
<testCase name="ObjectUtils hasEquivalentValues should return true if both objects are equivalent with custom property to compare" duration="1"/>
|
|
64
|
+
<testCase name="ObjectUtils hasEquivalentValues should return false if both objects are not equivalent with custom property to compare" duration="0"/>
|
|
65
|
+
<testCase name="ObjectUtils hasEquivalentValues should return false if one object does not have the property" duration="1"/>
|
|
66
|
+
<testCase name="ObjectUtils hasEquivalentValues should return true if comparing primitive values directly" duration="0"/>
|
|
67
|
+
<testCase name="ObjectUtils hasEquivalentValues should return false if comparing different primitive values" duration="78"/>
|
|
68
|
+
<testCase name="ObjectUtils hasEquivalentValues should return true when comparing object with a null value" duration="1"/>
|
|
69
|
+
<testCase name="ObjectUtils hasEquivalentValues should return false when comparing object with null and non-null value" duration="0"/>
|
|
70
|
+
<testCase name="ObjectUtils hasEquivalentValues should return true when comparing non-object values that are equal" duration="1"/>
|
|
71
|
+
<testCase name="ObjectUtils should get an object value based on its path" duration="4"/>
|
|
72
|
+
<testCase name="ObjectUtils should get an object value based on its path" duration="0"/>
|
|
73
|
+
<testCase name="ObjectUtils should return undefined if the path doesn't exist in the object" duration="0"/>
|
|
74
|
+
</file>
|
|
75
|
+
<file path="/builds/dti/design-system/sankhyacore/test/util/OverflowWatcher.spec.ts">
|
|
76
|
+
<testCase name="OverflowWatcher should initialize with provided parameters" duration="88"/>
|
|
77
|
+
<testCase name="OverflowWatcher should disconect ResizeObserver when destroy is called" duration="2"/>
|
|
78
|
+
<testCase name="OverflowWatcher Should call callback on forceUpdate" duration="398"/>
|
|
79
|
+
<testCase name="OverflowWatcher Should call callback on forceUpdate with childSpan" duration="18"/>
|
|
80
|
+
<testCase name="OverflowWatcher Should call callback on forceUpdate with childSpan when notOverFlow is empty" duration="186"/>
|
|
81
|
+
<testCase name="OverflowWatcher Should call callback on forceUpdate with childSpan considering overflowed elements" duration="82"/>
|
|
82
|
+
<testCase name="OverflowWatcher Should call callback on forceUpdate with empty list" duration="4"/>
|
|
83
|
+
<testCase name="OverflowWatcher should ignore elements that can not overflow" duration="190"/>
|
|
84
|
+
<testCase name="OverflowWatcher Should not call callback on forceUpdate" duration="2"/>
|
|
85
|
+
</file>
|
|
86
|
+
<file path="/builds/dti/design-system/sankhyacore/test/util/StringUtils.spec.ts">
|
|
87
|
+
<testCase name="StringUtils valor vazio" duration="1"/>
|
|
88
|
+
<testCase name="StringUtils valor em branco" duration="0"/>
|
|
89
|
+
<testCase name="StringUtils valor null" duration="0"/>
|
|
90
|
+
<testCase name="StringUtils valor undefined" duration="0"/>
|
|
91
|
+
<testCase name="StringUtils valor 0" duration="0"/>
|
|
92
|
+
<testCase name="StringUtils com valor" duration="1"/>
|
|
93
|
+
<testCase name="StringUtils substitui vogais com acento por vogais sem acento" duration="1"/>
|
|
94
|
+
<testCase name="StringUtils should return the original value when called with an object without a toString method" duration="2"/>
|
|
95
|
+
<testCase name="StringUtils should return the original value when called with undefined" duration="1"/>
|
|
101
96
|
</file>
|
|
102
97
|
<file path="/builds/dti/design-system/sankhyacore/test/util/ColumnFilterManager.spec.ts">
|
|
103
|
-
<testCase name="ColumnFilterManager getColumnFilters should return an empty map if filters are undefined or empty" duration="
|
|
98
|
+
<testCase name="ColumnFilterManager getColumnFilters should return an empty map if filters are undefined or empty" duration="71"/>
|
|
104
99
|
<testCase name="ColumnFilterManager getColumnFilters should return a map of filters matching the pattern and not the provided fieldName" duration="1"/>
|
|
105
|
-
<testCase name="ColumnFilterManager getFilterFunction should return undefined if no filters are provided" duration="
|
|
106
|
-
<testCase name="ColumnFilterManager getFilterFunction should return a function that evaluates records based on filters" duration="
|
|
100
|
+
<testCase name="ColumnFilterManager getFilterFunction should return undefined if no filters are provided" duration="1"/>
|
|
101
|
+
<testCase name="ColumnFilterManager getFilterFunction should return a function that evaluates records based on filters" duration="2"/>
|
|
107
102
|
<testCase name="ColumnFilterManager getFilterFunction should return a function that evaluates records and return false" duration="1"/>
|
|
108
103
|
<testCase name="ColumnFilterManager compileDistinct should return an array of distinct field values formatted correctly" duration="1"/>
|
|
109
104
|
<testCase name="ColumnFilterManager compileDistinct should filter records if a load request is present" duration="1"/>
|
|
110
105
|
</file>
|
|
111
|
-
<file path="/builds/dti/design-system/sankhyacore/test/
|
|
112
|
-
<testCase name="
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
<testCase name="
|
|
116
|
-
<testCase name="
|
|
117
|
-
<testCase name="
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
<testCase name="
|
|
106
|
+
<file path="/builds/dti/design-system/sankhyacore/test/http/SkwHttpProvider.ts.spec.ts">
|
|
107
|
+
<testCase name="HttpProvider Metodo POST" duration="1"/>
|
|
108
|
+
</file>
|
|
109
|
+
<file path="/builds/dti/design-system/sankhyacore/test/util/CriteriaParameter.spec.ts">
|
|
110
|
+
<testCase name="StringUtils it should return the correct values of "value" and "type" through the getters methods initial setted by the constructor" duration="2"/>
|
|
111
|
+
<testCase name="StringUtils it should return the correct values of "value" and "type" through the getters methods initial setted by the setters methods" duration="0"/>
|
|
112
|
+
<testCase name="StringUtils it should return the correct JSON/Object value through the buildParam method" duration="1"/>
|
|
113
|
+
</file>
|
|
114
|
+
<file path="/builds/dti/design-system/sankhyacore/test/http/HttpProvider.spec.ts">
|
|
115
|
+
<testCase name="HttpProvider Metodo GET" duration="0"/>
|
|
121
116
|
</file>
|
|
122
117
|
<file path="/builds/dti/design-system/sankhyacore/src/dataunit/state/slice/test/RecordsSlice.spec.ts">
|
|
123
|
-
<testCase name="RecordsSlice should return newlines at the end" duration="
|
|
118
|
+
<testCase name="RecordsSlice should return newlines at the end" duration="5"/>
|
|
119
|
+
</file>
|
|
120
|
+
<file path="/builds/dti/design-system/sankhyacore/test/util/TimeFormatter.spec.ts">
|
|
121
|
+
<testCase name="TimeFormatter Case: input string unformated with showSeconds" duration="3"/>
|
|
122
|
+
<testCase name="TimeFormatter Case: input string unformated without showSeconds" duration="1"/>
|
|
123
|
+
<testCase name="TimeFormatter Case: validateTime" duration="2"/>
|
|
124
124
|
</file>
|
|
125
125
|
<file path="/builds/dti/design-system/sankhyacore/test/util/DataUnitStorage.spec.ts">
|
|
126
|
-
<testCase name="DataUnitStorage put should store a DataUnit instance in the DataUnitStorage" duration="
|
|
127
|
-
<testCase name="DataUnitStorage get should return the stored DataUnit instance from the DataUnitStorage" duration="
|
|
128
|
-
<testCase name="DataUnitStorage get should return undefined if the DataUnit instance is not found in the DataUnitStorage" duration="
|
|
126
|
+
<testCase name="DataUnitStorage put should store a DataUnit instance in the DataUnitStorage" duration="2"/>
|
|
127
|
+
<testCase name="DataUnitStorage get should return the stored DataUnit instance from the DataUnitStorage" duration="1"/>
|
|
128
|
+
<testCase name="DataUnitStorage get should return undefined if the DataUnit instance is not found in the DataUnitStorage" duration="0"/>
|
|
129
129
|
<testCase name="DataUnitStorage remove should remove the specified DataUnit instance from the DataUnitStorage" duration="1"/>
|
|
130
130
|
<testCase name="DataUnitStorage remove should remove the DataUnit instance with the specified name from the DataUnitStorage" duration="1"/>
|
|
131
|
-
<testCase name="DataUnitStorage remove should not remove any DataUnit instance if the specified DataUnit instance or name is not found in the DataUnitStorage" duration="
|
|
131
|
+
<testCase name="DataUnitStorage remove should not remove any DataUnit instance if the specified DataUnit instance or name is not found in the DataUnitStorage" duration="1"/>
|
|
132
132
|
</file>
|
|
133
133
|
<file path="/builds/dti/design-system/sankhyacore/src/dataunit/test/DataUnit.spec.ts">
|
|
134
|
-
<testCase name="DataUnit should return false when not waiting to reload" duration="
|
|
135
|
-
<testCase name="DataUnit should set waitingToReload to true" duration="
|
|
136
|
-
<testCase name="DataUnit should set waitingToReload to false" duration="
|
|
134
|
+
<testCase name="DataUnit should return false when not waiting to reload" duration="2"/>
|
|
135
|
+
<testCase name="DataUnit should set waitingToReload to true" duration="1"/>
|
|
136
|
+
<testCase name="DataUnit should set waitingToReload to false" duration="0"/>
|
|
137
137
|
<testCase name="DataUnit should dispatch SAVING_CANCELED action with correct fields and recordId" duration="1"/>
|
|
138
138
|
</file>
|
|
139
139
|
<file path="/builds/dti/design-system/sankhyacore/test/util/ElementIDUtils.spec.ts">
|
|
140
|
-
<testCase name="addIDInfo 1 - should add data-element-id with valid id "movFinanceira_snkApplication"" duration="
|
|
140
|
+
<testCase name="addIDInfo 1 - should add data-element-id with valid id "movFinanceira_snkApplication"" duration="12"/>
|
|
141
141
|
<testCase name="addIDInfo 2 - should add data-element-id with valid id "brComSankhyaFinCadMovimentacaofinanceira_snkApplication"" duration="2"/>
|
|
142
142
|
<testCase name="addIDInfo 3 - should add data-element-id with valid id "movFinanceira_br.com.sankhya.fin.cad.movimentacaoFinanceira"" duration="2"/>
|
|
143
143
|
<testCase name="addIDInfo 4 - should add data-element-id with valid id "meuID2_snkApplication"" duration="1"/>
|
|
144
144
|
<testCase name="addIDInfo 5 - should add data-element-id with valid id "movFinanceira_snkApplication"" duration="1"/>
|
|
145
|
-
<testCase name="addIDInfo 6 - should add data-element-id with valid id "movFinanceira_snkApplication"" duration="
|
|
145
|
+
<testCase name="addIDInfo 6 - should add data-element-id with valid id "movFinanceira_snkApplication"" duration="78"/>
|
|
146
146
|
<testCase name="addIDInfo 7 - should add data-element-id with valid id "componenteNameTest_snkApplication"" duration="1"/>
|
|
147
|
-
<testCase name="addIDInfo 8 - should add data-element-id with valid id "componentLabel_snkApplication"" duration="
|
|
147
|
+
<testCase name="addIDInfo 8 - should add data-element-id with valid id "componentLabel_snkApplication"" duration="1"/>
|
|
148
148
|
<testCase name="addIDInfo 9 - should add data-element-id with valid id "dataunitFinanceiro_br.com.sankhya.fin.cad.movimentacaoFinanceira"" duration="2"/>
|
|
149
|
-
<testCase name="addIDInfo 10 - should add data-element-id with valid id "dataunitFinanceiro_meuIDTeste_br.com.sankhya.fin.cad.movimentacaoFinanceira"" duration="
|
|
149
|
+
<testCase name="addIDInfo 10 - should add data-element-id with valid id "dataunitFinanceiro_meuIDTeste_br.com.sankhya.fin.cad.movimentacaoFinanceira"" duration="2"/>
|
|
150
150
|
<testCase name="addIDInfo 11 - should add data-element-id with valid id "dataunitFinanceiro_meuIDTeste_movimentacaoFinanceira"" duration="1"/>
|
|
151
151
|
<testCase name="addIDInfo 12 - should add data-element-id with valid id "dataunitFinanceiro_movFinanceira_movimentacaoFinanceira"" duration="2"/>
|
|
152
|
-
<testCase name="addIDInfo 13 - should add data-element-id with valid id "dataunitFinanceiro_meuIDTeste_movimentacaoFinanceira"" duration="
|
|
152
|
+
<testCase name="addIDInfo 13 - should add data-element-id with valid id "dataunitFinanceiro_meuIDTeste_movimentacaoFinanceira"" duration="1"/>
|
|
153
153
|
<testCase name="addIDInfo 14 - should add data-element-id with valid id "dataunitFinanceiro_meuIdTeste_movimentacaoFinanceira"" duration="2"/>
|
|
154
154
|
<testCase name="addIDInfo 15 - should add data-element-id with valid id "dataunitFinanceiro_meuIdTeste_snkApplication"" duration="1"/>
|
|
155
155
|
<testCase name="addIDInfo 16 - should add data-element-id with valid id "dataunitFinanceiro_meuIdTeste_snkApplication"" duration="1"/>
|
|
156
156
|
<testCase name="addIDInfo 17 - should add data-element-id with valid id "movFinanceira_movimentacaoFinanceira"" duration="1"/>
|
|
157
|
-
<testCase name="addIDInfo 18 - should add data-element-id with valid id "movFinanceira_movimentacaoFinanceira"" duration="
|
|
158
|
-
<testCase name="addIDInfo 19 - should add data-element-id with valid id "movFinanceira_movimentacaoFinanceira"" duration="
|
|
157
|
+
<testCase name="addIDInfo 18 - should add data-element-id with valid id "movFinanceira_movimentacaoFinanceira"" duration="1"/>
|
|
158
|
+
<testCase name="addIDInfo 19 - should add data-element-id with valid id "movFinanceira_movimentacaoFinanceira"" duration="0"/>
|
|
159
159
|
<testCase name="addIDInfo 20 - should add data-element-id with valid id "movFinanceira_movimentacaoFinanceira"" duration="1"/>
|
|
160
160
|
<testCase name="addIDInfo 21 - should add data-element-id with valid id "movFinanceira_movimentacaoFinanceira"" duration="1"/>
|
|
161
|
-
<testCase name="addIDInfo 22 - should add data-element-id with valid id "bancoObrigatorio_movimentacaoFinanceira"" duration="
|
|
161
|
+
<testCase name="addIDInfo 22 - should add data-element-id with valid id "bancoObrigatorio_movimentacaoFinanceira"" duration="3"/>
|
|
162
|
+
</file>
|
|
163
|
+
<file path="/builds/dti/design-system/sankhyacore/test/util/ElementUtils.spec.ts">
|
|
164
|
+
<testCase name="calcMarginSize should calculate correctly the size of horizontal margin" duration="21"/>
|
|
165
|
+
<testCase name="calcMarginSize should calculate correctly the size of vertical margin" duration="2"/>
|
|
166
|
+
<testCase name="calcMarginSize should threat values defined as zero" duration="4"/>
|
|
162
167
|
</file>
|
|
163
168
|
<file path="/builds/dti/design-system/sankhyacore/test/dataunit/loader/dataUnitInMemoryLoader.spec.ts">
|
|
164
|
-
<testCase name="DataUnitInMemoryLoader - loadData should be called load data when auto load is true" duration="
|
|
169
|
+
<testCase name="DataUnitInMemoryLoader - loadData should be called load data when auto load is true" duration="55"/>
|
|
165
170
|
<testCase name="DataUnitInMemoryLoader - loadData should be called load data when auto load is undefined" duration="2"/>
|
|
166
171
|
<testCase name="DataUnitInMemoryLoader - loadData should not be called load data when auto load is false" duration="1"/>
|
|
167
172
|
<testCase name="DataUnitInMemoryLoader - loadData should be called load data when config is undefined" duration="1"/>
|
|
168
173
|
<testCase name="DataUnitInMemoryLoader - getConvertedValue should return the original string if descriptor is undefined" duration="1"/>
|
|
169
174
|
<testCase name="DataUnitInMemoryLoader - getConvertedValue should return the original string if dataType is TEXT" duration="0"/>
|
|
170
175
|
<testCase name="DataUnitInMemoryLoader - getConvertedValue should convert to boolean when dataType is BOOLEAN" duration="1"/>
|
|
171
|
-
<testCase name="DataUnitInMemoryLoader - getConvertedValue should convert to number when dataType is NUMBER" duration="
|
|
176
|
+
<testCase name="DataUnitInMemoryLoader - getConvertedValue should convert to number when dataType is NUMBER" duration="0"/>
|
|
172
177
|
<testCase name="DataUnitInMemoryLoader - getConvertedValue should parse JSON when dataType is OBJECT" duration="1"/>
|
|
173
178
|
<testCase name="DataUnitInMemoryLoader - getConvertedValue should convert to date when dataType is DATE and format is ISO" duration="1"/>
|
|
174
|
-
<testCase name="DataUnitInMemoryLoader - getConvertedValue should convert to date when dataType is DATE and format is not ISO" duration="
|
|
175
|
-
<testCase name="DataUnitInMemoryLoader - getConvertedValue should return the original string if no dataType matches" duration="
|
|
179
|
+
<testCase name="DataUnitInMemoryLoader - getConvertedValue should convert to date when dataType is DATE and format is not ISO" duration="1"/>
|
|
180
|
+
<testCase name="DataUnitInMemoryLoader - getConvertedValue should return the original string if no dataType matches" duration="0"/>
|
|
176
181
|
<testCase name="DataUnitInMemoryLoader - removeLoader should resolve with the provided record IDs" duration="1"/>
|
|
177
182
|
<testCase name="DataUnitInMemoryLoader - removeLoader should handle empty record ID array" duration="1"/>
|
|
178
183
|
<testCase name="DataUnitInMemoryLoader - removeLoader should resolve the promise" duration="1"/>
|
|
179
|
-
<testCase name="DataUnitInMemoryLoader - buildInitialRecords (indiretamente via set records) should build initial records and convert field values based on metadata" duration="
|
|
184
|
+
<testCase name="DataUnitInMemoryLoader - buildInitialRecords (indiretamente via set records) should build initial records and convert field values based on metadata" duration="3"/>
|
|
180
185
|
<testCase name="DataUnitInMemoryLoader - buildInitialRecords (indiretamente via set records) should generate unique IDs for records without "__record__id__"" duration="2"/>
|
|
181
186
|
<testCase name="DataUnitInMemoryLoader - buildInitialRecords (indiretamente via set records) should leave fields untouched if no matching metadata exists" duration="2"/>
|
|
182
187
|
<testCase name="DataUnitInMemoryLoader - buildInitialRecords (indiretamente via set records) should skip conversion for non-string field values" duration="1"/>
|
|
@@ -184,32 +189,27 @@
|
|
|
184
189
|
<file path="/builds/dti/design-system/sankhyacore/test/dataunit/formatting/PrettyFormatter.spec.ts">
|
|
185
190
|
<testCase name="getFormattedValue should return empty string when value is null" duration="6"/>
|
|
186
191
|
<testCase name="getFormattedValue should return empty string when value is not an array" duration="1"/>
|
|
187
|
-
<testCase name="getFormattedValue should return empty string when value is an empty array" duration="
|
|
188
|
-
<testCase name="getFormattedValue should return file name when value is an array with one file object" duration="
|
|
189
|
-
<testCase name="getFormattedValue should return file count when value is an array with multiple file objects" duration="
|
|
190
|
-
<testCase name="getFormattedValue should return empty string for undefined file" duration="
|
|
191
|
-
<testCase name="getFormattedValue should handle OBJECT type with value field" duration="
|
|
192
|
-
<testCase name="getFormattedValue should return empty string when value is undefined" duration="
|
|
193
|
-
<testCase name="getFormattedValue should return value as string when value is not an object" duration="
|
|
192
|
+
<testCase name="getFormattedValue should return empty string when value is an empty array" duration="0"/>
|
|
193
|
+
<testCase name="getFormattedValue should return file name when value is an array with one file object" duration="1"/>
|
|
194
|
+
<testCase name="getFormattedValue should return file count when value is an array with multiple file objects" duration="0"/>
|
|
195
|
+
<testCase name="getFormattedValue should return empty string for undefined file" duration="1"/>
|
|
196
|
+
<testCase name="getFormattedValue should handle OBJECT type with value field" duration="0"/>
|
|
197
|
+
<testCase name="getFormattedValue should return empty string when value is undefined" duration="1"/>
|
|
198
|
+
<testCase name="getFormattedValue should return value as string when value is not an object" duration="0"/>
|
|
194
199
|
<testCase name="getFormattedValue should return value.toString() when value is an object without value property" duration="0"/>
|
|
195
200
|
<testCase name="getFormattedValue should handle BOOLEAN type" duration="1"/>
|
|
196
201
|
<testCase name="getFormattedValue should format numbers correctly" duration="14"/>
|
|
197
|
-
<testCase name="getFormattedValue should format dates correctly" duration="
|
|
198
|
-
<testCase name="getFormattedValue should format times correctly" duration="
|
|
199
|
-
<testCase name="getFormattedValue should format datetime correctly" duration="
|
|
200
|
-
<testCase name="getFormattedValue should call toString with correct parameters" duration="
|
|
202
|
+
<testCase name="getFormattedValue should format dates correctly" duration="64"/>
|
|
203
|
+
<testCase name="getFormattedValue should format times correctly" duration="1"/>
|
|
204
|
+
<testCase name="getFormattedValue should format datetime correctly" duration="0"/>
|
|
205
|
+
<testCase name="getFormattedValue should call toString with correct parameters" duration="1"/>
|
|
201
206
|
<testCase name="getFormattedValue should handle undefined descriptor gracefully" duration="1"/>
|
|
202
|
-
<testCase name="getFormattedValue should format value correctly with OPTIONSELECTOR and matching option" duration="
|
|
203
|
-
<testCase name="getFormattedValue should return value with OPTIONSELECTOR and no matching option" duration="
|
|
207
|
+
<testCase name="getFormattedValue should format value correctly with OPTIONSELECTOR and matching option" duration="0"/>
|
|
208
|
+
<testCase name="getFormattedValue should return value with OPTIONSELECTOR and no matching option" duration="1"/>
|
|
204
209
|
<testCase name="getFormattedValue should format value correctly with OPTIONSELECTOR and value as object" duration="0"/>
|
|
205
210
|
<testCase name="getFormattedValue should return empty string with OPTIONSELECTOR and value as null" duration="0"/>
|
|
206
211
|
<testCase name="getFormattedValue should format value correctly with OPTIONSELECTOR and options as JSON string" duration="1"/>
|
|
207
212
|
<testCase name="getFormattedValue should return value with OPTIONSELECTOR and options as empty array" duration="0"/>
|
|
208
213
|
<testCase name="getFormattedValue should format masked values correctly" duration="1"/>
|
|
209
214
|
</file>
|
|
210
|
-
<file path="/builds/dti/design-system/sankhyacore/test/util/ElementUtils.spec.ts">
|
|
211
|
-
<testCase name="calcMarginSize should calculate correctly the size of horizontal margin" duration="78"/>
|
|
212
|
-
<testCase name="calcMarginSize should calculate correctly the size of vertical margin" duration="2"/>
|
|
213
|
-
<testCase name="calcMarginSize should threat values defined as zero" duration="10"/>
|
|
214
|
-
</file>
|
|
215
215
|
</unitTest>
|
|
@@ -77,6 +77,10 @@ const getSearchFormat = (value: any, descriptor: FieldDescriptor) => {
|
|
|
77
77
|
return label ? `${codeValue} - ${label}` : codeValue;
|
|
78
78
|
}
|
|
79
79
|
|
|
80
|
+
if(descriptor.userInterface === UserInterface.SEARCHPLUS){
|
|
81
|
+
return codeValue;
|
|
82
|
+
}
|
|
83
|
+
|
|
80
84
|
return label ? label : codeValue;
|
|
81
85
|
}
|
|
82
86
|
|