@sankhyalabs/core 5.20.0-dev.52 → 5.20.0-dev.53
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.
|
@@ -70,6 +70,19 @@ src/dataunit/loading/PaginationInfo.ts:11
|
|
|
70
70
|
|
|
71
71
|
***
|
|
72
72
|
|
|
73
|
+
### loadingInProgress?
|
|
74
|
+
|
|
75
|
+
> `optional` **loadingInProgress**: `boolean`
|
|
76
|
+
|
|
77
|
+
Informa se o carregamento de dados em background está sendo executado
|
|
78
|
+
Caso o dataunit não tenha carga paralela o valor será indefinido
|
|
79
|
+
|
|
80
|
+
#### Source
|
|
81
|
+
|
|
82
|
+
src/dataunit/loading/PaginationInfo.ts:25
|
|
83
|
+
|
|
84
|
+
***
|
|
85
|
+
|
|
73
86
|
### total?
|
|
74
87
|
|
|
75
88
|
> `optional` **total**: `number`
|
package/bun.lockb
ADDED
|
Binary file
|
|
@@ -12,4 +12,8 @@ export interface PaginationInfo {
|
|
|
12
12
|
count?: number;
|
|
13
13
|
/** Se ainda existem mais registros */
|
|
14
14
|
hasMore: boolean;
|
|
15
|
+
/** Informa se o carregamento de dados em background está sendo executado
|
|
16
|
+
* Caso o dataunit não tenha carga paralela o valor será indefinido
|
|
17
|
+
*/
|
|
18
|
+
loadingInProgress?: boolean;
|
|
15
19
|
}
|
package/package.json
CHANGED
package/reports/test-report.xml
CHANGED
|
@@ -1,175 +1,175 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
2
|
<unitTest version="1">
|
|
3
|
+
<file path="/builds/dti/design-system/sankhyacore/test/http/HttpProvider.spec.ts">
|
|
4
|
+
<testCase name="HttpProvider Metodo GET" duration="70"/>
|
|
5
|
+
</file>
|
|
6
|
+
<file path="/builds/dti/design-system/sankhyacore/test/http/SkwHttpProvider.ts.spec.ts">
|
|
7
|
+
<testCase name="HttpProvider Metodo POST" duration="89"/>
|
|
8
|
+
</file>
|
|
9
|
+
<file path="/builds/dti/design-system/sankhyacore/src/utils/test/objectUtils.spec.ts">
|
|
10
|
+
<testCase name="ObjectUtils hasEquivalentValues should return true if both objects have the same property value" duration="14"/>
|
|
11
|
+
<testCase name="ObjectUtils hasEquivalentValues should return false if both objects have different property values" duration="77"/>
|
|
12
|
+
<testCase name="ObjectUtils hasEquivalentValues should return true if both objects are equivalent with custom property to compare" duration="1"/>
|
|
13
|
+
<testCase name="ObjectUtils hasEquivalentValues should return false if both objects are not equivalent with custom property to compare" duration="1"/>
|
|
14
|
+
<testCase name="ObjectUtils hasEquivalentValues should return false if one object does not have the property" duration="1"/>
|
|
15
|
+
<testCase name="ObjectUtils hasEquivalentValues should return true if comparing primitive values directly" duration="1"/>
|
|
16
|
+
<testCase name="ObjectUtils hasEquivalentValues should return false if comparing different primitive values" duration="0"/>
|
|
17
|
+
<testCase name="ObjectUtils hasEquivalentValues should return true when comparing object with a null value" duration="0"/>
|
|
18
|
+
<testCase name="ObjectUtils hasEquivalentValues should return false when comparing object with null and non-null value" duration="1"/>
|
|
19
|
+
<testCase name="ObjectUtils hasEquivalentValues should return true when comparing non-object values that are equal" duration="1"/>
|
|
20
|
+
<testCase name="ObjectUtils should get an object value based on its path" duration="1"/>
|
|
21
|
+
<testCase name="ObjectUtils should get an object value based on its path" duration="1"/>
|
|
22
|
+
<testCase name="ObjectUtils should return undefined if the path doesn't exist in the object" duration="1"/>
|
|
23
|
+
</file>
|
|
24
|
+
<file path="/builds/dti/design-system/sankhyacore/test/util/CriteriaParameter.spec.ts">
|
|
25
|
+
<testCase name="StringUtils it should return the correct values of "value" and "type" through the getters methods initial setted by the constructor" duration="6"/>
|
|
26
|
+
<testCase name="StringUtils it should return the correct values of "value" and "type" through the getters methods initial setted by the setters methods" duration="5"/>
|
|
27
|
+
<testCase name="StringUtils it should return the correct JSON/Object value through the buildParam method" duration="1"/>
|
|
28
|
+
</file>
|
|
3
29
|
<file path="/builds/dti/design-system/sankhyacore/test/util/MaskFormatter.spec.ts">
|
|
4
|
-
<testCase name="Mask Formatter mask:CPF complete valid" duration="
|
|
30
|
+
<testCase name="Mask Formatter mask:CPF complete valid" duration="8"/>
|
|
5
31
|
<testCase name="Mask Formatter mask:CPF complete valid literals" duration="1"/>
|
|
6
32
|
<testCase name="Mask Formatter mask:CPF incomplete valid" duration="1"/>
|
|
7
|
-
<testCase name="Mask Formatter mask:CPF incomplete valid placeholder" duration="
|
|
8
|
-
<testCase name="Mask Formatter mask:CPF too long valid" duration="
|
|
9
|
-
<testCase name="Mask Formatter mask:CPF invalid for string" duration="
|
|
10
|
-
<testCase name="Mask Formatter mask:CPF invalid for being too long" duration="
|
|
33
|
+
<testCase name="Mask Formatter mask:CPF incomplete valid placeholder" duration="1"/>
|
|
34
|
+
<testCase name="Mask Formatter mask:CPF too long valid" duration="1"/>
|
|
35
|
+
<testCase name="Mask Formatter mask:CPF invalid for string" duration="285"/>
|
|
36
|
+
<testCase name="Mask Formatter mask:CPF invalid for being too long" duration="0"/>
|
|
11
37
|
<testCase name="Mask Formatter mask:Licence plate valid uppercase" duration="1"/>
|
|
12
38
|
<testCase name="Mask Formatter mask:Licence plate valid lowercase" duration="1"/>
|
|
13
|
-
<testCase name="Mask Formatter mask:Licence plate invalid" duration="
|
|
14
|
-
<testCase name="Mask Formatter mask:Licence plate invalid for being too short" duration="
|
|
39
|
+
<testCase name="Mask Formatter mask:Licence plate invalid" duration="1"/>
|
|
40
|
+
<testCase name="Mask Formatter mask:Licence plate invalid for being too short" duration="0"/>
|
|
15
41
|
<testCase name="Mask Formatter mask:Licence plate invalid for being too short with placeholder" duration="1"/>
|
|
16
|
-
<testCase name="Mask Formatter mask:Licence plate invalid" duration="2"/>
|
|
17
|
-
<testCase name="Mask Formatter mask:Licence plate with AlphaNumerical Mask" duration="1"/>
|
|
18
|
-
<testCase name="Mask Formatter mask:Licence plate with AlphaNumerical Mask with placeholder" duration="0"/>
|
|
19
42
|
<testCase name="Mask Formatter mask:Licence plate invalid" duration="1"/>
|
|
20
|
-
<testCase name="Mask Formatter mask:Licence plate with AlphaNumerical Mask" duration="
|
|
43
|
+
<testCase name="Mask Formatter mask:Licence plate with AlphaNumerical Mask" duration="2"/>
|
|
44
|
+
<testCase name="Mask Formatter mask:Licence plate with AlphaNumerical Mask with placeholder" duration="4"/>
|
|
45
|
+
<testCase name="Mask Formatter mask:Licence plate invalid" duration="18"/>
|
|
46
|
+
<testCase name="Mask Formatter mask:Licence plate with AlphaNumerical Mask" duration="0"/>
|
|
21
47
|
<testCase name="Mask Formatter mask:Licence plate with AlphaNumerical Mask with placeholder" duration="1"/>
|
|
22
48
|
<testCase name="Mask Formatter mask:Licence plate invalid" duration="1"/>
|
|
23
|
-
<testCase name="Mask Formatter mask:Licence plate with AlphaNumerical Mask" duration="
|
|
24
|
-
<testCase name="Mask Formatter mask:Licence plate with AlphaNumerical Mask with placeholder" duration="
|
|
25
|
-
<testCase name="Mask Formatter mask:Licence plate invalid" duration="
|
|
26
|
-
</file>
|
|
27
|
-
<file path="/builds/dti/design-system/sankhyacore/src/utils/test/objectUtils.spec.ts">
|
|
28
|
-
<testCase name="ObjectUtils hasEquivalentValues should return true if both objects have the same property value" duration="83"/>
|
|
29
|
-
<testCase name="ObjectUtils hasEquivalentValues should return false if both objects have different property values" duration="0"/>
|
|
30
|
-
<testCase name="ObjectUtils hasEquivalentValues should return true if both objects are equivalent with custom property to compare" duration="1"/>
|
|
31
|
-
<testCase name="ObjectUtils hasEquivalentValues should return false if both objects are not equivalent with custom property to compare" duration="1"/>
|
|
32
|
-
<testCase name="ObjectUtils hasEquivalentValues should return false if one object does not have the property" duration="0"/>
|
|
33
|
-
<testCase name="ObjectUtils hasEquivalentValues should return true if comparing primitive values directly" duration="0"/>
|
|
34
|
-
<testCase name="ObjectUtils hasEquivalentValues should return false if comparing different primitive values" duration="0"/>
|
|
35
|
-
<testCase name="ObjectUtils hasEquivalentValues should return true when comparing object with a null value" duration="1"/>
|
|
36
|
-
<testCase name="ObjectUtils hasEquivalentValues should return false when comparing object with null and non-null value" duration="0"/>
|
|
37
|
-
<testCase name="ObjectUtils hasEquivalentValues should return true when comparing non-object values that are equal" duration="0"/>
|
|
38
|
-
<testCase name="ObjectUtils should get an object value based on its path" duration="1"/>
|
|
39
|
-
<testCase name="ObjectUtils should get an object value based on its path" duration="0"/>
|
|
40
|
-
<testCase name="ObjectUtils should return undefined if the path doesn't exist in the object" duration="1"/>
|
|
49
|
+
<testCase name="Mask Formatter mask:Licence plate with AlphaNumerical Mask" duration="0"/>
|
|
50
|
+
<testCase name="Mask Formatter mask:Licence plate with AlphaNumerical Mask with placeholder" duration="1"/>
|
|
51
|
+
<testCase name="Mask Formatter mask:Licence plate invalid" duration="65"/>
|
|
41
52
|
</file>
|
|
42
53
|
<file path="/builds/dti/design-system/sankhyacore/test/util/CriteriaModel.spec.ts">
|
|
43
|
-
<testCase name="StringUtils it should return the undefined and [] to Criteria Props through new class with empty constructor" duration="
|
|
54
|
+
<testCase name="StringUtils it should return the undefined and [] to Criteria Props through new class with empty constructor" duration="105"/>
|
|
44
55
|
<testCase name="StringUtils it should modify "expressions" and "parameters" properties through Setters methods" duration="1"/>
|
|
45
56
|
<testCase name="StringUtils it should return "expression" and "parameters" setted through constructor method" duration="1"/>
|
|
46
|
-
<testCase name="StringUtils it should return a Criteria class with "expression" and "parameters" as needed setted through "append" method" duration="
|
|
47
|
-
<testCase name="StringUtils it should return a Criteria class with "Criteria class" and "parameters" concatenaded as needed setted through "append" method" duration="
|
|
48
|
-
<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="
|
|
57
|
+
<testCase name="StringUtils it should return a Criteria class with "expression" and "parameters" as needed setted through "append" method" duration="207"/>
|
|
58
|
+
<testCase name="StringUtils it should return a Criteria class with "Criteria class" and "parameters" concatenaded as needed setted through "append" method" duration="82"/>
|
|
59
|
+
<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="3"/>
|
|
49
60
|
<testCase name="StringUtils it should return a Criteria class with "Expression" and "parameters" concatenaded as needed setted through "OR" method" duration="1"/>
|
|
50
|
-
<testCase name="StringUtils it should return a Criteria class with "Criteria class" and "parameters" concatenaded as needed setted through "OR" method" duration="
|
|
61
|
+
<testCase name="StringUtils it should return a Criteria class with "Criteria class" and "parameters" concatenaded as needed setted through "OR" method" duration="11"/>
|
|
51
62
|
<testCase name="StringUtils it should return a Criteria class with "Criteria class" and "parameters" concatenaded as needed setted through "OR" method" duration="1"/>
|
|
52
|
-
<testCase name="StringUtils it should return a Criteria class with "Expression" and "parameters" concatenaded as needed setted through "AND" method" duration="
|
|
63
|
+
<testCase name="StringUtils it should return a Criteria class with "Expression" and "parameters" concatenaded as needed setted through "AND" method" duration="3"/>
|
|
53
64
|
<testCase name="StringUtils it should return a Criteria class with "Criteria class" and "parameters" concatenaded as needed setted through "AND" method" duration="0"/>
|
|
54
65
|
<testCase name="StringUtils it should return a Criteria class with "Criteria class" and "parameters" concatenaded as needed setted through "AND" method" duration="1"/>
|
|
55
|
-
<testCase name="StringUtils it should return a toJSON object with "Criteria class" and "parameters" concatenaded as needed setted through "AND" method" duration="
|
|
66
|
+
<testCase name="StringUtils it should return a toJSON object with "Criteria class" and "parameters" concatenaded as needed setted through "AND" method" duration="79"/>
|
|
56
67
|
<testCase name="StringUtils it should return a toJSON object with through empty constructor" duration="0"/>
|
|
57
68
|
</file>
|
|
58
|
-
<file path="/builds/dti/design-system/sankhyacore/test/
|
|
59
|
-
<testCase name="
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
<testCase name="HttpProvider Metodo POST" duration="5"/>
|
|
69
|
+
<file path="/builds/dti/design-system/sankhyacore/test/util/TimeFormatter.spec.ts">
|
|
70
|
+
<testCase name="TimeFormatter Case: input string unformated with showSeconds" duration="79"/>
|
|
71
|
+
<testCase name="TimeFormatter Case: input string unformated without showSeconds" duration="1"/>
|
|
72
|
+
<testCase name="TimeFormatter Case: validateTime" duration="1"/>
|
|
63
73
|
</file>
|
|
64
74
|
<file path="/builds/dti/design-system/sankhyacore/test/util/NumberUtils.spec.ts">
|
|
65
|
-
<testCase name="StringUtils stringToNumber" duration="
|
|
66
|
-
<testCase name="StringUtils format" duration="
|
|
75
|
+
<testCase name="StringUtils stringToNumber" duration="92"/>
|
|
76
|
+
<testCase name="StringUtils format" duration="202"/>
|
|
77
|
+
<testCase name="StringUtils format without formatnumber parameter" duration="96"/>
|
|
67
78
|
<testCase name="StringUtils format without formatnumber parameter" duration="1"/>
|
|
68
|
-
<testCase name="StringUtils format
|
|
69
|
-
<testCase name="StringUtils format round number" duration="59"/>
|
|
79
|
+
<testCase name="StringUtils format round number" duration="2"/>
|
|
70
80
|
</file>
|
|
71
81
|
<file path="/builds/dti/design-system/sankhyacore/test/util/StringUtils.spec.ts">
|
|
72
|
-
<testCase name="StringUtils valor vazio" duration="
|
|
73
|
-
<testCase name="StringUtils valor em branco" duration="
|
|
82
|
+
<testCase name="StringUtils valor vazio" duration="82"/>
|
|
83
|
+
<testCase name="StringUtils valor em branco" duration="0"/>
|
|
74
84
|
<testCase name="StringUtils valor null" duration="0"/>
|
|
75
|
-
<testCase name="StringUtils valor undefined" duration="
|
|
76
|
-
<testCase name="StringUtils valor 0" duration="
|
|
77
|
-
<testCase name="StringUtils com valor" duration="
|
|
78
|
-
<testCase name="StringUtils substitui vogais com acento por vogais sem acento" duration="
|
|
85
|
+
<testCase name="StringUtils valor undefined" duration="1"/>
|
|
86
|
+
<testCase name="StringUtils valor 0" duration="0"/>
|
|
87
|
+
<testCase name="StringUtils com valor" duration="0"/>
|
|
88
|
+
<testCase name="StringUtils substitui vogais com acento por vogais sem acento" duration="98"/>
|
|
79
89
|
<testCase name="StringUtils should return the original value when called with an object without a toString method" duration="2"/>
|
|
80
90
|
<testCase name="StringUtils should return the original value when called with undefined" duration="1"/>
|
|
81
91
|
</file>
|
|
82
|
-
<file path="/builds/dti/design-system/sankhyacore/test/util/CriteriaParameter.spec.ts">
|
|
83
|
-
<testCase name="StringUtils it should return the correct values of "value" and "type" through the getters methods initial setted by the constructor" duration="1"/>
|
|
84
|
-
<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"/>
|
|
85
|
-
<testCase name="StringUtils it should return the correct JSON/Object value through the buildParam method" duration="1"/>
|
|
86
|
-
</file>
|
|
87
92
|
<file path="/builds/dti/design-system/sankhyacore/test/util/OverflowWatcher.spec.ts">
|
|
88
|
-
<testCase name="OverflowWatcher should initialize with provided parameters" duration="
|
|
93
|
+
<testCase name="OverflowWatcher should initialize with provided parameters" duration="8"/>
|
|
89
94
|
<testCase name="OverflowWatcher should disconect ResizeObserver when destroy is called" duration="2"/>
|
|
90
|
-
<testCase name="OverflowWatcher Should call callback on forceUpdate" duration="
|
|
91
|
-
<testCase name="OverflowWatcher Should call callback on forceUpdate with childSpan" duration="
|
|
92
|
-
<testCase name="OverflowWatcher Should call callback on forceUpdate with childSpan when notOverFlow is empty" duration="
|
|
93
|
-
<testCase name="OverflowWatcher Should call callback on forceUpdate with childSpan considering overflowed elements" duration="
|
|
94
|
-
<testCase name="OverflowWatcher Should call callback on forceUpdate with empty list" duration="
|
|
95
|
-
<testCase name="OverflowWatcher should ignore elements that can not overflow" duration="
|
|
95
|
+
<testCase name="OverflowWatcher Should call callback on forceUpdate" duration="481"/>
|
|
96
|
+
<testCase name="OverflowWatcher Should call callback on forceUpdate with childSpan" duration="100"/>
|
|
97
|
+
<testCase name="OverflowWatcher Should call callback on forceUpdate with childSpan when notOverFlow is empty" duration="14"/>
|
|
98
|
+
<testCase name="OverflowWatcher Should call callback on forceUpdate with childSpan considering overflowed elements" duration="88"/>
|
|
99
|
+
<testCase name="OverflowWatcher Should call callback on forceUpdate with empty list" duration="5"/>
|
|
100
|
+
<testCase name="OverflowWatcher should ignore elements that can not overflow" duration="95"/>
|
|
96
101
|
<testCase name="OverflowWatcher Should not call callback on forceUpdate" duration="1"/>
|
|
97
102
|
</file>
|
|
98
|
-
<file path="/builds/dti/design-system/sankhyacore/test/util/TimeFormatter.spec.ts">
|
|
99
|
-
<testCase name="TimeFormatter Case: input string unformated with showSeconds" duration="2"/>
|
|
100
|
-
<testCase name="TimeFormatter Case: input string unformated without showSeconds" duration="0"/>
|
|
101
|
-
<testCase name="TimeFormatter Case: validateTime" duration="12"/>
|
|
102
|
-
</file>
|
|
103
103
|
<file path="/builds/dti/design-system/sankhyacore/src/dataunit/state/slice/test/RecordsSlice.spec.ts">
|
|
104
|
-
<testCase name="RecordsSlice should return newlines at the end" duration="
|
|
104
|
+
<testCase name="RecordsSlice should return newlines at the end" duration="2"/>
|
|
105
105
|
</file>
|
|
106
106
|
<file path="/builds/dti/design-system/sankhyacore/test/util/DataUnitStorage.spec.ts">
|
|
107
|
-
<testCase name="DataUnitStorage put should store a DataUnit instance in the DataUnitStorage" duration="
|
|
107
|
+
<testCase name="DataUnitStorage put should store a DataUnit instance in the DataUnitStorage" duration="7"/>
|
|
108
108
|
<testCase name="DataUnitStorage get should return the stored DataUnit instance from the DataUnitStorage" duration="0"/>
|
|
109
109
|
<testCase name="DataUnitStorage get should return undefined if the DataUnit instance is not found in the DataUnitStorage" duration="1"/>
|
|
110
|
-
<testCase name="DataUnitStorage remove should remove the specified DataUnit instance from the DataUnitStorage" duration="
|
|
111
|
-
<testCase name="DataUnitStorage remove should remove the DataUnit instance with the specified name from the DataUnitStorage" duration="
|
|
110
|
+
<testCase name="DataUnitStorage remove should remove the specified DataUnit instance from the DataUnitStorage" duration="0"/>
|
|
111
|
+
<testCase name="DataUnitStorage remove should remove the DataUnit instance with the specified name from the DataUnitStorage" duration="73"/>
|
|
112
112
|
<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"/>
|
|
113
113
|
</file>
|
|
114
|
+
<file path="/builds/dti/design-system/sankhyacore/src/dataunit/test/DataUnit.spec.ts">
|
|
115
|
+
<testCase name="DataUnit should return false when not waiting to reload" duration="3"/>
|
|
116
|
+
<testCase name="DataUnit should set waitingToReload to true" duration="1"/>
|
|
117
|
+
<testCase name="DataUnit should set waitingToReload to false" duration="1"/>
|
|
118
|
+
<testCase name="DataUnit should dispatch SAVING_CANCELED action with correct fields and recordId" duration="2"/>
|
|
119
|
+
</file>
|
|
114
120
|
<file path="/builds/dti/design-system/sankhyacore/test/util/ElementIDUtils.spec.ts">
|
|
115
|
-
<testCase name="addIDInfo 1 - should add data-element-id with valid id "movFinanceira_snkApplication"" duration="
|
|
116
|
-
<testCase name="addIDInfo 2 - should add data-element-id with valid id "brComSankhyaFinCadMovimentacaofinanceira_snkApplication"" duration="
|
|
117
|
-
<testCase name="addIDInfo 3 - should add data-element-id with valid id "movFinanceira_br.com.sankhya.fin.cad.movimentacaoFinanceira"" duration="
|
|
118
|
-
<testCase name="addIDInfo 4 - should add data-element-id with valid id "meuID2_snkApplication"" duration="
|
|
121
|
+
<testCase name="addIDInfo 1 - should add data-element-id with valid id "movFinanceira_snkApplication"" duration="86"/>
|
|
122
|
+
<testCase name="addIDInfo 2 - should add data-element-id with valid id "brComSankhyaFinCadMovimentacaofinanceira_snkApplication"" duration="3"/>
|
|
123
|
+
<testCase name="addIDInfo 3 - should add data-element-id with valid id "movFinanceira_br.com.sankhya.fin.cad.movimentacaoFinanceira"" duration="2"/>
|
|
124
|
+
<testCase name="addIDInfo 4 - should add data-element-id with valid id "meuID2_snkApplication"" duration="1"/>
|
|
119
125
|
<testCase name="addIDInfo 5 - should add data-element-id with valid id "movFinanceira_snkApplication"" duration="1"/>
|
|
120
|
-
<testCase name="addIDInfo 6 - should add data-element-id with valid id "movFinanceira_snkApplication"" duration="
|
|
126
|
+
<testCase name="addIDInfo 6 - should add data-element-id with valid id "movFinanceira_snkApplication"" duration="9"/>
|
|
121
127
|
<testCase name="addIDInfo 7 - should add data-element-id with valid id "componenteNameTest_snkApplication"" duration="1"/>
|
|
122
|
-
<testCase name="addIDInfo 8 - should add data-element-id with valid id "componentLabel_snkApplication"" duration="
|
|
123
|
-
<testCase name="addIDInfo 9 - should add data-element-id with valid id "dataunitFinanceiro_br.com.sankhya.fin.cad.movimentacaoFinanceira"" duration="
|
|
128
|
+
<testCase name="addIDInfo 8 - should add data-element-id with valid id "componentLabel_snkApplication"" duration="1"/>
|
|
129
|
+
<testCase name="addIDInfo 9 - should add data-element-id with valid id "dataunitFinanceiro_br.com.sankhya.fin.cad.movimentacaoFinanceira"" duration="1"/>
|
|
124
130
|
<testCase name="addIDInfo 10 - should add data-element-id with valid id "dataunitFinanceiro_meuIDTeste_br.com.sankhya.fin.cad.movimentacaoFinanceira"" duration="2"/>
|
|
125
|
-
<testCase name="addIDInfo 11 - should add data-element-id with valid id "dataunitFinanceiro_meuIDTeste_movimentacaoFinanceira"" duration="
|
|
126
|
-
<testCase name="addIDInfo 12 - should add data-element-id with valid id "dataunitFinanceiro_movFinanceira_movimentacaoFinanceira"" duration="
|
|
131
|
+
<testCase name="addIDInfo 11 - should add data-element-id with valid id "dataunitFinanceiro_meuIDTeste_movimentacaoFinanceira"" duration="2"/>
|
|
132
|
+
<testCase name="addIDInfo 12 - should add data-element-id with valid id "dataunitFinanceiro_movFinanceira_movimentacaoFinanceira"" duration="1"/>
|
|
127
133
|
<testCase name="addIDInfo 13 - should add data-element-id with valid id "dataunitFinanceiro_meuIDTeste_movimentacaoFinanceira"" duration="1"/>
|
|
128
|
-
<testCase name="addIDInfo 14 - should add data-element-id with valid id "dataunitFinanceiro_meuIdTeste_movimentacaoFinanceira"" duration="
|
|
134
|
+
<testCase name="addIDInfo 14 - should add data-element-id with valid id "dataunitFinanceiro_meuIdTeste_movimentacaoFinanceira"" duration="73"/>
|
|
129
135
|
<testCase name="addIDInfo 15 - should add data-element-id with valid id "dataunitFinanceiro_meuIdTeste_snkApplication"" duration="1"/>
|
|
130
136
|
<testCase name="addIDInfo 16 - should add data-element-id with valid id "dataunitFinanceiro_meuIdTeste_snkApplication"" duration="1"/>
|
|
131
137
|
<testCase name="addIDInfo 17 - should add data-element-id with valid id "movFinanceira_movimentacaoFinanceira"" duration="1"/>
|
|
132
138
|
<testCase name="addIDInfo 18 - should add data-element-id with valid id "movFinanceira_movimentacaoFinanceira"" duration="1"/>
|
|
133
|
-
<testCase name="addIDInfo 19 - should add data-element-id with valid id "movFinanceira_movimentacaoFinanceira"" duration="
|
|
139
|
+
<testCase name="addIDInfo 19 - should add data-element-id with valid id "movFinanceira_movimentacaoFinanceira"" duration="0"/>
|
|
134
140
|
<testCase name="addIDInfo 20 - should add data-element-id with valid id "movFinanceira_movimentacaoFinanceira"" duration="1"/>
|
|
135
|
-
<testCase name="addIDInfo 21 - should add data-element-id with valid id "movFinanceira_movimentacaoFinanceira"" duration="
|
|
136
|
-
<testCase name="addIDInfo 22 - should add data-element-id with valid id "bancoObrigatorio_movimentacaoFinanceira"" duration="
|
|
137
|
-
</file>
|
|
138
|
-
<file path="/builds/dti/design-system/sankhyacore/src/dataunit/test/DataUnit.spec.ts">
|
|
139
|
-
<testCase name="DataUnit should return false when not waiting to reload" duration="3"/>
|
|
140
|
-
<testCase name="DataUnit should set waitingToReload to true" duration="1"/>
|
|
141
|
-
<testCase name="DataUnit should set waitingToReload to false" duration="0"/>
|
|
142
|
-
<testCase name="DataUnit should dispatch SAVING_CANCELED action with correct fields and recordId" duration="2"/>
|
|
143
|
-
</file>
|
|
144
|
-
<file path="/builds/dti/design-system/sankhyacore/test/util/ElementUtils.spec.ts">
|
|
145
|
-
<testCase name="calcMarginSize should calculate correctly the size of horizontal margin" duration="39"/>
|
|
146
|
-
<testCase name="calcMarginSize should calculate correctly the size of vertical margin" duration="2"/>
|
|
147
|
-
<testCase name="calcMarginSize should threat values defined as zero" duration="16"/>
|
|
141
|
+
<testCase name="addIDInfo 21 - should add data-element-id with valid id "movFinanceira_movimentacaoFinanceira"" duration="0"/>
|
|
142
|
+
<testCase name="addIDInfo 22 - should add data-element-id with valid id "bancoObrigatorio_movimentacaoFinanceira"" duration="1"/>
|
|
148
143
|
</file>
|
|
149
144
|
<file path="/builds/dti/design-system/sankhyacore/test/dataunit/formatting/PrettyFormatter.spec.ts">
|
|
150
|
-
<testCase name="getFormattedValue should return empty string when value is null" duration="
|
|
145
|
+
<testCase name="getFormattedValue should return empty string when value is null" duration="4"/>
|
|
151
146
|
<testCase name="getFormattedValue should return empty string when value is not an array" duration="1"/>
|
|
152
147
|
<testCase name="getFormattedValue should return empty string when value is an empty array" duration="0"/>
|
|
153
148
|
<testCase name="getFormattedValue should return file name when value is an array with one file object" duration="1"/>
|
|
154
149
|
<testCase name="getFormattedValue should return file count when value is an array with multiple file objects" duration="0"/>
|
|
155
|
-
<testCase name="getFormattedValue should return empty string for undefined file" duration="
|
|
150
|
+
<testCase name="getFormattedValue should return empty string for undefined file" duration="0"/>
|
|
156
151
|
<testCase name="getFormattedValue should handle OBJECT type with value field" duration="0"/>
|
|
157
|
-
<testCase name="getFormattedValue should return empty string when value is undefined" duration="
|
|
158
|
-
<testCase name="getFormattedValue should return value as string when value is not an object" duration="
|
|
159
|
-
<testCase name="getFormattedValue should return value.toString() when value is an object without value property" duration="
|
|
152
|
+
<testCase name="getFormattedValue should return empty string when value is undefined" duration="0"/>
|
|
153
|
+
<testCase name="getFormattedValue should return value as string when value is not an object" duration="1"/>
|
|
154
|
+
<testCase name="getFormattedValue should return value.toString() when value is an object without value property" duration="0"/>
|
|
160
155
|
<testCase name="getFormattedValue should handle BOOLEAN type" duration="0"/>
|
|
161
|
-
<testCase name="getFormattedValue should format numbers correctly" duration="
|
|
162
|
-
<testCase name="getFormattedValue should format dates correctly" duration="
|
|
156
|
+
<testCase name="getFormattedValue should format numbers correctly" duration="10"/>
|
|
157
|
+
<testCase name="getFormattedValue should format dates correctly" duration="4"/>
|
|
163
158
|
<testCase name="getFormattedValue should format times correctly" duration="1"/>
|
|
164
|
-
<testCase name="getFormattedValue should format datetime correctly" duration="
|
|
159
|
+
<testCase name="getFormattedValue should format datetime correctly" duration="0"/>
|
|
165
160
|
<testCase name="getFormattedValue should call toString with correct parameters" duration="1"/>
|
|
166
161
|
<testCase name="getFormattedValue should handle undefined descriptor gracefully" duration="0"/>
|
|
167
162
|
<testCase name="getFormattedValue should format value correctly with OPTIONSELECTOR and matching option" duration="1"/>
|
|
168
163
|
<testCase name="getFormattedValue should return value with OPTIONSELECTOR and no matching option" duration="0"/>
|
|
169
|
-
<testCase name="getFormattedValue should format value correctly with OPTIONSELECTOR and value as object" duration="
|
|
164
|
+
<testCase name="getFormattedValue should format value correctly with OPTIONSELECTOR and value as object" duration="0"/>
|
|
170
165
|
<testCase name="getFormattedValue should return empty string with OPTIONSELECTOR and value as null" duration="0"/>
|
|
171
|
-
<testCase name="getFormattedValue should format value correctly with OPTIONSELECTOR and options as JSON string" duration="
|
|
166
|
+
<testCase name="getFormattedValue should format value correctly with OPTIONSELECTOR and options as JSON string" duration="1"/>
|
|
172
167
|
<testCase name="getFormattedValue should return value with OPTIONSELECTOR and options as empty array" duration="0"/>
|
|
173
168
|
<testCase name="getFormattedValue should format masked values correctly" duration="1"/>
|
|
174
169
|
</file>
|
|
170
|
+
<file path="/builds/dti/design-system/sankhyacore/test/util/ElementUtils.spec.ts">
|
|
171
|
+
<testCase name="calcMarginSize should calculate correctly the size of horizontal margin" duration="29"/>
|
|
172
|
+
<testCase name="calcMarginSize should calculate correctly the size of vertical margin" duration="1"/>
|
|
173
|
+
<testCase name="calcMarginSize should threat values defined as zero" duration="3"/>
|
|
174
|
+
</file>
|
|
175
175
|
</unitTest>
|
|
@@ -18,4 +18,9 @@ export interface PaginationInfo {
|
|
|
18
18
|
|
|
19
19
|
/** Se ainda existem mais registros */
|
|
20
20
|
hasMore: boolean;
|
|
21
|
+
|
|
22
|
+
/** Informa se o carregamento de dados em background está sendo executado
|
|
23
|
+
* Caso o dataunit não tenha carga paralela o valor será indefinido
|
|
24
|
+
*/
|
|
25
|
+
loadingInProgress?: boolean;
|
|
21
26
|
}
|