@sankhyalabs/core 7.1.0-rc.4 → 7.1.0-rc.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/dataunit/formatting/PrettyFormatter.js +4 -1
- package/dist/dataunit/formatting/PrettyFormatter.js.map +1 -1
- package/dist/ui/FloatingManager.js +1 -1
- package/dist/ui/FloatingManager.js.map +1 -1
- package/package.json +1 -1
- package/reports/test-report.xml +355 -354
- package/src/dataunit/formatting/PrettyFormatter.ts +4 -0
- package/src/ui/FloatingManager.ts +1 -1
- package/test/dataunit/formatting/PrettyFormatter.spec.ts +12 -0
package/reports/test-report.xml
CHANGED
|
@@ -2,89 +2,89 @@
|
|
|
2
2
|
<testExecutions version="1">
|
|
3
3
|
<file path="/builds/dti/design-system/commons/sankhyacore/test/util/ObjectUtils.spec.ts">
|
|
4
4
|
<testCase name="ObjectUtils getProp should get an object value based on its path" duration="2"/>
|
|
5
|
-
<testCase name="ObjectUtils getProp should get an object value based on its path" duration="
|
|
5
|
+
<testCase name="ObjectUtils getProp should get an object value based on its path" duration="0"/>
|
|
6
6
|
<testCase name="ObjectUtils getProp should return undefined if the path doesn't exist in the object" duration="0"/>
|
|
7
|
-
<testCase name="ObjectUtils hasEquivalentValues should return true if both objects have the same property value" duration="
|
|
8
|
-
<testCase name="ObjectUtils hasEquivalentValues should return false if both objects have different property values" duration="
|
|
9
|
-
<testCase name="ObjectUtils hasEquivalentValues should return true if both objects are equivalent with custom property to compare" duration="
|
|
10
|
-
<testCase name="ObjectUtils hasEquivalentValues should return false if both objects are not equivalent with custom property to compare" duration="
|
|
11
|
-
<testCase name="ObjectUtils hasEquivalentValues should return false if one object does not have the property" duration="
|
|
12
|
-
<testCase name="ObjectUtils hasEquivalentValues should return true if comparing primitive values directly" duration="
|
|
13
|
-
<testCase name="ObjectUtils hasEquivalentValues should return false if comparing different primitive values" duration="
|
|
14
|
-
<testCase name="ObjectUtils hasEquivalentValues should return true when comparing object with a null value" duration="
|
|
7
|
+
<testCase name="ObjectUtils hasEquivalentValues should return true if both objects have the same property value" duration="1"/>
|
|
8
|
+
<testCase name="ObjectUtils hasEquivalentValues should return false if both objects have different property values" duration="0"/>
|
|
9
|
+
<testCase name="ObjectUtils hasEquivalentValues should return true if both objects are equivalent with custom property to compare" duration="1"/>
|
|
10
|
+
<testCase name="ObjectUtils hasEquivalentValues should return false if both objects are not equivalent with custom property to compare" duration="0"/>
|
|
11
|
+
<testCase name="ObjectUtils hasEquivalentValues should return false if one object does not have the property" duration="1"/>
|
|
12
|
+
<testCase name="ObjectUtils hasEquivalentValues should return true if comparing primitive values directly" duration="0"/>
|
|
13
|
+
<testCase name="ObjectUtils hasEquivalentValues should return false if comparing different primitive values" duration="1"/>
|
|
14
|
+
<testCase name="ObjectUtils hasEquivalentValues should return true when comparing object with a null value" duration="0"/>
|
|
15
15
|
<testCase name="ObjectUtils hasEquivalentValues should return false when comparing object with null and non-null value" duration="0"/>
|
|
16
16
|
<testCase name="ObjectUtils hasEquivalentValues should return true when comparing non-object values that are equal" duration="0"/>
|
|
17
17
|
<testCase name="ObjectUtils copy should copy a simple object" duration="1"/>
|
|
18
|
-
<testCase name="ObjectUtils copy should copy an array of objects" duration="
|
|
19
|
-
<testCase name="ObjectUtils copy should copy an object with nested properties" duration="
|
|
20
|
-
<testCase name="ObjectUtils copy should copy an object with null or undefined values" duration="
|
|
21
|
-
<testCase name="ObjectUtils copy should copy an empty object" duration="
|
|
22
|
-
<testCase name="ObjectUtils copy should copy an object with mixed types of values" duration="
|
|
23
|
-
<testCase name="ObjectUtils objectToString should convert a simple object to JSON string" duration="
|
|
18
|
+
<testCase name="ObjectUtils copy should copy an array of objects" duration="1"/>
|
|
19
|
+
<testCase name="ObjectUtils copy should copy an object with nested properties" duration="0"/>
|
|
20
|
+
<testCase name="ObjectUtils copy should copy an object with null or undefined values" duration="1"/>
|
|
21
|
+
<testCase name="ObjectUtils copy should copy an empty object" duration="0"/>
|
|
22
|
+
<testCase name="ObjectUtils copy should copy an object with mixed types of values" duration="1"/>
|
|
23
|
+
<testCase name="ObjectUtils objectToString should convert a simple object to JSON string" duration="1"/>
|
|
24
24
|
<testCase name="ObjectUtils objectToString should convert an array of objects to JSON string" duration="0"/>
|
|
25
25
|
<testCase name="ObjectUtils objectToString should convert a nested object to JSON string" duration="0"/>
|
|
26
26
|
<testCase name="ObjectUtils objectToString should convert an object with null and undefined values to JSON string" duration="0"/>
|
|
27
27
|
<testCase name="ObjectUtils objectToString should convert an empty object to JSON string" duration="0"/>
|
|
28
28
|
<testCase name="ObjectUtils objectToString should convert an object with mixed types of values to JSON string" duration="0"/>
|
|
29
|
-
<testCase name="ObjectUtils stringToObject should convert a simple JSON string to an object" duration="
|
|
30
|
-
<testCase name="ObjectUtils stringToObject should convert a JSON string representing an array of objects to an array of objects" duration="
|
|
29
|
+
<testCase name="ObjectUtils stringToObject should convert a simple JSON string to an object" duration="0"/>
|
|
30
|
+
<testCase name="ObjectUtils stringToObject should convert a JSON string representing an array of objects to an array of objects" duration="1"/>
|
|
31
31
|
<testCase name="ObjectUtils stringToObject should convert a JSON string representing a nested object to an object" duration="0"/>
|
|
32
|
-
<testCase name="ObjectUtils stringToObject should convert a JSON string with null and undefined values to an object" duration="
|
|
32
|
+
<testCase name="ObjectUtils stringToObject should convert a JSON string with null and undefined values to an object" duration="0"/>
|
|
33
33
|
<testCase name="ObjectUtils stringToObject should convert an empty JSON string to an empty object" duration="0"/>
|
|
34
|
-
<testCase name="ObjectUtils stringToObject should throw an error for an invalid JSON string" duration="
|
|
35
|
-
<testCase name="ObjectUtils sortByProperty should sort an object by a numerical property" duration="
|
|
36
|
-
<testCase name="ObjectUtils sortByProperty should sort an object by a string property" duration="
|
|
37
|
-
<testCase name="ObjectUtils sortByProperty should handle null values correctly when sorting" duration="
|
|
38
|
-
<testCase name="ObjectUtils removeEmptyValues should remove properties with null or undefined values in a simple object" duration="
|
|
39
|
-
<testCase name="ObjectUtils removeEmptyValues should remove properties with null or undefined values in a nested object" duration="
|
|
40
|
-
<testCase name="ObjectUtils removeEmptyValues should remove empty values in an array inside an object" duration="
|
|
41
|
-
<testCase name="ObjectUtils removeEmptyValues should not modify an object with no null or undefined values" duration="
|
|
34
|
+
<testCase name="ObjectUtils stringToObject should throw an error for an invalid JSON string" duration="7"/>
|
|
35
|
+
<testCase name="ObjectUtils sortByProperty should sort an object by a numerical property" duration="1"/>
|
|
36
|
+
<testCase name="ObjectUtils sortByProperty should sort an object by a string property" duration="4"/>
|
|
37
|
+
<testCase name="ObjectUtils sortByProperty should handle null values correctly when sorting" duration="1"/>
|
|
38
|
+
<testCase name="ObjectUtils removeEmptyValues should remove properties with null or undefined values in a simple object" duration="0"/>
|
|
39
|
+
<testCase name="ObjectUtils removeEmptyValues should remove properties with null or undefined values in a nested object" duration="1"/>
|
|
40
|
+
<testCase name="ObjectUtils removeEmptyValues should remove empty values in an array inside an object" duration="0"/>
|
|
41
|
+
<testCase name="ObjectUtils removeEmptyValues should not modify an object with no null or undefined values" duration="1"/>
|
|
42
42
|
<testCase name="ObjectUtils removeEmptyValues should return an empty object if all properties are removed" duration="0"/>
|
|
43
|
-
<testCase name="ObjectUtils equals should return true for identical objects" duration="
|
|
43
|
+
<testCase name="ObjectUtils equals should return true for identical objects" duration="1"/>
|
|
44
44
|
<testCase name="ObjectUtils equals should return false for different objects" duration="0"/>
|
|
45
45
|
<testCase name="ObjectUtils equals should return true for identical nested objects" duration="1"/>
|
|
46
46
|
<testCase name="ObjectUtils equals should return false for different nested objects" duration="0"/>
|
|
47
47
|
<testCase name="ObjectUtils equals should return false for objects with different types of properties" duration="0"/>
|
|
48
48
|
<testCase name="ObjectUtils equals should return true for identical arrays" duration="0"/>
|
|
49
49
|
<testCase name="ObjectUtils equals should return false for different arrays" duration="0"/>
|
|
50
|
-
<testCase name="ObjectUtils equals should return true for empty objects" duration="
|
|
51
|
-
<testCase name="ObjectUtils equals should return false when comparing different types (object vs array)" duration="
|
|
50
|
+
<testCase name="ObjectUtils equals should return true for empty objects" duration="1"/>
|
|
51
|
+
<testCase name="ObjectUtils equals should return false when comparing different types (object vs array)" duration="0"/>
|
|
52
52
|
<testCase name="ObjectUtils equals should return true for objects with null and undefined treated as different" duration="0"/>
|
|
53
|
-
<testCase name="ObjectUtils isEmptySafetyCheck should return true for an empty object" duration="
|
|
53
|
+
<testCase name="ObjectUtils isEmptySafetyCheck should return true for an empty object" duration="0"/>
|
|
54
54
|
<testCase name="ObjectUtils isEmptySafetyCheck should return false for an object with properties" duration="0"/>
|
|
55
|
-
<testCase name="ObjectUtils isEmptySafetyCheck should return false for an object with nested properties" duration="
|
|
55
|
+
<testCase name="ObjectUtils isEmptySafetyCheck should return false for an object with nested properties" duration="1"/>
|
|
56
56
|
<testCase name="ObjectUtils isEmptySafetyCheck should return false for an empty array" duration="0"/>
|
|
57
57
|
<testCase name="ObjectUtils isEmptySafetyCheck should return false for an object with null or undefined properties" duration="0"/>
|
|
58
|
-
<testCase name="ObjectUtils isEmptySafetyCheck should return false for a non-empty array object" duration="
|
|
58
|
+
<testCase name="ObjectUtils isEmptySafetyCheck should return false for a non-empty array object" duration="1"/>
|
|
59
59
|
<testCase name="ObjectUtils isEmptySafetyCheck should handle null gracefully and return true" duration="0"/>
|
|
60
60
|
<testCase name="ObjectUtils isEmptySafetyCheck should handle undefined gracefully and return true" duration="0"/>
|
|
61
|
-
<testCase name="ObjectUtils isEmptySafetyCheck should return false for primitive values (numbers, strings)" duration="
|
|
61
|
+
<testCase name="ObjectUtils isEmptySafetyCheck should return false for primitive values (numbers, strings)" duration="1"/>
|
|
62
62
|
<testCase name="ObjectUtils isEmptySafetyCheck should return false for functions" duration="0"/>
|
|
63
63
|
<testCase name="ObjectUtils isNotEmptySafetyCheck should return false for an empty object" duration="0"/>
|
|
64
64
|
<testCase name="ObjectUtils isNotEmptySafetyCheck should return true for an object with properties" duration="0"/>
|
|
65
65
|
<testCase name="ObjectUtils isNotEmptySafetyCheck should return true for an object with nested properties" duration="0"/>
|
|
66
66
|
<testCase name="ObjectUtils isNotEmptySafetyCheck should return true for an empty array" duration="0"/>
|
|
67
|
-
<testCase name="ObjectUtils isNotEmptySafetyCheck should return true for an object with null or undefined properties" duration="
|
|
68
|
-
<testCase name="ObjectUtils isNotEmptySafetyCheck should return true for a non-empty array object" duration="
|
|
67
|
+
<testCase name="ObjectUtils isNotEmptySafetyCheck should return true for an object with null or undefined properties" duration="0"/>
|
|
68
|
+
<testCase name="ObjectUtils isNotEmptySafetyCheck should return true for a non-empty array object" duration="1"/>
|
|
69
69
|
<testCase name="ObjectUtils isNotEmptySafetyCheck should handle null gracefully and return false" duration="0"/>
|
|
70
70
|
<testCase name="ObjectUtils isNotEmptySafetyCheck should handle undefined gracefully and return false" duration="0"/>
|
|
71
|
-
<testCase name="ObjectUtils isNotEmptySafetyCheck should return false for primitive values (numbers, strings)" duration="
|
|
71
|
+
<testCase name="ObjectUtils isNotEmptySafetyCheck should return false for primitive values (numbers, strings)" duration="0"/>
|
|
72
72
|
<testCase name="ObjectUtils isNotEmptySafetyCheck should return true for functions" duration="0"/>
|
|
73
73
|
</file>
|
|
74
74
|
<file path="/builds/dti/design-system/commons/sankhyacore/test/dataunit/RecordsManager.spec.ts">
|
|
75
|
-
<testCase name="Records manager removeRecords should remove first record" duration="
|
|
75
|
+
<testCase name="Records manager removeRecords should remove first record" duration="7"/>
|
|
76
76
|
<testCase name="Records manager removeRecords should remove first record with loader" duration="2"/>
|
|
77
77
|
<testCase name="Records manager removeRecords should remove two record with loader" duration="2"/>
|
|
78
78
|
<testCase name="Records manager removeRecords should remove last" duration="1"/>
|
|
79
79
|
<testCase name="Records manager removeRecords should handle error dataLoader" duration="1"/>
|
|
80
80
|
<testCase name="Records manager removeSelectedRecords should remove first record" duration="2"/>
|
|
81
|
-
<testCase name="Records manager removeSelectedRecords should remove last record" duration="
|
|
82
|
-
<testCase name="Records manager removeSelectedRecords should ignore when not has a record selected" duration="
|
|
83
|
-
<testCase name="Records manager removeSelectedRecords should throw error when all records is selected" duration="
|
|
81
|
+
<testCase name="Records manager removeSelectedRecords should remove last record" duration="2"/>
|
|
82
|
+
<testCase name="Records manager removeSelectedRecords should ignore when not has a record selected" duration="1"/>
|
|
83
|
+
<testCase name="Records manager removeSelectedRecords should throw error when all records is selected" duration="1"/>
|
|
84
84
|
<testCase name="Records manager copySelected should copy first record" duration="2"/>
|
|
85
85
|
<testCase name="Records manager copySelected should copy last record" duration="1"/>
|
|
86
|
-
<testCase name="Records manager copySelected should ignore when not has a record selected" duration="
|
|
87
|
-
<testCase name="Records manager copySelected should ignore when not has records" duration="
|
|
86
|
+
<testCase name="Records manager copySelected should ignore when not has a record selected" duration="0"/>
|
|
87
|
+
<testCase name="Records manager copySelected should ignore when not has records" duration="1"/>
|
|
88
88
|
<testCase name="Records manager copySelected should throw error when all records is selected" duration="14"/>
|
|
89
89
|
<testCase name="Records manager hasCopiedRecord should be true when has new records" duration="1"/>
|
|
90
90
|
<testCase name="Records manager hasCopiedRecord should be false when not have any record" duration="1"/>
|
|
@@ -94,40 +94,40 @@
|
|
|
94
94
|
<testCase name="Records manager reloadCurrentRecord should return empty array when not has dataLoader" duration="1"/>
|
|
95
95
|
<testCase name="Records manager reloadCurrentRecord should call dataLoader to fech records" duration="1"/>
|
|
96
96
|
<testCase name="Records manager reloadCurrentRecord should handle error recordLoader" duration="1"/>
|
|
97
|
-
<testCase name="Records manager getModifiedRecords should return record that has been modified" duration="
|
|
98
|
-
<testCase name="Records manager getModifiedRecords should return empty when not has any record modified" duration="
|
|
99
|
-
<testCase name="Records manager getAddedRecords should return the new record has been created" duration="
|
|
97
|
+
<testCase name="Records manager getModifiedRecords should return record that has been modified" duration="1"/>
|
|
98
|
+
<testCase name="Records manager getModifiedRecords should return empty when not has any record modified" duration="0"/>
|
|
99
|
+
<testCase name="Records manager getAddedRecords should return the new record has been created" duration="1"/>
|
|
100
100
|
<testCase name="Records manager getAddedRecords should return undefined when not has any new record" duration="1"/>
|
|
101
|
-
<testCase name="Records manager getLastLoadRequest should return a empty request" duration="
|
|
101
|
+
<testCase name="Records manager getLastLoadRequest should return a empty request" duration="0"/>
|
|
102
102
|
<testCase name="Records manager getLastLoadRequest should return a fully example request" duration="1"/>
|
|
103
103
|
<testCase name="Records manager clearDataUnit should clean all records" duration="1"/>
|
|
104
|
-
<testCase name="Records manager cancelEdition should cancel edition" duration="
|
|
104
|
+
<testCase name="Records manager cancelEdition should cancel edition" duration="1"/>
|
|
105
105
|
<testCase name="Records manager cancelEdition should cancel edition in child dataUnits" duration="3"/>
|
|
106
106
|
<testCase name="Records manager cancelEdition should load data when cancel edition in child dataUnits and has a record selected" duration="3"/>
|
|
107
107
|
</file>
|
|
108
108
|
<file path="/builds/dti/design-system/commons/sankhyacore/test/util/ElementIDUtils.spec.ts">
|
|
109
|
-
<testCase name="addIDInfo 1 - should add data-element-id with valid id "movFinanceira_snkApplication"" duration="
|
|
109
|
+
<testCase name="addIDInfo 1 - should add data-element-id with valid id "movFinanceira_snkApplication"" duration="5"/>
|
|
110
110
|
<testCase name="addIDInfo 2 - should add data-element-id with valid id "brComSankhyaFinCadMovimentacaofinanceira_snkApplication"" duration="1"/>
|
|
111
111
|
<testCase name="addIDInfo 3 - should add data-element-id with valid id "movFinanceira_br.com.sankhya.fin.cad.movimentacaoFinanceira"" duration="1"/>
|
|
112
112
|
<testCase name="addIDInfo 4 - should add data-element-id with valid id "meuID2_snkApplication"" duration="1"/>
|
|
113
|
-
<testCase name="addIDInfo 5 - should add data-element-id with valid id "movFinanceira_snkApplication"" duration="
|
|
113
|
+
<testCase name="addIDInfo 5 - should add data-element-id with valid id "movFinanceira_snkApplication"" duration="7"/>
|
|
114
114
|
<testCase name="addIDInfo 6 - should add data-element-id with valid id "movFinanceira_snkApplication"" duration="1"/>
|
|
115
115
|
<testCase name="addIDInfo 7 - should add data-element-id with valid id "componenteNameTest_snkApplication"" duration="1"/>
|
|
116
116
|
<testCase name="addIDInfo 8 - should add data-element-id with valid id "componentLabel_snkApplication"" duration="1"/>
|
|
117
|
-
<testCase name="addIDInfo 9 - should add data-element-id with valid id "dataunitFinanceiro_br.com.sankhya.fin.cad.movimentacaoFinanceira"" duration="
|
|
118
|
-
<testCase name="addIDInfo 10 - should add data-element-id with valid id "dataunitFinanceiro_meuIDTeste_br.com.sankhya.fin.cad.movimentacaoFinanceira"" duration="
|
|
117
|
+
<testCase name="addIDInfo 9 - should add data-element-id with valid id "dataunitFinanceiro_br.com.sankhya.fin.cad.movimentacaoFinanceira"" duration="1"/>
|
|
118
|
+
<testCase name="addIDInfo 10 - should add data-element-id with valid id "dataunitFinanceiro_meuIDTeste_br.com.sankhya.fin.cad.movimentacaoFinanceira"" duration="1"/>
|
|
119
119
|
<testCase name="addIDInfo 11 - should add data-element-id with valid id "dataunitFinanceiro_meuIDTeste_movimentacaoFinanceira"" duration="1"/>
|
|
120
|
-
<testCase name="addIDInfo 12 - should add data-element-id with valid id "dataunitFinanceiro_movFinanceira_movimentacaoFinanceira"" duration="
|
|
120
|
+
<testCase name="addIDInfo 12 - should add data-element-id with valid id "dataunitFinanceiro_movFinanceira_movimentacaoFinanceira"" duration="0"/>
|
|
121
121
|
<testCase name="addIDInfo 13 - should add data-element-id with valid id "dataunitFinanceiro_meuIDTeste_movimentacaoFinanceira"" duration="1"/>
|
|
122
122
|
<testCase name="addIDInfo 14 - should add data-element-id with valid id "dataunitFinanceiro_meuIdTeste_movimentacaoFinanceira"" duration="1"/>
|
|
123
|
-
<testCase name="addIDInfo 15 - should add data-element-id with valid id "dataunitFinanceiro_meuIdTeste_snkApplication"" duration="
|
|
123
|
+
<testCase name="addIDInfo 15 - should add data-element-id with valid id "dataunitFinanceiro_meuIdTeste_snkApplication"" duration="1"/>
|
|
124
124
|
<testCase name="addIDInfo 16 - should add data-element-id with valid id "dataunitFinanceiro_meuIdTeste_snkApplication"" duration="0"/>
|
|
125
|
-
<testCase name="addIDInfo 17 - should add data-element-id with valid id "movFinanceira_movimentacaoFinanceira"" duration="
|
|
125
|
+
<testCase name="addIDInfo 17 - should add data-element-id with valid id "movFinanceira_movimentacaoFinanceira"" duration="0"/>
|
|
126
126
|
<testCase name="addIDInfo 18 - should add data-element-id with valid id "movFinanceira_movimentacaoFinanceira"" duration="1"/>
|
|
127
|
-
<testCase name="addIDInfo 19 - should add data-element-id with valid id "movFinanceira_movimentacaoFinanceira"" duration="
|
|
127
|
+
<testCase name="addIDInfo 19 - should add data-element-id with valid id "movFinanceira_movimentacaoFinanceira"" duration="1"/>
|
|
128
128
|
<testCase name="addIDInfo 20 - should add data-element-id with valid id "movFinanceira_movimentacaoFinanceira"" duration="0"/>
|
|
129
|
-
<testCase name="addIDInfo 21 - should add data-element-id with valid id "movFinanceira_movimentacaoFinanceira"" duration="
|
|
130
|
-
<testCase name="addIDInfo 22 - should add data-element-id with valid id "bancoObrigatorio_movimentacaoFinanceira"" duration="
|
|
129
|
+
<testCase name="addIDInfo 21 - should add data-element-id with valid id "movFinanceira_movimentacaoFinanceira"" duration="0"/>
|
|
130
|
+
<testCase name="addIDInfo 22 - should add data-element-id with valid id "bancoObrigatorio_movimentacaoFinanceira"" duration="1"/>
|
|
131
131
|
</file>
|
|
132
132
|
<file path="/builds/dti/design-system/commons/sankhyacore/test/dataunit/FilterSortsLockersAndObservers.spec.ts">
|
|
133
133
|
<testCase name="Filters, sorts, lockers and observers release should clean dataUnit storage" duration="3"/>
|
|
@@ -135,16 +135,16 @@
|
|
|
135
135
|
<testCase name="Filters, sorts, lockers and observers releaseCallbacks should clean observers, interceptors, sorting and filters provider" duration="2"/>
|
|
136
136
|
<testCase name="Filters, sorts, lockers and observers releaseCallbacks should not clean observers when allowReleaseCallbacks is false" duration="1"/>
|
|
137
137
|
<testCase name="Filters, sorts, lockers and observers addInterceptor should remove interceptors" duration="1"/>
|
|
138
|
-
<testCase name="Filters, sorts, lockers and observers addFilterProvider should remove filterProvider" duration="
|
|
138
|
+
<testCase name="Filters, sorts, lockers and observers addFilterProvider should remove filterProvider" duration="2"/>
|
|
139
139
|
<testCase name="Filters, sorts, lockers and observers addFilterProvider should add filterProvider with custom key" duration="1"/>
|
|
140
140
|
<testCase name="Filters, sorts, lockers and observers subscribe should remove observer" duration="1"/>
|
|
141
|
-
<testCase name="Filters, sorts, lockers and observers subscribe should set observer with uuid" duration="
|
|
142
|
-
<testCase name="Filters, sorts, lockers and observers subscribe should set observer with error" duration="
|
|
141
|
+
<testCase name="Filters, sorts, lockers and observers subscribe should set observer with uuid" duration="2"/>
|
|
142
|
+
<testCase name="Filters, sorts, lockers and observers subscribe should set observer with error" duration="1"/>
|
|
143
143
|
<testCase name="Filters, sorts, lockers and observers getAppliedFilters should return applied filters" duration="1"/>
|
|
144
144
|
<testCase name="Filters, sorts, lockers and observers getAppliedFilters should return undefined when filter is not applied" duration="1"/>
|
|
145
145
|
<testCase name="Filters, sorts, lockers and observers addLoadingLocker should loaded data just when unlock" duration="1"/>
|
|
146
146
|
<testCase name="Filters, sorts, lockers and observers hasWaitingChanges should return status waiting changes" duration="1"/>
|
|
147
|
-
<testCase name="Filters, sorts, lockers and observers addGlobalLoaderProp should set global properties" duration="
|
|
147
|
+
<testCase name="Filters, sorts, lockers and observers addGlobalLoaderProp should set global properties" duration="0"/>
|
|
148
148
|
<testCase name="Filters, sorts, lockers and observers addGlobalLoaderProp should return empty map when global properties not set" duration="1"/>
|
|
149
149
|
</file>
|
|
150
150
|
<file path="/builds/dti/design-system/commons/sankhyacore/test/dataunit/LoadDataAndMetadata.spec.ts">
|
|
@@ -157,120 +157,120 @@
|
|
|
157
157
|
<testCase name="Load data and metadata dataLoader should return records from dataLoader" duration="1"/>
|
|
158
158
|
<testCase name="Load data and metadata dataLoader should call dataLoader when loadData is invoked" duration="1"/>
|
|
159
159
|
<testCase name="Load data and metadata dataLoader should clear dataUnit when parent record is undefined" duration="0"/>
|
|
160
|
-
<testCase name="Load data and metadata dataLoader should clear dataUnit when parent record is new" duration="
|
|
161
|
-
<testCase name="Load data and metadata dataLoader should pass quickFilter on request" duration="
|
|
160
|
+
<testCase name="Load data and metadata dataLoader should clear dataUnit when parent record is new" duration="2"/>
|
|
161
|
+
<testCase name="Load data and metadata dataLoader should pass quickFilter on request" duration="0"/>
|
|
162
162
|
<testCase name="Load data and metadata dataLoader should pass limit size and offset on request when pageSize is bigger than 0" duration="1"/>
|
|
163
|
-
<testCase name="Load data and metadata dataLoader should avoid call dataLoader when request is the same at the last" duration="
|
|
163
|
+
<testCase name="Load data and metadata dataLoader should avoid call dataLoader when request is the same at the last" duration="5"/>
|
|
164
164
|
<testCase name="Load data and metadata dataLoader should select first record when propertie selectFirstRecord is true" duration="1"/>
|
|
165
165
|
<testCase name="Load data and metadata dataLoader should handle error dataLoader" duration="1"/>
|
|
166
166
|
<testCase name="Load data and metadata loadDataWithParams should pass params to loadData correctly" duration="1"/>
|
|
167
167
|
<testCase name="Load data and metadata loadMetadata should return metadata" duration="1"/>
|
|
168
|
-
<testCase name="Load data and metadata loadMetadata should handle error metadataLoader" duration="
|
|
169
|
-
<testCase name="Load data and metadata loadMetadata should call executionCtx methods" duration="
|
|
168
|
+
<testCase name="Load data and metadata loadMetadata should handle error metadataLoader" duration="0"/>
|
|
169
|
+
<testCase name="Load data and metadata loadMetadata should call executionCtx methods" duration="1"/>
|
|
170
170
|
<testCase name="Load data and metadata loadMetadata should call interceptors" duration="1"/>
|
|
171
|
-
<testCase name="Load data and metadata loadMetadata should interrupt by executionCtx" duration="
|
|
171
|
+
<testCase name="Load data and metadata loadMetadata should interrupt by executionCtx" duration="0"/>
|
|
172
172
|
</file>
|
|
173
173
|
<file path="/builds/dti/design-system/commons/sankhyacore/test/dataunit/FieldManager.spec.ts">
|
|
174
174
|
<testCase name="Field manager setFieldValue should not create a new record when suppressCreateNewRecord is true" duration="3"/>
|
|
175
175
|
<testCase name="Field manager setFieldValue should resolve promise with false when value is the same" duration="1"/>
|
|
176
|
-
<testCase name="Field manager setFieldValue should handle with promise values" duration="
|
|
177
|
-
<testCase name="Field manager setFieldValue should return false when value is the same" duration="
|
|
176
|
+
<testCase name="Field manager setFieldValue should handle with promise values" duration="1"/>
|
|
177
|
+
<testCase name="Field manager setFieldValue should return false when value is the same" duration="0"/>
|
|
178
178
|
<testCase name="Field manager disableField should set readOnly to true" duration="1"/>
|
|
179
179
|
<testCase name="Field manager disableField should set readOnly to true when readonly is undefined" duration="1"/>
|
|
180
180
|
<testCase name="Field manager disableField should not set readOnly when field metadata not exist" duration="1"/>
|
|
181
181
|
<testCase name="Field manager enableField should set readOnly to false" duration="1"/>
|
|
182
|
-
<testCase name="Field manager enableField should set readOnly to false when readonly is undefined" duration="
|
|
183
|
-
<testCase name="Field manager enableField should not set readOnly when field metadata not exist" duration="
|
|
182
|
+
<testCase name="Field manager enableField should set readOnly to false when readonly is undefined" duration="1"/>
|
|
183
|
+
<testCase name="Field manager enableField should not set readOnly when field metadata not exist" duration="1"/>
|
|
184
184
|
<testCase name="Field manager hideField should set visible to false" duration="1"/>
|
|
185
|
-
<testCase name="Field manager hideField should set visible to false when visible is undefined" duration="
|
|
185
|
+
<testCase name="Field manager hideField should set visible to false when visible is undefined" duration="0"/>
|
|
186
186
|
<testCase name="Field manager hideField should handle with options undefined" duration="1"/>
|
|
187
|
-
<testCase name="Field manager hideField should not set visible when field metadata not exist" duration="
|
|
187
|
+
<testCase name="Field manager hideField should not set visible when field metadata not exist" duration="7"/>
|
|
188
188
|
<testCase name="Field manager showField should set visible to true" duration="1"/>
|
|
189
189
|
<testCase name="Field manager showField should set visible to true when visible is undefined" duration="1"/>
|
|
190
|
-
<testCase name="Field manager showField should not set visible when field metadata not exist" duration="
|
|
191
|
-
<testCase name="Field manager addField should add field standAlone to metadata" duration="
|
|
190
|
+
<testCase name="Field manager showField should not set visible when field metadata not exist" duration="0"/>
|
|
191
|
+
<testCase name="Field manager addField should add field standAlone to metadata" duration="2"/>
|
|
192
192
|
<testCase name="Field manager valueFromString should return number type" duration="1"/>
|
|
193
|
-
<testCase name="Field manager valueFromString should return boolean type" duration="
|
|
194
|
-
<testCase name="Field manager valueFromString should return value without any format when not has a metadata to field" duration="
|
|
195
|
-
<testCase name="Field manager valueToString should return string from the number type" duration="
|
|
193
|
+
<testCase name="Field manager valueFromString should return boolean type" duration="0"/>
|
|
194
|
+
<testCase name="Field manager valueFromString should return value without any format when not has a metadata to field" duration="0"/>
|
|
195
|
+
<testCase name="Field manager valueToString should return string from the number type" duration="1"/>
|
|
196
196
|
<testCase name="Field manager valueToString should return string from the boolean type" duration="1"/>
|
|
197
197
|
<testCase name="Field manager valueToString should return string value when not has a metadata to field" duration="1"/>
|
|
198
|
-
<testCase name="Field manager getFormattedValue should return string with number format from the number type" duration="
|
|
198
|
+
<testCase name="Field manager getFormattedValue should return string with number format from the number type" duration="33"/>
|
|
199
199
|
<testCase name="Field manager getFormattedValue should return string from the boolean type" duration="1"/>
|
|
200
|
-
<testCase name="Field manager getFormattedValue should return empty string when value is undefined and not has any record selected" duration="
|
|
200
|
+
<testCase name="Field manager getFormattedValue should return empty string when value is undefined and not has any record selected" duration="0"/>
|
|
201
201
|
<testCase name="Field manager getFormattedValue should return value in string when value is undefined and has a record selected" duration="1"/>
|
|
202
202
|
<testCase name="Field manager getFormattedValue should return value in string formated when receive a string" duration="1"/>
|
|
203
203
|
<testCase name="Field manager getFormattedValue should return value in string with any formated when dont has a metadata field" duration="1"/>
|
|
204
|
-
<testCase name="Field manager getFormattedValue should return string value when not has a metadata to field" duration="
|
|
205
|
-
<testCase name="Field manager addSourceFieldValue should return string with number format from the number type" duration="
|
|
204
|
+
<testCase name="Field manager getFormattedValue should return string value when not has a metadata to field" duration="0"/>
|
|
205
|
+
<testCase name="Field manager addSourceFieldValue should return string with number format from the number type" duration="0"/>
|
|
206
206
|
</file>
|
|
207
207
|
<file path="/builds/dti/design-system/commons/sankhyacore/test/dataunit/InfoManager.spec.ts">
|
|
208
|
-
<testCase name="Info manager getters and setters should return dataUnit uuid" duration="
|
|
209
|
-
<testCase name="Info manager getters and setters should return isWaitingToReload" duration="
|
|
208
|
+
<testCase name="Info manager getters and setters should return dataUnit uuid" duration="2"/>
|
|
209
|
+
<testCase name="Info manager getters and setters should return isWaitingToReload" duration="0"/>
|
|
210
210
|
<testCase name="Info manager getters and setters should return cancelPagination" duration="0"/>
|
|
211
211
|
<testCase name="Info manager getters and setters should return isMultipleEdition" duration="1"/>
|
|
212
|
-
<testCase name="Info manager getters and setters should return defaultSorting" duration="
|
|
213
|
-
<testCase name="Info manager getters and setters should return pageSize" duration="
|
|
214
|
-
<testCase name="Info manager waitingForChange should return true for changes field" duration="
|
|
215
|
-
<testCase name="Info manager waitingForChange should return false for no changes field" duration="
|
|
212
|
+
<testCase name="Info manager getters and setters should return defaultSorting" duration="1"/>
|
|
213
|
+
<testCase name="Info manager getters and setters should return pageSize" duration="0"/>
|
|
214
|
+
<testCase name="Info manager waitingForChange should return true for changes field" duration="1"/>
|
|
215
|
+
<testCase name="Info manager waitingForChange should return false for no changes field" duration="0"/>
|
|
216
216
|
<testCase name="Info manager getInvalidMessage should return error message from field" duration="2"/>
|
|
217
217
|
<testCase name="Info manager getInvalidMessage should return undefined when not has any error" duration="1"/>
|
|
218
218
|
<testCase name="Info manager isDirty should return true when has data not saved" duration="1"/>
|
|
219
|
-
<testCase name="Info manager isDirty should return true when dataUnit child not has data pending" duration="
|
|
220
|
-
<testCase name="Info manager isDirty should return false when dataUnit child has data not saved and ignoreChildren" duration="
|
|
221
|
-
<testCase name="Info manager hasDirtyRecords should return true when any record has data not saved" duration="
|
|
222
|
-
<testCase name="Info manager hasDirtyRecords should return false when data has be saved" duration="
|
|
223
|
-
<testCase name="Info manager isNewRecord should return false when record is not new" duration="
|
|
219
|
+
<testCase name="Info manager isDirty should return true when dataUnit child not has data pending" duration="2"/>
|
|
220
|
+
<testCase name="Info manager isDirty should return false when dataUnit child has data not saved and ignoreChildren" duration="1"/>
|
|
221
|
+
<testCase name="Info manager hasDirtyRecords should return true when any record has data not saved" duration="2"/>
|
|
222
|
+
<testCase name="Info manager hasDirtyRecords should return false when data has be saved" duration="13"/>
|
|
223
|
+
<testCase name="Info manager isNewRecord should return false when record is not new" duration="1"/>
|
|
224
224
|
<testCase name="Info manager isNewRecord should return true when record is new" duration="0"/>
|
|
225
|
-
<testCase name="Info manager canUndo should return true when changes can undo" duration="
|
|
225
|
+
<testCase name="Info manager canUndo should return true when changes can undo" duration="1"/>
|
|
226
226
|
<testCase name="Info manager canUndo should return true when field value changes can undo" duration="1"/>
|
|
227
|
-
<testCase name="Info manager canUndo should return false when changes can not undo" duration="
|
|
227
|
+
<testCase name="Info manager canUndo should return false when changes can not undo" duration="1"/>
|
|
228
228
|
<testCase name="Info manager canRedo should return true when changes can redo" duration="1"/>
|
|
229
|
-
<testCase name="Info manager canRedo should return true when field value changes can redo" duration="
|
|
230
|
-
<testCase name="Info manager canRedo should return false when changes can not redo" duration="
|
|
231
|
-
<testCase name="Info manager toString should return dataUnit name" duration="
|
|
229
|
+
<testCase name="Info manager canRedo should return true when field value changes can redo" duration="2"/>
|
|
230
|
+
<testCase name="Info manager canRedo should return false when changes can not redo" duration="0"/>
|
|
231
|
+
<testCase name="Info manager toString should return dataUnit name" duration="1"/>
|
|
232
232
|
</file>
|
|
233
233
|
<file path="/builds/dti/design-system/commons/sankhyacore/test/dataunit/RecodsSelection.spec.ts">
|
|
234
|
-
<testCase name="Records selection getSelectionInfo should return selection records" duration="
|
|
234
|
+
<testCase name="Records selection getSelectionInfo should return selection records" duration="3"/>
|
|
235
235
|
<testCase name="Records selection getSelectionInfo should get all records" duration="1"/>
|
|
236
236
|
<testCase name="Records selection getSelectionInfo should return empty array when loader return invalid value" duration="1"/>
|
|
237
|
-
<testCase name="Records selection getSelectionInfo should return empty array when not has a loader" duration="
|
|
237
|
+
<testCase name="Records selection getSelectionInfo should return empty array when not has a loader" duration="0"/>
|
|
238
238
|
<testCase name="Records selection getSelectionInfo should return sortable records" duration="2"/>
|
|
239
|
-
<testCase name="Records selection selectAllRecords should select all records" duration="
|
|
239
|
+
<testCase name="Records selection selectAllRecords should select all records" duration="1"/>
|
|
240
240
|
<testCase name="Records selection unSelectAllRecords should remove all records selection" duration="1"/>
|
|
241
241
|
<testCase name="Records selection clearSelection should remove all records selection" duration="0"/>
|
|
242
242
|
<testCase name="Records selection updatePageSelection should set records selection" duration="1"/>
|
|
243
|
-
<testCase name="Records selection updatePageSelection should remove all records selection" duration="
|
|
243
|
+
<testCase name="Records selection updatePageSelection should remove all records selection" duration="1"/>
|
|
244
244
|
<testCase name="Records selection updatePageSelection should remove all records selection" duration="1"/>
|
|
245
245
|
<testCase name="Records selection hasNext should return true when has a next record" duration="1"/>
|
|
246
246
|
<testCase name="Records selection hasNext should return false when not has a next record" duration="1"/>
|
|
247
|
-
<testCase name="Records selection hasPrevious should return true when has a prevous record" duration="
|
|
247
|
+
<testCase name="Records selection hasPrevious should return true when has a prevous record" duration="4"/>
|
|
248
248
|
<testCase name="Records selection hasPrevious should return false when not has a prevous record" duration="1"/>
|
|
249
249
|
<testCase name="Records selection nextRecord should change selection to second record when has a next in the same page" duration="1"/>
|
|
250
|
-
<testCase name="Records selection nextRecord should change selection to second record when not has a next in the same page" duration="
|
|
250
|
+
<testCase name="Records selection nextRecord should change selection to second record when not has a next in the same page" duration="1"/>
|
|
251
251
|
<testCase name="Records selection nextRecord should call executionCtx" duration="2"/>
|
|
252
|
-
<testCase name="Records selection previousRecord should change selection to first record when has a previous in the same page" duration="
|
|
252
|
+
<testCase name="Records selection previousRecord should change selection to first record when has a previous in the same page" duration="13"/>
|
|
253
253
|
<testCase name="Records selection previousRecord should change selection to first record when not has a previous in the same page" duration="2"/>
|
|
254
|
-
<testCase name="Records selection previousRecord should call executionCtx" duration="
|
|
254
|
+
<testCase name="Records selection previousRecord should call executionCtx" duration="1"/>
|
|
255
255
|
</file>
|
|
256
256
|
<file path="/builds/dti/design-system/commons/sankhyacore/test/util/StringUtils.spec.ts">
|
|
257
|
-
<testCase name="StringUtils isEmpty should return true when value is " duration="
|
|
258
|
-
<testCase name="StringUtils isEmpty should return true when value is " duration="
|
|
259
|
-
<testCase name="StringUtils isEmpty should return true when value is null" duration="
|
|
260
|
-
<testCase name="StringUtils isEmpty should return true when value is undefined" duration="
|
|
257
|
+
<testCase name="StringUtils isEmpty should return true when value is " duration="1"/>
|
|
258
|
+
<testCase name="StringUtils isEmpty should return true when value is " duration="0"/>
|
|
259
|
+
<testCase name="StringUtils isEmpty should return true when value is null" duration="0"/>
|
|
260
|
+
<testCase name="StringUtils isEmpty should return true when value is undefined" duration="1"/>
|
|
261
261
|
<testCase name="StringUtils isEmpty should return false when value is 0" duration="0"/>
|
|
262
262
|
<testCase name="StringUtils isEmpty should return false when value is ab" duration="0"/>
|
|
263
263
|
<testCase name="StringUtils replaceAccentuatedChars should return the original value when called with an object without a toString method" duration="1"/>
|
|
264
264
|
<testCase name="StringUtils replaceAccentuatedChars should return the original value when called with undefined" duration="0"/>
|
|
265
|
-
<testCase name="StringUtils replaceAccentuatedChars should return AAAAA when value is ÁÀÂÃÄ" duration="
|
|
266
|
-
<testCase name="StringUtils replaceAccentuatedChars should return aaaaa when value is áàâãä" duration="
|
|
265
|
+
<testCase name="StringUtils replaceAccentuatedChars should return AAAAA when value is ÁÀÂÃÄ" duration="0"/>
|
|
266
|
+
<testCase name="StringUtils replaceAccentuatedChars should return aaaaa when value is áàâãä" duration="1"/>
|
|
267
267
|
<testCase name="StringUtils replaceAccentuatedChars should return C when value is Ç" duration="0"/>
|
|
268
|
-
<testCase name="StringUtils replaceAccentuatedCharsKeepSymbols should return AEIOU when value is áéíóú" duration="
|
|
268
|
+
<testCase name="StringUtils replaceAccentuatedCharsKeepSymbols should return AEIOU when value is áéíóú" duration="0"/>
|
|
269
269
|
<testCase name="StringUtils replaceAccentuatedCharsKeepSymbols should return AEIOU when value is âêîôû" duration="0"/>
|
|
270
270
|
<testCase name="StringUtils replaceAccentuatedCharsKeepSymbols should return CN when value is çñ" duration="0"/>
|
|
271
271
|
<testCase name="StringUtils replaceAccentuatedCharsKeepSymbols should return AO when value is ãõ" duration="0"/>
|
|
272
|
-
<testCase name="StringUtils replaceAccentuatedCharsKeepSymbols should return HELLO when value is hello" duration="
|
|
273
|
-
<testCase name="StringUtils replaceAccentuatedCharsKeepSymbols should return WORLD when value is WORLD" duration="
|
|
272
|
+
<testCase name="StringUtils replaceAccentuatedCharsKeepSymbols should return HELLO when value is hello" duration="0"/>
|
|
273
|
+
<testCase name="StringUtils replaceAccentuatedCharsKeepSymbols should return WORLD when value is WORLD" duration="1"/>
|
|
274
274
|
<testCase name="StringUtils replaceAccentuatedCharsKeepSymbols should return 12345 when value is 12345" duration="0"/>
|
|
275
275
|
<testCase name="StringUtils replaceAccentuatedCharsKeepSymbols should return !@#$%^&*() when value is !@#$%^&*()" duration="0"/>
|
|
276
276
|
<testCase name="StringUtils replaceAccentuatedCharsKeepSymbols should return OLA, MUNDO! when value is Olá, mundo!" duration="0"/>
|
|
@@ -278,145 +278,145 @@
|
|
|
278
278
|
<testCase name="StringUtils replaceAccentuatedCharsKeepSymbols should return 123 CN AEIOU when value is 123 çñ áéíóú" duration="0"/>
|
|
279
279
|
<testCase name="StringUtils replaceAccentuatedCharsKeepSymbols should return when value is " duration="0"/>
|
|
280
280
|
<testCase name="StringUtils replaceAccentuatedCharsKeepSymbols should return AEIOU when value is àèìòù" duration="0"/>
|
|
281
|
-
<testCase name="StringUtils replaceAccentuatedCharsKeepSymbols should return AEIOU when value is ÀÈÌÒÙ" duration="
|
|
281
|
+
<testCase name="StringUtils replaceAccentuatedCharsKeepSymbols should return AEIOU when value is ÀÈÌÒÙ" duration="1"/>
|
|
282
282
|
<testCase name="StringUtils replaceAccentuatedCharsKeepSymbols should return AEIOUCNAOAEIOU when value is ÁÉÍÓÚÇÑãõâêîôû" duration="0"/>
|
|
283
283
|
<testCase name="StringUtils replaceBlankCharacters should return HelloWorld when value is Hello World" duration="1"/>
|
|
284
284
|
<testCase name="StringUtils replaceBlankCharacters should return Test123 when value is Test 123" duration="0"/>
|
|
285
|
-
<testCase name="StringUtils replaceBlankCharacters should return Replacespaces when value is Replace spaces" duration="
|
|
286
|
-
<testCase name="StringUtils replaceBlankCharacters should return NoSpacesHere when value is NoSpacesHere" duration="
|
|
285
|
+
<testCase name="StringUtils replaceBlankCharacters should return Replacespaces when value is Replace spaces" duration="4"/>
|
|
286
|
+
<testCase name="StringUtils replaceBlankCharacters should return NoSpacesHere when value is NoSpacesHere" duration="1"/>
|
|
287
287
|
<testCase name="StringUtils replaceBlankCharacters should return Multiplespaceshere when value is Multiple spaces here" duration="0"/>
|
|
288
|
-
<testCase name="StringUtils replaceBlankCharacters should return Leadingandtrailingspaces when value is Leading and trailing spaces " duration="
|
|
289
|
-
<testCase name="StringUtils replaceBlankCharacters should return when value is " duration="
|
|
288
|
+
<testCase name="StringUtils replaceBlankCharacters should return Leadingandtrailingspaces when value is Leading and trailing spaces " duration="0"/>
|
|
289
|
+
<testCase name="StringUtils replaceBlankCharacters should return when value is " duration="1"/>
|
|
290
290
|
<testCase name="StringUtils replaceBlankCharacters should return SingleSpace when value is SingleSpace" duration="0"/>
|
|
291
|
-
<testCase name="StringUtils replaceToSpace should return "Hello " when value is "Hello World" and replaceList is ["World"]" duration="
|
|
292
|
-
<testCase name="StringUtils replaceToSpace should return "Test " when value is "Test 123" and replaceList is ["123"]" duration="
|
|
291
|
+
<testCase name="StringUtils replaceToSpace should return "Hello " when value is "Hello World" and replaceList is ["World"]" duration="1"/>
|
|
292
|
+
<testCase name="StringUtils replaceToSpace should return "Test " when value is "Test 123" and replaceList is ["123"]" duration="0"/>
|
|
293
293
|
<testCase name="StringUtils replaceToSpace should return "Replace the " when value is "Replace the word" and replaceList is ["word"]" duration="0"/>
|
|
294
|
-
<testCase name="StringUtils replaceToSpace should return "No change here" when value is "No change here" and replaceList is ["no"]" duration="
|
|
294
|
+
<testCase name="StringUtils replaceToSpace should return "No change here" when value is "No change here" and replaceList is ["no"]" duration="1"/>
|
|
295
295
|
<testCase name="StringUtils replaceToSpace should return " words to " when value is "Multiple words to replace" and replaceList is ["Multiple","replace"]" duration="0"/>
|
|
296
|
-
<testCase name="StringUtils replaceToSpace should return " and trailing " when value is " Leading and trailing spaces " and replaceList is ["Leading","spaces"]" duration="
|
|
297
|
-
<testCase name="StringUtils replaceToSpace should return "" when value is "" and replaceList is ["word"]" duration="
|
|
296
|
+
<testCase name="StringUtils replaceToSpace should return " and trailing " when value is " Leading and trailing spaces " and replaceList is ["Leading","spaces"]" duration="0"/>
|
|
297
|
+
<testCase name="StringUtils replaceToSpace should return "" when value is "" and replaceList is ["word"]" duration="1"/>
|
|
298
298
|
<testCase name="StringUtils replaceToSpace should return "Single replacement" when value is "Single word replacement" and replaceList is ["word"]" duration="0"/>
|
|
299
299
|
<testCase name="StringUtils replaceToSpace should return " word " when value is "Only word here" and replaceList is ["Only","here"]" duration="0"/>
|
|
300
|
-
<testCase name="StringUtils replaceToSpace should return "Replace occurrences" when value is "Replace multiple occurrences" and replaceList is ["multiple"]" duration="
|
|
301
|
-
<testCase name="StringUtils replaceAll should return "Hello Universe" when value is "Hello World", strFrom is "World", and strTo is "Universe"" duration="
|
|
300
|
+
<testCase name="StringUtils replaceToSpace should return "Replace occurrences" when value is "Replace multiple occurrences" and replaceList is ["multiple"]" duration="0"/>
|
|
301
|
+
<testCase name="StringUtils replaceAll should return "Hello Universe" when value is "Hello World", strFrom is "World", and strTo is "Universe"" duration="1"/>
|
|
302
302
|
<testCase name="StringUtils replaceAll should return "Test 456 456" when value is "Test 123 123", strFrom is "123", and strTo is "456"" duration="0"/>
|
|
303
303
|
<testCase name="StringUtils replaceAll should return "Replace_all_spaces" when value is "Replace all spaces", strFrom is " ", and strTo is "_"" duration="0"/>
|
|
304
304
|
<testCase name="StringUtils replaceAll should return "No changes here" when value is "No changes here", strFrom is "word", and strTo is "term"" duration="0"/>
|
|
305
305
|
<testCase name="StringUtils replaceAll should return "Multiple occurrences of word word word" when value is "Multiple occurrences of term term term", strFrom is "term", and strTo is "word"" duration="0"/>
|
|
306
|
-
<testCase name="StringUtils replaceAll should return "Case Sensitive Test" when value is "Case Sensitive Test", strFrom is "test", and strTo is "exam"" duration="
|
|
306
|
+
<testCase name="StringUtils replaceAll should return "Case Sensitive Test" when value is "Case Sensitive Test", strFrom is "test", and strTo is "exam"" duration="1"/>
|
|
307
307
|
<testCase name="StringUtils replaceAll should return "Multiple-words-to-replace" when value is "Multiple words to replace", strFrom is " ", and strTo is "-"" duration="0"/>
|
|
308
308
|
<testCase name="StringUtils replaceAll should return "" when value is "", strFrom is "word", and strTo is "term"" duration="0"/>
|
|
309
309
|
<testCase name="StringUtils replaceAll should return "cccc bbbb cccc" when value is "aaaa bbbb aaaa", strFrom is "aaaa", and strTo is "cccc"" duration="0"/>
|
|
310
310
|
<testCase name="StringUtils replaceAll should return "Look at this demo: demo demo" when value is "Look at this example: example example", strFrom is "example", and strTo is "demo"" duration="0"/>
|
|
311
311
|
<testCase name="StringUtils removeSpecialCharacters should return "Hello World" when value is "Hello!@#$ World"" duration="0"/>
|
|
312
312
|
<testCase name="StringUtils removeSpecialCharacters should return "Test 123 " when value is "Test 123 #$%"" duration="0"/>
|
|
313
|
-
<testCase name="StringUtils removeSpecialCharacters should return "Remove special characters" when value is "Remove *&%$# special characters!"" duration="
|
|
314
|
-
<testCase name="StringUtils removeSpecialCharacters should return "NoSpecialCharsHere" when value is "NoSpecialCharsHere"" duration="
|
|
313
|
+
<testCase name="StringUtils removeSpecialCharacters should return "Remove special characters" when value is "Remove *&%$# special characters!"" duration="0"/>
|
|
314
|
+
<testCase name="StringUtils removeSpecialCharacters should return "NoSpecialCharsHere" when value is "NoSpecialCharsHere"" duration="1"/>
|
|
315
315
|
<testCase name="StringUtils removeSpecialCharacters should return "Start and End" when value is "!!!Start and End!!!"" duration="0"/>
|
|
316
316
|
<testCase name="StringUtils removeSpecialCharacters should return "12345" when value is "12345"" duration="0"/>
|
|
317
|
-
<testCase name="StringUtils removeSpecialCharacters should return "Clean this string " when value is "Clean this string @&*#$"" duration="
|
|
317
|
+
<testCase name="StringUtils removeSpecialCharacters should return "Clean this string " when value is "Clean this string @&*#$"" duration="0"/>
|
|
318
318
|
<testCase name="StringUtils removeSpecialCharacters should return "" when value is """ duration="0"/>
|
|
319
319
|
<testCase name="StringUtils removeSpecialCharacters should return "We like to test" when value is "We @like $ to @#test!!"" duration="0"/>
|
|
320
320
|
<testCase name="StringUtils removeSpecialCharacters should return "Some pecl chars " when value is "Some $pec!@l #chars %%%%%&*("" duration="0"/>
|
|
321
|
-
<testCase name="StringUtils isString should return true when value is "Hello, World!"" duration="
|
|
321
|
+
<testCase name="StringUtils isString should return true when value is "Hello, World!"" duration="0"/>
|
|
322
322
|
<testCase name="StringUtils isString should return true when value is """ duration="0"/>
|
|
323
|
-
<testCase name="StringUtils isString should return true when value is "Test String"" duration="
|
|
323
|
+
<testCase name="StringUtils isString should return true when value is "Test String"" duration="1"/>
|
|
324
324
|
<testCase name="StringUtils isString should return false when value is 12345" duration="0"/>
|
|
325
325
|
<testCase name="StringUtils isString should return false when value is null" duration="0"/>
|
|
326
326
|
<testCase name="StringUtils isString should return false when value is undefined" duration="0"/>
|
|
327
327
|
<testCase name="StringUtils isString should return false when value is {"key":"value"}" duration="0"/>
|
|
328
|
-
<testCase name="StringUtils isString should return false when value is ["array"]" duration="
|
|
328
|
+
<testCase name="StringUtils isString should return false when value is ["array"]" duration="1"/>
|
|
329
329
|
<testCase name="StringUtils isString should return false when value is true" duration="0"/>
|
|
330
|
-
<testCase name="StringUtils isString should return false when value is undefined" duration="
|
|
330
|
+
<testCase name="StringUtils isString should return false when value is undefined" duration="0"/>
|
|
331
331
|
<testCase name="StringUtils isString should return false when value is undefined" duration="0"/>
|
|
332
332
|
<testCase name="StringUtils isString should return false when value is null" duration="0"/>
|
|
333
|
-
<testCase name="StringUtils decodeHtmlEntities should return "Hello & World" when value is "Hello &amp; World"" duration="
|
|
333
|
+
<testCase name="StringUtils decodeHtmlEntities should return "Hello & World" when value is "Hello &amp; World"" duration="1"/>
|
|
334
334
|
<testCase name="StringUtils decodeHtmlEntities should return "Apostrophe: ' or '" when value is "Apostrophe: &apos; or &#x27;"" duration="0"/>
|
|
335
335
|
<testCase name="StringUtils decodeHtmlEntities should return "Slash: / or /" when value is "Slash: &#x2F; or &#47;"" duration="0"/>
|
|
336
336
|
<testCase name="StringUtils decodeHtmlEntities should return "Less than: < Greater than: >" when value is "Less than: &lt; Greater than: &gt;"" duration="0"/>
|
|
337
337
|
<testCase name="StringUtils decodeHtmlEntities should return "Non-breaking space: " when value is "Non-breaking space: &nbsp;"" duration="0"/>
|
|
338
338
|
<testCase name="StringUtils decodeHtmlEntities should return "Quote: "" when value is "Quote: &quot;"" duration="0"/>
|
|
339
|
-
<testCase name="StringUtils decodeHtmlEntities should return "No entities here" when value is "No entities here"" duration="
|
|
339
|
+
<testCase name="StringUtils decodeHtmlEntities should return "No entities here" when value is "No entities here"" duration="0"/>
|
|
340
340
|
<testCase name="StringUtils decodeHtmlEntities should return "" when value is """ duration="0"/>
|
|
341
341
|
<testCase name="StringUtils decodeHtmlEntities should return "Multiple entities: &<>"" when value is "Multiple entities: &amp;&lt;&gt;&quot;"" duration="0"/>
|
|
342
342
|
<testCase name="StringUtils decodeHtmlEntities should return "null" when value is "null"" duration="0"/>
|
|
343
|
-
<testCase name="StringUtils decodeHtmlEntities should return "undefined" when value is "undefined"" duration="
|
|
343
|
+
<testCase name="StringUtils decodeHtmlEntities should return "undefined" when value is "undefined"" duration="0"/>
|
|
344
344
|
<testCase name="StringUtils hashCode should return "99162322" when value is "hello"" duration="0"/>
|
|
345
345
|
<testCase name="StringUtils hashCode should return "113318802" when value is "world"" duration="0"/>
|
|
346
|
-
<testCase name="StringUtils hashCode should return "46792755" when value is "12345"" duration="
|
|
346
|
+
<testCase name="StringUtils hashCode should return "46792755" when value is "12345"" duration="1"/>
|
|
347
347
|
<testCase name="StringUtils hashCode should return "0" when value is """ duration="0"/>
|
|
348
|
-
<testCase name="StringUtils hashCode should return "97" when value is "a"" duration="
|
|
348
|
+
<testCase name="StringUtils hashCode should return "97" when value is "a"" duration="0"/>
|
|
349
349
|
<testCase name="StringUtils hashCode should return "96354" when value is "abc"" duration="0"/>
|
|
350
350
|
<testCase name="StringUtils hashCode should return "1498789909" when value is "Hello, World!"" duration="0"/>
|
|
351
|
-
<testCase name="StringUtils hashCode should return "1772909" when value is "😊"" duration="
|
|
351
|
+
<testCase name="StringUtils hashCode should return "1772909" when value is "😊"" duration="1"/>
|
|
352
|
+
<testCase name="StringUtils hashCode should return "-895136796" when value is "Same input, same hash"" duration="0"/>
|
|
352
353
|
<testCase name="StringUtils hashCode should return "-895136796" when value is "Same input, same hash"" duration="0"/>
|
|
353
|
-
<testCase name="StringUtils
|
|
354
|
-
<testCase name="StringUtils getBooleanValue should return true when value is "true" and defaultValue is false" duration="1"/>
|
|
354
|
+
<testCase name="StringUtils getBooleanValue should return true when value is "true" and defaultValue is false" duration="0"/>
|
|
355
355
|
<testCase name="StringUtils getBooleanValue should return false when value is "false" and defaultValue is true" duration="0"/>
|
|
356
356
|
<testCase name="StringUtils getBooleanValue should return true when value is "S" and defaultValue is false" duration="0"/>
|
|
357
357
|
<testCase name="StringUtils getBooleanValue should return false when value is "N" and defaultValue is true" duration="0"/>
|
|
358
358
|
<testCase name="StringUtils getBooleanValue should return true when value is "true" and defaultValue is false" duration="0"/>
|
|
359
359
|
<testCase name="StringUtils getBooleanValue should return false when value is "false" and defaultValue is true" duration="0"/>
|
|
360
360
|
<testCase name="StringUtils getBooleanValue should return false when value is "yes" and defaultValue is false" duration="0"/>
|
|
361
|
-
<testCase name="StringUtils getBooleanValue should return true when value is "no" and defaultValue is true" duration="
|
|
362
|
-
<testCase name="StringUtils getBooleanValue should return true when value is "" and defaultValue is true" duration="
|
|
361
|
+
<testCase name="StringUtils getBooleanValue should return true when value is "no" and defaultValue is true" duration="1"/>
|
|
362
|
+
<testCase name="StringUtils getBooleanValue should return true when value is "" and defaultValue is true" duration="0"/>
|
|
363
363
|
<testCase name="StringUtils getBooleanValue should return false when value is "undefined" and defaultValue is false" duration="0"/>
|
|
364
364
|
<testCase name="StringUtils getBooleanValue should return true when value is "null" and defaultValue is true" duration="0"/>
|
|
365
|
-
<testCase name="StringUtils padStart should return "000123" when str="123", len=6, pad="0"" duration="
|
|
365
|
+
<testCase name="StringUtils padStart should return "000123" when str="123", len=6, pad="0"" duration="0"/>
|
|
366
366
|
<testCase name="StringUtils padStart should return " test" when str="test", len=8, pad=" "" duration="0"/>
|
|
367
367
|
<testCase name="StringUtils padStart should return "*****" when str="", len=5, pad="*"" duration="0"/>
|
|
368
368
|
<testCase name="StringUtils padStart should return "short" when str="short", len=3, pad="-"" duration="0"/>
|
|
369
369
|
<testCase name="StringUtils padStart should return "####" when str="undefined", len=4, pad="#"" duration="0"/>
|
|
370
|
-
<testCase name="StringUtils padStart should return "0000" when str="null", len=4, pad="0"" duration="
|
|
370
|
+
<testCase name="StringUtils padStart should return "0000" when str="null", len=4, pad="0"" duration="0"/>
|
|
371
371
|
<testCase name="StringUtils padStart should return "-------pad" when str="pad", len=10, pad="-"" duration="0"/>
|
|
372
|
-
<testCase name="StringUtils padStart should return "abc42" when str="42", len=5, pad="abc"" duration="
|
|
372
|
+
<testCase name="StringUtils padStart should return "abc42" when str="42", len=5, pad="abc"" duration="4"/>
|
|
373
373
|
<testCase name="StringUtils padStart should return "exact" when str="exact", len=5, pad="*"" duration="0"/>
|
|
374
374
|
<testCase name="StringUtils padStart should return "" when str="", len=0, pad="-"" duration="0"/>
|
|
375
375
|
<testCase name="StringUtils padEnd should return "123000" when str="123", len=6, pad="0"" duration="1"/>
|
|
376
376
|
<testCase name="StringUtils padEnd should return "test " when str="test", len=8, pad=" "" duration="0"/>
|
|
377
377
|
<testCase name="StringUtils padEnd should return "*****" when str="", len=5, pad="*"" duration="0"/>
|
|
378
378
|
<testCase name="StringUtils padEnd should return "short" when str="short", len=3, pad="-"" duration="0"/>
|
|
379
|
-
<testCase name="StringUtils padEnd should return "####" when str="undefined", len=4, pad="#"" duration="
|
|
379
|
+
<testCase name="StringUtils padEnd should return "####" when str="undefined", len=4, pad="#"" duration="0"/>
|
|
380
380
|
<testCase name="StringUtils padEnd should return "0000" when str="null", len=4, pad="0"" duration="0"/>
|
|
381
381
|
<testCase name="StringUtils padEnd should return "pad-------" when str="pad", len=10, pad="-"" duration="0"/>
|
|
382
382
|
<testCase name="StringUtils padEnd should return "42abc" when str="42", len=5, pad="abc"" duration="0"/>
|
|
383
|
-
<testCase name="StringUtils padEnd should return "exact" when str="exact", len=5, pad="*"" duration="
|
|
384
|
-
<testCase name="StringUtils padEnd should return "" when str="", len=0, pad="-"" duration="
|
|
383
|
+
<testCase name="StringUtils padEnd should return "exact" when str="exact", len=5, pad="*"" duration="0"/>
|
|
384
|
+
<testCase name="StringUtils padEnd should return "" when str="", len=0, pad="-"" duration="1"/>
|
|
385
385
|
<testCase name="StringUtils compare should return 0 when a="undefined" and b="undefined"" duration="0"/>
|
|
386
386
|
<testCase name="StringUtils compare should return 1 when a="undefined" and b="null"" duration="0"/>
|
|
387
|
-
<testCase name="StringUtils compare should return -1 when a="null" and b="undefined"" duration="
|
|
387
|
+
<testCase name="StringUtils compare should return -1 when a="null" and b="undefined"" duration="3"/>
|
|
388
388
|
<testCase name="StringUtils compare should return 0 when a="null" and b="null"" duration="0"/>
|
|
389
389
|
<testCase name="StringUtils compare should return -1 when a="apple" and b="undefined"" duration="0"/>
|
|
390
390
|
<testCase name="StringUtils compare should return 1 when a="undefined" and b="banana"" duration="0"/>
|
|
391
391
|
<testCase name="StringUtils compare should return -1 when a="apple" and b="null"" duration="0"/>
|
|
392
392
|
<testCase name="StringUtils compare should return 1 when a="null" and b="banana"" duration="0"/>
|
|
393
393
|
<testCase name="StringUtils compare should return -1 when a="apple" and b="banana"" duration="0"/>
|
|
394
|
-
<testCase name="StringUtils compare should return 1 when a="banana" and b="apple"" duration="
|
|
394
|
+
<testCase name="StringUtils compare should return 1 when a="banana" and b="apple"" duration="1"/>
|
|
395
395
|
<testCase name="StringUtils compare should return 0 when a="apple" and b="apple"" duration="0"/>
|
|
396
396
|
<testCase name="StringUtils compare should return 1 when a="Apple" and b="apple"" duration="0"/>
|
|
397
|
-
<testCase name="StringUtils compare should return -1 when a="123" and b="456"" duration="
|
|
397
|
+
<testCase name="StringUtils compare should return -1 when a="123" and b="456"" duration="0"/>
|
|
398
398
|
<testCase name="StringUtils compare should return -1 when a="" and b="non-empty"" duration="0"/>
|
|
399
399
|
<testCase name="StringUtils compare should return 1 when a="non-empty" and b=""" duration="0"/>
|
|
400
400
|
<testCase name="StringUtils toCamelCase should return "helloWorld" when value is "hello_world"" duration="0"/>
|
|
401
|
-
<testCase name="StringUtils toCamelCase should return "helloWorld" when value is "hello-world"" duration="
|
|
402
|
-
<testCase name="StringUtils toCamelCase should return "helloWorld" when value is "hello world"" duration="
|
|
401
|
+
<testCase name="StringUtils toCamelCase should return "helloWorld" when value is "hello-world"" duration="0"/>
|
|
402
|
+
<testCase name="StringUtils toCamelCase should return "helloWorld" when value is "hello world"" duration="1"/>
|
|
403
403
|
<testCase name="StringUtils toCamelCase should return "helloworld" when value is "HelloWorld"" duration="0"/>
|
|
404
404
|
<testCase name="StringUtils toCamelCase should return "helloWorld" when value is "helloWorld"" duration="0"/>
|
|
405
405
|
<testCase name="StringUtils toCamelCase should return "hello.world" when value is "hello.world"" duration="1"/>
|
|
406
406
|
<testCase name="StringUtils toCamelCase should return "helloWorld" when value is "HELLO_WORLD"" duration="0"/>
|
|
407
407
|
<testCase name="StringUtils toCamelCase should return "multipleWordsSeparatedHyphen" when value is "multiple words-separated_hyphen"" duration="0"/>
|
|
408
|
-
<testCase name="StringUtils toCamelCase should return "camelcasealready" when value is "CamelCaseAlready"" duration="
|
|
408
|
+
<testCase name="StringUtils toCamelCase should return "camelcasealready" when value is "CamelCaseAlready"" duration="1"/>
|
|
409
409
|
<testCase name="StringUtils toCamelCase should return "" when value is """ duration="0"/>
|
|
410
410
|
<testCase name="StringUtils toCamelCase should return "" when value is "null"" duration="0"/>
|
|
411
|
-
<testCase name="StringUtils toCamelCase should return "" when value is "undefined"" duration="
|
|
411
|
+
<testCase name="StringUtils toCamelCase should return "" when value is "undefined"" duration="1"/>
|
|
412
412
|
<testCase name="StringUtils toCamelCase should return "simple" when value is "simple"" duration="0"/>
|
|
413
413
|
<testCase name="StringUtils toCamelCase should return "pascalcase" when value is "PascalCase"" duration="0"/>
|
|
414
414
|
<testCase name="StringUtils toPascalCase should return "Helloworld" when value is "hello_world"" duration="1"/>
|
|
415
415
|
<testCase name="StringUtils toPascalCase should return "Helloworld" when value is "hello-world"" duration="0"/>
|
|
416
|
-
<testCase name="StringUtils toPascalCase should return "HelloWorld" when value is "hello world"" duration="
|
|
417
|
-
<testCase name="StringUtils toPascalCase should return "Helloworld" when value is "HelloWorld"" duration="
|
|
416
|
+
<testCase name="StringUtils toPascalCase should return "HelloWorld" when value is "hello world"" duration="1"/>
|
|
417
|
+
<testCase name="StringUtils toPascalCase should return "Helloworld" when value is "HelloWorld"" duration="0"/>
|
|
418
418
|
<testCase name="StringUtils toPascalCase should return "Helloworld" when value is "helloWorld"" duration="0"/>
|
|
419
|
-
<testCase name="StringUtils toPascalCase should return "Hello.world" when value is "hello.world"" duration="
|
|
419
|
+
<testCase name="StringUtils toPascalCase should return "Hello.world" when value is "hello.world"" duration="1"/>
|
|
420
420
|
<testCase name="StringUtils toPascalCase should return "Helloworld" when value is "HELLO_WORLD"" duration="0"/>
|
|
421
421
|
<testCase name="StringUtils toPascalCase should return "MultipleWordsseparatedhyphen" when value is "multiple words-separated_hyphen"" duration="0"/>
|
|
422
422
|
<testCase name="StringUtils toPascalCase should return "Camelcasealready" when value is "camelCaseAlready"" duration="1"/>
|
|
@@ -424,24 +424,24 @@
|
|
|
424
424
|
<testCase name="StringUtils toPascalCase should return "" when value is "null"" duration="0"/>
|
|
425
425
|
<testCase name="StringUtils toPascalCase should return "" when value is "undefined"" duration="0"/>
|
|
426
426
|
<testCase name="StringUtils toPascalCase should return "Simple" when value is "simple"" duration="0"/>
|
|
427
|
-
<testCase name="StringUtils toPascalCase should return "Pascalcase" when value is "PascalCase"" duration="
|
|
427
|
+
<testCase name="StringUtils toPascalCase should return "Pascalcase" when value is "PascalCase"" duration="0"/>
|
|
428
428
|
<testCase name="StringUtils toSnakeCase should return "helloworld" when value is "helloWorld"" duration="0"/>
|
|
429
429
|
<testCase name="StringUtils toSnakeCase should return "helloworld" when value is "HelloWorld"" duration="0"/>
|
|
430
430
|
<testCase name="StringUtils toSnakeCase should return "hello_world" when value is "hello-world"" duration="0"/>
|
|
431
|
-
<testCase name="StringUtils toSnakeCase should return "hello_world" when value is "hello world"" duration="
|
|
431
|
+
<testCase name="StringUtils toSnakeCase should return "hello_world" when value is "hello world"" duration="0"/>
|
|
432
432
|
<testCase name="StringUtils toSnakeCase should return "hello_world" when value is "hello_world"" duration="0"/>
|
|
433
433
|
<testCase name="StringUtils toSnakeCase should return "hello_world" when value is "HELLO_WORLD"" duration="0"/>
|
|
434
434
|
<testCase name="StringUtils toSnakeCase should return "multiplewordsseparated_hyphen" when value is "multipleWordsSeparated-Hyphen"" duration="0"/>
|
|
435
|
-
<testCase name="StringUtils toSnakeCase should return "camelcasealready" when value is "CamelCaseAlready"" duration="
|
|
436
|
-
<testCase name="StringUtils toSnakeCase should return "simple" when value is "simple"" duration="
|
|
435
|
+
<testCase name="StringUtils toSnakeCase should return "camelcasealready" when value is "CamelCaseAlready"" duration="1"/>
|
|
436
|
+
<testCase name="StringUtils toSnakeCase should return "simple" when value is "simple"" duration="0"/>
|
|
437
437
|
<testCase name="StringUtils toSnakeCase should return "pascalcase" when value is "PascalCase"" duration="0"/>
|
|
438
438
|
<testCase name="StringUtils toSnakeCase should return "" when value is """ duration="0"/>
|
|
439
|
-
<testCase name="StringUtils toSnakeCase should return "" when value is "null"" duration="
|
|
439
|
+
<testCase name="StringUtils toSnakeCase should return "" when value is "null"" duration="1"/>
|
|
440
440
|
<testCase name="StringUtils toSnakeCase should return "" when value is "undefined"" duration="0"/>
|
|
441
|
-
<testCase name="StringUtils toSnakeCase should return "hello.world" when value is "hello.world"" duration="
|
|
441
|
+
<testCase name="StringUtils toSnakeCase should return "hello.world" when value is "hello.world"" duration="0"/>
|
|
442
442
|
<testCase name="StringUtils toKebabCase should return "hello-world" when value is "helloWorld"" duration="0"/>
|
|
443
|
-
<testCase name="StringUtils toKebabCase should return "hello-world" when value is "HelloWorld"" duration="
|
|
444
|
-
<testCase name="StringUtils toKebabCase should return "hello-world" when value is "hello_world"" duration="
|
|
443
|
+
<testCase name="StringUtils toKebabCase should return "hello-world" when value is "HelloWorld"" duration="1"/>
|
|
444
|
+
<testCase name="StringUtils toKebabCase should return "hello-world" when value is "hello_world"" duration="0"/>
|
|
445
445
|
<testCase name="StringUtils toKebabCase should return "hello-world" when value is "hello world"" duration="0"/>
|
|
446
446
|
<testCase name="StringUtils toKebabCase should return "hello-world" when value is "hello-world"" duration="0"/>
|
|
447
447
|
<testCase name="StringUtils toKebabCase should return "hello-world" when value is "HELLO_WORLD"" duration="0"/>
|
|
@@ -450,107 +450,107 @@
|
|
|
450
450
|
<testCase name="StringUtils toKebabCase should return "simple" when value is "simple"" duration="0"/>
|
|
451
451
|
<testCase name="StringUtils toKebabCase should return "pascal-case" when value is "PascalCase"" duration="0"/>
|
|
452
452
|
<testCase name="StringUtils toKebabCase should return "" when value is """ duration="0"/>
|
|
453
|
-
<testCase name="StringUtils toKebabCase should return "" when value is "null"" duration="
|
|
453
|
+
<testCase name="StringUtils toKebabCase should return "" when value is "null"" duration="0"/>
|
|
454
454
|
<testCase name="StringUtils toKebabCase should return "" when value is "undefined"" duration="0"/>
|
|
455
|
-
<testCase name="StringUtils toKebabCase should return "hello.world" when value is "hello.world"" duration="
|
|
455
|
+
<testCase name="StringUtils toKebabCase should return "hello.world" when value is "hello.world"" duration="1"/>
|
|
456
456
|
<testCase name="StringUtils formatBytes should return "0B" when value is 0" duration="0"/>
|
|
457
457
|
<testCase name="StringUtils formatBytes should return "1B" when value is 1" duration="0"/>
|
|
458
|
-
<testCase name="StringUtils formatBytes should return "512B" when value is 512" duration="
|
|
458
|
+
<testCase name="StringUtils formatBytes should return "512B" when value is 512" duration="1"/>
|
|
459
459
|
<testCase name="StringUtils formatBytes should return "1023B" when value is 1023" duration="0"/>
|
|
460
460
|
<testCase name="StringUtils formatBytes should return "1KB" when value is 1024" duration="0"/>
|
|
461
|
-
<testCase name="StringUtils formatBytes should return "1.5KB" when value is 1536" duration="
|
|
461
|
+
<testCase name="StringUtils formatBytes should return "1.5KB" when value is 1536" duration="1"/>
|
|
462
462
|
<testCase name="StringUtils formatBytes should return "1MB" when value is 1048576" duration="0"/>
|
|
463
463
|
<testCase name="StringUtils formatBytes should return "1.5MB" when value is 1572864" duration="0"/>
|
|
464
|
-
<testCase name="StringUtils formatBytes should return "1GB" when value is 1073741824" duration="
|
|
464
|
+
<testCase name="StringUtils formatBytes should return "1GB" when value is 1073741824" duration="1"/>
|
|
465
465
|
<testCase name="StringUtils formatBytes should return "1.5GB" when value is 1610612736" duration="0"/>
|
|
466
466
|
<testCase name="StringUtils formatBytes should return "1099511627776B" when value is 1099511627776" duration="0"/>
|
|
467
|
-
<testCase name="StringUtils formatBytes should return "-1024B" when value is -1024" duration="
|
|
467
|
+
<testCase name="StringUtils formatBytes should return "-1024B" when value is -1024" duration="1"/>
|
|
468
468
|
<testCase name="StringUtils formatBytes should return "NaNundefined" when value is NaN" duration="0"/>
|
|
469
469
|
<testCase name="StringUtils formatBytes should return "undefinedB" when value is null" duration="0"/>
|
|
470
|
-
<testCase name="StringUtils formatBytes should return "NaNundefined" when value is undefined" duration="
|
|
471
|
-
<testCase name="StringUtils prettyPrecision should return "100" when value is "100.00"" duration="
|
|
472
|
-
<testCase name="StringUtils prettyPrecision should return "123.45" when value is "123.4500"" duration="
|
|
470
|
+
<testCase name="StringUtils formatBytes should return "NaNundefined" when value is undefined" duration="0"/>
|
|
471
|
+
<testCase name="StringUtils prettyPrecision should return "100" when value is "100.00"" duration="1"/>
|
|
472
|
+
<testCase name="StringUtils prettyPrecision should return "123.45" when value is "123.4500"" duration="0"/>
|
|
473
473
|
<testCase name="StringUtils prettyPrecision should return "0.9" when value is "0.900"" duration="0"/>
|
|
474
474
|
<testCase name="StringUtils prettyPrecision should return "5.1" when value is "5.10"" duration="0"/>
|
|
475
|
-
<testCase name="StringUtils prettyPrecision should return "42" when value is "42.0"" duration="
|
|
476
|
-
<testCase name="StringUtils prettyPrecision should return "3.14159" when value is "3.14159000"" duration="
|
|
477
|
-
<testCase name="StringUtils prettyPrecision should return "0" when value is "0.000"" duration="
|
|
478
|
-
<testCase name="StringUtils prettyPrecision should return "250" when value is "250"" duration="
|
|
479
|
-
<testCase name="StringUtils prettyPrecision should return "999.999" when value is "999.999"" duration="
|
|
475
|
+
<testCase name="StringUtils prettyPrecision should return "42" when value is "42.0"" duration="0"/>
|
|
476
|
+
<testCase name="StringUtils prettyPrecision should return "3.14159" when value is "3.14159000"" duration="1"/>
|
|
477
|
+
<testCase name="StringUtils prettyPrecision should return "0" when value is "0.000"" duration="0"/>
|
|
478
|
+
<testCase name="StringUtils prettyPrecision should return "250" when value is "250"" duration="0"/>
|
|
479
|
+
<testCase name="StringUtils prettyPrecision should return "999.999" when value is "999.999"" duration="1"/>
|
|
480
480
|
<testCase name="StringUtils prettyPrecision should return "100" when value is "100."" duration="0"/>
|
|
481
481
|
<testCase name="StringUtils prettyPrecision should return ".5" when value is ".500"" duration="0"/>
|
|
482
|
-
<testCase name="StringUtils prettyPrecision should return "0" when value is "0."" duration="
|
|
482
|
+
<testCase name="StringUtils prettyPrecision should return "0" when value is "0."" duration="0"/>
|
|
483
483
|
<testCase name="StringUtils prettyPrecision should return "123.456789" when value is "123.456789000"" duration="0"/>
|
|
484
484
|
<testCase name="StringUtils prettyPrecision should return "0" when value is "0.0"" duration="0"/>
|
|
485
485
|
<testCase name="StringUtils prettyPrecision should return "" when value is """ duration="0"/>
|
|
486
486
|
<testCase name="StringUtils isCaseable should return true when value is "hello"" duration="1"/>
|
|
487
487
|
<testCase name="StringUtils isCaseable should return true when value is "HELLO"" duration="0"/>
|
|
488
488
|
<testCase name="StringUtils isCaseable should return true when value is "Hello"" duration="0"/>
|
|
489
|
-
<testCase name="StringUtils isCaseable should return true when value is "hElLo"" duration="
|
|
489
|
+
<testCase name="StringUtils isCaseable should return true when value is "hElLo"" duration="1"/>
|
|
490
490
|
<testCase name="StringUtils isCaseable should return false when value is "12345"" duration="0"/>
|
|
491
|
-
<testCase name="StringUtils isCaseable should return true when value is "123ABC"" duration="
|
|
491
|
+
<testCase name="StringUtils isCaseable should return true when value is "123ABC"" duration="0"/>
|
|
492
492
|
<testCase name="StringUtils isCaseable should return true when value is "123abc"" duration="0"/>
|
|
493
|
-
<testCase name="StringUtils isCaseable should return true when value is "123aBc"" duration="
|
|
493
|
+
<testCase name="StringUtils isCaseable should return true when value is "123aBc"" duration="1"/>
|
|
494
494
|
<testCase name="StringUtils isCaseable should return false when value is "!@#$%^&*()"" duration="0"/>
|
|
495
495
|
<testCase name="StringUtils isCaseable should return true when value is "hello_world"" duration="0"/>
|
|
496
496
|
<testCase name="StringUtils isCaseable should return true when value is "HELLO-WORLD"" duration="0"/>
|
|
497
|
-
<testCase name="StringUtils isCaseable should return false when value is """ duration="
|
|
497
|
+
<testCase name="StringUtils isCaseable should return false when value is """ duration="1"/>
|
|
498
498
|
<testCase name="StringUtils isCaseable should return false when value is " "" duration="0"/>
|
|
499
499
|
<testCase name="StringUtils isCaseable should return false when value is "null"" duration="0"/>
|
|
500
|
-
<testCase name="StringUtils isCaseable should return false when value is "undefined"" duration="
|
|
501
|
-
<testCase name="StringUtils isLowerCase should return true when value is "hello"" duration="
|
|
500
|
+
<testCase name="StringUtils isCaseable should return false when value is "undefined"" duration="0"/>
|
|
501
|
+
<testCase name="StringUtils isLowerCase should return true when value is "hello"" duration="1"/>
|
|
502
502
|
<testCase name="StringUtils isLowerCase should return false when value is "HELLO"" duration="0"/>
|
|
503
503
|
<testCase name="StringUtils isLowerCase should return true when value is "Hello"" duration="0"/>
|
|
504
504
|
<testCase name="StringUtils isLowerCase should return true when value is "hElLo"" duration="0"/>
|
|
505
|
-
<testCase name="StringUtils isLowerCase should return true when value is "hello world"" duration="
|
|
505
|
+
<testCase name="StringUtils isLowerCase should return true when value is "hello world"" duration="0"/>
|
|
506
506
|
<testCase name="StringUtils isLowerCase should return true when value is "hello_world"" duration="0"/>
|
|
507
507
|
<testCase name="StringUtils isLowerCase should return true when value is "hello-world"" duration="0"/>
|
|
508
508
|
<testCase name="StringUtils isLowerCase should return false when value is "12345"" duration="0"/>
|
|
509
509
|
<testCase name="StringUtils isLowerCase should return true when value is "123abc"" duration="0"/>
|
|
510
|
-
<testCase name="StringUtils isLowerCase should return false when value is "123ABC"" duration="
|
|
511
|
-
<testCase name="StringUtils isLowerCase should return false when value is "!@#$%^&*()"" duration="
|
|
510
|
+
<testCase name="StringUtils isLowerCase should return false when value is "123ABC"" duration="0"/>
|
|
511
|
+
<testCase name="StringUtils isLowerCase should return false when value is "!@#$%^&*()"" duration="1"/>
|
|
512
512
|
<testCase name="StringUtils isLowerCase should return false when value is """ duration="0"/>
|
|
513
513
|
<testCase name="StringUtils isLowerCase should return false when value is " "" duration="0"/>
|
|
514
514
|
<testCase name="StringUtils isLowerCase should return false when value is "null"" duration="0"/>
|
|
515
|
-
<testCase name="StringUtils isLowerCase should return false when value is "undefined"" duration="
|
|
516
|
-
<testCase name="StringUtils getOppositeCase should return "HELLO" when value is "hello"" duration="
|
|
515
|
+
<testCase name="StringUtils isLowerCase should return false when value is "undefined"" duration="0"/>
|
|
516
|
+
<testCase name="StringUtils getOppositeCase should return "HELLO" when value is "hello"" duration="1"/>
|
|
517
517
|
<testCase name="StringUtils getOppositeCase should return "hello" when value is "HELLO"" duration="0"/>
|
|
518
518
|
<testCase name="StringUtils getOppositeCase should return "HELLO" when value is "Hello"" duration="0"/>
|
|
519
519
|
<testCase name="StringUtils getOppositeCase should return "HELLO" when value is "hElLo"" duration="0"/>
|
|
520
|
-
<testCase name="StringUtils getOppositeCase should return "HELLO WORLD" when value is "hello world"" duration="
|
|
520
|
+
<testCase name="StringUtils getOppositeCase should return "HELLO WORLD" when value is "hello world"" duration="1"/>
|
|
521
521
|
<testCase name="StringUtils getOppositeCase should return "hello world" when value is "HELLO WORLD"" duration="0"/>
|
|
522
|
-
<testCase name="StringUtils getOppositeCase should return "HELLO_WORLD" when value is "hello_world"" duration="
|
|
522
|
+
<testCase name="StringUtils getOppositeCase should return "HELLO_WORLD" when value is "hello_world"" duration="0"/>
|
|
523
523
|
<testCase name="StringUtils getOppositeCase should return "hello_world" when value is "HELLO_WORLD"" duration="0"/>
|
|
524
|
-
<testCase name="StringUtils getOppositeCase should return "HELLO-WORLD" when value is "hello-world"" duration="
|
|
524
|
+
<testCase name="StringUtils getOppositeCase should return "HELLO-WORLD" when value is "hello-world"" duration="1"/>
|
|
525
525
|
<testCase name="StringUtils getOppositeCase should return "hello-world" when value is "HELLO-WORLD"" duration="0"/>
|
|
526
|
-
<testCase name="StringUtils getOppositeCase should return "12345" when value is "12345"" duration="
|
|
527
|
-
<testCase name="StringUtils getOppositeCase should return "123ABC" when value is "123abc"" duration="
|
|
526
|
+
<testCase name="StringUtils getOppositeCase should return "12345" when value is "12345"" duration="0"/>
|
|
527
|
+
<testCase name="StringUtils getOppositeCase should return "123ABC" when value is "123abc"" duration="1"/>
|
|
528
528
|
<testCase name="StringUtils getOppositeCase should return "123abc" when value is "123ABC"" duration="0"/>
|
|
529
529
|
<testCase name="StringUtils getOppositeCase should return "!@#$%^&*()" when value is "!@#$%^&*()"" duration="0"/>
|
|
530
|
-
<testCase name="StringUtils getOppositeCase should return "" when value is """ duration="
|
|
531
|
-
<testCase name="StringUtils getOppositeCase should return " " when value is " "" duration="
|
|
530
|
+
<testCase name="StringUtils getOppositeCase should return "" when value is """ duration="1"/>
|
|
531
|
+
<testCase name="StringUtils getOppositeCase should return " " when value is " "" duration="0"/>
|
|
532
532
|
<testCase name="StringUtils getOppositeCase should return "" when value is "null"" duration="0"/>
|
|
533
533
|
<testCase name="StringUtils getOppositeCase should return "" when value is "undefined"" duration="0"/>
|
|
534
|
-
<testCase name="StringUtils getSpecialCharacters should return [] when value is "hello"" duration="
|
|
535
|
-
<testCase name="StringUtils getSpecialCharacters should return ["@","."] when value is "hello@world.com"" duration="
|
|
534
|
+
<testCase name="StringUtils getSpecialCharacters should return [] when value is "hello"" duration="1"/>
|
|
535
|
+
<testCase name="StringUtils getSpecialCharacters should return ["@","."] when value is "hello@world.com"" duration="0"/>
|
|
536
536
|
<testCase name="StringUtils getSpecialCharacters should return [":","$","."] when value is "price: $100.00"" duration="0"/>
|
|
537
537
|
<testCase name="StringUtils getSpecialCharacters should return ["%","!"] when value is "50% discount!"" duration="0"/>
|
|
538
538
|
<testCase name="StringUtils getSpecialCharacters should return [":","\\","\\"] when value is "C:\Users\Admin"" duration="0"/>
|
|
539
539
|
<testCase name="StringUtils getSpecialCharacters should return [":","/","/","."] when value is "https://example.com"" duration="0"/>
|
|
540
|
-
<testCase name="StringUtils getSpecialCharacters should return ["."] when value is "filename.txt"" duration="
|
|
540
|
+
<testCase name="StringUtils getSpecialCharacters should return ["."] when value is "filename.txt"" duration="0"/>
|
|
541
541
|
<testCase name="StringUtils getSpecialCharacters should return ["=","+","-","*","/"] when value is "sum = a + b - c * d / e"" duration="0"/>
|
|
542
542
|
<testCase name="StringUtils getSpecialCharacters should return ["#","@","!"] when value is "#hashtag @user!"" duration="0"/>
|
|
543
543
|
<testCase name="StringUtils getSpecialCharacters should return ["(",")","&","["] when value is "(parentheses) & [brackets] {curly}"" duration="0"/>
|
|
544
544
|
<testCase name="StringUtils getSpecialCharacters should return ["_","-"] when value is "one_two-three"" duration="0"/>
|
|
545
|
-
<testCase name="StringUtils getSpecialCharacters should return ["+","@","."] when value is "email+alias@gmail.com"" duration="
|
|
545
|
+
<testCase name="StringUtils getSpecialCharacters should return ["+","@","."] when value is "email+alias@gmail.com"" duration="0"/>
|
|
546
546
|
<testCase name="StringUtils getSpecialCharacters should return ["=","\"","\"","'","'"] when value is "a = "text" or 'char'"" duration="0"/>
|
|
547
547
|
<testCase name="StringUtils getSpecialCharacters should return [] when value is """ duration="0"/>
|
|
548
|
-
<testCase name="StringUtils getSpecialCharacters should return [] when value is " "" duration="
|
|
548
|
+
<testCase name="StringUtils getSpecialCharacters should return [] when value is " "" duration="1"/>
|
|
549
549
|
<testCase name="StringUtils getSpecialCharacters should return [] when value is "null"" duration="0"/>
|
|
550
|
-
<testCase name="StringUtils getSpecialCharacters should return [] when value is "undefined"" duration="
|
|
550
|
+
<testCase name="StringUtils getSpecialCharacters should return [] when value is "undefined"" duration="0"/>
|
|
551
551
|
<testCase name="StringUtils getArgumentNumber should return 42 when value is "42"" duration="0"/>
|
|
552
552
|
<testCase name="StringUtils getArgumentNumber should return 3.14 when value is "3.14"" duration="0"/>
|
|
553
|
-
<testCase name="StringUtils getArgumentNumber should return -100 when value is "-100"" duration="
|
|
553
|
+
<testCase name="StringUtils getArgumentNumber should return -100 when value is "-100"" duration="0"/>
|
|
554
554
|
<testCase name="StringUtils getArgumentNumber should return 0 when value is "0"" duration="0"/>
|
|
555
555
|
<testCase name="StringUtils getArgumentNumber should return NaN when value is """ duration="0"/>
|
|
556
556
|
<testCase name="StringUtils getArgumentNumber should return NaN when value is "abc"" duration="0"/>
|
|
@@ -558,22 +558,22 @@
|
|
|
558
558
|
<testCase name="StringUtils getArgumentNumber should return 50 when value is " 50 "" duration="0"/>
|
|
559
559
|
<testCase name="StringUtils getArgumentNumber should return 1000 when value is "1e3"" duration="0"/>
|
|
560
560
|
<testCase name="StringUtils getArgumentNumber should return Infinity when value is "Infinity"" duration="0"/>
|
|
561
|
-
<testCase name="StringUtils getArgumentNumber should return -Infinity when value is "-Infinity"" duration="
|
|
562
|
-
<testCase name="StringUtils getArgumentNumber should return NaN when value is "null"" duration="
|
|
561
|
+
<testCase name="StringUtils getArgumentNumber should return -Infinity when value is "-Infinity"" duration="0"/>
|
|
562
|
+
<testCase name="StringUtils getArgumentNumber should return NaN when value is "null"" duration="1"/>
|
|
563
563
|
<testCase name="StringUtils getArgumentNumber should return NaN when value is "undefined"" duration="0"/>
|
|
564
564
|
<testCase name="StringUtils highlightValue should return "<span class='card-item__highlight'>hello</span> world" when value is "hello world" and argument is "hello"" duration="1"/>
|
|
565
565
|
<testCase name="StringUtils highlightValue should return "hello <span class='card-item__highlight'>world</span>" when value is "hello world" and argument is "world"" duration="0"/>
|
|
566
|
-
<testCase name="StringUtils highlightValue should return "hel<span class='card-item__highlight'>lo</span> world" when value is "hello world" and argument is "lo"" duration="
|
|
566
|
+
<testCase name="StringUtils highlightValue should return "hel<span class='card-item__highlight'>lo</span> world" when value is "hello world" and argument is "lo"" duration="0"/>
|
|
567
567
|
<testCase name="StringUtils highlightValue should return "<span class='card-item__highlight'>hello</span> world" when value is "hello world" and argument is "Hello"" duration="0"/>
|
|
568
568
|
<testCase name="StringUtils highlightValue should return "<span class='card-item__highlight'>hello</span> hello" when value is "hello hello" and argument is "hello"" duration="0"/>
|
|
569
|
-
<testCase name="StringUtils highlightValue should return "abc <span class='card-item__highlight'>123</span> def" when value is "abc 123 def" and argument is "123"" duration="
|
|
570
|
-
<testCase name="StringUtils highlightValue should return "<span class='card-item__highlight'>abc</span> 123 def" when value is "abc 123 def" and argument is "abc"" duration="
|
|
569
|
+
<testCase name="StringUtils highlightValue should return "abc <span class='card-item__highlight'>123</span> def" when value is "abc 123 def" and argument is "123"" duration="0"/>
|
|
570
|
+
<testCase name="StringUtils highlightValue should return "<span class='card-item__highlight'>abc</span> 123 def" when value is "abc 123 def" and argument is "abc"" duration="1"/>
|
|
571
571
|
<testCase name="StringUtils highlightValue should return "<span class='card-item__highlight'>abc</span> 123 def" when value is "abc 123 def" and argument is "abc"" duration="0"/>
|
|
572
572
|
<testCase name="StringUtils highlightValue should return "<span class='card-item__highlight'>ABC</span> 123 def" when value is "ABC 123 def" and argument is "abc"" duration="0"/>
|
|
573
|
-
<testCase name="StringUtils highlightValue should return "hello!" when value is "hello!" and argument is "!"" duration="
|
|
573
|
+
<testCase name="StringUtils highlightValue should return "hello!" when value is "hello!" and argument is "!"" duration="1"/>
|
|
574
574
|
<testCase name="StringUtils highlightValue should return "hello world" when value is "hello world" and argument is """ duration="0"/>
|
|
575
575
|
<testCase name="StringUtils highlightValue should return "hello world" when value is "hello world" and argument is "null"" duration="0"/>
|
|
576
|
-
<testCase name="StringUtils highlightValue should return "" when value is "" and argument is "hello"" duration="
|
|
576
|
+
<testCase name="StringUtils highlightValue should return "" when value is "" and argument is "hello"" duration="0"/>
|
|
577
577
|
</file>
|
|
578
578
|
<file path="/builds/dti/design-system/commons/sankhyacore/test/dataunit/SavingData.spec.ts">
|
|
579
579
|
<testCase name="Saving data saveData should call saveLoader with a new record" duration="3"/>
|
|
@@ -585,15 +585,15 @@
|
|
|
585
585
|
<testCase name="Saving data saveData should handle error saveLoader" duration="1"/>
|
|
586
586
|
<testCase name="Saving data saveData should handle error ServiceCanceledException saveLoader" duration="1"/>
|
|
587
587
|
<testCase name="Saving data saveData should handle error SilentException saveLoader" duration="1"/>
|
|
588
|
-
<testCase name="Saving data saveData should dispatch action on child dataUnits" duration="
|
|
588
|
+
<testCase name="Saving data saveData should dispatch action on child dataUnits" duration="2"/>
|
|
589
589
|
<testCase name="Saving data buildChangesToSaveFromChild should return changes on dataUnit childs" duration="1"/>
|
|
590
|
-
<testCase name="Saving data buildChangesToSaveFromChild should return empty when no has any change" duration="
|
|
590
|
+
<testCase name="Saving data buildChangesToSaveFromChild should return empty when no has any change" duration="0"/>
|
|
591
591
|
</file>
|
|
592
592
|
<file path="/builds/dti/design-system/commons/sankhyacore/test/util/CriteriaModel.spec.ts">
|
|
593
593
|
<testCase name="StringUtils it should return the undefined and [] to Criteria Props through new class with empty constructor" duration="1"/>
|
|
594
|
-
<testCase name="StringUtils it should modify "expressions" and "parameters" properties through Setters methods" duration="
|
|
595
|
-
<testCase name="StringUtils it should return "expression" and "parameters" setted through constructor method" duration="
|
|
596
|
-
<testCase name="StringUtils it should return a Criteria class with "expression" and "parameters" as needed setted through "append" method" duration="
|
|
594
|
+
<testCase name="StringUtils it should modify "expressions" and "parameters" properties through Setters methods" duration="0"/>
|
|
595
|
+
<testCase name="StringUtils it should return "expression" and "parameters" setted through constructor method" duration="1"/>
|
|
596
|
+
<testCase name="StringUtils it should return a Criteria class with "expression" and "parameters" as needed setted through "append" method" duration="0"/>
|
|
597
597
|
<testCase name="StringUtils it should return a Criteria class with "Criteria class" and "parameters" concatenaded as needed setted through "append" method" duration="1"/>
|
|
598
598
|
<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="0"/>
|
|
599
599
|
<testCase name="StringUtils it should return a Criteria class with "Expression" and "parameters" concatenaded as needed setted through "OR" method" duration="1"/>
|
|
@@ -601,71 +601,72 @@
|
|
|
601
601
|
<testCase name="StringUtils it should return a Criteria class with "Criteria class" and "parameters" concatenaded as needed setted through "OR" method" duration="1"/>
|
|
602
602
|
<testCase name="StringUtils it should return a Criteria class with "Expression" and "parameters" concatenaded as needed setted through "AND" method" duration="1"/>
|
|
603
603
|
<testCase name="StringUtils it should return a Criteria class with "Criteria class" and "parameters" concatenaded as needed setted through "AND" method" duration="0"/>
|
|
604
|
-
<testCase name="StringUtils it should return a Criteria class with "Criteria class" and "parameters" concatenaded as needed setted through "AND" method" duration="
|
|
605
|
-
<testCase name="StringUtils it should return a toJSON object with "Criteria class" and "parameters" concatenaded as needed setted through "AND" method" duration="
|
|
606
|
-
<testCase name="StringUtils it should return a toJSON object with through empty constructor" duration="
|
|
604
|
+
<testCase name="StringUtils it should return a Criteria class with "Criteria class" and "parameters" concatenaded as needed setted through "AND" method" duration="4"/>
|
|
605
|
+
<testCase name="StringUtils it should return a toJSON object with "Criteria class" and "parameters" concatenaded as needed setted through "AND" method" duration="0"/>
|
|
606
|
+
<testCase name="StringUtils it should return a toJSON object with through empty constructor" duration="1"/>
|
|
607
607
|
</file>
|
|
608
608
|
<file path="/builds/dti/design-system/commons/sankhyacore/test/dataunit/loader/dataUnitInMemoryLoader.spec.ts">
|
|
609
|
-
<testCase name="DataUnitInMemoryLoader - loadData should be called load data when auto load is true" duration="
|
|
609
|
+
<testCase name="DataUnitInMemoryLoader - loadData should be called load data when auto load is true" duration="3"/>
|
|
610
610
|
<testCase name="DataUnitInMemoryLoader - loadData should be called load data when auto load is undefined" duration="1"/>
|
|
611
611
|
<testCase name="DataUnitInMemoryLoader - loadData should not be called load data when auto load is false" duration="1"/>
|
|
612
612
|
<testCase name="DataUnitInMemoryLoader - loadData should be called load data when config is undefined" duration="1"/>
|
|
613
613
|
<testCase name="DataUnitInMemoryLoader - getConvertedValue should return the original string if descriptor is undefined" duration="1"/>
|
|
614
614
|
<testCase name="DataUnitInMemoryLoader - getConvertedValue should return the original string if dataType is TEXT" duration="0"/>
|
|
615
615
|
<testCase name="DataUnitInMemoryLoader - getConvertedValue should convert to boolean when dataType is BOOLEAN" duration="0"/>
|
|
616
|
-
<testCase name="DataUnitInMemoryLoader - getConvertedValue should convert to number when dataType is NUMBER" duration="
|
|
617
|
-
<testCase name="DataUnitInMemoryLoader - getConvertedValue should parse JSON when dataType is OBJECT" duration="
|
|
618
|
-
<testCase name="DataUnitInMemoryLoader - getConvertedValue should convert to date when dataType is DATE and format is ISO" duration="
|
|
619
|
-
<testCase name="DataUnitInMemoryLoader - getConvertedValue should convert to date when dataType is DATE and format is not ISO" duration="
|
|
620
|
-
<testCase name="DataUnitInMemoryLoader - getConvertedValue should return the original string if no dataType matches" duration="
|
|
621
|
-
<testCase name="DataUnitInMemoryLoader - removeLoader should resolve with the provided record IDs" duration="
|
|
622
|
-
<testCase name="DataUnitInMemoryLoader - removeLoader should handle empty record ID array" duration="
|
|
623
|
-
<testCase name="DataUnitInMemoryLoader - removeLoader should resolve the promise" duration="
|
|
616
|
+
<testCase name="DataUnitInMemoryLoader - getConvertedValue should convert to number when dataType is NUMBER" duration="1"/>
|
|
617
|
+
<testCase name="DataUnitInMemoryLoader - getConvertedValue should parse JSON when dataType is OBJECT" duration="0"/>
|
|
618
|
+
<testCase name="DataUnitInMemoryLoader - getConvertedValue should convert to date when dataType is DATE and format is ISO" duration="1"/>
|
|
619
|
+
<testCase name="DataUnitInMemoryLoader - getConvertedValue should convert to date when dataType is DATE and format is not ISO" duration="0"/>
|
|
620
|
+
<testCase name="DataUnitInMemoryLoader - getConvertedValue should return the original string if no dataType matches" duration="1"/>
|
|
621
|
+
<testCase name="DataUnitInMemoryLoader - removeLoader should resolve with the provided record IDs" duration="0"/>
|
|
622
|
+
<testCase name="DataUnitInMemoryLoader - removeLoader should handle empty record ID array" duration="0"/>
|
|
623
|
+
<testCase name="DataUnitInMemoryLoader - removeLoader should resolve the promise" duration="1"/>
|
|
624
624
|
<testCase name="DataUnitInMemoryLoader - buildInitialRecords (indiretamente via set records) should build initial records and convert field values based on metadata" duration="2"/>
|
|
625
625
|
<testCase name="DataUnitInMemoryLoader - buildInitialRecords (indiretamente via set records) should generate unique IDs for records without "__record__id__"" duration="2"/>
|
|
626
626
|
<testCase name="DataUnitInMemoryLoader - buildInitialRecords (indiretamente via set records) should leave fields untouched if no matching metadata exists" duration="2"/>
|
|
627
|
-
<testCase name="DataUnitInMemoryLoader - buildInitialRecords (indiretamente via set records) should skip conversion for non-string field values" duration="
|
|
627
|
+
<testCase name="DataUnitInMemoryLoader - buildInitialRecords (indiretamente via set records) should skip conversion for non-string field values" duration="1"/>
|
|
628
628
|
</file>
|
|
629
629
|
<file path="/builds/dti/design-system/commons/sankhyacore/test/dataunit/formatting/PrettyFormatter.spec.ts">
|
|
630
|
-
<testCase name="getFormattedValue should return empty string when value is null" duration="
|
|
630
|
+
<testCase name="getFormattedValue should return empty string when value is null" duration="1"/>
|
|
631
631
|
<testCase name="getFormattedValue should return empty string when value is not an array" duration="0"/>
|
|
632
632
|
<testCase name="getFormattedValue should return empty string when value is an empty array" duration="0"/>
|
|
633
|
-
<testCase name="getFormattedValue should return file name when value is an array with one file object" duration="
|
|
633
|
+
<testCase name="getFormattedValue should return file name when value is an array with one file object" duration="0"/>
|
|
634
634
|
<testCase name="getFormattedValue should return file count when value is an array with multiple file objects" duration="0"/>
|
|
635
635
|
<testCase name="getFormattedValue should return empty string for undefined file" duration="1"/>
|
|
636
636
|
<testCase name="getFormattedValue should handle OBJECT type with value field" duration="0"/>
|
|
637
637
|
<testCase name="getFormattedValue should return empty string when value is undefined" duration="0"/>
|
|
638
|
-
<testCase name="getFormattedValue should return value as string when value is not an object" duration="
|
|
638
|
+
<testCase name="getFormattedValue should return value as string when value is not an object" duration="1"/>
|
|
639
639
|
<testCase name="getFormattedValue should return value.toString() when value is an object without value property" duration="0"/>
|
|
640
|
-
<testCase name="getFormattedValue should handle BOOLEAN type" duration="
|
|
640
|
+
<testCase name="getFormattedValue should handle BOOLEAN type" duration="0"/>
|
|
641
641
|
<testCase name="getFormattedValue should format numbers correctly" duration="1"/>
|
|
642
|
-
<testCase name="getFormattedValue should format dates correctly" duration="
|
|
643
|
-
<testCase name="getFormattedValue should format times correctly" duration="
|
|
642
|
+
<testCase name="getFormattedValue should format dates correctly" duration="5"/>
|
|
643
|
+
<testCase name="getFormattedValue should format times correctly" duration="0"/>
|
|
644
644
|
<testCase name="getFormattedValue should format datetime correctly" duration="0"/>
|
|
645
645
|
<testCase name="getFormattedValue should call toString with correct parameters" duration="0"/>
|
|
646
|
-
<testCase name="getFormattedValue should handle undefined descriptor gracefully" duration="
|
|
646
|
+
<testCase name="getFormattedValue should handle undefined descriptor gracefully" duration="0"/>
|
|
647
647
|
<testCase name="getFormattedValue should format value correctly with OPTIONSELECTOR and matching option" duration="0"/>
|
|
648
|
-
<testCase name="getFormattedValue should return value with OPTIONSELECTOR and no matching option" duration="
|
|
648
|
+
<testCase name="getFormattedValue should return value with OPTIONSELECTOR and no matching option" duration="0"/>
|
|
649
649
|
<testCase name="getFormattedValue should format value correctly with OPTIONSELECTOR and value as object" duration="0"/>
|
|
650
|
-
<testCase name="getFormattedValue should return empty string with OPTIONSELECTOR and value as null" duration="
|
|
650
|
+
<testCase name="getFormattedValue should return empty string with OPTIONSELECTOR and value as null" duration="0"/>
|
|
651
651
|
<testCase name="getFormattedValue should format value correctly with OPTIONSELECTOR and options as JSON string" duration="0"/>
|
|
652
652
|
<testCase name="getFormattedValue should return value with OPTIONSELECTOR and options as empty array" duration="1"/>
|
|
653
|
+
<testCase name="getFormattedValue should return label when OPTIONSELECTOR has switchLabelsAndValues and value matches option value" duration="0"/>
|
|
653
654
|
<testCase name="getFormattedValue should format masked values correctly" duration="1"/>
|
|
654
655
|
</file>
|
|
655
656
|
<file path="/builds/dti/design-system/commons/sankhyacore/test/util/OverflowWatcher.spec.ts">
|
|
656
|
-
<testCase name="OverflowWatcher should initialize with provided parameters" duration="
|
|
657
|
-
<testCase name="OverflowWatcher should disconect ResizeObserver when destroy is called" duration="
|
|
658
|
-
<testCase name="OverflowWatcher Should call callback on forceUpdate" duration="
|
|
659
|
-
<testCase name="OverflowWatcher Should call callback on forceUpdate with childSpan" duration="
|
|
660
|
-
<testCase name="OverflowWatcher Should call callback on forceUpdate with childSpan when notOverFlow is empty" duration="
|
|
661
|
-
<testCase name="OverflowWatcher Should call callback on forceUpdate with childSpan considering overflowed elements" duration="
|
|
662
|
-
<testCase name="OverflowWatcher Should call callback on forceUpdate with empty list" duration="
|
|
663
|
-
<testCase name="OverflowWatcher should ignore elements that can not overflow" duration="
|
|
657
|
+
<testCase name="OverflowWatcher should initialize with provided parameters" duration="3"/>
|
|
658
|
+
<testCase name="OverflowWatcher should disconect ResizeObserver when destroy is called" duration="1"/>
|
|
659
|
+
<testCase name="OverflowWatcher Should call callback on forceUpdate" duration="43"/>
|
|
660
|
+
<testCase name="OverflowWatcher Should call callback on forceUpdate with childSpan" duration="6"/>
|
|
661
|
+
<testCase name="OverflowWatcher Should call callback on forceUpdate with childSpan when notOverFlow is empty" duration="6"/>
|
|
662
|
+
<testCase name="OverflowWatcher Should call callback on forceUpdate with childSpan considering overflowed elements" duration="3"/>
|
|
663
|
+
<testCase name="OverflowWatcher Should call callback on forceUpdate with empty list" duration="2"/>
|
|
664
|
+
<testCase name="OverflowWatcher should ignore elements that can not overflow" duration="6"/>
|
|
664
665
|
<testCase name="OverflowWatcher Should not call callback on forceUpdate" duration="1"/>
|
|
665
666
|
</file>
|
|
666
667
|
<file path="/builds/dti/design-system/commons/sankhyacore/test/dataunit/loader/utils/dataUnitLoaderUtils.spec.ts">
|
|
667
668
|
<testCase name="Utility Functions applyFilter should return the original records if no filters are provided" duration="1"/>
|
|
668
|
-
<testCase name="Utility Functions applyFilter should filter records based on provided filters" duration="
|
|
669
|
+
<testCase name="Utility Functions applyFilter should filter records based on provided filters" duration="1"/>
|
|
669
670
|
<testCase name="Utility Functions buildPaginationInfo function should return correct pagination info with default values" duration="0"/>
|
|
670
671
|
<testCase name="Utility Functions buildPaginationInfo function should redosLenth as same size as recordsPerPage" duration="1"/>
|
|
671
672
|
<testCase name="Utility Functions buildPaginationInfo function should handle case when totalRecordsLength and offset 0" duration="0"/>
|
|
@@ -679,23 +680,23 @@
|
|
|
679
680
|
<testCase name="Mask Formatter mask:CPF incomplete valid" duration="0"/>
|
|
680
681
|
<testCase name="Mask Formatter mask:CPF incomplete valid placeholder" duration="1"/>
|
|
681
682
|
<testCase name="Mask Formatter mask:CPF too long valid" duration="0"/>
|
|
682
|
-
<testCase name="Mask Formatter mask:CPF invalid for string" duration="
|
|
683
|
+
<testCase name="Mask Formatter mask:CPF invalid for string" duration="5"/>
|
|
683
684
|
<testCase name="Mask Formatter mask:CPF invalid for being too long" duration="0"/>
|
|
684
685
|
<testCase name="Mask Formatter mask:Licence plate valid uppercase" duration="1"/>
|
|
685
686
|
<testCase name="Mask Formatter mask:Licence plate valid lowercase" duration="0"/>
|
|
686
687
|
<testCase name="Mask Formatter mask:Licence plate invalid" duration="1"/>
|
|
687
|
-
<testCase name="Mask Formatter mask:Licence plate invalid for being too short" duration="
|
|
688
|
+
<testCase name="Mask Formatter mask:Licence plate invalid for being too short" duration="1"/>
|
|
688
689
|
<testCase name="Mask Formatter mask:Licence plate invalid for being too short with placeholder" duration="0"/>
|
|
689
690
|
<testCase name="Mask Formatter mask:Licence plate invalid" duration="1"/>
|
|
690
|
-
<testCase name="Mask Formatter mask:Licence plate with AlphaNumerical Mask" duration="
|
|
691
|
+
<testCase name="Mask Formatter mask:Licence plate with AlphaNumerical Mask" duration="0"/>
|
|
691
692
|
<testCase name="Mask Formatter mask:Licence plate with AlphaNumerical Mask with placeholder" duration="0"/>
|
|
692
693
|
<testCase name="Mask Formatter mask:Licence plate invalid" duration="1"/>
|
|
693
|
-
<testCase name="Mask Formatter mask:Licence plate with AlphaNumerical Mask" duration="
|
|
694
|
+
<testCase name="Mask Formatter mask:Licence plate with AlphaNumerical Mask" duration="0"/>
|
|
694
695
|
<testCase name="Mask Formatter mask:Licence plate with AlphaNumerical Mask with placeholder" duration="0"/>
|
|
695
696
|
<testCase name="Mask Formatter mask:Licence plate invalid" duration="1"/>
|
|
696
|
-
<testCase name="Mask Formatter mask:Licence plate with AlphaNumerical Mask" duration="
|
|
697
|
-
<testCase name="Mask Formatter mask:Licence plate with AlphaNumerical Mask with placeholder" duration="
|
|
698
|
-
<testCase name="Mask Formatter mask:Licence plate invalid" duration="
|
|
697
|
+
<testCase name="Mask Formatter mask:Licence plate with AlphaNumerical Mask" duration="1"/>
|
|
698
|
+
<testCase name="Mask Formatter mask:Licence plate with AlphaNumerical Mask with placeholder" duration="3"/>
|
|
699
|
+
<testCase name="Mask Formatter mask:Licence plate invalid" duration="1"/>
|
|
699
700
|
</file>
|
|
700
701
|
<file path="/builds/dti/design-system/commons/sankhyacore/test/util/ColumnFilterManager.spec.ts">
|
|
701
702
|
<testCase name="ColumnFilterManager getColumnFilters should return an empty map if filters are undefined or empty" duration="1"/>
|
|
@@ -709,73 +710,73 @@
|
|
|
709
710
|
<file path="/builds/dti/design-system/commons/sankhyacore/test/util/LangUtils.spec.ts">
|
|
710
711
|
<testCase name="LangUtils convertLanguage should convert 'en' to EN_US" duration="8"/>
|
|
711
712
|
<testCase name="LangUtils convertLanguage should convert 'es' to ES_ES" duration="1"/>
|
|
712
|
-
<testCase name="LangUtils convertLanguage should default to PT_BR for unknown languages" duration="
|
|
713
|
+
<testCase name="LangUtils convertLanguage should default to PT_BR for unknown languages" duration="0"/>
|
|
713
714
|
<testCase name="LangUtils getLanguage should return language from cookie if available" duration="1"/>
|
|
714
715
|
<testCase name="LangUtils getLanguage should return HTML language if no cookie is set" duration="1"/>
|
|
715
716
|
<testCase name="LangUtils getLanguage should default to settings navigator if no cookie or HTML language is set" duration="1"/>
|
|
716
|
-
<testCase name="LangUtils getLanguage should default to PT_BR if no cookie or HTML language or config navigator is set" duration="
|
|
717
|
-
<testCase name="LangUtils getHtmlLanguage should return PT_BR in development mode" duration="
|
|
718
|
-
<testCase name="LangUtils getHtmlLanguage should return converted HTML language in production mode" duration="
|
|
717
|
+
<testCase name="LangUtils getLanguage should default to PT_BR if no cookie or HTML language or config navigator is set" duration="1"/>
|
|
718
|
+
<testCase name="LangUtils getHtmlLanguage should return PT_BR in development mode" duration="0"/>
|
|
719
|
+
<testCase name="LangUtils getHtmlLanguage should return converted HTML language in production mode" duration="1"/>
|
|
719
720
|
<testCase name="LangUtils setHtmlLanguage should set the HTML lang attribute and update the cookie" duration="4"/>
|
|
720
721
|
<testCase name="LangUtils getLanguageFromCookie should return the language from the cookie if it exists" duration="0"/>
|
|
721
|
-
<testCase name="LangUtils getLanguageFromCookie should return null if the cookie does not exist" duration="
|
|
722
|
+
<testCase name="LangUtils getLanguageFromCookie should return null if the cookie does not exist" duration="0"/>
|
|
722
723
|
<testCase name="LangUtils applyLanguageFromCookie should set the HTML lang attribute based on the cookie" duration="1"/>
|
|
723
|
-
<testCase name="LangUtils applyLanguageFromCookie should do nothing if the cookie does not exist" duration="
|
|
724
|
+
<testCase name="LangUtils applyLanguageFromCookie should do nothing if the cookie does not exist" duration="1"/>
|
|
724
725
|
</file>
|
|
725
726
|
<file path="/builds/dti/design-system/commons/sankhyacore/test/dataunit/SelectionInfo.spec.ts">
|
|
726
|
-
<testCase name="SelectionInfo should return false when mode is some records" duration="
|
|
727
|
-
<testCase name="SelectionInfo should return true when mode is all records" duration="
|
|
727
|
+
<testCase name="SelectionInfo should return false when mode is some records" duration="1"/>
|
|
728
|
+
<testCase name="SelectionInfo should return true when mode is all records" duration="1"/>
|
|
728
729
|
<testCase name="SelectionInfo should return false when records is not empty" duration="0"/>
|
|
729
730
|
<testCase name="SelectionInfo should return true when records is empty" duration="1"/>
|
|
730
731
|
<testCase name="SelectionInfo should return number of total when records is empty" duration="0"/>
|
|
731
732
|
<testCase name="SelectionInfo should return 0 when records is empty and total is undefined " duration="0"/>
|
|
732
|
-
<testCase name="SelectionInfo should return number of length of records when is not empty" duration="
|
|
733
|
+
<testCase name="SelectionInfo should return number of length of records when is not empty" duration="1"/>
|
|
733
734
|
<testCase name="SelectionInfo should return 0 when records is undefined and total is undefined" duration="0"/>
|
|
734
|
-
<testCase name="SelectionInfo should return undefined when records is undefined" duration="
|
|
735
|
-
<testCase name="SelectionInfo should call getAllRecords" duration="
|
|
735
|
+
<testCase name="SelectionInfo should return undefined when records is undefined" duration="2"/>
|
|
736
|
+
<testCase name="SelectionInfo should call getAllRecords" duration="0"/>
|
|
736
737
|
<testCase name="SelectionInfo should handle when getAllRecords is undefined" duration="0"/>
|
|
737
738
|
</file>
|
|
738
739
|
<file path="/builds/dti/design-system/commons/sankhyacore/test/util/NumberUtils.spec.ts">
|
|
739
|
-
<testCase name="NumberUtils stringToNumber should return 100 when value is 100" duration="
|
|
740
|
+
<testCase name="NumberUtils stringToNumber should return 100 when value is 100" duration="1"/>
|
|
740
741
|
<testCase name="NumberUtils stringToNumber should return 100.12 when value is 100,12" duration="0"/>
|
|
741
|
-
<testCase name="NumberUtils stringToNumber should return 11500.12 when value is 11500,12" duration="
|
|
742
|
+
<testCase name="NumberUtils stringToNumber should return 11500.12 when value is 11500,12" duration="1"/>
|
|
742
743
|
<testCase name="NumberUtils stringToNumber should return 11500 when value is 11500" duration="0"/>
|
|
743
744
|
<testCase name="NumberUtils stringToNumber should return 1 when value is 1.000" duration="0"/>
|
|
744
|
-
<testCase name="NumberUtils stringToNumber should return 11500.003 when value is 11.500,003" duration="
|
|
745
|
+
<testCase name="NumberUtils stringToNumber should return 11500.003 when value is 11.500,003" duration="1"/>
|
|
745
746
|
<testCase name="NumberUtils stringToNumber should return -100 when value is -100" duration="0"/>
|
|
746
747
|
<testCase name="NumberUtils stringToNumber should return -100.12 when value is -100,12" duration="0"/>
|
|
747
|
-
<testCase name="NumberUtils stringToNumber should return -11500.1 when value is -11500,1" duration="
|
|
748
|
-
<testCase name="NumberUtils stringToNumber should return -11500 when value is -11500" duration="
|
|
748
|
+
<testCase name="NumberUtils stringToNumber should return -11500.1 when value is -11500,1" duration="0"/>
|
|
749
|
+
<testCase name="NumberUtils stringToNumber should return -11500 when value is -11500" duration="1"/>
|
|
749
750
|
<testCase name="NumberUtils stringToNumber should return -11500.003 when value is -11.500,003" duration="0"/>
|
|
750
751
|
<testCase name="NumberUtils stringToNumber should return 100 when value is R$100" duration="0"/>
|
|
751
752
|
<testCase name="NumberUtils stringToNumber should return 100.12 when value is R$100,12" duration="1"/>
|
|
752
753
|
<testCase name="NumberUtils stringToNumber should return 11500.12 when value is R$11500,12" duration="0"/>
|
|
753
754
|
<testCase name="NumberUtils stringToNumber should return 11500 when value is R$11500" duration="0"/>
|
|
754
|
-
<testCase name="NumberUtils stringToNumber should return 11500.003 when value is R$11.500,003" duration="
|
|
755
|
+
<testCase name="NumberUtils stringToNumber should return 11500.003 when value is R$11.500,003" duration="0"/>
|
|
755
756
|
<testCase name="NumberUtils stringToNumber should return -100 when value is -R$100" duration="0"/>
|
|
756
757
|
<testCase name="NumberUtils stringToNumber should return -100.12 when value is -R$100,12" duration="0"/>
|
|
757
|
-
<testCase name="NumberUtils stringToNumber should return -11500.12 when value is -R$11500,12" duration="
|
|
758
|
+
<testCase name="NumberUtils stringToNumber should return -11500.12 when value is -R$11500,12" duration="1"/>
|
|
758
759
|
<testCase name="NumberUtils stringToNumber should return -11500 when value is -R$11500" duration="0"/>
|
|
759
760
|
<testCase name="NumberUtils stringToNumber should return -11500.003 when value is -R$11.500,003" duration="0"/>
|
|
760
761
|
<testCase name="NumberUtils stringToNumber should return NaN when value is " duration="0"/>
|
|
761
|
-
<testCase name="NumberUtils stringToNumber should return NaN when value is OrdinaryString" duration="
|
|
762
|
-
<testCase name="NumberUtils stringToNumber should return NaN when value is 100.167.80" duration="
|
|
762
|
+
<testCase name="NumberUtils stringToNumber should return NaN when value is OrdinaryString" duration="1"/>
|
|
763
|
+
<testCase name="NumberUtils stringToNumber should return NaN when value is 100.167.80" duration="0"/>
|
|
763
764
|
<testCase name="NumberUtils stringToNumber should return NaN when value is uahsuhas,auhsuhasu" duration="0"/>
|
|
764
765
|
<testCase name="NumberUtils stringToNumber should return NaN when value is 100,100,100" duration="0"/>
|
|
765
766
|
<testCase name="NumberUtils stringToNumber should return NaN when value is OrdinaryString,.OrdinaryString" duration="1"/>
|
|
766
767
|
<testCase name="NumberUtils stringToNumber should return NaN when value is OrdinaryString.,OrdinaryString" duration="0"/>
|
|
767
768
|
<testCase name="NumberUtils stringToNumber should return 0.121212 when value is .121212" duration="0"/>
|
|
768
769
|
<testCase name="NumberUtils stringToNumber should return 0.121212 when value is ,121212" duration="0"/>
|
|
769
|
-
<testCase name="NumberUtils stringToNumber should return NaN when value is 1,232,333.345" duration="
|
|
770
|
+
<testCase name="NumberUtils stringToNumber should return NaN when value is 1,232,333.345" duration="0"/>
|
|
770
771
|
<testCase name="NumberUtils stringToNumber should return 1232333.345 when value is 1232333,345" duration="0"/>
|
|
771
772
|
<testCase name="NumberUtils format should return 1.200.999,3333 when: [ value: 1.200.999,3333, precision: 4, prettyPrecision: 2 ]" duration="0"/>
|
|
772
|
-
<testCase name="NumberUtils format should return 1,0 when: [ value: 1.000, precision: 2, prettyPrecision: 1 ]" duration="
|
|
773
|
-
<testCase name="NumberUtils format should return 1.200.999,99 when: [ value: 1200999,99, precision: 2, prettyPrecision: 1 ]" duration="
|
|
773
|
+
<testCase name="NumberUtils format should return 1,0 when: [ value: 1.000, precision: 2, prettyPrecision: 1 ]" duration="0"/>
|
|
774
|
+
<testCase name="NumberUtils format should return 1.200.999,99 when: [ value: 1200999,99, precision: 2, prettyPrecision: 1 ]" duration="1"/>
|
|
774
775
|
<testCase name="NumberUtils format should return NaN when: [ value: 1,232,333.345, precision: 4, prettyPrecision: 2 ]" duration="0"/>
|
|
775
776
|
<testCase name="NumberUtils format should return 1,23 when: [ value: 1,23, precision: 2, prettyPrecision: 1 ]" duration="0"/>
|
|
776
|
-
<testCase name="NumberUtils format should return NaN when: [ value: 1.200.999, precision: 4, prettyPrecision: 2 ]" duration="
|
|
777
|
-
<testCase name="NumberUtils format should return 1.200 when: [ value: 1200.00001, precision: 4, prettyPrecision: 0 ]" duration="
|
|
778
|
-
<testCase name="NumberUtils format should return NaN when: [ value: String, precision: 4, prettyPrecision: 0 ]" duration="
|
|
777
|
+
<testCase name="NumberUtils format should return NaN when: [ value: 1.200.999, precision: 4, prettyPrecision: 2 ]" duration="0"/>
|
|
778
|
+
<testCase name="NumberUtils format should return 1.200 when: [ value: 1200.00001, precision: 4, prettyPrecision: 0 ]" duration="1"/>
|
|
779
|
+
<testCase name="NumberUtils format should return NaN when: [ value: String, precision: 4, prettyPrecision: 0 ]" duration="0"/>
|
|
779
780
|
<testCase name="NumberUtils format should return NaN when: [ value: , precision: 4, prettyPrecision: 0 ]" duration="0"/>
|
|
780
781
|
<testCase name="NumberUtils format should return 1.200.999,3333 when: [ value: 1.200.999,3333, precision: 4, prettyPrecision: undefined ]" duration="0"/>
|
|
781
782
|
<testCase name="NumberUtils format should return 1,00 when: [ value: 1.000, precision: 2, prettyPrecision: undefined ]" duration="0"/>
|
|
@@ -784,61 +785,61 @@
|
|
|
784
785
|
<testCase name="NumberUtils format should return 1,23 when: [ value: 1,23, precision: 2, prettyPrecision: undefined ]" duration="1"/>
|
|
785
786
|
<testCase name="NumberUtils format should return NaN when: [ value: 1.200.999, precision: 4, prettyPrecision: undefined ]" duration="0"/>
|
|
786
787
|
<testCase name="NumberUtils format should return NaN when: [ value: NaN, precision: 4, prettyPrecision: undefined ]" duration="0"/>
|
|
787
|
-
<testCase name="NumberUtils format should return 111,2 when: [ value: 111,199, precision: 1, prettyPrecision: -1 ]" duration="
|
|
788
|
-
<testCase name="NumberUtils format should return 111,1 when: [ value: 111,1000, precision: 1, prettyPrecision: -1 ]" duration="
|
|
788
|
+
<testCase name="NumberUtils format should return 111,2 when: [ value: 111,199, precision: 1, prettyPrecision: -1 ]" duration="0"/>
|
|
789
|
+
<testCase name="NumberUtils format should return 111,1 when: [ value: 111,1000, precision: 1, prettyPrecision: -1 ]" duration="1"/>
|
|
789
790
|
<testCase name="NumberUtils format should return 111,1 when: [ value: 111,100, precision: 1, prettyPrecision: 1.3 ]" duration="0"/>
|
|
790
|
-
<testCase name="NumberUtils format should return 111,1009 when: [ value: 111,1009, precision: -1, prettyPrecision: 1 ]" duration="
|
|
791
|
-
<testCase name="NumberUtils format should return 111,1 when: [ value: 111,1000, precision: -1, prettyPrecision: 1 ]" duration="
|
|
791
|
+
<testCase name="NumberUtils format should return 111,1009 when: [ value: 111,1009, precision: -1, prettyPrecision: 1 ]" duration="0"/>
|
|
792
|
+
<testCase name="NumberUtils format should return 111,1 when: [ value: 111,1000, precision: -1, prettyPrecision: 1 ]" duration="1"/>
|
|
792
793
|
<testCase name="NumberUtils format should return 111,1009 when: [ value: 111,1009, precision: 1.2, prettyPrecision: 1 ]" duration="0"/>
|
|
793
794
|
<testCase name="NumberUtils format should return 111,20 when: [ value: 111,199, precision: 2, prettyPrecision: -1 ]" duration="0"/>
|
|
794
|
-
<testCase name="NumberUtils format should return 111,10 when: [ value: 111,1000, precision: 2, prettyPrecision: -1 ]" duration="
|
|
795
|
-
<testCase name="NumberUtils format should return 111,1009 when: [ value: 111,1009, precision: -2, prettyPrecision: 1 ]" duration="
|
|
795
|
+
<testCase name="NumberUtils format should return 111,10 when: [ value: 111,1000, precision: 2, prettyPrecision: -1 ]" duration="0"/>
|
|
796
|
+
<testCase name="NumberUtils format should return 111,1009 when: [ value: 111,1009, precision: -2, prettyPrecision: 1 ]" duration="1"/>
|
|
796
797
|
<testCase name="NumberUtils format should return 111,1 when: [ value: 111,1000, precision: -2, prettyPrecision: 1 ]" duration="0"/>
|
|
797
798
|
<testCase name="NumberUtils changeFormat should return 1,200,999 when value is 1.200.999" duration="0"/>
|
|
798
799
|
<testCase name="NumberUtils changeFormat should return 1,000.99 when value is 1.000,99" duration="0"/>
|
|
799
|
-
<testCase name="NumberUtils changeFormat should return 1200999.99 when value is 1200999,99" duration="
|
|
800
|
+
<testCase name="NumberUtils changeFormat should return 1200999.99 when value is 1200999,99" duration="0"/>
|
|
800
801
|
<testCase name="NumberUtils changeFormat should return R$ 1.232.333,345 when value is R$ 1,232,333.345" duration="0"/>
|
|
801
802
|
<testCase name="NumberUtils changeFormat should return R$ 1,232,333.345 when value is R$ 1.232.333,345" duration="0"/>
|
|
802
803
|
<testCase name="NumberUtils keepOnlyDecimalSeparator should return 1200999 when: [ value: 1.200.999, formatNumber: pt-BR ]" duration="0"/>
|
|
803
|
-
<testCase name="NumberUtils keepOnlyDecimalSeparator should return 1000,99 when: [ value: 1000,99, formatNumber: pt-BR ]" duration="
|
|
804
|
-
<testCase name="NumberUtils keepOnlyDecimalSeparator should return 1200999,99 when: [ value: 1200999,99, formatNumber: pt-BR ]" duration="
|
|
804
|
+
<testCase name="NumberUtils keepOnlyDecimalSeparator should return 1000,99 when: [ value: 1000,99, formatNumber: pt-BR ]" duration="0"/>
|
|
805
|
+
<testCase name="NumberUtils keepOnlyDecimalSeparator should return 1200999,99 when: [ value: 1200999,99, formatNumber: pt-BR ]" duration="1"/>
|
|
805
806
|
<testCase name="NumberUtils keepOnlyDecimalSeparator should return R$ 1232333,345 when: [ value: R$ 1.232.333,345, formatNumber: pt-BR ]" duration="0"/>
|
|
806
807
|
<testCase name="NumberUtils keepOnlyDecimalSeparator should return 1200999 when: [ value: 1,200,999, formatNumber: en-US ]" duration="0"/>
|
|
807
|
-
<testCase name="NumberUtils keepOnlyDecimalSeparator should return 1000.99 when: [ value: 1,000.99, formatNumber: en-US ]" duration="
|
|
808
|
+
<testCase name="NumberUtils keepOnlyDecimalSeparator should return 1000.99 when: [ value: 1,000.99, formatNumber: en-US ]" duration="0"/>
|
|
808
809
|
<testCase name="NumberUtils keepOnlyDecimalSeparator should return 1200999.99 when: [ value: 1200999.99, formatNumber: en-US ]" duration="0"/>
|
|
809
810
|
<testCase name="NumberUtils keepOnlyDecimalSeparator should return EUR 1232333.345 when: [ value: EUR 1,232,333.345, formatNumber: en-US ]" duration="0"/>
|
|
810
811
|
<testCase name="NumberUtils round should return 100.12 when: [ value: 100.12, decimal: undefined ]" duration="0"/>
|
|
811
812
|
<testCase name="NumberUtils round should return 100.1 when: [ value: 100.12, decimal: 1 ]" duration="0"/>
|
|
812
|
-
<testCase name="NumberUtils round should return 100.12 when: [ value: 100.12, decimal: 2 ]" duration="
|
|
813
|
+
<testCase name="NumberUtils round should return 100.12 when: [ value: 100.12, decimal: 2 ]" duration="0"/>
|
|
813
814
|
<testCase name="NumberUtils round should return 100.12 when: [ value: 100.12, decimal: 3 ]" duration="0"/>
|
|
814
815
|
<testCase name="NumberUtils round should return 100.2 when: [ value: 100.15, decimal: 1 ]" duration="0"/>
|
|
815
816
|
<testCase name="NumberUtils round should return 100.15 when: [ value: 100.15, decimal: 2 ]" duration="0"/>
|
|
816
817
|
<testCase name="NumberUtils round should return 100.15 when: [ value: 100.15, decimal: 3 ]" duration="0"/>
|
|
817
818
|
<testCase name="NumberUtils round should return 100.2 when: [ value: 100.16, decimal: 1 ]" duration="0"/>
|
|
818
|
-
<testCase name="NumberUtils round should return 100.16 when: [ value: 100.16, decimal: 2 ]" duration="
|
|
819
|
-
<testCase name="NumberUtils round should return 100.16 when: [ value: 100.16, decimal: 3 ]" duration="
|
|
819
|
+
<testCase name="NumberUtils round should return 100.16 when: [ value: 100.16, decimal: 2 ]" duration="0"/>
|
|
820
|
+
<testCase name="NumberUtils round should return 100.16 when: [ value: 100.16, decimal: 3 ]" duration="1"/>
|
|
820
821
|
<testCase name="NumberUtils round should return 2118000000000.0002 when: [ value: 2118000000000.0002, decimal: 12 ]" duration="0"/>
|
|
821
822
|
<testCase name="NumberUtils round should return 123.45 when: [ value: 123.45, decimal: 5 ]" duration="0"/>
|
|
822
823
|
<testCase name="NumberUtils round should return 123 when: [ value: 123.45, decimal: 0 ]" duration="0"/>
|
|
823
|
-
<testCase name="NumberUtils safeFormat should return 1.200.999,3333 when: [ value: 1.200.999,3333, precision: 4, prettyPrecision: 2 ]" duration="
|
|
824
|
-
<testCase name="NumberUtils safeFormat should return 1,0 when: [ value: 1.000, precision: 2, prettyPrecision: 1 ]" duration="
|
|
824
|
+
<testCase name="NumberUtils safeFormat should return 1.200.999,3333 when: [ value: 1.200.999,3333, precision: 4, prettyPrecision: 2 ]" duration="1"/>
|
|
825
|
+
<testCase name="NumberUtils safeFormat should return 1,0 when: [ value: 1.000, precision: 2, prettyPrecision: 1 ]" duration="0"/>
|
|
825
826
|
<testCase name="NumberUtils safeFormat should return 1.200.999,99 when: [ value: 1200999,99, precision: 2, prettyPrecision: 1 ]" duration="0"/>
|
|
826
|
-
<testCase name="NumberUtils safeFormat should return 0,00 when: [ value: 1,232,333.345, precision: 4, prettyPrecision: 2 ]" duration="
|
|
827
|
-
<testCase name="NumberUtils safeFormat should return 1,23 when: [ value: 1,23, precision: 2, prettyPrecision: 1 ]" duration="
|
|
827
|
+
<testCase name="NumberUtils safeFormat should return 0,00 when: [ value: 1,232,333.345, precision: 4, prettyPrecision: 2 ]" duration="1"/>
|
|
828
|
+
<testCase name="NumberUtils safeFormat should return 1,23 when: [ value: 1,23, precision: 2, prettyPrecision: 1 ]" duration="0"/>
|
|
828
829
|
<testCase name="NumberUtils safeFormat should return 0,00 when: [ value: 1.200.999, precision: 4, prettyPrecision: 2 ]" duration="0"/>
|
|
829
|
-
<testCase name="NumberUtils safeFormat should return 1.200 when: [ value: 1200.00001, precision: 4, prettyPrecision: 0 ]" duration="
|
|
830
|
-
<testCase name="NumberUtils safeFormat should return 0,00 when: [ value: String, precision: 4, prettyPrecision: 0 ]" duration="
|
|
830
|
+
<testCase name="NumberUtils safeFormat should return 1.200 when: [ value: 1200.00001, precision: 4, prettyPrecision: 0 ]" duration="1"/>
|
|
831
|
+
<testCase name="NumberUtils safeFormat should return 0,00 when: [ value: String, precision: 4, prettyPrecision: 0 ]" duration="0"/>
|
|
831
832
|
<testCase name="NumberUtils safeFormat should return 0,00 when: [ value: , precision: 4, prettyPrecision: 0 ]" duration="0"/>
|
|
832
|
-
<testCase name="NumberUtils safeFormat should return 1.200.999,3333 when: [ value: 1.200.999,3333, precision: 4, prettyPrecision: undefined ]" duration="
|
|
833
|
-
<testCase name="NumberUtils safeFormat should return 1,00 when: [ value: 1.000, precision: 2, prettyPrecision: undefined ]" duration="
|
|
834
|
-
<testCase name="NumberUtils safeFormat should return 1.200.999,99 when: [ value: 1200999,99, precision: 2, prettyPrecision: undefined ]" duration="
|
|
835
|
-
<testCase name="NumberUtils safeFormat should return 0,00 when: [ value: 1,232,333.345, precision: 4, prettyPrecision: undefined ]" duration="
|
|
833
|
+
<testCase name="NumberUtils safeFormat should return 1.200.999,3333 when: [ value: 1.200.999,3333, precision: 4, prettyPrecision: undefined ]" duration="0"/>
|
|
834
|
+
<testCase name="NumberUtils safeFormat should return 1,00 when: [ value: 1.000, precision: 2, prettyPrecision: undefined ]" duration="10"/>
|
|
835
|
+
<testCase name="NumberUtils safeFormat should return 1.200.999,99 when: [ value: 1200999,99, precision: 2, prettyPrecision: undefined ]" duration="0"/>
|
|
836
|
+
<testCase name="NumberUtils safeFormat should return 0,00 when: [ value: 1,232,333.345, precision: 4, prettyPrecision: undefined ]" duration="1"/>
|
|
836
837
|
<testCase name="NumberUtils safeFormat should return 1,23 when: [ value: 1,23, precision: 2, prettyPrecision: undefined ]" duration="0"/>
|
|
837
|
-
<testCase name="NumberUtils safeFormat should return 0,00 when: [ value: 1.200.999, precision: 4, prettyPrecision: undefined ]" duration="
|
|
838
|
-
<testCase name="NumberUtils safeFormat should return 0,00 when: [ value: NaN, precision: 4, prettyPrecision: undefined ]" duration="
|
|
838
|
+
<testCase name="NumberUtils safeFormat should return 0,00 when: [ value: 1.200.999, precision: 4, prettyPrecision: undefined ]" duration="0"/>
|
|
839
|
+
<testCase name="NumberUtils safeFormat should return 0,00 when: [ value: NaN, precision: 4, prettyPrecision: undefined ]" duration="1"/>
|
|
839
840
|
<testCase name="NumberUtils safeFormat should return 111,2 when: [ value: 111,199, precision: 1, prettyPrecision: -1 ]" duration="0"/>
|
|
840
|
-
<testCase name="NumberUtils safeFormat should return 111,1 when: [ value: 111,1000, precision: 1, prettyPrecision: -1 ]" duration="
|
|
841
|
-
<testCase name="NumberUtils safeFormat should return 111,1 when: [ value: 111,100, precision: 1, prettyPrecision: 1.3 ]" duration="
|
|
841
|
+
<testCase name="NumberUtils safeFormat should return 111,1 when: [ value: 111,1000, precision: 1, prettyPrecision: -1 ]" duration="0"/>
|
|
842
|
+
<testCase name="NumberUtils safeFormat should return 111,1 when: [ value: 111,100, precision: 1, prettyPrecision: 1.3 ]" duration="1"/>
|
|
842
843
|
<testCase name="NumberUtils safeFormat should return 111,1009 when: [ value: 111,1009, precision: -1, prettyPrecision: 1 ]" duration="0"/>
|
|
843
844
|
<testCase name="NumberUtils safeFormat should return 111,1 when: [ value: 111,1000, precision: -1, prettyPrecision: 1 ]" duration="0"/>
|
|
844
845
|
<testCase name="NumberUtils safeFormat should return 111,1009 when: [ value: 111,1009, precision: 1.2, prettyPrecision: 1 ]" duration="1"/>
|
|
@@ -847,74 +848,74 @@
|
|
|
847
848
|
<testCase name="NumberUtils safeFormat should return 111,1009 when: [ value: 111,1009, precision: -2, prettyPrecision: 1 ]" duration="1"/>
|
|
848
849
|
<testCase name="NumberUtils safeFormat should return 111,1 when: [ value: 111,1000, precision: -2, prettyPrecision: 1 ]" duration="0"/>
|
|
849
850
|
<testCase name="NumberUtils getValueOrDefault should return 0 when value is undefined" duration="0"/>
|
|
850
|
-
<testCase name="NumberUtils getValueOrDefault should return 10 when value is null" duration="
|
|
851
|
-
<testCase name="NumberUtils getValueOrDefault should return 5 when value is " duration="
|
|
851
|
+
<testCase name="NumberUtils getValueOrDefault should return 10 when value is null" duration="1"/>
|
|
852
|
+
<testCase name="NumberUtils getValueOrDefault should return 5 when value is " duration="0"/>
|
|
852
853
|
<testCase name="NumberUtils getValueOrDefault should return 7 when value is " duration="0"/>
|
|
853
854
|
<testCase name="NumberUtils getValueOrDefault should return 123 when value is 123" duration="0"/>
|
|
854
|
-
<testCase name="NumberUtils getValueOrDefault should return -123 when value is -123" duration="
|
|
855
|
-
<testCase name="NumberUtils getValueOrDefault should return 123.45 when value is 123.45" duration="
|
|
855
|
+
<testCase name="NumberUtils getValueOrDefault should return -123 when value is -123" duration="1"/>
|
|
856
|
+
<testCase name="NumberUtils getValueOrDefault should return 123.45 when value is 123.45" duration="0"/>
|
|
856
857
|
<testCase name="NumberUtils getValueOrDefault should return 8 when value is abc" duration="0"/>
|
|
857
858
|
<testCase name="NumberUtils getValueOrDefault should return 15 when value is NaN" duration="0"/>
|
|
858
859
|
<testCase name="NumberUtils getValueOrDefault should return 0 when value is 0" duration="0"/>
|
|
859
860
|
<testCase name="NumberUtils getValueOrDefault should return 42 when value is 42" duration="0"/>
|
|
860
|
-
<testCase name="NumberUtils getValueOrDefault should return -42 when value is -42" duration="
|
|
861
|
-
<testCase name="NumberUtils getValueOrDefault should return 0 when value is 0" duration="
|
|
861
|
+
<testCase name="NumberUtils getValueOrDefault should return -42 when value is -42" duration="0"/>
|
|
862
|
+
<testCase name="NumberUtils getValueOrDefault should return 0 when value is 0" duration="1"/>
|
|
862
863
|
<testCase name="NumberUtils getValueOrDefault should return 50 when value is NaN" duration="0"/>
|
|
863
|
-
<testCase name="NumberUtils getValueOrZero should return 0 when value is undefined" duration="
|
|
864
|
+
<testCase name="NumberUtils getValueOrZero should return 0 when value is undefined" duration="0"/>
|
|
864
865
|
<testCase name="NumberUtils getValueOrZero should return 0 when value is null" duration="0"/>
|
|
865
866
|
<testCase name="NumberUtils getValueOrZero should return 0 when value is " duration="0"/>
|
|
866
|
-
<testCase name="NumberUtils getValueOrZero should return 0 when value is " duration="
|
|
867
|
+
<testCase name="NumberUtils getValueOrZero should return 0 when value is " duration="0"/>
|
|
867
868
|
<testCase name="NumberUtils getValueOrZero should return 123 when value is 123" duration="0"/>
|
|
868
869
|
<testCase name="NumberUtils getValueOrZero should return -123 when value is -123" duration="0"/>
|
|
869
870
|
<testCase name="NumberUtils getValueOrZero should return 123.45 when value is 123.45" duration="0"/>
|
|
870
|
-
<testCase name="NumberUtils getValueOrZero should return 0 when value is abc" duration="
|
|
871
|
+
<testCase name="NumberUtils getValueOrZero should return 0 when value is abc" duration="0"/>
|
|
871
872
|
<testCase name="NumberUtils getValueOrZero should return 0 when value is NaN" duration="0"/>
|
|
872
873
|
<testCase name="NumberUtils getValueOrZero should return 0 when value is 0" duration="0"/>
|
|
873
874
|
<testCase name="NumberUtils getValueOrZero should return 42 when value is 42" duration="0"/>
|
|
874
875
|
<testCase name="NumberUtils getValueOrZero should return -42 when value is -42" duration="0"/>
|
|
875
876
|
<testCase name="NumberUtils getValueOrZero should return 0 when value is 0" duration="0"/>
|
|
876
877
|
<testCase name="NumberUtils getValueOrZero should return 0 when value is NaN" duration="0"/>
|
|
877
|
-
<testCase name="NumberUtils compare should return 1 when comparing 10 and 5" duration="
|
|
878
|
+
<testCase name="NumberUtils compare should return 1 when comparing 10 and 5" duration="0"/>
|
|
878
879
|
<testCase name="NumberUtils compare should return -1 when comparing 5 and 10" duration="0"/>
|
|
879
880
|
<testCase name="NumberUtils compare should return 0 when comparing 5 and 5" duration="0"/>
|
|
880
|
-
<testCase name="NumberUtils compare should return -1 when comparing -10 and -5" duration="
|
|
881
|
-
<testCase name="NumberUtils compare should return 1 when comparing -5 and -10" duration="
|
|
881
|
+
<testCase name="NumberUtils compare should return -1 when comparing -10 and -5" duration="1"/>
|
|
882
|
+
<testCase name="NumberUtils compare should return 1 when comparing -5 and -10" duration="0"/>
|
|
882
883
|
<testCase name="NumberUtils compare should return 0 when comparing 0 and 0" duration="0"/>
|
|
883
884
|
<testCase name="NumberUtils compare should return 1 when comparing 0 and -1" duration="0"/>
|
|
884
885
|
<testCase name="NumberUtils compare should return -1 when comparing -1 and 0" duration="0"/>
|
|
885
886
|
</file>
|
|
886
887
|
<file path="/builds/dti/design-system/commons/sankhyacore/test/util/TimeFormatter.spec.ts">
|
|
887
|
-
<testCase name="TimeFormatter prepareValue Case: input string unformated with showSeconds" duration="
|
|
888
|
+
<testCase name="TimeFormatter prepareValue Case: input string unformated with showSeconds" duration="0"/>
|
|
888
889
|
<testCase name="TimeFormatter prepareValue Case: input string unformated without showSeconds" duration="0"/>
|
|
889
|
-
<testCase name="TimeFormatter prepareValue should format valid time without seconds" duration="
|
|
890
|
-
<testCase name="TimeFormatter prepareValue should format valid time with seconds" duration="
|
|
891
|
-
<testCase name="TimeFormatter prepareValue should pad input with leading zeros for proper format" duration="
|
|
892
|
-
<testCase name="TimeFormatter prepareValue should return an empty string for invalid input" duration="
|
|
890
|
+
<testCase name="TimeFormatter prepareValue should format valid time without seconds" duration="0"/>
|
|
891
|
+
<testCase name="TimeFormatter prepareValue should format valid time with seconds" duration="1"/>
|
|
892
|
+
<testCase name="TimeFormatter prepareValue should pad input with leading zeros for proper format" duration="0"/>
|
|
893
|
+
<testCase name="TimeFormatter prepareValue should return an empty string for invalid input" duration="1"/>
|
|
893
894
|
<testCase name="TimeFormatter prepareValue should throw error when recieveng string" duration="3"/>
|
|
894
|
-
<testCase name="TimeFormatter prepareValue should handle edge cases correctly" duration="
|
|
895
|
+
<testCase name="TimeFormatter prepareValue should handle edge cases correctly" duration="0"/>
|
|
895
896
|
<testCase name="TimeFormatter prepareValue should format partially filled times correctly" duration="1"/>
|
|
896
897
|
<testCase name="TimeFormatter validateTime should be false when [ value: 2525, showSeconds: false" duration="0"/>
|
|
897
|
-
<testCase name="TimeFormatter validateTime should be false when [ value: 2525, showSeconds: true" duration="
|
|
898
|
+
<testCase name="TimeFormatter validateTime should be false when [ value: 2525, showSeconds: true" duration="1"/>
|
|
898
899
|
<testCase name="TimeFormatter validateTime should be true when [ value: 232920, showSeconds: true" duration="0"/>
|
|
899
900
|
<testCase name="TimeFormatter validateTime should be true when [ value: 232920, showSeconds: false" duration="0"/>
|
|
900
901
|
<testCase name="TimeFormatter validateTime should be true when [ value: 1012, showSeconds: false" duration="0"/>
|
|
901
|
-
<testCase name="TimeFormatter validateTime should be true when [ value: 0012, showSeconds: false" duration="
|
|
902
|
-
<testCase name="TimeFormatter validateTime should be true when [ value: 2359, showSeconds: false" duration="
|
|
902
|
+
<testCase name="TimeFormatter validateTime should be true when [ value: 0012, showSeconds: false" duration="1"/>
|
|
903
|
+
<testCase name="TimeFormatter validateTime should be true when [ value: 2359, showSeconds: false" duration="0"/>
|
|
903
904
|
<testCase name="TimeFormatter validateTime should be true when [ value: 101200, showSeconds: true" duration="0"/>
|
|
904
905
|
<testCase name="TimeFormatter validateTime should be true when [ value: 000000, showSeconds: true" duration="0"/>
|
|
905
906
|
<testCase name="TimeFormatter validateTime should be true when [ value: 235959, showSeconds: true" duration="0"/>
|
|
906
|
-
<testCase name="TimeFormatter validateTime should be false when [ value: 2460, showSeconds: false" duration="
|
|
907
|
-
<testCase name="TimeFormatter validateTime should be false when [ value: 2500, showSeconds: false" duration="
|
|
907
|
+
<testCase name="TimeFormatter validateTime should be false when [ value: 2460, showSeconds: false" duration="1"/>
|
|
908
|
+
<testCase name="TimeFormatter validateTime should be false when [ value: 2500, showSeconds: false" duration="0"/>
|
|
908
909
|
<testCase name="TimeFormatter validateTime should be false when [ value: 9900, showSeconds: false" duration="0"/>
|
|
909
910
|
<testCase name="TimeFormatter validateTime should be false when [ value: 1260, showSeconds: false" duration="0"/>
|
|
910
911
|
<testCase name="TimeFormatter validateTime should be false when [ value: 1275, showSeconds: false" duration="0"/>
|
|
911
912
|
<testCase name="TimeFormatter validateTime should be false when [ value: 101260, showSeconds: true" duration="0"/>
|
|
912
|
-
<testCase name="TimeFormatter validateTime should be false when [ value: 101275, showSeconds: true" duration="
|
|
913
|
+
<testCase name="TimeFormatter validateTime should be false when [ value: 101275, showSeconds: true" duration="0"/>
|
|
913
914
|
<testCase name="TimeFormatter validateTime should be false when [ value: , showSeconds: false" duration="0"/>
|
|
914
915
|
<testCase name="TimeFormatter validateTime should be false when [ value: null, showSeconds: false" duration="0"/>
|
|
915
916
|
<testCase name="TimeFormatter validateTime should be false when [ value: undefined, showSeconds: false" duration="0"/>
|
|
916
917
|
<testCase name="TimeFormatter validateTime should be false when [ value: abcd, showSeconds: false" duration="0"/>
|
|
917
|
-
<testCase name="TimeFormatter validateTime should be false when [ value: 14e4, showSeconds: false" duration="
|
|
918
|
+
<testCase name="TimeFormatter validateTime should be false when [ value: 14e4, showSeconds: false" duration="1"/>
|
|
918
919
|
<testCase name="TimeFormatter validateTime should be true when [ value: 10:12, showSeconds: false" duration="0"/>
|
|
919
920
|
<testCase name="TimeFormatter validateTime should be true when [ value: 0000, showSeconds: false" duration="0"/>
|
|
920
921
|
<testCase name="TimeFormatter validateTime should be true when [ value: 2359, showSeconds: false" duration="0"/>
|
|
@@ -926,51 +927,51 @@
|
|
|
926
927
|
<testCase name="TimeFormatter validateTime should be true when [ value: 12345, showSeconds: true" duration="1"/>
|
|
927
928
|
</file>
|
|
928
929
|
<file path="/builds/dti/design-system/commons/sankhyacore/test/dataunit/Actions.spec.ts">
|
|
929
|
-
<testCase name="Actions savingCanceled should emit event savingCanceled" duration="
|
|
930
|
-
<testCase name="Actions clearInvalid should emit event savingCanceled" duration="
|
|
931
|
-
<testCase name="Actions redo should return true when field value changes can redo" duration="
|
|
930
|
+
<testCase name="Actions savingCanceled should emit event savingCanceled" duration="2"/>
|
|
931
|
+
<testCase name="Actions clearInvalid should emit event savingCanceled" duration="1"/>
|
|
932
|
+
<testCase name="Actions redo should return true when field value changes can redo" duration="2"/>
|
|
932
933
|
</file>
|
|
933
934
|
<file path="/builds/dti/design-system/commons/sankhyacore/test/dataunit/AccessParentsDataUnit.spec.ts">
|
|
934
|
-
<testCase name="Access parent dataUnits getChildInfo should return metadata children data" duration="
|
|
935
|
-
<testCase name="Access parent dataUnits getChildInfo should return undefined when dont has metadata" duration="
|
|
936
|
-
<testCase name="Access parent dataUnits getChildInfo should return undefined when dont has metadata children data" duration="
|
|
935
|
+
<testCase name="Access parent dataUnits getChildInfo should return metadata children data" duration="2"/>
|
|
936
|
+
<testCase name="Access parent dataUnits getChildInfo should return undefined when dont has metadata" duration="0"/>
|
|
937
|
+
<testCase name="Access parent dataUnits getChildInfo should return undefined when dont has metadata children data" duration="0"/>
|
|
937
938
|
<testCase name="Access parent dataUnits getParentDataUnit should return parent dataUnit" duration="1"/>
|
|
938
|
-
<testCase name="Access parent dataUnits isParentDirty should return true when parent is dirty" duration="
|
|
939
|
+
<testCase name="Access parent dataUnits isParentDirty should return true when parent is dirty" duration="1"/>
|
|
939
940
|
<testCase name="Access parent dataUnits isParentDirty should return false when parent is not dirty" duration="0"/>
|
|
940
941
|
<testCase name="Access parent dataUnits isParentDirty should return false when dont has parent" duration="1"/>
|
|
941
942
|
</file>
|
|
942
943
|
<file path="/builds/dti/design-system/commons/sankhyacore/test/util/DataUnitStorage.spec.ts">
|
|
943
|
-
<testCase name="DataUnitStorage put should store a DataUnit instance in the DataUnitStorage" duration="
|
|
944
|
+
<testCase name="DataUnitStorage put should store a DataUnit instance in the DataUnitStorage" duration="2"/>
|
|
944
945
|
<testCase name="DataUnitStorage get should return the stored DataUnit instance from the DataUnitStorage" duration="0"/>
|
|
945
|
-
<testCase name="DataUnitStorage get should return undefined if the DataUnit instance is not found in the DataUnitStorage" duration="
|
|
946
|
+
<testCase name="DataUnitStorage get should return undefined if the DataUnit instance is not found in the DataUnitStorage" duration="1"/>
|
|
946
947
|
<testCase name="DataUnitStorage remove should remove the specified DataUnit instance from the DataUnitStorage" duration="0"/>
|
|
947
948
|
<testCase name="DataUnitStorage remove should remove the DataUnit instance with the specified name from the DataUnitStorage" duration="0"/>
|
|
948
949
|
<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"/>
|
|
949
950
|
</file>
|
|
950
951
|
<file path="/builds/dti/design-system/commons/sankhyacore/test/http/HttpProvider.spec.ts">
|
|
951
|
-
<testCase name="HttpProvider Metodo GET" duration="
|
|
952
|
+
<testCase name="HttpProvider Metodo GET" duration="1"/>
|
|
952
953
|
</file>
|
|
953
954
|
<file path="/builds/dti/design-system/commons/sankhyacore/test/http/SkwHttpProvider.ts.spec.ts">
|
|
954
|
-
<testCase name="HttpProvider Metodo POST" duration="
|
|
955
|
+
<testCase name="HttpProvider Metodo POST" duration="1"/>
|
|
955
956
|
</file>
|
|
956
957
|
<file path="/builds/dti/design-system/commons/sankhyacore/test/dataunit/Change.spec.ts">
|
|
957
|
-
<testCase name="Change should return operation" duration="
|
|
958
|
-
<testCase name="Change should return false when operation is not insert" duration="
|
|
958
|
+
<testCase name="Change should return operation" duration="0"/>
|
|
959
|
+
<testCase name="Change should return false when operation is not insert" duration="0"/>
|
|
959
960
|
<testCase name="Change should return true when operation is insert" duration="0"/>
|
|
960
961
|
<testCase name="Change should return true when operation is copy" duration="0"/>
|
|
961
|
-
<testCase name="Change should return true when operation is delete" duration="
|
|
962
|
+
<testCase name="Change should return true when operation is delete" duration="0"/>
|
|
962
963
|
<testCase name="Change should return true when operation is update" duration="0"/>
|
|
963
964
|
</file>
|
|
964
965
|
<file path="/builds/dti/design-system/commons/sankhyacore/test/util/CriteriaParameter.spec.ts">
|
|
965
966
|
<testCase name="StringUtils it should return the correct values of "value" and "type" through the getters methods initial setted by the constructor" duration="1"/>
|
|
966
967
|
<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"/>
|
|
967
|
-
<testCase name="StringUtils it should return the correct JSON/Object value through the buildParam method" duration="
|
|
968
|
+
<testCase name="StringUtils it should return the correct JSON/Object value through the buildParam method" duration="0"/>
|
|
968
969
|
</file>
|
|
969
970
|
<file path="/builds/dti/design-system/commons/sankhyacore/src/dataunit/state/slice/test/RecordsSlice.spec.ts">
|
|
970
|
-
<testCase name="RecordsSlice should return newlines at the end" duration="
|
|
971
|
+
<testCase name="RecordsSlice should return newlines at the end" duration="1"/>
|
|
971
972
|
</file>
|
|
972
973
|
<file path="/builds/dti/design-system/commons/sankhyacore/test/util/ElementUtils.spec.ts">
|
|
973
|
-
<testCase name="calcMarginSize should calculate correctly the size of horizontal margin" duration="
|
|
974
|
+
<testCase name="calcMarginSize should calculate correctly the size of horizontal margin" duration="16"/>
|
|
974
975
|
<testCase name="calcMarginSize should calculate correctly the size of vertical margin" duration="1"/>
|
|
975
976
|
<testCase name="calcMarginSize should threat values defined as zero" duration="2"/>
|
|
976
977
|
</file>
|