@sankhyalabs/core 6.0.1 → 6.0.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.
|
@@ -41,8 +41,8 @@ export class DataUnitInMemoryLoader {
|
|
|
41
41
|
this._initialRecords = this.buildInitialRecords(records, columns);
|
|
42
42
|
if (!this._dataUnit)
|
|
43
43
|
return;
|
|
44
|
-
//Isso força o refresh internamente no datunit
|
|
45
|
-
this._dataUnit.
|
|
44
|
+
//Isso força o refresh internamente no datunit mantendo a seleção anterior
|
|
45
|
+
this._dataUnit.loadDataWithParams({ keepSelection: true });
|
|
46
46
|
}
|
|
47
47
|
static getConvertedValue(descriptor, strValue, dateFormat) {
|
|
48
48
|
if (!descriptor)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dataUnitInMemoryLoader.js","sourceRoot":"","sources":["../../../src/dataunit/loader/dataUnitInMemoryLoader.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,eAAe,EACf,QAAQ,EACR,QAAQ,EACR,SAAS,EAMT,WAAW,GAEZ,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAgC,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AACrG,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AAErE,MAAM,OAAO,sBAAsB;IAQjC,YAAY,QAAuB,EAAE,OAAuB,EAAE,MAAqC;;QAL3F,oBAAe,GAAkB,EAAE,CAAC;QAO1C,IAAI,CAAC,QAAQ,GAAG,QAAwB,CAAC;QACzC,IAAI,CAAC,gBAAgB,GAAG,MAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,gBAAgB,mCAAI,kBAAkB,CAAC,UAAU,CAAC;QAClF,IAAI,CAAC,OAAO,GAAG,OAAO,aAAP,OAAO,cAAP,OAAO,GAAI,EAAmB,CAAC;QAE9C,IAAI,CAAC,SAAS,GAAG,IAAI,QAAQ,CAAC,sBAAsB,CAAC,wBAAwB,CA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,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC,GAAG,aAAa,CAAC;iBAC3C;gBAED,eAAe,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;YACtC,CAAC,CAAC,CAAC;YAEH,OAAO,CAAC,eAAe,CAAC,CAAC;QAC3B,CAAC,CAAC,CAAC;IACL,CAAC;IAEM,YAAY,CAAC,SAAmB,EAAE,SAAwB;QAC/D,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC;IACtD,CAAC;;AAxJsB,+CAAwB,GAAG,kBAAkB,CAAC;AAC9C,wCAAiB,GAAG,GAAG,CAAC"}
|
package/package.json
CHANGED
package/reports/test-report.xml
CHANGED
|
@@ -1,215 +1,215 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
2
|
<unitTest version="1">
|
|
3
|
-
<file path="/builds/dti/design-system/sankhyacore/src/utils/test/objectUtils.spec.ts">
|
|
4
|
-
<testCase name="ObjectUtils hasEquivalentValues should return true if both objects have the same property value" duration="208"/>
|
|
5
|
-
<testCase name="ObjectUtils hasEquivalentValues should return false if both objects have different property values" duration="1"/>
|
|
6
|
-
<testCase name="ObjectUtils hasEquivalentValues should return true if both objects are equivalent with custom property to compare" duration="0"/>
|
|
7
|
-
<testCase name="ObjectUtils hasEquivalentValues should return false if both objects are not equivalent with custom property to compare" duration="0"/>
|
|
8
|
-
<testCase name="ObjectUtils hasEquivalentValues should return false if one object does not have the property" duration="0"/>
|
|
9
|
-
<testCase name="ObjectUtils hasEquivalentValues should return true if comparing primitive values directly" duration="0"/>
|
|
10
|
-
<testCase name="ObjectUtils hasEquivalentValues should return false if comparing different primitive values" duration="1"/>
|
|
11
|
-
<testCase name="ObjectUtils hasEquivalentValues should return true when comparing object with a null value" duration="0"/>
|
|
12
|
-
<testCase name="ObjectUtils hasEquivalentValues should return false when comparing object with null and non-null value" duration="0"/>
|
|
13
|
-
<testCase name="ObjectUtils hasEquivalentValues should return true when comparing non-object values that are equal" duration="1"/>
|
|
14
|
-
<testCase name="ObjectUtils should get an object value based on its path" duration="77"/>
|
|
15
|
-
<testCase name="ObjectUtils should get an object value based on its path" duration="1"/>
|
|
16
|
-
<testCase name="ObjectUtils should return undefined if the path doesn't exist in the object" duration="0"/>
|
|
17
|
-
</file>
|
|
18
3
|
<file path="/builds/dti/design-system/sankhyacore/test/util/CriteriaModel.spec.ts">
|
|
19
|
-
<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="25"/>
|
|
20
5
|
<testCase name="StringUtils it should modify "expressions" and "parameters" properties through Setters methods" duration="1"/>
|
|
21
6
|
<testCase name="StringUtils it should return "expression" and "parameters" setted through constructor method" duration="1"/>
|
|
22
|
-
<testCase name="StringUtils it should return a Criteria class with "expression" and "parameters" as needed setted through "append" method" duration="
|
|
7
|
+
<testCase name="StringUtils it should return a Criteria class with "expression" and "parameters" as needed setted through "append" method" duration="1"/>
|
|
23
8
|
<testCase name="StringUtils it should return a Criteria class with "Criteria class" and "parameters" concatenaded as needed setted through "append" method" duration="1"/>
|
|
24
|
-
<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="
|
|
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="25"/>
|
|
25
10
|
<testCase name="StringUtils it should return a Criteria class with "Expression" and "parameters" concatenaded as needed setted through "OR" method" duration="1"/>
|
|
26
|
-
<testCase name="StringUtils it should return a Criteria class with "Criteria class" and "parameters" concatenaded as needed setted through "OR" method" duration="2"/>
|
|
27
11
|
<testCase name="StringUtils it should return a Criteria class with "Criteria class" and "parameters" concatenaded as needed setted through "OR" method" duration="1"/>
|
|
28
|
-
<testCase name="StringUtils it should return a Criteria class with "
|
|
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="73"/>
|
|
29
14
|
<testCase name="StringUtils it should return a Criteria class with "Criteria class" and "parameters" concatenaded as needed setted through "AND" method" duration="1"/>
|
|
30
15
|
<testCase name="StringUtils it should return a Criteria class with "Criteria class" and "parameters" concatenaded as needed setted through "AND" method" duration="1"/>
|
|
31
16
|
<testCase name="StringUtils it should return a toJSON object with "Criteria class" and "parameters" concatenaded as needed setted through "AND" method" duration="1"/>
|
|
32
|
-
<testCase name="StringUtils it should return a toJSON object with through empty constructor" duration="
|
|
33
|
-
</file>
|
|
34
|
-
<file path="/builds/dti/design-system/sankhyacore/test/http/HttpProvider.spec.ts">
|
|
35
|
-
<testCase name="HttpProvider Metodo GET" duration="1"/>
|
|
17
|
+
<testCase name="StringUtils it should return a toJSON object with through empty constructor" duration="1"/>
|
|
36
18
|
</file>
|
|
37
19
|
<file path="/builds/dti/design-system/sankhyacore/test/util/MaskFormatter.spec.ts">
|
|
38
|
-
<testCase name="Mask Formatter mask:CPF complete valid" duration="
|
|
39
|
-
<testCase name="Mask Formatter mask:CPF complete valid literals" duration="
|
|
40
|
-
<testCase name="Mask Formatter mask:CPF incomplete valid" duration="
|
|
41
|
-
<testCase name="Mask Formatter mask:CPF incomplete valid placeholder" duration="
|
|
20
|
+
<testCase name="Mask Formatter mask:CPF complete valid" duration="2"/>
|
|
21
|
+
<testCase name="Mask Formatter mask:CPF complete valid literals" duration="0"/>
|
|
22
|
+
<testCase name="Mask Formatter mask:CPF incomplete valid" duration="10"/>
|
|
23
|
+
<testCase name="Mask Formatter mask:CPF incomplete valid placeholder" duration="0"/>
|
|
42
24
|
<testCase name="Mask Formatter mask:CPF too long valid" duration="1"/>
|
|
43
|
-
<testCase name="Mask Formatter mask:CPF invalid for string" duration="
|
|
25
|
+
<testCase name="Mask Formatter mask:CPF invalid for string" duration="108"/>
|
|
44
26
|
<testCase name="Mask Formatter mask:CPF invalid for being too long" duration="1"/>
|
|
45
|
-
<testCase name="Mask Formatter mask:Licence plate valid uppercase" duration="
|
|
46
|
-
<testCase name="Mask Formatter mask:Licence plate valid lowercase" duration="
|
|
47
|
-
<testCase name="Mask Formatter mask:Licence plate invalid" duration="
|
|
48
|
-
<testCase name="Mask Formatter mask:Licence plate invalid for being too short" duration="
|
|
49
|
-
<testCase name="Mask Formatter mask:Licence plate invalid for being too short with placeholder" duration="
|
|
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="2"/>
|
|
30
|
+
<testCase name="Mask Formatter mask:Licence plate invalid for being too short" duration="1"/>
|
|
31
|
+
<testCase name="Mask Formatter mask:Licence plate invalid for being too short with placeholder" duration="0"/>
|
|
32
|
+
<testCase name="Mask Formatter mask:Licence plate invalid" duration="2"/>
|
|
33
|
+
<testCase name="Mask Formatter mask:Licence plate with AlphaNumerical Mask" duration="1"/>
|
|
34
|
+
<testCase name="Mask Formatter mask:Licence plate with AlphaNumerical Mask with placeholder" duration="0"/>
|
|
50
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"/>
|
|
54
|
-
<testCase name="Mask Formatter mask:Licence plate with AlphaNumerical Mask" duration="
|
|
55
|
-
<testCase name="Mask Formatter mask:Licence plate with AlphaNumerical Mask with placeholder" duration="
|
|
56
|
-
<testCase name="Mask Formatter mask:Licence plate invalid" duration="1"/>
|
|
57
|
-
<testCase name="Mask Formatter mask:Licence plate with AlphaNumerical Mask" duration="0"/>
|
|
58
|
-
<testCase name="Mask Formatter mask:Licence plate with AlphaNumerical Mask with placeholder" duration="1"/>
|
|
39
|
+
<testCase name="Mask Formatter mask:Licence plate with AlphaNumerical Mask" duration="1"/>
|
|
40
|
+
<testCase name="Mask Formatter mask:Licence plate with AlphaNumerical Mask with placeholder" duration="0"/>
|
|
59
41
|
<testCase name="Mask Formatter mask:Licence plate invalid" duration="1"/>
|
|
60
42
|
</file>
|
|
61
|
-
<file path="/builds/dti/design-system/sankhyacore/test/
|
|
62
|
-
<testCase name="
|
|
43
|
+
<file path="/builds/dti/design-system/sankhyacore/test/util/OverflowWatcher.spec.ts">
|
|
44
|
+
<testCase name="OverflowWatcher should initialize with provided parameters" duration="104"/>
|
|
45
|
+
<testCase name="OverflowWatcher should disconect ResizeObserver when destroy is called" duration="3"/>
|
|
46
|
+
<testCase name="OverflowWatcher Should call callback on forceUpdate" duration="317"/>
|
|
47
|
+
<testCase name="OverflowWatcher Should call callback on forceUpdate with childSpan" duration="177"/>
|
|
48
|
+
<testCase name="OverflowWatcher Should call callback on forceUpdate with childSpan when notOverFlow is empty" duration="103"/>
|
|
49
|
+
<testCase name="OverflowWatcher Should call callback on forceUpdate with childSpan considering overflowed elements" duration="16"/>
|
|
50
|
+
<testCase name="OverflowWatcher Should call callback on forceUpdate with empty list" duration="68"/>
|
|
51
|
+
<testCase name="OverflowWatcher should ignore elements that can not overflow" duration="23"/>
|
|
52
|
+
<testCase name="OverflowWatcher Should not call callback on forceUpdate" duration="1"/>
|
|
63
53
|
</file>
|
|
64
|
-
<file path="/builds/dti/design-system/sankhyacore/test/
|
|
65
|
-
<testCase name="
|
|
66
|
-
<testCase name="
|
|
67
|
-
<testCase name="
|
|
54
|
+
<file path="/builds/dti/design-system/sankhyacore/test/dataunit/loader/utils/dataUnitLoaderUtils.spec.ts">
|
|
55
|
+
<testCase name="Utility Functions applyFilter should return the original records if no filters are provided" duration="91"/>
|
|
56
|
+
<testCase name="Utility Functions applyFilter should filter records based on provided filters" duration="1"/>
|
|
57
|
+
<testCase name="Utility Functions buildPaginationInfo function should return correct pagination info with default values" duration="2"/>
|
|
58
|
+
<testCase name="Utility Functions buildPaginationInfo function should redosLenth as same size as recordsPerPage" duration="1"/>
|
|
59
|
+
<testCase name="Utility Functions buildPaginationInfo function should handle case when totalRecordsLength and offset 0" duration="1"/>
|
|
60
|
+
<testCase name="Utility Functions buildPaginationInfo function should handle case when currentPageLength is less than totalRecordsLength and lastPage" duration="0"/>
|
|
61
|
+
<testCase name="Utility Functions applySorting function should return the original records if no sorting is provided" duration="1"/>
|
|
62
|
+
<testCase name="Utility Functions applySorting function should sort records based on provided sorting criteria" duration="1"/>
|
|
68
63
|
</file>
|
|
69
64
|
<file path="/builds/dti/design-system/sankhyacore/test/util/NumberUtils.spec.ts">
|
|
70
|
-
<testCase name="StringUtils stringToNumber" duration="
|
|
71
|
-
<testCase name="StringUtils format" duration="
|
|
72
|
-
<testCase name="StringUtils format without formatnumber parameter" duration="
|
|
73
|
-
<testCase name="StringUtils format without formatnumber parameter" duration="
|
|
74
|
-
<testCase name="StringUtils format round number" duration="
|
|
65
|
+
<testCase name="StringUtils stringToNumber" duration="102"/>
|
|
66
|
+
<testCase name="StringUtils format" duration="188"/>
|
|
67
|
+
<testCase name="StringUtils format without formatnumber parameter" duration="2"/>
|
|
68
|
+
<testCase name="StringUtils format without formatnumber parameter" duration="2"/>
|
|
69
|
+
<testCase name="StringUtils format round number" duration="90"/>
|
|
70
|
+
</file>
|
|
71
|
+
<file path="/builds/dti/design-system/sankhyacore/src/utils/test/objectUtils.spec.ts">
|
|
72
|
+
<testCase name="ObjectUtils hasEquivalentValues should return true if both objects have the same property value" duration="8"/>
|
|
73
|
+
<testCase name="ObjectUtils hasEquivalentValues should return false if both objects have different property values" duration="0"/>
|
|
74
|
+
<testCase name="ObjectUtils hasEquivalentValues should return true if both objects are equivalent with custom property to compare" duration="1"/>
|
|
75
|
+
<testCase name="ObjectUtils hasEquivalentValues should return false if both objects are not equivalent with custom property to compare" duration="0"/>
|
|
76
|
+
<testCase name="ObjectUtils hasEquivalentValues should return false if one object does not have the property" duration="1"/>
|
|
77
|
+
<testCase name="ObjectUtils hasEquivalentValues should return true if comparing primitive values directly" duration="1"/>
|
|
78
|
+
<testCase name="ObjectUtils hasEquivalentValues should return false if comparing different primitive values" duration="1"/>
|
|
79
|
+
<testCase name="ObjectUtils hasEquivalentValues should return true when comparing object with a null value" duration="1"/>
|
|
80
|
+
<testCase name="ObjectUtils hasEquivalentValues should return false when comparing object with null and non-null value" duration="0"/>
|
|
81
|
+
<testCase name="ObjectUtils hasEquivalentValues should return true when comparing non-object values that are equal" duration="1"/>
|
|
82
|
+
<testCase name="ObjectUtils should get an object value based on its path" duration="1"/>
|
|
83
|
+
<testCase name="ObjectUtils should get an object value based on its path" duration="0"/>
|
|
84
|
+
<testCase name="ObjectUtils should return undefined if the path doesn't exist in the object" duration="5"/>
|
|
75
85
|
</file>
|
|
76
86
|
<file path="/builds/dti/design-system/sankhyacore/test/util/StringUtils.spec.ts">
|
|
77
|
-
<testCase name="StringUtils valor vazio" duration="
|
|
78
|
-
<testCase name="StringUtils valor em branco" duration="
|
|
87
|
+
<testCase name="StringUtils valor vazio" duration="2"/>
|
|
88
|
+
<testCase name="StringUtils valor em branco" duration="1"/>
|
|
79
89
|
<testCase name="StringUtils valor null" duration="0"/>
|
|
80
90
|
<testCase name="StringUtils valor undefined" duration="0"/>
|
|
81
|
-
<testCase name="StringUtils valor 0" duration="
|
|
91
|
+
<testCase name="StringUtils valor 0" duration="1"/>
|
|
82
92
|
<testCase name="StringUtils com valor" duration="1"/>
|
|
83
|
-
<testCase name="StringUtils substitui vogais com acento por vogais sem acento" duration="
|
|
84
|
-
<testCase name="StringUtils should return the original value when called with an object without a toString method" duration="
|
|
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="3"/>
|
|
85
95
|
<testCase name="StringUtils should return the original value when called with undefined" duration="1"/>
|
|
86
96
|
</file>
|
|
87
97
|
<file path="/builds/dti/design-system/sankhyacore/test/util/ColumnFilterManager.spec.ts">
|
|
88
|
-
<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="1"/>
|
|
89
99
|
<testCase name="ColumnFilterManager getColumnFilters should return a map of filters matching the pattern and not the provided fieldName" duration="1"/>
|
|
90
100
|
<testCase name="ColumnFilterManager getFilterFunction should return undefined if no filters are provided" duration="1"/>
|
|
91
|
-
<testCase name="ColumnFilterManager getFilterFunction should return a function that evaluates records based on filters" duration="
|
|
92
|
-
<testCase name="ColumnFilterManager getFilterFunction should return a function that evaluates records and return false" duration="
|
|
101
|
+
<testCase name="ColumnFilterManager getFilterFunction should return a function that evaluates records based on filters" duration="1"/>
|
|
102
|
+
<testCase name="ColumnFilterManager getFilterFunction should return a function that evaluates records and return false" duration="0"/>
|
|
93
103
|
<testCase name="ColumnFilterManager compileDistinct should return an array of distinct field values formatted correctly" duration="1"/>
|
|
94
|
-
<testCase name="ColumnFilterManager compileDistinct should filter records if a load request is present" duration="
|
|
104
|
+
<testCase name="ColumnFilterManager compileDistinct should filter records if a load request is present" duration="1"/>
|
|
95
105
|
</file>
|
|
96
|
-
<file path="/builds/dti/design-system/sankhyacore/test/
|
|
97
|
-
<testCase name="
|
|
98
|
-
<testCase name="Utility Functions applyFilter should filter records based on provided filters" duration="2"/>
|
|
99
|
-
<testCase name="Utility Functions buildPaginationInfo function should return correct pagination info with default values" duration="1"/>
|
|
100
|
-
<testCase name="Utility Functions buildPaginationInfo function should redosLenth as same size as recordsPerPage" duration="73"/>
|
|
101
|
-
<testCase name="Utility Functions buildPaginationInfo function should handle case when totalRecordsLength and offset 0" duration="1"/>
|
|
102
|
-
<testCase name="Utility Functions buildPaginationInfo function should handle case when currentPageLength is less than totalRecordsLength and lastPage" duration="1"/>
|
|
103
|
-
<testCase name="Utility Functions applySorting function should return the original records if no sorting is provided" duration="1"/>
|
|
104
|
-
<testCase name="Utility Functions applySorting function should sort records based on provided sorting criteria" duration="1"/>
|
|
106
|
+
<file path="/builds/dti/design-system/sankhyacore/test/http/HttpProvider.spec.ts">
|
|
107
|
+
<testCase name="HttpProvider Metodo GET" duration="1"/>
|
|
105
108
|
</file>
|
|
106
|
-
<file path="/builds/dti/design-system/sankhyacore/test/
|
|
107
|
-
<testCase name="
|
|
108
|
-
<testCase name="OverflowWatcher should disconect ResizeObserver when destroy is called" duration="1"/>
|
|
109
|
-
<testCase name="OverflowWatcher Should call callback on forceUpdate" duration="381"/>
|
|
110
|
-
<testCase name="OverflowWatcher Should call callback on forceUpdate with childSpan" duration="100"/>
|
|
111
|
-
<testCase name="OverflowWatcher Should call callback on forceUpdate with childSpan when notOverFlow is empty" duration="196"/>
|
|
112
|
-
<testCase name="OverflowWatcher Should call callback on forceUpdate with childSpan considering overflowed elements" duration="31"/>
|
|
113
|
-
<testCase name="OverflowWatcher Should call callback on forceUpdate with empty list" duration="69"/>
|
|
114
|
-
<testCase name="OverflowWatcher should ignore elements that can not overflow" duration="108"/>
|
|
115
|
-
<testCase name="OverflowWatcher Should not call callback on forceUpdate" duration="2"/>
|
|
109
|
+
<file path="/builds/dti/design-system/sankhyacore/test/http/SkwHttpProvider.ts.spec.ts">
|
|
110
|
+
<testCase name="HttpProvider Metodo POST" duration="1"/>
|
|
116
111
|
</file>
|
|
117
|
-
<file path="/builds/dti/design-system/sankhyacore/test/util/
|
|
118
|
-
<testCase name="
|
|
119
|
-
<testCase name="
|
|
120
|
-
<testCase name="
|
|
112
|
+
<file path="/builds/dti/design-system/sankhyacore/test/util/CriteriaParameter.spec.ts">
|
|
113
|
+
<testCase name="StringUtils it should return the correct values of "value" and "type" through the getters methods initial setted by the constructor" duration="1"/>
|
|
114
|
+
<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"/>
|
|
115
|
+
<testCase name="StringUtils it should return the correct JSON/Object value through the buildParam method" duration="1"/>
|
|
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="2"/>
|
|
124
119
|
</file>
|
|
125
|
-
<file path="/builds/dti/design-system/sankhyacore/
|
|
126
|
-
<testCase name="
|
|
127
|
-
<testCase name="
|
|
128
|
-
<testCase name="
|
|
129
|
-
<testCase name="DataUnit should dispatch SAVING_CANCELED action with correct fields and recordId" duration="2"/>
|
|
120
|
+
<file path="/builds/dti/design-system/sankhyacore/test/util/TimeFormatter.spec.ts">
|
|
121
|
+
<testCase name="TimeFormatter Case: input string unformated with showSeconds" duration="2"/>
|
|
122
|
+
<testCase name="TimeFormatter Case: input string unformated without showSeconds" duration="0"/>
|
|
123
|
+
<testCase name="TimeFormatter Case: validateTime" duration="1"/>
|
|
130
124
|
</file>
|
|
131
125
|
<file path="/builds/dti/design-system/sankhyacore/test/util/DataUnitStorage.spec.ts">
|
|
132
|
-
<testCase name="DataUnitStorage put should store a DataUnit instance in the DataUnitStorage" duration="
|
|
126
|
+
<testCase name="DataUnitStorage put should store a DataUnit instance in the DataUnitStorage" duration="3"/>
|
|
133
127
|
<testCase name="DataUnitStorage get should return the stored DataUnit instance from the DataUnitStorage" duration="1"/>
|
|
134
128
|
<testCase name="DataUnitStorage get should return undefined if the DataUnit instance is not found in the DataUnitStorage" duration="1"/>
|
|
135
|
-
<testCase name="DataUnitStorage remove should remove the specified DataUnit instance from the DataUnitStorage" duration="
|
|
136
|
-
<testCase name="DataUnitStorage remove should remove the DataUnit instance with the specified name from the DataUnitStorage" duration="
|
|
137
|
-
<testCase name="DataUnitStorage remove should not remove any DataUnit instance if the specified DataUnit instance or name is not found in the DataUnitStorage" duration="
|
|
129
|
+
<testCase name="DataUnitStorage remove should remove the specified DataUnit instance from the DataUnitStorage" duration="0"/>
|
|
130
|
+
<testCase name="DataUnitStorage remove should remove the DataUnit instance with the specified name from the DataUnitStorage" duration="0"/>
|
|
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="0"/>
|
|
138
132
|
</file>
|
|
139
133
|
<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="
|
|
141
|
-
<testCase name="addIDInfo 2 - should add data-element-id with valid id "brComSankhyaFinCadMovimentacaofinanceira_snkApplication"" duration="
|
|
134
|
+
<testCase name="addIDInfo 1 - should add data-element-id with valid id "movFinanceira_snkApplication"" duration="12"/>
|
|
135
|
+
<testCase name="addIDInfo 2 - should add data-element-id with valid id "brComSankhyaFinCadMovimentacaofinanceira_snkApplication"" duration="14"/>
|
|
142
136
|
<testCase name="addIDInfo 3 - should add data-element-id with valid id "movFinanceira_br.com.sankhya.fin.cad.movimentacaoFinanceira"" duration="2"/>
|
|
143
137
|
<testCase name="addIDInfo 4 - should add data-element-id with valid id "meuID2_snkApplication"" duration="2"/>
|
|
144
138
|
<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="
|
|
139
|
+
<testCase name="addIDInfo 6 - should add data-element-id with valid id "movFinanceira_snkApplication"" duration="2"/>
|
|
146
140
|
<testCase name="addIDInfo 7 - should add data-element-id with valid id "componenteNameTest_snkApplication"" duration="1"/>
|
|
147
141
|
<testCase name="addIDInfo 8 - should add data-element-id with valid id "componentLabel_snkApplication"" duration="1"/>
|
|
148
|
-
<testCase name="addIDInfo 9 - should add data-element-id with valid id "dataunitFinanceiro_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="
|
|
142
|
+
<testCase name="addIDInfo 9 - should add data-element-id with valid id "dataunitFinanceiro_br.com.sankhya.fin.cad.movimentacaoFinanceira"" duration="63"/>
|
|
143
|
+
<testCase name="addIDInfo 10 - should add data-element-id with valid id "dataunitFinanceiro_meuIDTeste_br.com.sankhya.fin.cad.movimentacaoFinanceira"" duration="1"/>
|
|
150
144
|
<testCase name="addIDInfo 11 - should add data-element-id with valid id "dataunitFinanceiro_meuIDTeste_movimentacaoFinanceira"" duration="2"/>
|
|
151
|
-
<testCase name="addIDInfo 12 - should add data-element-id with valid id "dataunitFinanceiro_movFinanceira_movimentacaoFinanceira"" duration="
|
|
145
|
+
<testCase name="addIDInfo 12 - should add data-element-id with valid id "dataunitFinanceiro_movFinanceira_movimentacaoFinanceira"" duration="5"/>
|
|
152
146
|
<testCase name="addIDInfo 13 - should add data-element-id with valid id "dataunitFinanceiro_meuIDTeste_movimentacaoFinanceira"" duration="2"/>
|
|
153
|
-
<testCase name="addIDInfo 14 - should add data-element-id with valid id "dataunitFinanceiro_meuIdTeste_movimentacaoFinanceira"" duration="
|
|
147
|
+
<testCase name="addIDInfo 14 - should add data-element-id with valid id "dataunitFinanceiro_meuIdTeste_movimentacaoFinanceira"" duration="15"/>
|
|
154
148
|
<testCase name="addIDInfo 15 - should add data-element-id with valid id "dataunitFinanceiro_meuIdTeste_snkApplication"" duration="1"/>
|
|
155
|
-
<testCase name="addIDInfo 16 - should add data-element-id with valid id "dataunitFinanceiro_meuIdTeste_snkApplication"" duration="
|
|
149
|
+
<testCase name="addIDInfo 16 - should add data-element-id with valid id "dataunitFinanceiro_meuIdTeste_snkApplication"" duration="1"/>
|
|
156
150
|
<testCase name="addIDInfo 17 - should add data-element-id with valid id "movFinanceira_movimentacaoFinanceira"" duration="1"/>
|
|
157
151
|
<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="
|
|
152
|
+
<testCase name="addIDInfo 19 - should add data-element-id with valid id "movFinanceira_movimentacaoFinanceira"" duration="9"/>
|
|
159
153
|
<testCase name="addIDInfo 20 - should add data-element-id with valid id "movFinanceira_movimentacaoFinanceira"" duration="1"/>
|
|
160
|
-
<testCase name="addIDInfo 21 - should add data-element-id with valid id "movFinanceira_movimentacaoFinanceira"" duration="
|
|
161
|
-
<testCase name="addIDInfo 22 - should add data-element-id with valid id "bancoObrigatorio_movimentacaoFinanceira"" duration="
|
|
154
|
+
<testCase name="addIDInfo 21 - should add data-element-id with valid id "movFinanceira_movimentacaoFinanceira"" duration="0"/>
|
|
155
|
+
<testCase name="addIDInfo 22 - should add data-element-id with valid id "bancoObrigatorio_movimentacaoFinanceira"" duration="1"/>
|
|
162
156
|
</file>
|
|
163
|
-
<file path="/builds/dti/design-system/sankhyacore/test/
|
|
164
|
-
<testCase name="
|
|
165
|
-
<testCase name="
|
|
166
|
-
<testCase name="
|
|
157
|
+
<file path="/builds/dti/design-system/sankhyacore/src/dataunit/test/DataUnit.spec.ts">
|
|
158
|
+
<testCase name="DataUnit should return false when not waiting to reload" duration="2"/>
|
|
159
|
+
<testCase name="DataUnit should set waitingToReload to true" duration="1"/>
|
|
160
|
+
<testCase name="DataUnit should set waitingToReload to false" duration="8"/>
|
|
161
|
+
<testCase name="DataUnit should dispatch SAVING_CANCELED action with correct fields and recordId" duration="0"/>
|
|
167
162
|
</file>
|
|
168
|
-
<file path="/builds/dti/design-system/sankhyacore/test/
|
|
169
|
-
<testCase name="
|
|
170
|
-
<testCase name="
|
|
171
|
-
<testCase name="
|
|
172
|
-
<testCase name="getFormattedValue should return file name when value is an array with one file object" duration="0"/>
|
|
173
|
-
<testCase name="getFormattedValue should return file count when value is an array with multiple file objects" duration="1"/>
|
|
174
|
-
<testCase name="getFormattedValue should return empty string for undefined file" duration="0"/>
|
|
175
|
-
<testCase name="getFormattedValue should handle OBJECT type with value field" duration="1"/>
|
|
176
|
-
<testCase name="getFormattedValue should return empty string when value is undefined" duration="1"/>
|
|
177
|
-
<testCase name="getFormattedValue should return value as string when value is not an object" duration="0"/>
|
|
178
|
-
<testCase name="getFormattedValue should return value.toString() when value is an object without value property" duration="0"/>
|
|
179
|
-
<testCase name="getFormattedValue should handle BOOLEAN type" duration="1"/>
|
|
180
|
-
<testCase name="getFormattedValue should format numbers correctly" duration="68"/>
|
|
181
|
-
<testCase name="getFormattedValue should format dates correctly" duration="5"/>
|
|
182
|
-
<testCase name="getFormattedValue should format times correctly" duration="1"/>
|
|
183
|
-
<testCase name="getFormattedValue should format datetime correctly" duration="1"/>
|
|
184
|
-
<testCase name="getFormattedValue should call toString with correct parameters" duration="1"/>
|
|
185
|
-
<testCase name="getFormattedValue should handle undefined descriptor gracefully" duration="0"/>
|
|
186
|
-
<testCase name="getFormattedValue should format value correctly with OPTIONSELECTOR and matching option" duration="1"/>
|
|
187
|
-
<testCase name="getFormattedValue should return value with OPTIONSELECTOR and no matching option" duration="0"/>
|
|
188
|
-
<testCase name="getFormattedValue should format value correctly with OPTIONSELECTOR and value as object" duration="0"/>
|
|
189
|
-
<testCase name="getFormattedValue should return empty string with OPTIONSELECTOR and value as null" duration="1"/>
|
|
190
|
-
<testCase name="getFormattedValue should format value correctly with OPTIONSELECTOR and options as JSON string" duration="0"/>
|
|
191
|
-
<testCase name="getFormattedValue should return value with OPTIONSELECTOR and options as empty array" duration="1"/>
|
|
192
|
-
<testCase name="getFormattedValue should format masked values correctly" duration="2"/>
|
|
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="87"/>
|
|
165
|
+
<testCase name="calcMarginSize should calculate correctly the size of vertical margin" duration="3"/>
|
|
166
|
+
<testCase name="calcMarginSize should threat values defined as zero" duration="4"/>
|
|
193
167
|
</file>
|
|
194
168
|
<file path="/builds/dti/design-system/sankhyacore/test/dataunit/loader/dataUnitInMemoryLoader.spec.ts">
|
|
195
|
-
<testCase name="DataUnitInMemoryLoader - loadData should be called load data when auto load is true" duration="
|
|
196
|
-
<testCase name="DataUnitInMemoryLoader - loadData should be called load data when auto load is undefined" duration="
|
|
169
|
+
<testCase name="DataUnitInMemoryLoader - loadData should be called load data when auto load is true" duration="58"/>
|
|
170
|
+
<testCase name="DataUnitInMemoryLoader - loadData should be called load data when auto load is undefined" duration="3"/>
|
|
197
171
|
<testCase name="DataUnitInMemoryLoader - loadData should not be called load data when auto load is false" duration="1"/>
|
|
198
|
-
<testCase name="DataUnitInMemoryLoader - loadData should be called load data when config is undefined" duration="
|
|
172
|
+
<testCase name="DataUnitInMemoryLoader - loadData should be called load data when config is undefined" duration="2"/>
|
|
199
173
|
<testCase name="DataUnitInMemoryLoader - getConvertedValue should return the original string if descriptor is undefined" duration="1"/>
|
|
200
|
-
<testCase name="DataUnitInMemoryLoader - getConvertedValue should return the original string if dataType is TEXT" duration="
|
|
201
|
-
<testCase name="DataUnitInMemoryLoader - getConvertedValue should convert to boolean when dataType is BOOLEAN" duration="
|
|
174
|
+
<testCase name="DataUnitInMemoryLoader - getConvertedValue should return the original string if dataType is TEXT" duration="0"/>
|
|
175
|
+
<testCase name="DataUnitInMemoryLoader - getConvertedValue should convert to boolean when dataType is BOOLEAN" duration="1"/>
|
|
202
176
|
<testCase name="DataUnitInMemoryLoader - getConvertedValue should convert to number when dataType is NUMBER" duration="1"/>
|
|
203
177
|
<testCase name="DataUnitInMemoryLoader - getConvertedValue should parse JSON when dataType is OBJECT" duration="1"/>
|
|
204
178
|
<testCase name="DataUnitInMemoryLoader - getConvertedValue should convert to date when dataType is DATE and format is ISO" duration="1"/>
|
|
205
179
|
<testCase name="DataUnitInMemoryLoader - getConvertedValue should convert to date when dataType is DATE and format is not ISO" duration="1"/>
|
|
206
|
-
<testCase name="DataUnitInMemoryLoader - getConvertedValue should return the original string if no dataType matches" duration="
|
|
207
|
-
<testCase name="DataUnitInMemoryLoader - removeLoader should resolve with the provided record IDs" duration="
|
|
180
|
+
<testCase name="DataUnitInMemoryLoader - getConvertedValue should return the original string if no dataType matches" duration="4"/>
|
|
181
|
+
<testCase name="DataUnitInMemoryLoader - removeLoader should resolve with the provided record IDs" duration="2"/>
|
|
208
182
|
<testCase name="DataUnitInMemoryLoader - removeLoader should handle empty record ID array" duration="2"/>
|
|
209
183
|
<testCase name="DataUnitInMemoryLoader - removeLoader should resolve the promise" duration="1"/>
|
|
210
|
-
<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"/>
|
|
211
185
|
<testCase name="DataUnitInMemoryLoader - buildInitialRecords (indiretamente via set records) should generate unique IDs for records without "__record__id__"" duration="3"/>
|
|
212
186
|
<testCase name="DataUnitInMemoryLoader - buildInitialRecords (indiretamente via set records) should leave fields untouched if no matching metadata exists" duration="2"/>
|
|
213
|
-
<testCase name="DataUnitInMemoryLoader - buildInitialRecords (indiretamente via set records) should skip conversion for non-string field values" duration="
|
|
187
|
+
<testCase name="DataUnitInMemoryLoader - buildInitialRecords (indiretamente via set records) should skip conversion for non-string field values" duration="2"/>
|
|
188
|
+
</file>
|
|
189
|
+
<file path="/builds/dti/design-system/sankhyacore/test/dataunit/formatting/PrettyFormatter.spec.ts">
|
|
190
|
+
<testCase name="getFormattedValue should return empty string when value is null" duration="6"/>
|
|
191
|
+
<testCase name="getFormattedValue should return empty string when value is not an array" duration="0"/>
|
|
192
|
+
<testCase name="getFormattedValue should return empty string when value is an empty array" duration="1"/>
|
|
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="0"/>
|
|
198
|
+
<testCase name="getFormattedValue should return value as string when value is not an object" duration="1"/>
|
|
199
|
+
<testCase name="getFormattedValue should return value.toString() when value is an object without value property" duration="0"/>
|
|
200
|
+
<testCase name="getFormattedValue should handle BOOLEAN type" duration="0"/>
|
|
201
|
+
<testCase name="getFormattedValue should format numbers correctly" duration="59"/>
|
|
202
|
+
<testCase name="getFormattedValue should format dates correctly" duration="7"/>
|
|
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"/>
|
|
206
|
+
<testCase name="getFormattedValue should handle undefined descriptor gracefully" duration="0"/>
|
|
207
|
+
<testCase name="getFormattedValue should format value correctly with OPTIONSELECTOR and matching option" duration="1"/>
|
|
208
|
+
<testCase name="getFormattedValue should return value with OPTIONSELECTOR and no matching option" duration="0"/>
|
|
209
|
+
<testCase name="getFormattedValue should format value correctly with OPTIONSELECTOR and value as object" duration="1"/>
|
|
210
|
+
<testCase name="getFormattedValue should return empty string with OPTIONSELECTOR and value as null" duration="0"/>
|
|
211
|
+
<testCase name="getFormattedValue should format value correctly with OPTIONSELECTOR and options as JSON string" duration="0"/>
|
|
212
|
+
<testCase name="getFormattedValue should return value with OPTIONSELECTOR and options as empty array" duration="0"/>
|
|
213
|
+
<testCase name="getFormattedValue should format masked values correctly" duration="0"/>
|
|
214
214
|
</file>
|
|
215
215
|
</unitTest>
|
|
@@ -70,8 +70,8 @@ export class DataUnitInMemoryLoader {
|
|
|
70
70
|
|
|
71
71
|
if (!this._dataUnit) return;
|
|
72
72
|
|
|
73
|
-
//Isso força o refresh internamente no datunit
|
|
74
|
-
this._dataUnit.
|
|
73
|
+
//Isso força o refresh internamente no datunit mantendo a seleção anterior
|
|
74
|
+
this._dataUnit.loadDataWithParams({keepSelection: true});
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
public static getConvertedValue(descriptor: FieldDescriptor, strValue: string, dateFormat?: RECORD_DATE_FORMAT) {
|