@sankhyalabs/core 5.20.0-dev.79 → 5.20.0-dev.80
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/reports/test-report.xml
CHANGED
|
@@ -1,444 +1,243 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
2
|
<unitTest version="1">
|
|
3
|
+
<file path="/builds/dti/design-system/sankhyacore/test/util/CriteriaModel.spec.ts">
|
|
4
|
+
<testCase name="StringUtils it should return the undefined and [] to Criteria Props through new class with empty constructor" duration="13"/>
|
|
5
|
+
<testCase name="StringUtils it should modify "expressions" and "parameters" properties through Setters methods" duration="1"/>
|
|
6
|
+
<testCase name="StringUtils it should return "expression" and "parameters" setted through constructor method" duration="1"/>
|
|
7
|
+
<testCase name="StringUtils it should return a Criteria class with "expression" and "parameters" as needed setted through "append" method" duration="1"/>
|
|
8
|
+
<testCase name="StringUtils it should return a Criteria class with "Criteria class" and "parameters" concatenaded as needed setted through "append" method" duration="1"/>
|
|
9
|
+
<testCase name="StringUtils it should return undefined as "expression" and "[]" as parameters as we use an empty criteria as first entry in the constructor" duration="1"/>
|
|
10
|
+
<testCase name="StringUtils it should return a Criteria class with "Expression" and "parameters" concatenaded as needed setted through "OR" method" duration="0"/>
|
|
11
|
+
<testCase name="StringUtils it should return a Criteria class with "Criteria class" and "parameters" concatenaded as needed setted through "OR" method" duration="1"/>
|
|
12
|
+
<testCase name="StringUtils it should return a Criteria class with "Criteria class" and "parameters" concatenaded as needed setted through "OR" method" duration="286"/>
|
|
13
|
+
<testCase name="StringUtils it should return a Criteria class with "Expression" and "parameters" concatenaded as needed setted through "AND" method" duration="2"/>
|
|
14
|
+
<testCase name="StringUtils it should return a Criteria class with "Criteria class" and "parameters" concatenaded as needed setted through "AND" method" duration="5"/>
|
|
15
|
+
<testCase name="StringUtils it should return a Criteria class with "Criteria class" and "parameters" concatenaded as needed setted through "AND" method" duration="2"/>
|
|
16
|
+
<testCase name="StringUtils it should return a toJSON object with "Criteria class" and "parameters" concatenaded as needed setted through "AND" method" duration="1"/>
|
|
17
|
+
<testCase name="StringUtils it should return a toJSON object with through empty constructor" duration="1"/>
|
|
18
|
+
</file>
|
|
3
19
|
<file path="/builds/dti/design-system/sankhyacore/test/util/ObjectUtils.spec.ts">
|
|
4
|
-
<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="
|
|
20
|
+
<testCase name="ObjectUtils getProp should get an object value based on its path" duration="70"/>
|
|
21
|
+
<testCase name="ObjectUtils getProp should get an object value based on its path" duration="0"/>
|
|
6
22
|
<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="
|
|
23
|
+
<testCase name="ObjectUtils hasEquivalentValues should return true if both objects have the same property value" duration="1"/>
|
|
8
24
|
<testCase name="ObjectUtils hasEquivalentValues should return false if both objects have different property values" duration="1"/>
|
|
9
|
-
<testCase name="ObjectUtils hasEquivalentValues should return true if both objects are equivalent with custom property to compare" duration="
|
|
25
|
+
<testCase name="ObjectUtils hasEquivalentValues should return true if both objects are equivalent with custom property to compare" duration="1"/>
|
|
10
26
|
<testCase name="ObjectUtils hasEquivalentValues should return false if both objects are not equivalent with custom property to compare" duration="1"/>
|
|
11
|
-
<testCase name="ObjectUtils hasEquivalentValues should return false if one object does not have the property" duration="
|
|
27
|
+
<testCase name="ObjectUtils hasEquivalentValues should return false if one object does not have the property" duration="1"/>
|
|
12
28
|
<testCase name="ObjectUtils hasEquivalentValues should return true if comparing primitive values directly" duration="1"/>
|
|
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="
|
|
29
|
+
<testCase name="ObjectUtils hasEquivalentValues should return false if comparing different primitive values" duration="1"/>
|
|
30
|
+
<testCase name="ObjectUtils hasEquivalentValues should return true when comparing object with a null value" duration="1"/>
|
|
15
31
|
<testCase name="ObjectUtils hasEquivalentValues should return false when comparing object with null and non-null value" duration="1"/>
|
|
16
|
-
<testCase name="ObjectUtils hasEquivalentValues should return true when comparing non-object values that are equal" duration="
|
|
32
|
+
<testCase name="ObjectUtils hasEquivalentValues should return true when comparing non-object values that are equal" duration="1"/>
|
|
17
33
|
<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="
|
|
24
|
-
<testCase name="ObjectUtils objectToString should convert an array of objects to JSON string" duration="
|
|
25
|
-
<testCase name="ObjectUtils objectToString should convert a nested object to JSON string" duration="
|
|
26
|
-
<testCase name="ObjectUtils objectToString should convert an object with null and undefined values to JSON string" duration="
|
|
27
|
-
<testCase name="ObjectUtils objectToString should convert an empty object to JSON string" duration="
|
|
28
|
-
<testCase name="ObjectUtils objectToString should convert an object with mixed types of values to JSON string" duration="
|
|
34
|
+
<testCase name="ObjectUtils copy should copy an array of objects" duration="1"/>
|
|
35
|
+
<testCase name="ObjectUtils copy should copy an object with nested properties" duration="1"/>
|
|
36
|
+
<testCase name="ObjectUtils copy should copy an object with null or undefined values" duration="0"/>
|
|
37
|
+
<testCase name="ObjectUtils copy should copy an empty object" duration="84"/>
|
|
38
|
+
<testCase name="ObjectUtils copy should copy an object with mixed types of values" duration="2"/>
|
|
39
|
+
<testCase name="ObjectUtils objectToString should convert a simple object to JSON string" duration="1"/>
|
|
40
|
+
<testCase name="ObjectUtils objectToString should convert an array of objects to JSON string" duration="0"/>
|
|
41
|
+
<testCase name="ObjectUtils objectToString should convert a nested object to JSON string" duration="0"/>
|
|
42
|
+
<testCase name="ObjectUtils objectToString should convert an object with null and undefined values to JSON string" duration="1"/>
|
|
43
|
+
<testCase name="ObjectUtils objectToString should convert an empty object to JSON string" duration="0"/>
|
|
44
|
+
<testCase name="ObjectUtils objectToString should convert an object with mixed types of values to JSON string" duration="0"/>
|
|
29
45
|
<testCase name="ObjectUtils stringToObject should convert a simple JSON string to an object" duration="1"/>
|
|
30
46
|
<testCase name="ObjectUtils stringToObject should convert a JSON string representing an array of objects to an array of objects" duration="0"/>
|
|
31
47
|
<testCase name="ObjectUtils stringToObject should convert a JSON string representing a nested object to an object" duration="0"/>
|
|
32
48
|
<testCase name="ObjectUtils stringToObject should convert a JSON string with null and undefined values to an object" duration="1"/>
|
|
33
49
|
<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="
|
|
50
|
+
<testCase name="ObjectUtils stringToObject should throw an error for an invalid JSON string" duration="110"/>
|
|
51
|
+
<testCase name="ObjectUtils sortByProperty should sort an object by a numerical property" duration="4"/>
|
|
52
|
+
<testCase name="ObjectUtils sortByProperty should sort an object by a string property" duration="1"/>
|
|
53
|
+
<testCase name="ObjectUtils sortByProperty should handle null values correctly when sorting" duration="0"/>
|
|
54
|
+
<testCase name="ObjectUtils removeEmptyValues should remove properties with null or undefined values in a simple object" duration="1"/>
|
|
55
|
+
<testCase name="ObjectUtils removeEmptyValues should remove properties with null or undefined values in a nested object" duration="0"/>
|
|
40
56
|
<testCase name="ObjectUtils removeEmptyValues should remove empty values in an array inside an object" duration="1"/>
|
|
41
57
|
<testCase name="ObjectUtils removeEmptyValues should not modify an object with no null or undefined values" duration="0"/>
|
|
42
|
-
<testCase name="ObjectUtils removeEmptyValues should return an empty object if all properties are removed" duration="
|
|
43
|
-
<testCase name="ObjectUtils equals should return true for identical objects" duration="
|
|
44
|
-
<testCase name="ObjectUtils equals should return false for different objects" duration="
|
|
45
|
-
<testCase name="ObjectUtils equals should return true for identical nested objects" duration="
|
|
46
|
-
<testCase name="ObjectUtils equals should return false for different nested objects" duration="
|
|
58
|
+
<testCase name="ObjectUtils removeEmptyValues should return an empty object if all properties are removed" duration="0"/>
|
|
59
|
+
<testCase name="ObjectUtils equals should return true for identical objects" duration="1"/>
|
|
60
|
+
<testCase name="ObjectUtils equals should return false for different objects" duration="0"/>
|
|
61
|
+
<testCase name="ObjectUtils equals should return true for identical nested objects" duration="1"/>
|
|
62
|
+
<testCase name="ObjectUtils equals should return false for different nested objects" duration="0"/>
|
|
47
63
|
<testCase name="ObjectUtils equals should return false for objects with different types of properties" duration="0"/>
|
|
48
|
-
<testCase name="ObjectUtils equals should return true for identical arrays" duration="
|
|
49
|
-
<testCase name="ObjectUtils equals should return false for different arrays" duration="
|
|
64
|
+
<testCase name="ObjectUtils equals should return true for identical arrays" duration="1"/>
|
|
65
|
+
<testCase name="ObjectUtils equals should return false for different arrays" duration="0"/>
|
|
50
66
|
<testCase name="ObjectUtils equals should return true for empty objects" duration="0"/>
|
|
51
67
|
<testCase name="ObjectUtils equals should return false when comparing different types (object vs array)" duration="0"/>
|
|
52
68
|
<testCase name="ObjectUtils equals should return true for objects with null and undefined treated as different" duration="0"/>
|
|
53
69
|
<testCase name="ObjectUtils isEmptySafetyCheck should return true for an empty object" duration="0"/>
|
|
54
|
-
<testCase name="ObjectUtils isEmptySafetyCheck should return false for an object with properties" duration="
|
|
55
|
-
<testCase name="ObjectUtils isEmptySafetyCheck should return false for an object with nested properties" duration="
|
|
70
|
+
<testCase name="ObjectUtils isEmptySafetyCheck should return false for an object with properties" duration="1"/>
|
|
71
|
+
<testCase name="ObjectUtils isEmptySafetyCheck should return false for an object with nested properties" duration="0"/>
|
|
56
72
|
<testCase name="ObjectUtils isEmptySafetyCheck should return false for an empty array" duration="0"/>
|
|
57
|
-
<testCase name="ObjectUtils isEmptySafetyCheck should return false for an object with null or undefined properties" duration="
|
|
58
|
-
<testCase name="ObjectUtils isEmptySafetyCheck should return false for a non-empty array object" duration="
|
|
73
|
+
<testCase name="ObjectUtils isEmptySafetyCheck should return false for an object with null or undefined properties" duration="0"/>
|
|
74
|
+
<testCase name="ObjectUtils isEmptySafetyCheck should return false for a non-empty array object" duration="1"/>
|
|
59
75
|
<testCase name="ObjectUtils isEmptySafetyCheck should handle null gracefully and return true" duration="0"/>
|
|
60
76
|
<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="
|
|
62
|
-
<testCase name="ObjectUtils isEmptySafetyCheck should return false for functions" duration="
|
|
77
|
+
<testCase name="ObjectUtils isEmptySafetyCheck should return false for primitive values (numbers, strings)" duration="1"/>
|
|
78
|
+
<testCase name="ObjectUtils isEmptySafetyCheck should return false for functions" duration="0"/>
|
|
63
79
|
<testCase name="ObjectUtils isNotEmptySafetyCheck should return false for an empty object" duration="0"/>
|
|
64
80
|
<testCase name="ObjectUtils isNotEmptySafetyCheck should return true for an object with properties" duration="1"/>
|
|
65
81
|
<testCase name="ObjectUtils isNotEmptySafetyCheck should return true for an object with nested properties" duration="0"/>
|
|
66
82
|
<testCase name="ObjectUtils isNotEmptySafetyCheck should return true for an empty array" duration="1"/>
|
|
67
83
|
<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="
|
|
84
|
+
<testCase name="ObjectUtils isNotEmptySafetyCheck should return true for a non-empty array object" duration="0"/>
|
|
69
85
|
<testCase name="ObjectUtils isNotEmptySafetyCheck should handle null gracefully and return false" duration="0"/>
|
|
70
86
|
<testCase name="ObjectUtils isNotEmptySafetyCheck should handle undefined gracefully and return false" duration="0"/>
|
|
71
87
|
<testCase name="ObjectUtils isNotEmptySafetyCheck should return false for primitive values (numbers, strings)" duration="1"/>
|
|
72
|
-
<testCase name="ObjectUtils isNotEmptySafetyCheck should return true for functions" duration="
|
|
88
|
+
<testCase name="ObjectUtils isNotEmptySafetyCheck should return true for functions" duration="0"/>
|
|
73
89
|
</file>
|
|
74
|
-
<file path="/builds/dti/design-system/sankhyacore/test/util/
|
|
75
|
-
<testCase name="
|
|
76
|
-
<testCase name="
|
|
77
|
-
<testCase name="
|
|
78
|
-
<testCase name="
|
|
79
|
-
<testCase name="
|
|
80
|
-
<testCase name="
|
|
81
|
-
<testCase name="
|
|
82
|
-
<testCase name="
|
|
83
|
-
<testCase name="
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
<testCase name="
|
|
87
|
-
<testCase name="
|
|
88
|
-
<testCase name="
|
|
90
|
+
<file path="/builds/dti/design-system/sankhyacore/test/util/OverflowWatcher.spec.ts">
|
|
91
|
+
<testCase name="OverflowWatcher should initialize with provided parameters" duration="17"/>
|
|
92
|
+
<testCase name="OverflowWatcher should disconect ResizeObserver when destroy is called" duration="1"/>
|
|
93
|
+
<testCase name="OverflowWatcher Should call callback on forceUpdate" duration="195"/>
|
|
94
|
+
<testCase name="OverflowWatcher Should call callback on forceUpdate with childSpan" duration="173"/>
|
|
95
|
+
<testCase name="OverflowWatcher Should call callback on forceUpdate with childSpan when notOverFlow is empty" duration="106"/>
|
|
96
|
+
<testCase name="OverflowWatcher Should call callback on forceUpdate with childSpan considering overflowed elements" duration="7"/>
|
|
97
|
+
<testCase name="OverflowWatcher Should call callback on forceUpdate with empty list" duration="4"/>
|
|
98
|
+
<testCase name="OverflowWatcher should ignore elements that can not overflow" duration="97"/>
|
|
99
|
+
<testCase name="OverflowWatcher Should not call callback on forceUpdate" duration="2"/>
|
|
100
|
+
</file>
|
|
101
|
+
<file path="/builds/dti/design-system/sankhyacore/test/dataunit/loader/utils/dataUnitLoaderUtils.spec.ts">
|
|
102
|
+
<testCase name="Utility Functions applyFilter should return the original records if no filters are provided" duration="2"/>
|
|
103
|
+
<testCase name="Utility Functions applyFilter should filter records based on provided filters" duration="1"/>
|
|
104
|
+
<testCase name="Utility Functions buildPaginationInfo function should return correct pagination info with default values" duration="0"/>
|
|
105
|
+
<testCase name="Utility Functions buildPaginationInfo function should redosLenth as same size as recordsPerPage" duration="1"/>
|
|
106
|
+
<testCase name="Utility Functions buildPaginationInfo function should handle case when totalRecordsLength and offset 0" duration="0"/>
|
|
107
|
+
<testCase name="Utility Functions buildPaginationInfo function should handle case when currentPageLength is less than totalRecordsLength and lastPage" duration="1"/>
|
|
108
|
+
<testCase name="Utility Functions applySorting function should return the original records if no sorting is provided" duration="1"/>
|
|
109
|
+
<testCase name="Utility Functions applySorting function should sort records based on provided sorting criteria" duration="1"/>
|
|
89
110
|
</file>
|
|
90
111
|
<file path="/builds/dti/design-system/sankhyacore/test/util/MaskFormatter.spec.ts">
|
|
91
|
-
<testCase name="Mask Formatter mask:CPF complete valid" duration="
|
|
92
|
-
<testCase name="Mask Formatter mask:CPF complete valid literals" duration="
|
|
112
|
+
<testCase name="Mask Formatter mask:CPF complete valid" duration="2"/>
|
|
113
|
+
<testCase name="Mask Formatter mask:CPF complete valid literals" duration="0"/>
|
|
93
114
|
<testCase name="Mask Formatter mask:CPF incomplete valid" duration="1"/>
|
|
94
115
|
<testCase name="Mask Formatter mask:CPF incomplete valid placeholder" duration="1"/>
|
|
95
|
-
<testCase name="Mask Formatter mask:CPF too long valid" duration="
|
|
96
|
-
<testCase name="Mask Formatter mask:CPF invalid for string" duration="
|
|
116
|
+
<testCase name="Mask Formatter mask:CPF too long valid" duration="0"/>
|
|
117
|
+
<testCase name="Mask Formatter mask:CPF invalid for string" duration="115"/>
|
|
97
118
|
<testCase name="Mask Formatter mask:CPF invalid for being too long" duration="1"/>
|
|
98
119
|
<testCase name="Mask Formatter mask:Licence plate valid uppercase" duration="1"/>
|
|
99
|
-
<testCase name="Mask Formatter mask:Licence plate valid lowercase" duration="
|
|
100
|
-
<testCase name="Mask Formatter mask:Licence plate invalid" duration="
|
|
101
|
-
<testCase name="Mask Formatter mask:Licence plate invalid for being too short" duration="
|
|
102
|
-
<testCase name="Mask Formatter mask:Licence plate invalid for being too short with placeholder" duration="
|
|
120
|
+
<testCase name="Mask Formatter mask:Licence plate valid lowercase" duration="0"/>
|
|
121
|
+
<testCase name="Mask Formatter mask:Licence plate invalid" duration="2"/>
|
|
122
|
+
<testCase name="Mask Formatter mask:Licence plate invalid for being too short" duration="0"/>
|
|
123
|
+
<testCase name="Mask Formatter mask:Licence plate invalid for being too short with placeholder" duration="0"/>
|
|
103
124
|
<testCase name="Mask Formatter mask:Licence plate invalid" duration="1"/>
|
|
104
|
-
<testCase name="Mask Formatter mask:Licence plate with AlphaNumerical Mask" duration="
|
|
125
|
+
<testCase name="Mask Formatter mask:Licence plate with AlphaNumerical Mask" duration="0"/>
|
|
105
126
|
<testCase name="Mask Formatter mask:Licence plate with AlphaNumerical Mask with placeholder" duration="0"/>
|
|
106
|
-
<testCase name="Mask Formatter mask:Licence plate invalid" duration="
|
|
127
|
+
<testCase name="Mask Formatter mask:Licence plate invalid" duration="0"/>
|
|
107
128
|
<testCase name="Mask Formatter mask:Licence plate with AlphaNumerical Mask" duration="1"/>
|
|
108
|
-
<testCase name="Mask Formatter mask:Licence plate with AlphaNumerical Mask with placeholder" duration="
|
|
109
|
-
<testCase name="Mask Formatter mask:Licence plate invalid" duration="
|
|
129
|
+
<testCase name="Mask Formatter mask:Licence plate with AlphaNumerical Mask with placeholder" duration="67"/>
|
|
130
|
+
<testCase name="Mask Formatter mask:Licence plate invalid" duration="2"/>
|
|
110
131
|
<testCase name="Mask Formatter mask:Licence plate with AlphaNumerical Mask" duration="1"/>
|
|
111
|
-
<testCase name="Mask Formatter mask:Licence plate with AlphaNumerical Mask with placeholder" duration="
|
|
132
|
+
<testCase name="Mask Formatter mask:Licence plate with AlphaNumerical Mask with placeholder" duration="0"/>
|
|
112
133
|
<testCase name="Mask Formatter mask:Licence plate invalid" duration="1"/>
|
|
113
134
|
</file>
|
|
114
|
-
<file path="/builds/dti/design-system/sankhyacore/test/util/OverflowWatcher.spec.ts">
|
|
115
|
-
<testCase name="OverflowWatcher should initialize with provided parameters" duration="74"/>
|
|
116
|
-
<testCase name="OverflowWatcher should disconect ResizeObserver when destroy is called" duration="2"/>
|
|
117
|
-
<testCase name="OverflowWatcher Should call callback on forceUpdate" duration="334"/>
|
|
118
|
-
<testCase name="OverflowWatcher Should call callback on forceUpdate with childSpan" duration="69"/>
|
|
119
|
-
<testCase name="OverflowWatcher Should call callback on forceUpdate with childSpan when notOverFlow is empty" duration="301"/>
|
|
120
|
-
<testCase name="OverflowWatcher Should call callback on forceUpdate with childSpan considering overflowed elements" duration="94"/>
|
|
121
|
-
<testCase name="OverflowWatcher Should call callback on forceUpdate with empty list" duration="4"/>
|
|
122
|
-
<testCase name="OverflowWatcher should ignore elements that can not overflow" duration="109"/>
|
|
123
|
-
<testCase name="OverflowWatcher Should not call callback on forceUpdate" duration="1"/>
|
|
124
|
-
</file>
|
|
125
|
-
<file path="/builds/dti/design-system/sankhyacore/test/http/HttpProvider.spec.ts">
|
|
126
|
-
<testCase name="HttpProvider Metodo GET" duration="1"/>
|
|
127
|
-
</file>
|
|
128
|
-
<file path="/builds/dti/design-system/sankhyacore/test/util/TimeFormatter.spec.ts">
|
|
129
|
-
<testCase name="TimeFormatter prepareValue Case: input string unformated with showSeconds" duration="1"/>
|
|
130
|
-
<testCase name="TimeFormatter prepareValue Case: input string unformated without showSeconds" duration="1"/>
|
|
131
|
-
<testCase name="TimeFormatter prepareValue should format valid time without seconds" duration="1"/>
|
|
132
|
-
<testCase name="TimeFormatter prepareValue should format valid time with seconds" duration="1"/>
|
|
133
|
-
<testCase name="TimeFormatter prepareValue should pad input with leading zeros for proper format" duration="1"/>
|
|
134
|
-
<testCase name="TimeFormatter prepareValue should return an empty string for invalid input" duration="1"/>
|
|
135
|
-
<testCase name="TimeFormatter prepareValue should throw error when recieveng string" duration="101"/>
|
|
136
|
-
<testCase name="TimeFormatter prepareValue should handle edge cases correctly" duration="1"/>
|
|
137
|
-
<testCase name="TimeFormatter prepareValue should format partially filled times correctly" duration="1"/>
|
|
138
|
-
<testCase name="TimeFormatter validateTime should be false when [ value: 2525, showSeconds: false" duration="1"/>
|
|
139
|
-
<testCase name="TimeFormatter validateTime should be false when [ value: 2525, showSeconds: true" duration="5"/>
|
|
140
|
-
<testCase name="TimeFormatter validateTime should be true when [ value: 232920, showSeconds: true" duration="0"/>
|
|
141
|
-
<testCase name="TimeFormatter validateTime should be true when [ value: 232920, showSeconds: false" duration="1"/>
|
|
142
|
-
<testCase name="TimeFormatter validateTime should be true when [ value: 1012, showSeconds: false" duration="0"/>
|
|
143
|
-
<testCase name="TimeFormatter validateTime should be true when [ value: 0012, showSeconds: false" duration="0"/>
|
|
144
|
-
<testCase name="TimeFormatter validateTime should be true when [ value: 2359, showSeconds: false" duration="1"/>
|
|
145
|
-
<testCase name="TimeFormatter validateTime should be true when [ value: 101200, showSeconds: true" duration="0"/>
|
|
146
|
-
<testCase name="TimeFormatter validateTime should be true when [ value: 000000, showSeconds: true" duration="0"/>
|
|
147
|
-
<testCase name="TimeFormatter validateTime should be true when [ value: 235959, showSeconds: true" duration="1"/>
|
|
148
|
-
<testCase name="TimeFormatter validateTime should be false when [ value: 2460, showSeconds: false" duration="0"/>
|
|
149
|
-
<testCase name="TimeFormatter validateTime should be false when [ value: 2500, showSeconds: false" duration="0"/>
|
|
150
|
-
<testCase name="TimeFormatter validateTime should be false when [ value: 9900, showSeconds: false" duration="0"/>
|
|
151
|
-
<testCase name="TimeFormatter validateTime should be false when [ value: 1260, showSeconds: false" duration="87"/>
|
|
152
|
-
<testCase name="TimeFormatter validateTime should be false when [ value: 1275, showSeconds: false" duration="0"/>
|
|
153
|
-
<testCase name="TimeFormatter validateTime should be false when [ value: 101260, showSeconds: true" duration="1"/>
|
|
154
|
-
<testCase name="TimeFormatter validateTime should be false when [ value: 101275, showSeconds: true" duration="0"/>
|
|
155
|
-
<testCase name="TimeFormatter validateTime should be false when [ value: , showSeconds: false" duration="0"/>
|
|
156
|
-
<testCase name="TimeFormatter validateTime should be false when [ value: null, showSeconds: false" duration="1"/>
|
|
157
|
-
<testCase name="TimeFormatter validateTime should be false when [ value: undefined, showSeconds: false" duration="0"/>
|
|
158
|
-
<testCase name="TimeFormatter validateTime should be false when [ value: abcd, showSeconds: false" duration="0"/>
|
|
159
|
-
<testCase name="TimeFormatter validateTime should be false when [ value: 14e4, showSeconds: false" duration="0"/>
|
|
160
|
-
<testCase name="TimeFormatter validateTime should be true when [ value: 10:12, showSeconds: false" duration="1"/>
|
|
161
|
-
<testCase name="TimeFormatter validateTime should be true when [ value: 0000, showSeconds: false" duration="0"/>
|
|
162
|
-
<testCase name="TimeFormatter validateTime should be true when [ value: 2359, showSeconds: false" duration="0"/>
|
|
163
|
-
<testCase name="TimeFormatter validateTime should be true when [ value: 000000, showSeconds: true" duration="1"/>
|
|
164
|
-
<testCase name="TimeFormatter validateTime should be true when [ value: 235959, showSeconds: true" duration="0"/>
|
|
165
|
-
<testCase name="TimeFormatter validateTime should be false when [ value: 1, showSeconds: false" duration="0"/>
|
|
166
|
-
<testCase name="TimeFormatter validateTime should be false when [ value: 12, showSeconds: false" duration="0"/>
|
|
167
|
-
<testCase name="TimeFormatter validateTime should be true when [ value: 123, showSeconds: false" duration="1"/>
|
|
168
|
-
<testCase name="TimeFormatter validateTime should be true when [ value: 12345, showSeconds: true" duration="5"/>
|
|
169
|
-
</file>
|
|
170
135
|
<file path="/builds/dti/design-system/sankhyacore/test/util/ColumnFilterManager.spec.ts">
|
|
171
|
-
<testCase name="ColumnFilterManager getColumnFilters should return an empty map if filters are undefined or empty" duration="
|
|
172
|
-
<testCase name="ColumnFilterManager getColumnFilters should return a map of filters matching the pattern and not the provided fieldName" duration="
|
|
173
|
-
<testCase name="ColumnFilterManager getFilterFunction should return undefined if no filters are provided" duration="
|
|
174
|
-
<testCase name="ColumnFilterManager getFilterFunction should return a function that evaluates records based on filters" duration="
|
|
136
|
+
<testCase name="ColumnFilterManager getColumnFilters should return an empty map if filters are undefined or empty" duration="2"/>
|
|
137
|
+
<testCase name="ColumnFilterManager getColumnFilters should return a map of filters matching the pattern and not the provided fieldName" duration="1"/>
|
|
138
|
+
<testCase name="ColumnFilterManager getFilterFunction should return undefined if no filters are provided" duration="1"/>
|
|
139
|
+
<testCase name="ColumnFilterManager getFilterFunction should return a function that evaluates records based on filters" duration="16"/>
|
|
175
140
|
<testCase name="ColumnFilterManager getFilterFunction should return a function that evaluates records and return false" duration="1"/>
|
|
176
|
-
<testCase name="ColumnFilterManager compileDistinct should return an array of distinct field values formatted correctly" duration="
|
|
177
|
-
<testCase name="ColumnFilterManager compileDistinct should filter records if a load request is present" duration="
|
|
178
|
-
</file>
|
|
179
|
-
<file path="/builds/dti/design-system/sankhyacore/test/dataunit/loader/utils/dataUnitLoaderUtils.spec.ts">
|
|
180
|
-
<testCase name="Utility Functions applyFilter should return the original records if no filters are provided" duration="99"/>
|
|
181
|
-
<testCase name="Utility Functions applyFilter should filter records based on provided filters" duration="1"/>
|
|
182
|
-
<testCase name="Utility Functions buildPaginationInfo function should return correct pagination info with default values" duration="2"/>
|
|
183
|
-
<testCase name="Utility Functions buildPaginationInfo function should redosLenth as same size as recordsPerPage" duration="2"/>
|
|
184
|
-
<testCase name="Utility Functions buildPaginationInfo function should handle case when totalRecordsLength and offset 0" duration="1"/>
|
|
185
|
-
<testCase name="Utility Functions buildPaginationInfo function should handle case when currentPageLength is less than totalRecordsLength and lastPage" duration="1"/>
|
|
186
|
-
<testCase name="Utility Functions applySorting function should return the original records if no sorting is provided" duration="1"/>
|
|
187
|
-
<testCase name="Utility Functions applySorting function should sort records based on provided sorting criteria" duration="1"/>
|
|
188
|
-
</file>
|
|
189
|
-
<file path="/builds/dti/design-system/sankhyacore/test/util/CriteriaParameter.spec.ts">
|
|
190
|
-
<testCase name="StringUtils it should return the correct values of "value" and "type" through the getters methods initial setted by the constructor" duration="1"/>
|
|
191
|
-
<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"/>
|
|
192
|
-
<testCase name="StringUtils it should return the correct JSON/Object value through the buildParam method" duration="0"/>
|
|
193
|
-
</file>
|
|
194
|
-
<file path="/builds/dti/design-system/sankhyacore/test/http/SkwHttpProvider.ts.spec.ts">
|
|
195
|
-
<testCase name="HttpProvider Metodo POST" duration="1"/>
|
|
196
|
-
</file>
|
|
197
|
-
<file path="/builds/dti/design-system/sankhyacore/test/util/NumberUtils.spec.ts">
|
|
198
|
-
<testCase name="NumberUtils stringToNumber should return 100 when value is 100" duration="19"/>
|
|
199
|
-
<testCase name="NumberUtils stringToNumber should return 100.12 when value is 100,12" duration="1"/>
|
|
200
|
-
<testCase name="NumberUtils stringToNumber should return 11500.12 when value is 11500,12" duration="0"/>
|
|
201
|
-
<testCase name="NumberUtils stringToNumber should return 11500 when value is 11500" duration="1"/>
|
|
202
|
-
<testCase name="NumberUtils stringToNumber should return 1 when value is 1.000" duration="1"/>
|
|
203
|
-
<testCase name="NumberUtils stringToNumber should return 11500.003 when value is 11.500,003" duration="0"/>
|
|
204
|
-
<testCase name="NumberUtils stringToNumber should return -100 when value is -100" duration="1"/>
|
|
205
|
-
<testCase name="NumberUtils stringToNumber should return -100.12 when value is -100,12" duration="0"/>
|
|
206
|
-
<testCase name="NumberUtils stringToNumber should return -11500.1 when value is -11500,1" duration="1"/>
|
|
207
|
-
<testCase name="NumberUtils stringToNumber should return -11500 when value is -11500" duration="0"/>
|
|
208
|
-
<testCase name="NumberUtils stringToNumber should return -11500.003 when value is -11.500,003" duration="1"/>
|
|
209
|
-
<testCase name="NumberUtils stringToNumber should return 100 when value is R$100" duration="70"/>
|
|
210
|
-
<testCase name="NumberUtils stringToNumber should return 100.12 when value is R$100,12" duration="1"/>
|
|
211
|
-
<testCase name="NumberUtils stringToNumber should return 11500.12 when value is R$11500,12" duration="0"/>
|
|
212
|
-
<testCase name="NumberUtils stringToNumber should return 11500 when value is R$11500" duration="1"/>
|
|
213
|
-
<testCase name="NumberUtils stringToNumber should return 11500.003 when value is R$11.500,003" duration="0"/>
|
|
214
|
-
<testCase name="NumberUtils stringToNumber should return -100 when value is -R$100" duration="0"/>
|
|
215
|
-
<testCase name="NumberUtils stringToNumber should return -100.12 when value is -R$100,12" duration="1"/>
|
|
216
|
-
<testCase name="NumberUtils stringToNumber should return -11500.12 when value is -R$11500,12" duration="0"/>
|
|
217
|
-
<testCase name="NumberUtils stringToNumber should return -11500 when value is -R$11500" duration="0"/>
|
|
218
|
-
<testCase name="NumberUtils stringToNumber should return -11500.003 when value is -R$11.500,003" duration="0"/>
|
|
219
|
-
<testCase name="NumberUtils stringToNumber should return NaN when value is " duration="1"/>
|
|
220
|
-
<testCase name="NumberUtils stringToNumber should return NaN when value is OrdinaryString" duration="0"/>
|
|
221
|
-
<testCase name="NumberUtils stringToNumber should return NaN when value is 100.167.80" duration="0"/>
|
|
222
|
-
<testCase name="NumberUtils stringToNumber should return NaN when value is uahsuhas,auhsuhasu" duration="7"/>
|
|
223
|
-
<testCase name="NumberUtils stringToNumber should return NaN when value is 100,100,100" duration="8"/>
|
|
224
|
-
<testCase name="NumberUtils stringToNumber should return NaN when value is OrdinaryString,.OrdinaryString" duration="0"/>
|
|
225
|
-
<testCase name="NumberUtils stringToNumber should return NaN when value is OrdinaryString.,OrdinaryString" duration="1"/>
|
|
226
|
-
<testCase name="NumberUtils stringToNumber should return 0.121212 when value is .121212" duration="0"/>
|
|
227
|
-
<testCase name="NumberUtils stringToNumber should return 0.121212 when value is ,121212" duration="0"/>
|
|
228
|
-
<testCase name="NumberUtils stringToNumber should return NaN when value is 1,232,333.345" duration="0"/>
|
|
229
|
-
<testCase name="NumberUtils stringToNumber should return 1232333.345 when value is 1232333,345" duration="0"/>
|
|
230
|
-
<testCase name="NumberUtils format should return 1.200.999,3333 when: [ value: 1.200.999,3333, precision: 4, prettyPrecision: 2 ]" duration="178"/>
|
|
231
|
-
<testCase name="NumberUtils format should return 1,0 when: [ value: 1.000, precision: 2, prettyPrecision: 1 ]" duration="0"/>
|
|
232
|
-
<testCase name="NumberUtils format should return 1.200.999,99 when: [ value: 1200999,99, precision: 2, prettyPrecision: 1 ]" duration="0"/>
|
|
233
|
-
<testCase name="NumberUtils format should return NaN when: [ value: 1,232,333.345, precision: 4, prettyPrecision: 2 ]" duration="0"/>
|
|
234
|
-
<testCase name="NumberUtils format should return 1,23 when: [ value: 1,23, precision: 2, prettyPrecision: 1 ]" duration="0"/>
|
|
235
|
-
<testCase name="NumberUtils format should return NaN when: [ value: 1.200.999, precision: 4, prettyPrecision: 2 ]" duration="0"/>
|
|
236
|
-
<testCase name="NumberUtils format should return 1.200 when: [ value: 1200.00001, precision: 4, prettyPrecision: 0 ]" duration="0"/>
|
|
237
|
-
<testCase name="NumberUtils format should return NaN when: [ value: String, precision: 4, prettyPrecision: 0 ]" duration="0"/>
|
|
238
|
-
<testCase name="NumberUtils format should return NaN when: [ value: , precision: 4, prettyPrecision: 0 ]" duration="5"/>
|
|
239
|
-
<testCase name="NumberUtils format should return 1.200.999,3333 when: [ value: 1.200.999,3333, precision: 4, prettyPrecision: undefined ]" duration="1"/>
|
|
240
|
-
<testCase name="NumberUtils format should return 1,00 when: [ value: 1.000, precision: 2, prettyPrecision: undefined ]" duration="0"/>
|
|
241
|
-
<testCase name="NumberUtils format should return 1.200.999,99 when: [ value: 1200999,99, precision: 2, prettyPrecision: undefined ]" duration="0"/>
|
|
242
|
-
<testCase name="NumberUtils format should return NaN when: [ value: 1,232,333.345, precision: 4, prettyPrecision: undefined ]" duration="1"/>
|
|
243
|
-
<testCase name="NumberUtils format should return 1,23 when: [ value: 1,23, precision: 2, prettyPrecision: undefined ]" duration="0"/>
|
|
244
|
-
<testCase name="NumberUtils format should return NaN when: [ value: 1.200.999, precision: 4, prettyPrecision: undefined ]" duration="0"/>
|
|
245
|
-
<testCase name="NumberUtils format should return NaN when: [ value: NaN, precision: 4, prettyPrecision: undefined ]" duration="1"/>
|
|
246
|
-
<testCase name="NumberUtils format should return 111,2 when: [ value: 111,199, precision: 1, prettyPrecision: -1 ]" duration="0"/>
|
|
247
|
-
<testCase name="NumberUtils format should return 111,1 when: [ value: 111,1000, precision: 1, prettyPrecision: -1 ]" duration="1"/>
|
|
248
|
-
<testCase name="NumberUtils format should return 111,1 when: [ value: 111,100, precision: 1, prettyPrecision: 1.3 ]" duration="1"/>
|
|
249
|
-
<testCase name="NumberUtils format should return 111,1009 when: [ value: 111,1009, precision: -1, prettyPrecision: 1 ]" duration="0"/>
|
|
250
|
-
<testCase name="NumberUtils format should return 111,1 when: [ value: 111,1000, precision: -1, prettyPrecision: 1 ]" duration="1"/>
|
|
251
|
-
<testCase name="NumberUtils format should return 111,1009 when: [ value: 111,1009, precision: 1.2, prettyPrecision: 1 ]" duration="0"/>
|
|
252
|
-
<testCase name="NumberUtils format should return 111,20 when: [ value: 111,199, precision: 2, prettyPrecision: -1 ]" duration="0"/>
|
|
253
|
-
<testCase name="NumberUtils format should return 111,10 when: [ value: 111,1000, precision: 2, prettyPrecision: -1 ]" duration="1"/>
|
|
254
|
-
<testCase name="NumberUtils format should return 111,1009 when: [ value: 111,1009, precision: -2, prettyPrecision: 1 ]" duration="0"/>
|
|
255
|
-
<testCase name="NumberUtils format should return 111,1 when: [ value: 111,1000, precision: -2, prettyPrecision: 1 ]" duration="0"/>
|
|
256
|
-
<testCase name="NumberUtils changeFormat should return 1,200,999 when value is 1.200.999" duration="8"/>
|
|
257
|
-
<testCase name="NumberUtils changeFormat should return 1,000.99 when value is 1.000,99" duration="0"/>
|
|
258
|
-
<testCase name="NumberUtils changeFormat should return 1200999.99 when value is 1200999,99" duration="77"/>
|
|
259
|
-
<testCase name="NumberUtils changeFormat should return R$ 1.232.333,345 when value is R$ 1,232,333.345" duration="1"/>
|
|
260
|
-
<testCase name="NumberUtils changeFormat should return R$ 1,232,333.345 when value is R$ 1.232.333,345" duration="0"/>
|
|
261
|
-
<testCase name="NumberUtils keepOnlyDecimalSeparator should return 1200999 when: [ value: 1.200.999, formatNumber: pt-BR ]" duration="7"/>
|
|
262
|
-
<testCase name="NumberUtils keepOnlyDecimalSeparator should return 1000,99 when: [ value: 1000,99, formatNumber: pt-BR ]" duration="0"/>
|
|
263
|
-
<testCase name="NumberUtils keepOnlyDecimalSeparator should return 1200999,99 when: [ value: 1200999,99, formatNumber: pt-BR ]" duration="1"/>
|
|
264
|
-
<testCase name="NumberUtils keepOnlyDecimalSeparator should return R$ 1232333,345 when: [ value: R$ 1.232.333,345, formatNumber: pt-BR ]" duration="0"/>
|
|
265
|
-
<testCase name="NumberUtils keepOnlyDecimalSeparator should return 1200999 when: [ value: 1,200,999, formatNumber: en-US ]" duration="0"/>
|
|
266
|
-
<testCase name="NumberUtils keepOnlyDecimalSeparator should return 1000.99 when: [ value: 1,000.99, formatNumber: en-US ]" duration="0"/>
|
|
267
|
-
<testCase name="NumberUtils keepOnlyDecimalSeparator should return 1200999.99 when: [ value: 1200999.99, formatNumber: en-US ]" duration="1"/>
|
|
268
|
-
<testCase name="NumberUtils keepOnlyDecimalSeparator should return EUR 1232333.345 when: [ value: EUR 1,232,333.345, formatNumber: en-US ]" duration="0"/>
|
|
269
|
-
<testCase name="NumberUtils round should return 100.12 when: [ value: 100.12, decimal: undefined ]" duration="1"/>
|
|
270
|
-
<testCase name="NumberUtils round should return 100.1 when: [ value: 100.12, decimal: 1 ]" duration="0"/>
|
|
271
|
-
<testCase name="NumberUtils round should return 100.12 when: [ value: 100.12, decimal: 2 ]" duration="0"/>
|
|
272
|
-
<testCase name="NumberUtils round should return 100.12 when: [ value: 100.12, decimal: 3 ]" duration="0"/>
|
|
273
|
-
<testCase name="NumberUtils round should return 100.2 when: [ value: 100.15, decimal: 1 ]" duration="1"/>
|
|
274
|
-
<testCase name="NumberUtils round should return 100.15 when: [ value: 100.15, decimal: 2 ]" duration="0"/>
|
|
275
|
-
<testCase name="NumberUtils round should return 100.15 when: [ value: 100.15, decimal: 3 ]" duration="6"/>
|
|
276
|
-
<testCase name="NumberUtils round should return 100.2 when: [ value: 100.16, decimal: 1 ]" duration="0"/>
|
|
277
|
-
<testCase name="NumberUtils round should return 100.16 when: [ value: 100.16, decimal: 2 ]" duration="1"/>
|
|
278
|
-
<testCase name="NumberUtils round should return 100.16 when: [ value: 100.16, decimal: 3 ]" duration="0"/>
|
|
279
|
-
<testCase name="NumberUtils round should return 2118000000000.0002 when: [ value: 2118000000000.0002, decimal: 12 ]" duration="1"/>
|
|
280
|
-
<testCase name="NumberUtils round should return 123.45 when: [ value: 123.45, decimal: 5 ]" duration="0"/>
|
|
281
|
-
<testCase name="NumberUtils round should return 123 when: [ value: 123.45, decimal: 0 ]" duration="0"/>
|
|
282
|
-
<testCase name="NumberUtils safeFormat should return 1.200.999,3333 when: [ value: 1.200.999,3333, precision: 4, prettyPrecision: 2 ]" duration="0"/>
|
|
283
|
-
<testCase name="NumberUtils safeFormat should return 1,0 when: [ value: 1.000, precision: 2, prettyPrecision: 1 ]" duration="1"/>
|
|
284
|
-
<testCase name="NumberUtils safeFormat should return 1.200.999,99 when: [ value: 1200999,99, precision: 2, prettyPrecision: 1 ]" duration="0"/>
|
|
285
|
-
<testCase name="NumberUtils safeFormat should return 0,00 when: [ value: 1,232,333.345, precision: 4, prettyPrecision: 2 ]" duration="0"/>
|
|
286
|
-
<testCase name="NumberUtils safeFormat should return 1,23 when: [ value: 1,23, precision: 2, prettyPrecision: 1 ]" duration="0"/>
|
|
287
|
-
<testCase name="NumberUtils safeFormat should return 0,00 when: [ value: 1.200.999, precision: 4, prettyPrecision: 2 ]" duration="1"/>
|
|
288
|
-
<testCase name="NumberUtils safeFormat should return 1.200 when: [ value: 1200.00001, precision: 4, prettyPrecision: 0 ]" duration="0"/>
|
|
289
|
-
<testCase name="NumberUtils safeFormat should return 0,00 when: [ value: String, precision: 4, prettyPrecision: 0 ]" duration="0"/>
|
|
290
|
-
<testCase name="NumberUtils safeFormat should return 0,00 when: [ value: , precision: 4, prettyPrecision: 0 ]" duration="0"/>
|
|
291
|
-
<testCase name="NumberUtils safeFormat should return 1.200.999,3333 when: [ value: 1.200.999,3333, precision: 4, prettyPrecision: undefined ]" duration="0"/>
|
|
292
|
-
<testCase name="NumberUtils safeFormat should return 1,00 when: [ value: 1.000, precision: 2, prettyPrecision: undefined ]" duration="1"/>
|
|
293
|
-
<testCase name="NumberUtils safeFormat should return 1.200.999,99 when: [ value: 1200999,99, precision: 2, prettyPrecision: undefined ]" duration="69"/>
|
|
294
|
-
<testCase name="NumberUtils safeFormat should return 0,00 when: [ value: 1,232,333.345, precision: 4, prettyPrecision: undefined ]" duration="0"/>
|
|
295
|
-
<testCase name="NumberUtils safeFormat should return 1,23 when: [ value: 1,23, precision: 2, prettyPrecision: undefined ]" duration="0"/>
|
|
296
|
-
<testCase name="NumberUtils safeFormat should return 0,00 when: [ value: 1.200.999, precision: 4, prettyPrecision: undefined ]" duration="1"/>
|
|
297
|
-
<testCase name="NumberUtils safeFormat should return 0,00 when: [ value: NaN, precision: 4, prettyPrecision: undefined ]" duration="0"/>
|
|
298
|
-
<testCase name="NumberUtils safeFormat should return 111,2 when: [ value: 111,199, precision: 1, prettyPrecision: -1 ]" duration="0"/>
|
|
299
|
-
<testCase name="NumberUtils safeFormat should return 111,1 when: [ value: 111,1000, precision: 1, prettyPrecision: -1 ]" duration="1"/>
|
|
300
|
-
<testCase name="NumberUtils safeFormat should return 111,1 when: [ value: 111,100, precision: 1, prettyPrecision: 1.3 ]" duration="0"/>
|
|
301
|
-
<testCase name="NumberUtils safeFormat should return 111,1009 when: [ value: 111,1009, precision: -1, prettyPrecision: 1 ]" duration="0"/>
|
|
302
|
-
<testCase name="NumberUtils safeFormat should return 111,1 when: [ value: 111,1000, precision: -1, prettyPrecision: 1 ]" duration="1"/>
|
|
303
|
-
<testCase name="NumberUtils safeFormat should return 111,1009 when: [ value: 111,1009, precision: 1.2, prettyPrecision: 1 ]" duration="0"/>
|
|
304
|
-
<testCase name="NumberUtils safeFormat should return 111,20 when: [ value: 111,199, precision: 2, prettyPrecision: -1 ]" duration="0"/>
|
|
305
|
-
<testCase name="NumberUtils safeFormat should return 111,10 when: [ value: 111,1000, precision: 2, prettyPrecision: -1 ]" duration="1"/>
|
|
306
|
-
<testCase name="NumberUtils safeFormat should return 111,1009 when: [ value: 111,1009, precision: -2, prettyPrecision: 1 ]" duration="0"/>
|
|
307
|
-
<testCase name="NumberUtils safeFormat should return 111,1 when: [ value: 111,1000, precision: -2, prettyPrecision: 1 ]" duration="0"/>
|
|
308
|
-
<testCase name="NumberUtils getValueOrDefault should return 0 when value is undefined" duration="0"/>
|
|
309
|
-
<testCase name="NumberUtils getValueOrDefault should return 10 when value is null" duration="0"/>
|
|
310
|
-
<testCase name="NumberUtils getValueOrDefault should return 5 when value is " duration="0"/>
|
|
311
|
-
<testCase name="NumberUtils getValueOrDefault should return 7 when value is " duration="0"/>
|
|
312
|
-
<testCase name="NumberUtils getValueOrDefault should return 123 when value is 123" duration="0"/>
|
|
313
|
-
<testCase name="NumberUtils getValueOrDefault should return -123 when value is -123" duration="0"/>
|
|
314
|
-
<testCase name="NumberUtils getValueOrDefault should return 123.45 when value is 123.45" duration="0"/>
|
|
315
|
-
<testCase name="NumberUtils getValueOrDefault should return 8 when value is abc" duration="0"/>
|
|
316
|
-
<testCase name="NumberUtils getValueOrDefault should return 15 when value is NaN" duration="1"/>
|
|
317
|
-
<testCase name="NumberUtils getValueOrDefault should return 0 when value is 0" duration="0"/>
|
|
318
|
-
<testCase name="NumberUtils getValueOrDefault should return 42 when value is 42" duration="9"/>
|
|
319
|
-
<testCase name="NumberUtils getValueOrDefault should return -42 when value is -42" duration="1"/>
|
|
320
|
-
<testCase name="NumberUtils getValueOrDefault should return 0 when value is 0" duration="0"/>
|
|
321
|
-
<testCase name="NumberUtils getValueOrDefault should return 50 when value is NaN" duration="1"/>
|
|
322
|
-
<testCase name="NumberUtils getValueOrZero should return 0 when value is undefined" duration="0"/>
|
|
323
|
-
<testCase name="NumberUtils getValueOrZero should return 0 when value is null" duration="1"/>
|
|
324
|
-
<testCase name="NumberUtils getValueOrZero should return 0 when value is " duration="0"/>
|
|
325
|
-
<testCase name="NumberUtils getValueOrZero should return 0 when value is " duration="1"/>
|
|
326
|
-
<testCase name="NumberUtils getValueOrZero should return 123 when value is 123" duration="0"/>
|
|
327
|
-
<testCase name="NumberUtils getValueOrZero should return -123 when value is -123" duration="1"/>
|
|
328
|
-
<testCase name="NumberUtils getValueOrZero should return 123.45 when value is 123.45" duration="0"/>
|
|
329
|
-
<testCase name="NumberUtils getValueOrZero should return 0 when value is abc" duration="1"/>
|
|
330
|
-
<testCase name="NumberUtils getValueOrZero should return 0 when value is NaN" duration="0"/>
|
|
331
|
-
<testCase name="NumberUtils getValueOrZero should return 0 when value is 0" duration="0"/>
|
|
332
|
-
<testCase name="NumberUtils getValueOrZero should return 42 when value is 42" duration="0"/>
|
|
333
|
-
<testCase name="NumberUtils getValueOrZero should return -42 when value is -42" duration="1"/>
|
|
334
|
-
<testCase name="NumberUtils getValueOrZero should return 0 when value is 0" duration="1"/>
|
|
335
|
-
<testCase name="NumberUtils getValueOrZero should return 0 when value is NaN" duration="4"/>
|
|
336
|
-
<testCase name="NumberUtils compare should return 1 when comparing 10 and 5" duration="1"/>
|
|
337
|
-
<testCase name="NumberUtils compare should return -1 when comparing 5 and 10" duration="0"/>
|
|
338
|
-
<testCase name="NumberUtils compare should return 0 when comparing 5 and 5" duration="73"/>
|
|
339
|
-
<testCase name="NumberUtils compare should return -1 when comparing -10 and -5" duration="1"/>
|
|
340
|
-
<testCase name="NumberUtils compare should return 1 when comparing -5 and -10" duration="0"/>
|
|
341
|
-
<testCase name="NumberUtils compare should return 0 when comparing 0 and 0" duration="0"/>
|
|
342
|
-
<testCase name="NumberUtils compare should return 1 when comparing 0 and -1" duration="1"/>
|
|
343
|
-
<testCase name="NumberUtils compare should return -1 when comparing -1 and 0" duration="0"/>
|
|
141
|
+
<testCase name="ColumnFilterManager compileDistinct should return an array of distinct field values formatted correctly" duration="1"/>
|
|
142
|
+
<testCase name="ColumnFilterManager compileDistinct should filter records if a load request is present" duration="1"/>
|
|
344
143
|
</file>
|
|
345
144
|
<file path="/builds/dti/design-system/sankhyacore/test/util/StringUtils.spec.ts">
|
|
346
|
-
<testCase name="StringUtils isEmpty should return true when value is " duration="
|
|
347
|
-
<testCase name="StringUtils isEmpty should return true when value is " duration="
|
|
145
|
+
<testCase name="StringUtils isEmpty should return true when value is " duration="86"/>
|
|
146
|
+
<testCase name="StringUtils isEmpty should return true when value is " duration="0"/>
|
|
348
147
|
<testCase name="StringUtils isEmpty should return true when value is null" duration="0"/>
|
|
349
|
-
<testCase name="StringUtils isEmpty should return true when value is undefined" duration="
|
|
350
|
-
<testCase name="StringUtils isEmpty should return false when value is 0" duration="
|
|
351
|
-
<testCase name="StringUtils isEmpty should return false when value is ab" duration="
|
|
352
|
-
<testCase name="StringUtils replaceAccentuatedChars should return the original value when called with an object without a toString method" duration="
|
|
353
|
-
<testCase name="StringUtils replaceAccentuatedChars should return the original value when called with undefined" duration="
|
|
354
|
-
<testCase name="StringUtils replaceAccentuatedChars should return AAAAA when value is ÁÀÂÃÄ" duration="
|
|
355
|
-
<testCase name="StringUtils replaceAccentuatedChars should return aaaaa when value is áàâãä" duration="
|
|
356
|
-
<testCase name="StringUtils replaceAccentuatedChars should return C when value is Ç" duration="
|
|
148
|
+
<testCase name="StringUtils isEmpty should return true when value is undefined" duration="1"/>
|
|
149
|
+
<testCase name="StringUtils isEmpty should return false when value is 0" duration="1"/>
|
|
150
|
+
<testCase name="StringUtils isEmpty should return false when value is ab" duration="0"/>
|
|
151
|
+
<testCase name="StringUtils replaceAccentuatedChars should return the original value when called with an object without a toString method" duration="2"/>
|
|
152
|
+
<testCase name="StringUtils replaceAccentuatedChars should return the original value when called with undefined" duration="1"/>
|
|
153
|
+
<testCase name="StringUtils replaceAccentuatedChars should return AAAAA when value is ÁÀÂÃÄ" duration="2"/>
|
|
154
|
+
<testCase name="StringUtils replaceAccentuatedChars should return aaaaa when value is áàâãä" duration="0"/>
|
|
155
|
+
<testCase name="StringUtils replaceAccentuatedChars should return C when value is Ç" duration="1"/>
|
|
357
156
|
<testCase name="StringUtils replaceAccentuatedCharsKeepSymbols should return AEIOU when value is áéíóú" duration="1"/>
|
|
358
157
|
<testCase name="StringUtils replaceAccentuatedCharsKeepSymbols should return AEIOU when value is âêîôû" duration="0"/>
|
|
359
|
-
<testCase name="StringUtils replaceAccentuatedCharsKeepSymbols should return CN when value is çñ" duration="
|
|
360
|
-
<testCase name="StringUtils replaceAccentuatedCharsKeepSymbols should return AO when value is ãõ" duration="
|
|
158
|
+
<testCase name="StringUtils replaceAccentuatedCharsKeepSymbols should return CN when value is çñ" duration="0"/>
|
|
159
|
+
<testCase name="StringUtils replaceAccentuatedCharsKeepSymbols should return AO when value is ãõ" duration="1"/>
|
|
361
160
|
<testCase name="StringUtils replaceAccentuatedCharsKeepSymbols should return HELLO when value is hello" duration="1"/>
|
|
362
161
|
<testCase name="StringUtils replaceAccentuatedCharsKeepSymbols should return WORLD when value is WORLD" duration="0"/>
|
|
363
162
|
<testCase name="StringUtils replaceAccentuatedCharsKeepSymbols should return 12345 when value is 12345" duration="1"/>
|
|
364
163
|
<testCase name="StringUtils replaceAccentuatedCharsKeepSymbols should return !@#$%^&*() when value is !@#$%^&*()" duration="0"/>
|
|
365
|
-
<testCase name="StringUtils replaceAccentuatedCharsKeepSymbols should return OLA, MUNDO! when value is Olá, mundo!" duration="
|
|
366
|
-
<testCase name="StringUtils replaceAccentuatedCharsKeepSymbols should return CAFE COM LEITE! when value is Café com leite!" duration="
|
|
164
|
+
<testCase name="StringUtils replaceAccentuatedCharsKeepSymbols should return OLA, MUNDO! when value is Olá, mundo!" duration="4"/>
|
|
165
|
+
<testCase name="StringUtils replaceAccentuatedCharsKeepSymbols should return CAFE COM LEITE! when value is Café com leite!" duration="0"/>
|
|
367
166
|
<testCase name="StringUtils replaceAccentuatedCharsKeepSymbols should return 123 CN AEIOU when value is 123 çñ áéíóú" duration="0"/>
|
|
368
167
|
<testCase name="StringUtils replaceAccentuatedCharsKeepSymbols should return when value is " duration="1"/>
|
|
369
168
|
<testCase name="StringUtils replaceAccentuatedCharsKeepSymbols should return AEIOU when value is àèìòù" duration="0"/>
|
|
370
|
-
<testCase name="StringUtils replaceAccentuatedCharsKeepSymbols should return AEIOU when value is ÀÈÌÒÙ" duration="
|
|
169
|
+
<testCase name="StringUtils replaceAccentuatedCharsKeepSymbols should return AEIOU when value is ÀÈÌÒÙ" duration="79"/>
|
|
371
170
|
<testCase name="StringUtils replaceAccentuatedCharsKeepSymbols should return AEIOUCNAOAEIOU when value is ÁÉÍÓÚÇÑãõâêîôû" duration="0"/>
|
|
372
|
-
<testCase name="StringUtils replaceBlankCharacters should return HelloWorld when value is Hello World" duration="
|
|
373
|
-
<testCase name="StringUtils replaceBlankCharacters should return Test123 when value is Test 123" duration="
|
|
374
|
-
<testCase name="StringUtils replaceBlankCharacters should return Replacespaces when value is Replace spaces" duration="
|
|
375
|
-
<testCase name="StringUtils replaceBlankCharacters should return NoSpacesHere when value is NoSpacesHere" duration="
|
|
171
|
+
<testCase name="StringUtils replaceBlankCharacters should return HelloWorld when value is Hello World" duration="5"/>
|
|
172
|
+
<testCase name="StringUtils replaceBlankCharacters should return Test123 when value is Test 123" duration="1"/>
|
|
173
|
+
<testCase name="StringUtils replaceBlankCharacters should return Replacespaces when value is Replace spaces" duration="0"/>
|
|
174
|
+
<testCase name="StringUtils replaceBlankCharacters should return NoSpacesHere when value is NoSpacesHere" duration="1"/>
|
|
376
175
|
<testCase name="StringUtils replaceBlankCharacters should return Multiplespaceshere when value is Multiple spaces here" duration="0"/>
|
|
377
|
-
<testCase name="StringUtils replaceBlankCharacters should return Leadingandtrailingspaces when value is Leading and trailing spaces " duration="
|
|
378
|
-
<testCase name="StringUtils replaceBlankCharacters should return when value is " duration="
|
|
379
|
-
<testCase name="StringUtils replaceBlankCharacters should return SingleSpace when value is SingleSpace" duration="
|
|
380
|
-
<testCase name="StringUtils replaceToSpace should return "Hello " when value is "Hello World" and replaceList is ["World"]" duration="
|
|
176
|
+
<testCase name="StringUtils replaceBlankCharacters should return Leadingandtrailingspaces when value is Leading and trailing spaces " duration="1"/>
|
|
177
|
+
<testCase name="StringUtils replaceBlankCharacters should return when value is " duration="3"/>
|
|
178
|
+
<testCase name="StringUtils replaceBlankCharacters should return SingleSpace when value is SingleSpace" duration="1"/>
|
|
179
|
+
<testCase name="StringUtils replaceToSpace should return "Hello " when value is "Hello World" and replaceList is ["World"]" duration="1"/>
|
|
381
180
|
<testCase name="StringUtils replaceToSpace should return "Test " when value is "Test 123" and replaceList is ["123"]" duration="0"/>
|
|
382
|
-
<testCase name="StringUtils replaceToSpace should return "Replace the " when value is "Replace the word" and replaceList is ["word"]" duration="
|
|
383
|
-
<testCase name="StringUtils replaceToSpace should return "No change here" when value is "No change here" and replaceList is ["no"]" duration="
|
|
384
|
-
<testCase name="StringUtils replaceToSpace should return " words to " when value is "Multiple words to replace" and replaceList is ["Multiple","replace"]" duration="
|
|
385
|
-
<testCase name="StringUtils replaceToSpace should return " and trailing " when value is " Leading and trailing spaces " and replaceList is ["Leading","spaces"]" duration="
|
|
386
|
-
<testCase name="StringUtils replaceToSpace should return "" when value is "" and replaceList is ["word"]" duration="
|
|
387
|
-
<testCase name="StringUtils replaceToSpace should return "Single replacement" when value is "Single word replacement" and replaceList is ["word"]" duration="
|
|
181
|
+
<testCase name="StringUtils replaceToSpace should return "Replace the " when value is "Replace the word" and replaceList is ["word"]" duration="1"/>
|
|
182
|
+
<testCase name="StringUtils replaceToSpace should return "No change here" when value is "No change here" and replaceList is ["no"]" duration="0"/>
|
|
183
|
+
<testCase name="StringUtils replaceToSpace should return " words to " when value is "Multiple words to replace" and replaceList is ["Multiple","replace"]" duration="1"/>
|
|
184
|
+
<testCase name="StringUtils replaceToSpace should return " and trailing " when value is " Leading and trailing spaces " and replaceList is ["Leading","spaces"]" duration="76"/>
|
|
185
|
+
<testCase name="StringUtils replaceToSpace should return "" when value is "" and replaceList is ["word"]" duration="0"/>
|
|
186
|
+
<testCase name="StringUtils replaceToSpace should return "Single replacement" when value is "Single word replacement" and replaceList is ["word"]" duration="0"/>
|
|
388
187
|
<testCase name="StringUtils replaceToSpace should return " word " when value is "Only word here" and replaceList is ["Only","here"]" duration="0"/>
|
|
389
188
|
<testCase name="StringUtils replaceToSpace should return "Replace occurrences" when value is "Replace multiple occurrences" and replaceList is ["multiple"]" duration="1"/>
|
|
390
189
|
<testCase name="StringUtils replaceAll should return "Hello Universe" when value is "Hello World", strFrom is "World", and strTo is "Universe"" duration="0"/>
|
|
391
190
|
<testCase name="StringUtils replaceAll should return "Test 456 456" when value is "Test 123 123", strFrom is "123", and strTo is "456"" duration="0"/>
|
|
392
|
-
<testCase name="StringUtils replaceAll should return "Replace_all_spaces" when value is "Replace all spaces", strFrom is " ", and strTo is "_"" duration="
|
|
393
|
-
<testCase name="StringUtils replaceAll should return "No changes here" when value is "No changes here", strFrom is "word", and strTo is "term"" duration="
|
|
394
|
-
<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="
|
|
395
|
-
<testCase name="StringUtils replaceAll should return "Case Sensitive Test" when value is "Case Sensitive Test", strFrom is "test", and strTo is "exam"" duration="
|
|
396
|
-
<testCase name="StringUtils replaceAll should return "Multiple-words-to-replace" when value is "Multiple words to replace", strFrom is " ", and strTo is "-"" duration="
|
|
397
|
-
<testCase name="StringUtils replaceAll should return "" when value is "", strFrom is "word", and strTo is "term"" duration="
|
|
191
|
+
<testCase name="StringUtils replaceAll should return "Replace_all_spaces" when value is "Replace all spaces", strFrom is " ", and strTo is "_"" duration="0"/>
|
|
192
|
+
<testCase name="StringUtils replaceAll should return "No changes here" when value is "No changes here", strFrom is "word", and strTo is "term"" duration="18"/>
|
|
193
|
+
<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="1"/>
|
|
194
|
+
<testCase name="StringUtils replaceAll should return "Case Sensitive Test" when value is "Case Sensitive Test", strFrom is "test", and strTo is "exam"" duration="0"/>
|
|
195
|
+
<testCase name="StringUtils replaceAll should return "Multiple-words-to-replace" when value is "Multiple words to replace", strFrom is " ", and strTo is "-"" duration="1"/>
|
|
196
|
+
<testCase name="StringUtils replaceAll should return "" when value is "", strFrom is "word", and strTo is "term"" duration="0"/>
|
|
398
197
|
<testCase name="StringUtils replaceAll should return "cccc bbbb cccc" when value is "aaaa bbbb aaaa", strFrom is "aaaa", and strTo is "cccc"" duration="0"/>
|
|
399
|
-
<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="
|
|
198
|
+
<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"/>
|
|
400
199
|
<testCase name="StringUtils removeSpecialCharacters should return "Hello World" when value is "Hello!@#$ World"" duration="1"/>
|
|
401
|
-
<testCase name="StringUtils removeSpecialCharacters should return "Test 123 " when value is "Test 123 #$%"" duration="
|
|
200
|
+
<testCase name="StringUtils removeSpecialCharacters should return "Test 123 " when value is "Test 123 #$%"" duration="1"/>
|
|
402
201
|
<testCase name="StringUtils removeSpecialCharacters should return "Remove special characters" when value is "Remove *&%$# special characters!"" duration="1"/>
|
|
403
|
-
<testCase name="StringUtils removeSpecialCharacters should return "NoSpecialCharsHere" when value is "NoSpecialCharsHere"" duration="
|
|
202
|
+
<testCase name="StringUtils removeSpecialCharacters should return "NoSpecialCharsHere" when value is "NoSpecialCharsHere"" duration="1"/>
|
|
404
203
|
<testCase name="StringUtils removeSpecialCharacters should return "Start and End" when value is "!!!Start and End!!!"" duration="0"/>
|
|
405
204
|
<testCase name="StringUtils removeSpecialCharacters should return "12345" when value is "12345"" duration="1"/>
|
|
406
205
|
<testCase name="StringUtils removeSpecialCharacters should return "Clean this string " when value is "Clean this string @&*#$"" duration="0"/>
|
|
407
|
-
<testCase name="StringUtils removeSpecialCharacters should return "" when value is """ duration="
|
|
408
|
-
<testCase name="StringUtils removeSpecialCharacters should return "We like to test" when value is "We @like $ to @#test!!"" duration="
|
|
409
|
-
<testCase name="StringUtils removeSpecialCharacters should return "Some pecl chars " when value is "Some $pec!@l #chars %%%%%&*("" duration="
|
|
206
|
+
<testCase name="StringUtils removeSpecialCharacters should return "" when value is """ duration="1"/>
|
|
207
|
+
<testCase name="StringUtils removeSpecialCharacters should return "We like to test" when value is "We @like $ to @#test!!"" duration="0"/>
|
|
208
|
+
<testCase name="StringUtils removeSpecialCharacters should return "Some pecl chars " when value is "Some $pec!@l #chars %%%%%&*("" duration="1"/>
|
|
410
209
|
<testCase name="StringUtils isString should return true when value is "Hello, World!"" duration="0"/>
|
|
411
210
|
<testCase name="StringUtils isString should return true when value is """ duration="1"/>
|
|
412
211
|
<testCase name="StringUtils isString should return true when value is "Test String"" duration="0"/>
|
|
413
|
-
<testCase name="StringUtils isString should return false when value is 12345" duration="
|
|
212
|
+
<testCase name="StringUtils isString should return false when value is 12345" duration="1"/>
|
|
414
213
|
<testCase name="StringUtils isString should return false when value is null" duration="0"/>
|
|
415
214
|
<testCase name="StringUtils isString should return false when value is undefined" duration="1"/>
|
|
416
215
|
<testCase name="StringUtils isString should return false when value is {"key":"value"}" duration="0"/>
|
|
417
|
-
<testCase name="StringUtils isString should return false when value is ["array"]" duration="
|
|
418
|
-
<testCase name="StringUtils isString should return false when value is true" duration="
|
|
419
|
-
<testCase name="StringUtils isString should return false when value is undefined" duration="
|
|
216
|
+
<testCase name="StringUtils isString should return false when value is ["array"]" duration="0"/>
|
|
217
|
+
<testCase name="StringUtils isString should return false when value is true" duration="0"/>
|
|
218
|
+
<testCase name="StringUtils isString should return false when value is undefined" duration="0"/>
|
|
420
219
|
<testCase name="StringUtils isString should return false when value is undefined" duration="0"/>
|
|
421
|
-
<testCase name="StringUtils isString should return false when value is null" duration="
|
|
422
|
-
<testCase name="StringUtils decodeHtmlEntities should return "Hello & World" when value is "Hello &amp; World"" duration="
|
|
423
|
-
<testCase name="StringUtils decodeHtmlEntities should return "Apostrophe: ' or '" when value is "Apostrophe: &apos; or &#x27;"" duration="
|
|
220
|
+
<testCase name="StringUtils isString should return false when value is null" duration="0"/>
|
|
221
|
+
<testCase name="StringUtils decodeHtmlEntities should return "Hello & World" when value is "Hello &amp; World"" duration="1"/>
|
|
222
|
+
<testCase name="StringUtils decodeHtmlEntities should return "Apostrophe: ' or '" when value is "Apostrophe: &apos; or &#x27;"" duration="1"/>
|
|
424
223
|
<testCase name="StringUtils decodeHtmlEntities should return "Slash: / or /" when value is "Slash: &#x2F; or &#47;"" duration="0"/>
|
|
425
224
|
<testCase name="StringUtils decodeHtmlEntities should return "Less than: < Greater than: >" when value is "Less than: &lt; Greater than: &gt;"" duration="1"/>
|
|
426
225
|
<testCase name="StringUtils decodeHtmlEntities should return "Non-breaking space: " when value is "Non-breaking space: &nbsp;"" duration="0"/>
|
|
427
|
-
<testCase name="StringUtils decodeHtmlEntities should return "Quote: "" when value is "Quote: &quot;"" duration="
|
|
226
|
+
<testCase name="StringUtils decodeHtmlEntities should return "Quote: "" when value is "Quote: &quot;"" duration="1"/>
|
|
428
227
|
<testCase name="StringUtils decodeHtmlEntities should return "No entities here" when value is "No entities here"" duration="0"/>
|
|
429
|
-
<testCase name="StringUtils decodeHtmlEntities should return "" when value is """ duration="
|
|
228
|
+
<testCase name="StringUtils decodeHtmlEntities should return "" when value is """ duration="1"/>
|
|
430
229
|
<testCase name="StringUtils decodeHtmlEntities should return "Multiple entities: &<>"" when value is "Multiple entities: &amp;&lt;&gt;&quot;"" duration="0"/>
|
|
431
|
-
<testCase name="StringUtils decodeHtmlEntities should return "null" when value is "null"" duration="
|
|
432
|
-
<testCase name="StringUtils decodeHtmlEntities should return "undefined" when value is "undefined"" duration="
|
|
230
|
+
<testCase name="StringUtils decodeHtmlEntities should return "null" when value is "null"" duration="1"/>
|
|
231
|
+
<testCase name="StringUtils decodeHtmlEntities should return "undefined" when value is "undefined"" duration="0"/>
|
|
433
232
|
<testCase name="StringUtils hashCode should return "99162322" when value is "hello"" duration="1"/>
|
|
434
233
|
<testCase name="StringUtils hashCode should return "113318802" when value is "world"" duration="0"/>
|
|
435
234
|
<testCase name="StringUtils hashCode should return "46792755" when value is "12345"" duration="0"/>
|
|
436
235
|
<testCase name="StringUtils hashCode should return "0" when value is """ duration="0"/>
|
|
437
|
-
<testCase name="StringUtils hashCode should return "97" when value is "a"" duration="
|
|
236
|
+
<testCase name="StringUtils hashCode should return "97" when value is "a"" duration="1"/>
|
|
438
237
|
<testCase name="StringUtils hashCode should return "96354" when value is "abc"" duration="0"/>
|
|
439
|
-
<testCase name="StringUtils hashCode should return "1498789909" when value is "Hello, World!"" duration="
|
|
440
|
-
<testCase name="StringUtils hashCode should return "1772909" when value is "😊"" duration="
|
|
441
|
-
<testCase name="StringUtils hashCode should return "-895136796" when value is "Same input, same hash"" duration="
|
|
238
|
+
<testCase name="StringUtils hashCode should return "1498789909" when value is "Hello, World!"" duration="1"/>
|
|
239
|
+
<testCase name="StringUtils hashCode should return "1772909" when value is "😊"" duration="0"/>
|
|
240
|
+
<testCase name="StringUtils hashCode should return "-895136796" when value is "Same input, same hash"" duration="1"/>
|
|
442
241
|
<testCase name="StringUtils hashCode should return "-895136796" when value is "Same input, same hash"" duration="0"/>
|
|
443
242
|
<testCase name="StringUtils getBooleanValue should return true when value is "true" and defaultValue is false" duration="1"/>
|
|
444
243
|
<testCase name="StringUtils getBooleanValue should return false when value is "false" and defaultValue is true" duration="0"/>
|
|
@@ -447,188 +246,188 @@
|
|
|
447
246
|
<testCase name="StringUtils getBooleanValue should return true when value is "true" and defaultValue is false" duration="1"/>
|
|
448
247
|
<testCase name="StringUtils getBooleanValue should return false when value is "false" and defaultValue is true" duration="0"/>
|
|
449
248
|
<testCase name="StringUtils getBooleanValue should return false when value is "yes" and defaultValue is false" duration="0"/>
|
|
450
|
-
<testCase name="StringUtils getBooleanValue should return true when value is "no" and defaultValue is true" duration="
|
|
249
|
+
<testCase name="StringUtils getBooleanValue should return true when value is "no" and defaultValue is true" duration="0"/>
|
|
451
250
|
<testCase name="StringUtils getBooleanValue should return true when value is "" and defaultValue is true" duration="0"/>
|
|
452
251
|
<testCase name="StringUtils getBooleanValue should return false when value is "undefined" and defaultValue is false" duration="0"/>
|
|
453
|
-
<testCase name="StringUtils getBooleanValue should return true when value is "null" and defaultValue is true" duration="
|
|
454
|
-
<testCase name="StringUtils padStart should return "000123" when str="123", len=6, pad="0"" duration="
|
|
455
|
-
<testCase name="StringUtils padStart should return " test" when str="test", len=8, pad=" "" duration="
|
|
252
|
+
<testCase name="StringUtils getBooleanValue should return true when value is "null" and defaultValue is true" duration="1"/>
|
|
253
|
+
<testCase name="StringUtils padStart should return "000123" when str="123", len=6, pad="0"" duration="0"/>
|
|
254
|
+
<testCase name="StringUtils padStart should return " test" when str="test", len=8, pad=" "" duration="0"/>
|
|
456
255
|
<testCase name="StringUtils padStart should return "*****" when str="", len=5, pad="*"" duration="0"/>
|
|
457
|
-
<testCase name="StringUtils padStart should return "short" when str="short", len=3, pad="-"" duration="
|
|
458
|
-
<testCase name="StringUtils padStart should return "####" when str="undefined", len=4, pad="#"" duration="
|
|
256
|
+
<testCase name="StringUtils padStart should return "short" when str="short", len=3, pad="-"" duration="1"/>
|
|
257
|
+
<testCase name="StringUtils padStart should return "####" when str="undefined", len=4, pad="#"" duration="0"/>
|
|
459
258
|
<testCase name="StringUtils padStart should return "0000" when str="null", len=4, pad="0"" duration="0"/>
|
|
460
259
|
<testCase name="StringUtils padStart should return "-------pad" when str="pad", len=10, pad="-"" duration="0"/>
|
|
461
|
-
<testCase name="StringUtils padStart should return "abc42" when str="42", len=5, pad="abc"" duration="
|
|
462
|
-
<testCase name="StringUtils padStart should return "exact" when str="exact", len=5, pad="*"" duration="
|
|
463
|
-
<testCase name="StringUtils padStart should return "" when str="", len=0, pad="-"" duration="
|
|
464
|
-
<testCase name="StringUtils padEnd should return "123000" when str="123", len=6, pad="0"" duration="
|
|
260
|
+
<testCase name="StringUtils padStart should return "abc42" when str="42", len=5, pad="abc"" duration="0"/>
|
|
261
|
+
<testCase name="StringUtils padStart should return "exact" when str="exact", len=5, pad="*"" duration="72"/>
|
|
262
|
+
<testCase name="StringUtils padStart should return "" when str="", len=0, pad="-"" duration="1"/>
|
|
263
|
+
<testCase name="StringUtils padEnd should return "123000" when str="123", len=6, pad="0"" duration="0"/>
|
|
465
264
|
<testCase name="StringUtils padEnd should return "test " when str="test", len=8, pad=" "" duration="0"/>
|
|
466
|
-
<testCase name="StringUtils padEnd should return "*****" when str="", len=5, pad="*"" duration="
|
|
265
|
+
<testCase name="StringUtils padEnd should return "*****" when str="", len=5, pad="*"" duration="1"/>
|
|
467
266
|
<testCase name="StringUtils padEnd should return "short" when str="short", len=3, pad="-"" duration="0"/>
|
|
468
|
-
<testCase name="StringUtils padEnd should return "####" when str="undefined", len=4, pad="#"" duration="
|
|
267
|
+
<testCase name="StringUtils padEnd should return "####" when str="undefined", len=4, pad="#"" duration="0"/>
|
|
469
268
|
<testCase name="StringUtils padEnd should return "0000" when str="null", len=4, pad="0"" duration="0"/>
|
|
470
|
-
<testCase name="StringUtils padEnd should return "pad-------" when str="pad", len=10, pad="-"" duration="
|
|
269
|
+
<testCase name="StringUtils padEnd should return "pad-------" when str="pad", len=10, pad="-"" duration="1"/>
|
|
471
270
|
<testCase name="StringUtils padEnd should return "42abc" when str="42", len=5, pad="abc"" duration="0"/>
|
|
472
271
|
<testCase name="StringUtils padEnd should return "exact" when str="exact", len=5, pad="*"" duration="0"/>
|
|
473
272
|
<testCase name="StringUtils padEnd should return "" when str="", len=0, pad="-"" duration="0"/>
|
|
474
|
-
<testCase name="StringUtils compare should return 0 when a="undefined" and b="undefined"" duration="
|
|
273
|
+
<testCase name="StringUtils compare should return 0 when a="undefined" and b="undefined"" duration="1"/>
|
|
475
274
|
<testCase name="StringUtils compare should return 1 when a="undefined" and b="null"" duration="0"/>
|
|
476
|
-
<testCase name="StringUtils compare should return -1 when a="null" and b="undefined"" duration="
|
|
275
|
+
<testCase name="StringUtils compare should return -1 when a="null" and b="undefined"" duration="0"/>
|
|
477
276
|
<testCase name="StringUtils compare should return 0 when a="null" and b="null"" duration="0"/>
|
|
478
277
|
<testCase name="StringUtils compare should return -1 when a="apple" and b="undefined"" duration="0"/>
|
|
479
278
|
<testCase name="StringUtils compare should return 1 when a="undefined" and b="banana"" duration="0"/>
|
|
480
|
-
<testCase name="StringUtils compare should return -1 when a="apple" and b="null"" duration="
|
|
481
|
-
<testCase name="StringUtils compare should return 1 when a="null" and b="banana"" duration="
|
|
482
|
-
<testCase name="StringUtils compare should return -1 when a="apple" and b="banana"" duration="
|
|
279
|
+
<testCase name="StringUtils compare should return -1 when a="apple" and b="null"" duration="1"/>
|
|
280
|
+
<testCase name="StringUtils compare should return 1 when a="null" and b="banana"" duration="0"/>
|
|
281
|
+
<testCase name="StringUtils compare should return -1 when a="apple" and b="banana"" duration="13"/>
|
|
483
282
|
<testCase name="StringUtils compare should return 1 when a="banana" and b="apple"" duration="0"/>
|
|
484
283
|
<testCase name="StringUtils compare should return 0 when a="apple" and b="apple"" duration="0"/>
|
|
485
|
-
<testCase name="StringUtils compare should return 1 when a="Apple" and b="apple"" duration="
|
|
284
|
+
<testCase name="StringUtils compare should return 1 when a="Apple" and b="apple"" duration="1"/>
|
|
486
285
|
<testCase name="StringUtils compare should return -1 when a="123" and b="456"" duration="0"/>
|
|
487
286
|
<testCase name="StringUtils compare should return -1 when a="" and b="non-empty"" duration="0"/>
|
|
488
287
|
<testCase name="StringUtils compare should return 1 when a="non-empty" and b=""" duration="0"/>
|
|
489
288
|
<testCase name="StringUtils toCamelCase should return "helloWorld" when value is "hello_world"" duration="1"/>
|
|
490
289
|
<testCase name="StringUtils toCamelCase should return "helloWorld" when value is "hello-world"" duration="0"/>
|
|
491
|
-
<testCase name="StringUtils toCamelCase should return "helloWorld" when value is "hello world"" duration="
|
|
492
|
-
<testCase name="StringUtils toCamelCase should return "helloworld" when value is "HelloWorld"" duration="
|
|
290
|
+
<testCase name="StringUtils toCamelCase should return "helloWorld" when value is "hello world"" duration="1"/>
|
|
291
|
+
<testCase name="StringUtils toCamelCase should return "helloworld" when value is "HelloWorld"" duration="0"/>
|
|
493
292
|
<testCase name="StringUtils toCamelCase should return "helloWorld" when value is "helloWorld"" duration="0"/>
|
|
494
293
|
<testCase name="StringUtils toCamelCase should return "hello.world" when value is "hello.world"" duration="0"/>
|
|
495
294
|
<testCase name="StringUtils toCamelCase should return "helloWorld" when value is "HELLO_WORLD"" duration="0"/>
|
|
496
|
-
<testCase name="StringUtils toCamelCase should return "multipleWordsSeparatedHyphen" when value is "multiple words-separated_hyphen"" duration="
|
|
295
|
+
<testCase name="StringUtils toCamelCase should return "multipleWordsSeparatedHyphen" when value is "multiple words-separated_hyphen"" duration="0"/>
|
|
497
296
|
<testCase name="StringUtils toCamelCase should return "camelcasealready" when value is "CamelCaseAlready"" duration="0"/>
|
|
498
|
-
<testCase name="StringUtils toCamelCase should return "" when value is """ duration="
|
|
297
|
+
<testCase name="StringUtils toCamelCase should return "" when value is """ duration="1"/>
|
|
499
298
|
<testCase name="StringUtils toCamelCase should return "" when value is "null"" duration="0"/>
|
|
500
|
-
<testCase name="StringUtils toCamelCase should return "" when value is "undefined"" duration="
|
|
299
|
+
<testCase name="StringUtils toCamelCase should return "" when value is "undefined"" duration="0"/>
|
|
501
300
|
<testCase name="StringUtils toCamelCase should return "simple" when value is "simple"" duration="0"/>
|
|
502
|
-
<testCase name="StringUtils toCamelCase should return "pascalcase" when value is "PascalCase"" duration="
|
|
503
|
-
<testCase name="StringUtils toPascalCase should return "Helloworld" when value is "hello_world"" duration="
|
|
504
|
-
<testCase name="StringUtils toPascalCase should return "Helloworld" when value is "hello-world"" duration="
|
|
301
|
+
<testCase name="StringUtils toCamelCase should return "pascalcase" when value is "PascalCase"" duration="1"/>
|
|
302
|
+
<testCase name="StringUtils toPascalCase should return "Helloworld" when value is "hello_world"" duration="0"/>
|
|
303
|
+
<testCase name="StringUtils toPascalCase should return "Helloworld" when value is "hello-world"" duration="1"/>
|
|
505
304
|
<testCase name="StringUtils toPascalCase should return "HelloWorld" when value is "hello world"" duration="0"/>
|
|
506
305
|
<testCase name="StringUtils toPascalCase should return "Helloworld" when value is "HelloWorld"" duration="0"/>
|
|
507
|
-
<testCase name="StringUtils toPascalCase should return "Helloworld" when value is "helloWorld"" duration="
|
|
508
|
-
<testCase name="StringUtils toPascalCase should return "Hello.world" when value is "hello.world"" duration="
|
|
306
|
+
<testCase name="StringUtils toPascalCase should return "Helloworld" when value is "helloWorld"" duration="0"/>
|
|
307
|
+
<testCase name="StringUtils toPascalCase should return "Hello.world" when value is "hello.world"" duration="1"/>
|
|
509
308
|
<testCase name="StringUtils toPascalCase should return "Helloworld" when value is "HELLO_WORLD"" duration="0"/>
|
|
510
309
|
<testCase name="StringUtils toPascalCase should return "MultipleWordsseparatedhyphen" when value is "multiple words-separated_hyphen"" duration="0"/>
|
|
511
|
-
<testCase name="StringUtils toPascalCase should return "Camelcasealready" when value is "camelCaseAlready"" duration="
|
|
512
|
-
<testCase name="StringUtils toPascalCase should return "" when value is """ duration="
|
|
310
|
+
<testCase name="StringUtils toPascalCase should return "Camelcasealready" when value is "camelCaseAlready"" duration="1"/>
|
|
311
|
+
<testCase name="StringUtils toPascalCase should return "" when value is """ duration="0"/>
|
|
513
312
|
<testCase name="StringUtils toPascalCase should return "" when value is "null"" duration="0"/>
|
|
514
|
-
<testCase name="StringUtils toPascalCase should return "" when value is "undefined"" duration="
|
|
313
|
+
<testCase name="StringUtils toPascalCase should return "" when value is "undefined"" duration="1"/>
|
|
515
314
|
<testCase name="StringUtils toPascalCase should return "Simple" when value is "simple"" duration="0"/>
|
|
516
|
-
<testCase name="StringUtils toPascalCase should return "Pascalcase" when value is "PascalCase"" duration="
|
|
517
|
-
<testCase name="StringUtils toSnakeCase should return "helloworld" when value is "helloWorld"" duration="
|
|
315
|
+
<testCase name="StringUtils toPascalCase should return "Pascalcase" when value is "PascalCase"" duration="72"/>
|
|
316
|
+
<testCase name="StringUtils toSnakeCase should return "helloworld" when value is "helloWorld"" duration="7"/>
|
|
518
317
|
<testCase name="StringUtils toSnakeCase should return "helloworld" when value is "HelloWorld"" duration="0"/>
|
|
519
|
-
<testCase name="StringUtils toSnakeCase should return "hello_world" when value is "hello-world"" duration="
|
|
318
|
+
<testCase name="StringUtils toSnakeCase should return "hello_world" when value is "hello-world"" duration="1"/>
|
|
520
319
|
<testCase name="StringUtils toSnakeCase should return "hello_world" when value is "hello world"" duration="0"/>
|
|
521
|
-
<testCase name="StringUtils toSnakeCase should return "hello_world" when value is "hello_world"" duration="
|
|
320
|
+
<testCase name="StringUtils toSnakeCase should return "hello_world" when value is "hello_world"" duration="1"/>
|
|
522
321
|
<testCase name="StringUtils toSnakeCase should return "hello_world" when value is "HELLO_WORLD"" duration="0"/>
|
|
523
|
-
<testCase name="StringUtils toSnakeCase should return "multiplewordsseparated_hyphen" when value is "multipleWordsSeparated-Hyphen"" duration="
|
|
524
|
-
<testCase name="StringUtils toSnakeCase should return "camelcasealready" when value is "CamelCaseAlready"" duration="
|
|
322
|
+
<testCase name="StringUtils toSnakeCase should return "multiplewordsseparated_hyphen" when value is "multipleWordsSeparated-Hyphen"" duration="1"/>
|
|
323
|
+
<testCase name="StringUtils toSnakeCase should return "camelcasealready" when value is "CamelCaseAlready"" duration="0"/>
|
|
525
324
|
<testCase name="StringUtils toSnakeCase should return "simple" when value is "simple"" duration="0"/>
|
|
526
|
-
<testCase name="StringUtils toSnakeCase should return "pascalcase" when value is "PascalCase"" duration="
|
|
325
|
+
<testCase name="StringUtils toSnakeCase should return "pascalcase" when value is "PascalCase"" duration="1"/>
|
|
527
326
|
<testCase name="StringUtils toSnakeCase should return "" when value is """ duration="0"/>
|
|
528
327
|
<testCase name="StringUtils toSnakeCase should return "" when value is "null"" duration="0"/>
|
|
529
|
-
<testCase name="StringUtils toSnakeCase should return "" when value is "undefined"" duration="
|
|
328
|
+
<testCase name="StringUtils toSnakeCase should return "" when value is "undefined"" duration="0"/>
|
|
530
329
|
<testCase name="StringUtils toSnakeCase should return "hello.world" when value is "hello.world"" duration="0"/>
|
|
531
330
|
<testCase name="StringUtils toKebabCase should return "hello-world" when value is "helloWorld"" duration="0"/>
|
|
532
331
|
<testCase name="StringUtils toKebabCase should return "hello-world" when value is "HelloWorld"" duration="0"/>
|
|
533
332
|
<testCase name="StringUtils toKebabCase should return "hello-world" when value is "hello_world"" duration="0"/>
|
|
534
333
|
<testCase name="StringUtils toKebabCase should return "hello-world" when value is "hello world"" duration="0"/>
|
|
535
|
-
<testCase name="StringUtils toKebabCase should return "hello-world" when value is "hello-world"" duration="
|
|
334
|
+
<testCase name="StringUtils toKebabCase should return "hello-world" when value is "hello-world"" duration="1"/>
|
|
536
335
|
<testCase name="StringUtils toKebabCase should return "hello-world" when value is "HELLO_WORLD"" duration="0"/>
|
|
537
336
|
<testCase name="StringUtils toKebabCase should return "multiple-words-separated-hyphen" when value is "multipleWordsSeparated_Hyphen"" duration="0"/>
|
|
538
|
-
<testCase name="StringUtils toKebabCase should return "camel-case-already" when value is "CamelCaseAlready"" duration="
|
|
539
|
-
<testCase name="StringUtils toKebabCase should return "simple" when value is "simple"" duration="
|
|
540
|
-
<testCase name="StringUtils toKebabCase should return "pascal-case" when value is "PascalCase"" duration="
|
|
337
|
+
<testCase name="StringUtils toKebabCase should return "camel-case-already" when value is "CamelCaseAlready"" duration="0"/>
|
|
338
|
+
<testCase name="StringUtils toKebabCase should return "simple" when value is "simple"" duration="1"/>
|
|
339
|
+
<testCase name="StringUtils toKebabCase should return "pascal-case" when value is "PascalCase"" duration="0"/>
|
|
541
340
|
<testCase name="StringUtils toKebabCase should return "" when value is """ duration="0"/>
|
|
542
|
-
<testCase name="StringUtils toKebabCase should return "" when value is "null"" duration="
|
|
341
|
+
<testCase name="StringUtils toKebabCase should return "" when value is "null"" duration="1"/>
|
|
543
342
|
<testCase name="StringUtils toKebabCase should return "" when value is "undefined"" duration="0"/>
|
|
544
|
-
<testCase name="StringUtils toKebabCase should return "hello.world" when value is "hello.world"" duration="
|
|
545
|
-
<testCase name="StringUtils formatBytes should return "0B" when value is 0" duration="
|
|
343
|
+
<testCase name="StringUtils toKebabCase should return "hello.world" when value is "hello.world"" duration="0"/>
|
|
344
|
+
<testCase name="StringUtils formatBytes should return "0B" when value is 0" duration="1"/>
|
|
546
345
|
<testCase name="StringUtils formatBytes should return "1B" when value is 1" duration="0"/>
|
|
547
|
-
<testCase name="StringUtils formatBytes should return "512B" when value is 512" duration="
|
|
346
|
+
<testCase name="StringUtils formatBytes should return "512B" when value is 512" duration="0"/>
|
|
548
347
|
<testCase name="StringUtils formatBytes should return "1023B" when value is 1023" duration="0"/>
|
|
549
|
-
<testCase name="StringUtils formatBytes should return "1KB" when value is 1024" duration="
|
|
348
|
+
<testCase name="StringUtils formatBytes should return "1KB" when value is 1024" duration="1"/>
|
|
550
349
|
<testCase name="StringUtils formatBytes should return "1.5KB" when value is 1536" duration="2"/>
|
|
551
|
-
<testCase name="StringUtils formatBytes should return "1MB" when value is 1048576" duration="
|
|
350
|
+
<testCase name="StringUtils formatBytes should return "1MB" when value is 1048576" duration="0"/>
|
|
552
351
|
<testCase name="StringUtils formatBytes should return "1.5MB" when value is 1572864" duration="0"/>
|
|
553
352
|
<testCase name="StringUtils formatBytes should return "1GB" when value is 1073741824" duration="1"/>
|
|
554
353
|
<testCase name="StringUtils formatBytes should return "1.5GB" when value is 1610612736" duration="0"/>
|
|
555
354
|
<testCase name="StringUtils formatBytes should return "1099511627776B" when value is 1099511627776" duration="0"/>
|
|
556
|
-
<testCase name="StringUtils formatBytes should return "-1024B" when value is -1024" duration="
|
|
557
|
-
<testCase name="StringUtils formatBytes should return "NaNundefined" when value is NaN" duration="
|
|
558
|
-
<testCase name="StringUtils formatBytes should return "undefinedB" when value is null" duration="
|
|
355
|
+
<testCase name="StringUtils formatBytes should return "-1024B" when value is -1024" duration="0"/>
|
|
356
|
+
<testCase name="StringUtils formatBytes should return "NaNundefined" when value is NaN" duration="1"/>
|
|
357
|
+
<testCase name="StringUtils formatBytes should return "undefinedB" when value is null" duration="0"/>
|
|
559
358
|
<testCase name="StringUtils formatBytes should return "NaNundefined" when value is undefined" duration="0"/>
|
|
560
359
|
<testCase name="StringUtils prettyPrecision should return "100" when value is "100.00"" duration="1"/>
|
|
561
360
|
<testCase name="StringUtils prettyPrecision should return "123.45" when value is "123.4500"" duration="0"/>
|
|
562
|
-
<testCase name="StringUtils prettyPrecision should return "0.9" when value is "0.900"" duration="
|
|
361
|
+
<testCase name="StringUtils prettyPrecision should return "0.9" when value is "0.900"" duration="0"/>
|
|
563
362
|
<testCase name="StringUtils prettyPrecision should return "5.1" when value is "5.10"" duration="0"/>
|
|
564
|
-
<testCase name="StringUtils prettyPrecision should return "42" when value is "42.0"" duration="
|
|
363
|
+
<testCase name="StringUtils prettyPrecision should return "42" when value is "42.0"" duration="0"/>
|
|
565
364
|
<testCase name="StringUtils prettyPrecision should return "3.14159" when value is "3.14159000"" duration="0"/>
|
|
566
|
-
<testCase name="StringUtils prettyPrecision should return "0" when value is "0.000"" duration="
|
|
365
|
+
<testCase name="StringUtils prettyPrecision should return "0" when value is "0.000"" duration="18"/>
|
|
567
366
|
<testCase name="StringUtils prettyPrecision should return "250" when value is "250"" duration="0"/>
|
|
568
|
-
<testCase name="StringUtils prettyPrecision should return "999.999" when value is "999.999"" duration="
|
|
367
|
+
<testCase name="StringUtils prettyPrecision should return "999.999" when value is "999.999"" duration="1"/>
|
|
569
368
|
<testCase name="StringUtils prettyPrecision should return "100" when value is "100."" duration="1"/>
|
|
570
369
|
<testCase name="StringUtils prettyPrecision should return ".5" when value is ".500"" duration="0"/>
|
|
571
370
|
<testCase name="StringUtils prettyPrecision should return "0" when value is "0."" duration="0"/>
|
|
572
371
|
<testCase name="StringUtils prettyPrecision should return "123.456789" when value is "123.456789000"" duration="1"/>
|
|
573
372
|
<testCase name="StringUtils prettyPrecision should return "0" when value is "0.0"" duration="0"/>
|
|
574
|
-
<testCase name="StringUtils prettyPrecision should return "" when value is """ duration="
|
|
373
|
+
<testCase name="StringUtils prettyPrecision should return "" when value is """ duration="1"/>
|
|
575
374
|
<testCase name="StringUtils isCaseable should return true when value is "hello"" duration="0"/>
|
|
576
|
-
<testCase name="StringUtils isCaseable should return true when value is "HELLO"" duration="
|
|
577
|
-
<testCase name="StringUtils isCaseable should return true when value is "Hello"" duration="
|
|
375
|
+
<testCase name="StringUtils isCaseable should return true when value is "HELLO"" duration="0"/>
|
|
376
|
+
<testCase name="StringUtils isCaseable should return true when value is "Hello"" duration="1"/>
|
|
578
377
|
<testCase name="StringUtils isCaseable should return true when value is "hElLo"" duration="0"/>
|
|
579
|
-
<testCase name="StringUtils isCaseable should return false when value is "12345"" duration="
|
|
580
|
-
<testCase name="StringUtils isCaseable should return true when value is "123ABC"" duration="
|
|
378
|
+
<testCase name="StringUtils isCaseable should return false when value is "12345"" duration="10"/>
|
|
379
|
+
<testCase name="StringUtils isCaseable should return true when value is "123ABC"" duration="1"/>
|
|
581
380
|
<testCase name="StringUtils isCaseable should return true when value is "123abc"" duration="0"/>
|
|
582
381
|
<testCase name="StringUtils isCaseable should return true when value is "123aBc"" duration="0"/>
|
|
583
|
-
<testCase name="StringUtils isCaseable should return false when value is "!@#$%^&*()"" duration="
|
|
382
|
+
<testCase name="StringUtils isCaseable should return false when value is "!@#$%^&*()"" duration="0"/>
|
|
584
383
|
<testCase name="StringUtils isCaseable should return true when value is "hello_world"" duration="0"/>
|
|
585
384
|
<testCase name="StringUtils isCaseable should return true when value is "HELLO-WORLD"" duration="1"/>
|
|
586
385
|
<testCase name="StringUtils isCaseable should return false when value is """ duration="0"/>
|
|
587
|
-
<testCase name="StringUtils isCaseable should return false when value is " "" duration="
|
|
386
|
+
<testCase name="StringUtils isCaseable should return false when value is " "" duration="0"/>
|
|
588
387
|
<testCase name="StringUtils isCaseable should return false when value is "null"" duration="0"/>
|
|
589
388
|
<testCase name="StringUtils isCaseable should return false when value is "undefined"" duration="1"/>
|
|
590
389
|
<testCase name="StringUtils isLowerCase should return true when value is "hello"" duration="0"/>
|
|
591
|
-
<testCase name="StringUtils isLowerCase should return false when value is "HELLO"" duration="
|
|
390
|
+
<testCase name="StringUtils isLowerCase should return false when value is "HELLO"" duration="6"/>
|
|
592
391
|
<testCase name="StringUtils isLowerCase should return true when value is "Hello"" duration="0"/>
|
|
593
|
-
<testCase name="StringUtils isLowerCase should return true when value is "hElLo"" duration="
|
|
392
|
+
<testCase name="StringUtils isLowerCase should return true when value is "hElLo"" duration="0"/>
|
|
594
393
|
<testCase name="StringUtils isLowerCase should return true when value is "hello world"" duration="0"/>
|
|
595
|
-
<testCase name="StringUtils isLowerCase should return true when value is "hello_world"" duration="
|
|
394
|
+
<testCase name="StringUtils isLowerCase should return true when value is "hello_world"" duration="1"/>
|
|
596
395
|
<testCase name="StringUtils isLowerCase should return true when value is "hello-world"" duration="0"/>
|
|
597
|
-
<testCase name="StringUtils isLowerCase should return false when value is "12345"" duration="
|
|
598
|
-
<testCase name="StringUtils isLowerCase should return true when value is "123abc"" duration="
|
|
396
|
+
<testCase name="StringUtils isLowerCase should return false when value is "12345"" duration="0"/>
|
|
397
|
+
<testCase name="StringUtils isLowerCase should return true when value is "123abc"" duration="1"/>
|
|
599
398
|
<testCase name="StringUtils isLowerCase should return false when value is "123ABC"" duration="0"/>
|
|
600
399
|
<testCase name="StringUtils isLowerCase should return false when value is "!@#$%^&*()"" duration="0"/>
|
|
601
|
-
<testCase name="StringUtils isLowerCase should return false when value is """ duration="
|
|
400
|
+
<testCase name="StringUtils isLowerCase should return false when value is """ duration="1"/>
|
|
602
401
|
<testCase name="StringUtils isLowerCase should return false when value is " "" duration="0"/>
|
|
603
402
|
<testCase name="StringUtils isLowerCase should return false when value is "null"" duration="0"/>
|
|
604
|
-
<testCase name="StringUtils isLowerCase should return false when value is "undefined"" duration="
|
|
605
|
-
<testCase name="StringUtils getOppositeCase should return "HELLO" when value is "hello"" duration="
|
|
606
|
-
<testCase name="StringUtils getOppositeCase should return "hello" when value is "HELLO"" duration="
|
|
403
|
+
<testCase name="StringUtils isLowerCase should return false when value is "undefined"" duration="0"/>
|
|
404
|
+
<testCase name="StringUtils getOppositeCase should return "HELLO" when value is "hello"" duration="1"/>
|
|
405
|
+
<testCase name="StringUtils getOppositeCase should return "hello" when value is "HELLO"" duration="69"/>
|
|
607
406
|
<testCase name="StringUtils getOppositeCase should return "HELLO" when value is "Hello"" duration="1"/>
|
|
608
407
|
<testCase name="StringUtils getOppositeCase should return "HELLO" when value is "hElLo"" duration="0"/>
|
|
609
|
-
<testCase name="StringUtils getOppositeCase should return "HELLO WORLD" when value is "hello world"" duration="
|
|
408
|
+
<testCase name="StringUtils getOppositeCase should return "HELLO WORLD" when value is "hello world"" duration="1"/>
|
|
610
409
|
<testCase name="StringUtils getOppositeCase should return "hello world" when value is "HELLO WORLD"" duration="0"/>
|
|
611
|
-
<testCase name="StringUtils getOppositeCase should return "HELLO_WORLD" when value is "hello_world"" duration="
|
|
410
|
+
<testCase name="StringUtils getOppositeCase should return "HELLO_WORLD" when value is "hello_world"" duration="1"/>
|
|
612
411
|
<testCase name="StringUtils getOppositeCase should return "hello_world" when value is "HELLO_WORLD"" duration="0"/>
|
|
613
412
|
<testCase name="StringUtils getOppositeCase should return "HELLO-WORLD" when value is "hello-world"" duration="0"/>
|
|
614
|
-
<testCase name="StringUtils getOppositeCase should return "hello-world" when value is "HELLO-WORLD"" duration="
|
|
413
|
+
<testCase name="StringUtils getOppositeCase should return "hello-world" when value is "HELLO-WORLD"" duration="0"/>
|
|
615
414
|
<testCase name="StringUtils getOppositeCase should return "12345" when value is "12345"" duration="0"/>
|
|
616
|
-
<testCase name="StringUtils getOppositeCase should return "123ABC" when value is "123abc"" duration="
|
|
415
|
+
<testCase name="StringUtils getOppositeCase should return "123ABC" when value is "123abc"" duration="1"/>
|
|
617
416
|
<testCase name="StringUtils getOppositeCase should return "123abc" when value is "123ABC"" duration="0"/>
|
|
618
417
|
<testCase name="StringUtils getOppositeCase should return "!@#$%^&*()" when value is "!@#$%^&*()"" duration="1"/>
|
|
619
418
|
<testCase name="StringUtils getOppositeCase should return "" when value is """ duration="0"/>
|
|
620
419
|
<testCase name="StringUtils getOppositeCase should return " " when value is " "" duration="0"/>
|
|
621
420
|
<testCase name="StringUtils getOppositeCase should return "" when value is "null"" duration="1"/>
|
|
622
421
|
<testCase name="StringUtils getOppositeCase should return "" when value is "undefined"" duration="0"/>
|
|
623
|
-
<testCase name="StringUtils getSpecialCharacters should return [] when value is "hello"" duration="
|
|
422
|
+
<testCase name="StringUtils getSpecialCharacters should return [] when value is "hello"" duration="1"/>
|
|
624
423
|
<testCase name="StringUtils getSpecialCharacters should return ["@","."] when value is "hello@world.com"" duration="1"/>
|
|
625
424
|
<testCase name="StringUtils getSpecialCharacters should return [":","$","."] when value is "price: $100.00"" duration="0"/>
|
|
626
425
|
<testCase name="StringUtils getSpecialCharacters should return ["%","!"] when value is "50% discount!"" duration="0"/>
|
|
627
426
|
<testCase name="StringUtils getSpecialCharacters should return [":","\\","\\"] when value is "C:\Users\Admin"" duration="0"/>
|
|
628
427
|
<testCase name="StringUtils getSpecialCharacters should return [":","/","/","."] when value is "https://example.com"" duration="1"/>
|
|
629
428
|
<testCase name="StringUtils getSpecialCharacters should return ["."] when value is "filename.txt"" duration="0"/>
|
|
630
|
-
<testCase name="StringUtils getSpecialCharacters should return ["=","+","-","*","/"] when value is "sum = a + b - c * d / e"" duration="
|
|
631
|
-
<testCase name="StringUtils getSpecialCharacters should return ["#","@","!"] when value is "#hashtag @user!"" duration="
|
|
429
|
+
<testCase name="StringUtils getSpecialCharacters should return ["=","+","-","*","/"] when value is "sum = a + b - c * d / e"" duration="2"/>
|
|
430
|
+
<testCase name="StringUtils getSpecialCharacters should return ["#","@","!"] when value is "#hashtag @user!"" duration="0"/>
|
|
632
431
|
<testCase name="StringUtils getSpecialCharacters should return ["(",")","&","["] when value is "(parentheses) & [brackets] {curly}"" duration="0"/>
|
|
633
432
|
<testCase name="StringUtils getSpecialCharacters should return ["_","-"] when value is "one_two-three"" duration="0"/>
|
|
634
433
|
<testCase name="StringUtils getSpecialCharacters should return ["+","@","."] when value is "email+alias@gmail.com"" duration="0"/>
|
|
@@ -636,125 +435,326 @@
|
|
|
636
435
|
<testCase name="StringUtils getSpecialCharacters should return [] when value is """ duration="0"/>
|
|
637
436
|
<testCase name="StringUtils getSpecialCharacters should return [] when value is " "" duration="0"/>
|
|
638
437
|
<testCase name="StringUtils getSpecialCharacters should return [] when value is "null"" duration="0"/>
|
|
639
|
-
<testCase name="StringUtils getSpecialCharacters should return [] when value is "undefined"" duration="
|
|
640
|
-
<testCase name="StringUtils getArgumentNumber should return 42 when value is "42"" duration="
|
|
438
|
+
<testCase name="StringUtils getSpecialCharacters should return [] when value is "undefined"" duration="1"/>
|
|
439
|
+
<testCase name="StringUtils getArgumentNumber should return 42 when value is "42"" duration="0"/>
|
|
641
440
|
<testCase name="StringUtils getArgumentNumber should return 3.14 when value is "3.14"" duration="1"/>
|
|
642
|
-
<testCase name="StringUtils getArgumentNumber should return -100 when value is "-100"" duration="
|
|
441
|
+
<testCase name="StringUtils getArgumentNumber should return -100 when value is "-100"" duration="1"/>
|
|
643
442
|
<testCase name="StringUtils getArgumentNumber should return 0 when value is "0"" duration="0"/>
|
|
644
|
-
<testCase name="StringUtils getArgumentNumber should return NaN when value is """ duration="
|
|
443
|
+
<testCase name="StringUtils getArgumentNumber should return NaN when value is """ duration="3"/>
|
|
645
444
|
<testCase name="StringUtils getArgumentNumber should return NaN when value is "abc"" duration="0"/>
|
|
646
|
-
<testCase name="StringUtils getArgumentNumber should return NaN when value is "123abc"" duration="
|
|
445
|
+
<testCase name="StringUtils getArgumentNumber should return NaN when value is "123abc"" duration="1"/>
|
|
647
446
|
<testCase name="StringUtils getArgumentNumber should return 50 when value is " 50 "" duration="0"/>
|
|
648
|
-
<testCase name="StringUtils getArgumentNumber should return 1000 when value is "1e3"" duration="
|
|
447
|
+
<testCase name="StringUtils getArgumentNumber should return 1000 when value is "1e3"" duration="1"/>
|
|
649
448
|
<testCase name="StringUtils getArgumentNumber should return Infinity when value is "Infinity"" duration="0"/>
|
|
650
|
-
<testCase name="StringUtils getArgumentNumber should return -Infinity when value is "-Infinity"" duration="
|
|
449
|
+
<testCase name="StringUtils getArgumentNumber should return -Infinity when value is "-Infinity"" duration="1"/>
|
|
651
450
|
<testCase name="StringUtils getArgumentNumber should return NaN when value is "null"" duration="0"/>
|
|
652
|
-
<testCase name="StringUtils getArgumentNumber should return NaN when value is "undefined"" duration="
|
|
653
|
-
<testCase name="StringUtils highlightValue should return "<span class='card-item__highlight'>hello</span> world" when value is "hello world" and argument is "hello"" duration="
|
|
451
|
+
<testCase name="StringUtils getArgumentNumber should return NaN when value is "undefined"" duration="1"/>
|
|
452
|
+
<testCase name="StringUtils highlightValue should return "<span class='card-item__highlight'>hello</span> world" when value is "hello world" and argument is "hello"" duration="74"/>
|
|
654
453
|
<testCase name="StringUtils highlightValue should return "hello <span class='card-item__highlight'>world</span>" when value is "hello world" and argument is "world"" duration="1"/>
|
|
655
454
|
<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"/>
|
|
656
455
|
<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"/>
|
|
657
456
|
<testCase name="StringUtils highlightValue should return "<span class='card-item__highlight'>hello</span> hello" when value is "hello hello" and argument is "hello"" duration="1"/>
|
|
658
|
-
<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="
|
|
659
|
-
<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"/>
|
|
457
|
+
<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="4"/>
|
|
660
458
|
<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"/>
|
|
661
|
-
<testCase name="StringUtils highlightValue should return "<span class='card-item__highlight'>
|
|
459
|
+
<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"/>
|
|
460
|
+
<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"/>
|
|
662
461
|
<testCase name="StringUtils highlightValue should return "hello!" when value is "hello!" and argument is "!"" duration="0"/>
|
|
663
462
|
<testCase name="StringUtils highlightValue should return "hello world" when value is "hello world" and argument is """ duration="1"/>
|
|
664
463
|
<testCase name="StringUtils highlightValue should return "hello world" when value is "hello world" and argument is "null"" duration="0"/>
|
|
665
|
-
<testCase name="StringUtils highlightValue should return "" when value is "" and argument is "hello"" duration="
|
|
464
|
+
<testCase name="StringUtils highlightValue should return "" when value is "" and argument is "hello"" duration="0"/>
|
|
465
|
+
</file>
|
|
466
|
+
<file path="/builds/dti/design-system/sankhyacore/test/util/NumberUtils.spec.ts">
|
|
467
|
+
<testCase name="NumberUtils stringToNumber should return 100 when value is 100" duration="1"/>
|
|
468
|
+
<testCase name="NumberUtils stringToNumber should return 100.12 when value is 100,12" duration="1"/>
|
|
469
|
+
<testCase name="NumberUtils stringToNumber should return 11500.12 when value is 11500,12" duration="0"/>
|
|
470
|
+
<testCase name="NumberUtils stringToNumber should return 11500 when value is 11500" duration="3"/>
|
|
471
|
+
<testCase name="NumberUtils stringToNumber should return 1 when value is 1.000" duration="1"/>
|
|
472
|
+
<testCase name="NumberUtils stringToNumber should return 11500.003 when value is 11.500,003" duration="0"/>
|
|
473
|
+
<testCase name="NumberUtils stringToNumber should return -100 when value is -100" duration="0"/>
|
|
474
|
+
<testCase name="NumberUtils stringToNumber should return -100.12 when value is -100,12" duration="1"/>
|
|
475
|
+
<testCase name="NumberUtils stringToNumber should return -11500.1 when value is -11500,1" duration="0"/>
|
|
476
|
+
<testCase name="NumberUtils stringToNumber should return -11500 when value is -11500" duration="0"/>
|
|
477
|
+
<testCase name="NumberUtils stringToNumber should return -11500.003 when value is -11.500,003" duration="1"/>
|
|
478
|
+
<testCase name="NumberUtils stringToNumber should return 100 when value is R$100" duration="0"/>
|
|
479
|
+
<testCase name="NumberUtils stringToNumber should return 100.12 when value is R$100,12" duration="0"/>
|
|
480
|
+
<testCase name="NumberUtils stringToNumber should return 11500.12 when value is R$11500,12" duration="0"/>
|
|
481
|
+
<testCase name="NumberUtils stringToNumber should return 11500 when value is R$11500" duration="0"/>
|
|
482
|
+
<testCase name="NumberUtils stringToNumber should return 11500.003 when value is R$11.500,003" duration="1"/>
|
|
483
|
+
<testCase name="NumberUtils stringToNumber should return -100 when value is -R$100" duration="0"/>
|
|
484
|
+
<testCase name="NumberUtils stringToNumber should return -100.12 when value is -R$100,12" duration="0"/>
|
|
485
|
+
<testCase name="NumberUtils stringToNumber should return -11500.12 when value is -R$11500,12" duration="1"/>
|
|
486
|
+
<testCase name="NumberUtils stringToNumber should return -11500 when value is -R$11500" duration="0"/>
|
|
487
|
+
<testCase name="NumberUtils stringToNumber should return -11500.003 when value is -R$11.500,003" duration="0"/>
|
|
488
|
+
<testCase name="NumberUtils stringToNumber should return NaN when value is " duration="1"/>
|
|
489
|
+
<testCase name="NumberUtils stringToNumber should return NaN when value is OrdinaryString" duration="0"/>
|
|
490
|
+
<testCase name="NumberUtils stringToNumber should return NaN when value is 100.167.80" duration="1"/>
|
|
491
|
+
<testCase name="NumberUtils stringToNumber should return NaN when value is uahsuhas,auhsuhasu" duration="0"/>
|
|
492
|
+
<testCase name="NumberUtils stringToNumber should return NaN when value is 100,100,100" duration="0"/>
|
|
493
|
+
<testCase name="NumberUtils stringToNumber should return NaN when value is OrdinaryString,.OrdinaryString" duration="1"/>
|
|
494
|
+
<testCase name="NumberUtils stringToNumber should return NaN when value is OrdinaryString.,OrdinaryString" duration="0"/>
|
|
495
|
+
<testCase name="NumberUtils stringToNumber should return 0.121212 when value is .121212" duration="0"/>
|
|
496
|
+
<testCase name="NumberUtils stringToNumber should return 0.121212 when value is ,121212" duration="0"/>
|
|
497
|
+
<testCase name="NumberUtils stringToNumber should return NaN when value is 1,232,333.345" duration="0"/>
|
|
498
|
+
<testCase name="NumberUtils stringToNumber should return 1232333.345 when value is 1232333,345" duration="0"/>
|
|
499
|
+
<testCase name="NumberUtils format should return 1.200.999,3333 when: [ value: 1.200.999,3333, precision: 4, prettyPrecision: 2 ]" duration="86"/>
|
|
500
|
+
<testCase name="NumberUtils format should return 1,0 when: [ value: 1.000, precision: 2, prettyPrecision: 1 ]" duration="1"/>
|
|
501
|
+
<testCase name="NumberUtils format should return 1.200.999,99 when: [ value: 1200999,99, precision: 2, prettyPrecision: 1 ]" duration="1"/>
|
|
502
|
+
<testCase name="NumberUtils format should return NaN when: [ value: 1,232,333.345, precision: 4, prettyPrecision: 2 ]" duration="0"/>
|
|
503
|
+
<testCase name="NumberUtils format should return 1,23 when: [ value: 1,23, precision: 2, prettyPrecision: 1 ]" duration="1"/>
|
|
504
|
+
<testCase name="NumberUtils format should return NaN when: [ value: 1.200.999, precision: 4, prettyPrecision: 2 ]" duration="0"/>
|
|
505
|
+
<testCase name="NumberUtils format should return 1.200 when: [ value: 1200.00001, precision: 4, prettyPrecision: 0 ]" duration="1"/>
|
|
506
|
+
<testCase name="NumberUtils format should return NaN when: [ value: String, precision: 4, prettyPrecision: 0 ]" duration="80"/>
|
|
507
|
+
<testCase name="NumberUtils format should return NaN when: [ value: , precision: 4, prettyPrecision: 0 ]" duration="0"/>
|
|
508
|
+
<testCase name="NumberUtils format should return 1.200.999,3333 when: [ value: 1.200.999,3333, precision: 4, prettyPrecision: undefined ]" duration="1"/>
|
|
509
|
+
<testCase name="NumberUtils format should return 1,00 when: [ value: 1.000, precision: 2, prettyPrecision: undefined ]" duration="0"/>
|
|
510
|
+
<testCase name="NumberUtils format should return 1.200.999,99 when: [ value: 1200999,99, precision: 2, prettyPrecision: undefined ]" duration="0"/>
|
|
511
|
+
<testCase name="NumberUtils format should return NaN when: [ value: 1,232,333.345, precision: 4, prettyPrecision: undefined ]" duration="1"/>
|
|
512
|
+
<testCase name="NumberUtils format should return 1,23 when: [ value: 1,23, precision: 2, prettyPrecision: undefined ]" duration="0"/>
|
|
513
|
+
<testCase name="NumberUtils format should return NaN when: [ value: 1.200.999, precision: 4, prettyPrecision: undefined ]" duration="1"/>
|
|
514
|
+
<testCase name="NumberUtils format should return NaN when: [ value: NaN, precision: 4, prettyPrecision: undefined ]" duration="0"/>
|
|
515
|
+
<testCase name="NumberUtils format should return 111,2 when: [ value: 111,199, precision: 1, prettyPrecision: -1 ]" duration="78"/>
|
|
516
|
+
<testCase name="NumberUtils format should return 111,1 when: [ value: 111,1000, precision: 1, prettyPrecision: -1 ]" duration="1"/>
|
|
517
|
+
<testCase name="NumberUtils format should return 111,1 when: [ value: 111,100, precision: 1, prettyPrecision: 1.3 ]" duration="0"/>
|
|
518
|
+
<testCase name="NumberUtils format should return 111,1009 when: [ value: 111,1009, precision: -1, prettyPrecision: 1 ]" duration="1"/>
|
|
519
|
+
<testCase name="NumberUtils format should return 111,1 when: [ value: 111,1000, precision: -1, prettyPrecision: 1 ]" duration="0"/>
|
|
520
|
+
<testCase name="NumberUtils format should return 111,1009 when: [ value: 111,1009, precision: 1.2, prettyPrecision: 1 ]" duration="0"/>
|
|
521
|
+
<testCase name="NumberUtils format should return 111,20 when: [ value: 111,199, precision: 2, prettyPrecision: -1 ]" duration="1"/>
|
|
522
|
+
<testCase name="NumberUtils format should return 111,10 when: [ value: 111,1000, precision: 2, prettyPrecision: -1 ]" duration="0"/>
|
|
523
|
+
<testCase name="NumberUtils format should return 111,1009 when: [ value: 111,1009, precision: -2, prettyPrecision: 1 ]" duration="1"/>
|
|
524
|
+
<testCase name="NumberUtils format should return 111,1 when: [ value: 111,1000, precision: -2, prettyPrecision: 1 ]" duration="0"/>
|
|
525
|
+
<testCase name="NumberUtils changeFormat should return 1,200,999 when value is 1.200.999" duration="1"/>
|
|
526
|
+
<testCase name="NumberUtils changeFormat should return 1,000.99 when value is 1.000,99" duration="0"/>
|
|
527
|
+
<testCase name="NumberUtils changeFormat should return 1200999.99 when value is 1200999,99" duration="1"/>
|
|
528
|
+
<testCase name="NumberUtils changeFormat should return R$ 1.232.333,345 when value is R$ 1,232,333.345" duration="0"/>
|
|
529
|
+
<testCase name="NumberUtils changeFormat should return R$ 1,232,333.345 when value is R$ 1.232.333,345" duration="0"/>
|
|
530
|
+
<testCase name="NumberUtils keepOnlyDecimalSeparator should return 1200999 when: [ value: 1.200.999, formatNumber: pt-BR ]" duration="1"/>
|
|
531
|
+
<testCase name="NumberUtils keepOnlyDecimalSeparator should return 1000,99 when: [ value: 1000,99, formatNumber: pt-BR ]" duration="0"/>
|
|
532
|
+
<testCase name="NumberUtils keepOnlyDecimalSeparator should return 1200999,99 when: [ value: 1200999,99, formatNumber: pt-BR ]" duration="0"/>
|
|
533
|
+
<testCase name="NumberUtils keepOnlyDecimalSeparator should return R$ 1232333,345 when: [ value: R$ 1.232.333,345, formatNumber: pt-BR ]" duration="1"/>
|
|
534
|
+
<testCase name="NumberUtils keepOnlyDecimalSeparator should return 1200999 when: [ value: 1,200,999, formatNumber: en-US ]" duration="0"/>
|
|
535
|
+
<testCase name="NumberUtils keepOnlyDecimalSeparator should return 1000.99 when: [ value: 1,000.99, formatNumber: en-US ]" duration="0"/>
|
|
536
|
+
<testCase name="NumberUtils keepOnlyDecimalSeparator should return 1200999.99 when: [ value: 1200999.99, formatNumber: en-US ]" duration="0"/>
|
|
537
|
+
<testCase name="NumberUtils keepOnlyDecimalSeparator should return EUR 1232333.345 when: [ value: EUR 1,232,333.345, formatNumber: en-US ]" duration="0"/>
|
|
538
|
+
<testCase name="NumberUtils round should return 100.12 when: [ value: 100.12, decimal: undefined ]" duration="1"/>
|
|
539
|
+
<testCase name="NumberUtils round should return 100.1 when: [ value: 100.12, decimal: 1 ]" duration="0"/>
|
|
540
|
+
<testCase name="NumberUtils round should return 100.12 when: [ value: 100.12, decimal: 2 ]" duration="1"/>
|
|
541
|
+
<testCase name="NumberUtils round should return 100.12 when: [ value: 100.12, decimal: 3 ]" duration="0"/>
|
|
542
|
+
<testCase name="NumberUtils round should return 100.2 when: [ value: 100.15, decimal: 1 ]" duration="0"/>
|
|
543
|
+
<testCase name="NumberUtils round should return 100.15 when: [ value: 100.15, decimal: 2 ]" duration="0"/>
|
|
544
|
+
<testCase name="NumberUtils round should return 100.15 when: [ value: 100.15, decimal: 3 ]" duration="0"/>
|
|
545
|
+
<testCase name="NumberUtils round should return 100.2 when: [ value: 100.16, decimal: 1 ]" duration="0"/>
|
|
546
|
+
<testCase name="NumberUtils round should return 100.16 when: [ value: 100.16, decimal: 2 ]" duration="0"/>
|
|
547
|
+
<testCase name="NumberUtils round should return 100.16 when: [ value: 100.16, decimal: 3 ]" duration="0"/>
|
|
548
|
+
<testCase name="NumberUtils round should return 2118000000000.0002 when: [ value: 2118000000000.0002, decimal: 12 ]" duration="0"/>
|
|
549
|
+
<testCase name="NumberUtils round should return 123.45 when: [ value: 123.45, decimal: 5 ]" duration="1"/>
|
|
550
|
+
<testCase name="NumberUtils round should return 123 when: [ value: 123.45, decimal: 0 ]" duration="0"/>
|
|
551
|
+
<testCase name="NumberUtils safeFormat should return 1.200.999,3333 when: [ value: 1.200.999,3333, precision: 4, prettyPrecision: 2 ]" duration="1"/>
|
|
552
|
+
<testCase name="NumberUtils safeFormat should return 1,0 when: [ value: 1.000, precision: 2, prettyPrecision: 1 ]" duration="0"/>
|
|
553
|
+
<testCase name="NumberUtils safeFormat should return 1.200.999,99 when: [ value: 1200999,99, precision: 2, prettyPrecision: 1 ]" duration="0"/>
|
|
554
|
+
<testCase name="NumberUtils safeFormat should return 0,00 when: [ value: 1,232,333.345, precision: 4, prettyPrecision: 2 ]" duration="1"/>
|
|
555
|
+
<testCase name="NumberUtils safeFormat should return 1,23 when: [ value: 1,23, precision: 2, prettyPrecision: 1 ]" duration="0"/>
|
|
556
|
+
<testCase name="NumberUtils safeFormat should return 0,00 when: [ value: 1.200.999, precision: 4, prettyPrecision: 2 ]" duration="1"/>
|
|
557
|
+
<testCase name="NumberUtils safeFormat should return 1.200 when: [ value: 1200.00001, precision: 4, prettyPrecision: 0 ]" duration="0"/>
|
|
558
|
+
<testCase name="NumberUtils safeFormat should return 0,00 when: [ value: String, precision: 4, prettyPrecision: 0 ]" duration="1"/>
|
|
559
|
+
<testCase name="NumberUtils safeFormat should return 0,00 when: [ value: , precision: 4, prettyPrecision: 0 ]" duration="0"/>
|
|
560
|
+
<testCase name="NumberUtils safeFormat should return 1.200.999,3333 when: [ value: 1.200.999,3333, precision: 4, prettyPrecision: undefined ]" duration="1"/>
|
|
561
|
+
<testCase name="NumberUtils safeFormat should return 1,00 when: [ value: 1.000, precision: 2, prettyPrecision: undefined ]" duration="0"/>
|
|
562
|
+
<testCase name="NumberUtils safeFormat should return 1.200.999,99 when: [ value: 1200999,99, precision: 2, prettyPrecision: undefined ]" duration="1"/>
|
|
563
|
+
<testCase name="NumberUtils safeFormat should return 0,00 when: [ value: 1,232,333.345, precision: 4, prettyPrecision: undefined ]" duration="0"/>
|
|
564
|
+
<testCase name="NumberUtils safeFormat should return 1,23 when: [ value: 1,23, precision: 2, prettyPrecision: undefined ]" duration="1"/>
|
|
565
|
+
<testCase name="NumberUtils safeFormat should return 0,00 when: [ value: 1.200.999, precision: 4, prettyPrecision: undefined ]" duration="0"/>
|
|
566
|
+
<testCase name="NumberUtils safeFormat should return 0,00 when: [ value: NaN, precision: 4, prettyPrecision: undefined ]" duration="1"/>
|
|
567
|
+
<testCase name="NumberUtils safeFormat should return 111,2 when: [ value: 111,199, precision: 1, prettyPrecision: -1 ]" duration="0"/>
|
|
568
|
+
<testCase name="NumberUtils safeFormat should return 111,1 when: [ value: 111,1000, precision: 1, prettyPrecision: -1 ]" duration="1"/>
|
|
569
|
+
<testCase name="NumberUtils safeFormat should return 111,1 when: [ value: 111,100, precision: 1, prettyPrecision: 1.3 ]" duration="0"/>
|
|
570
|
+
<testCase name="NumberUtils safeFormat should return 111,1009 when: [ value: 111,1009, precision: -1, prettyPrecision: 1 ]" duration="0"/>
|
|
571
|
+
<testCase name="NumberUtils safeFormat should return 111,1 when: [ value: 111,1000, precision: -1, prettyPrecision: 1 ]" duration="1"/>
|
|
572
|
+
<testCase name="NumberUtils safeFormat should return 111,1009 when: [ value: 111,1009, precision: 1.2, prettyPrecision: 1 ]" duration="0"/>
|
|
573
|
+
<testCase name="NumberUtils safeFormat should return 111,20 when: [ value: 111,199, precision: 2, prettyPrecision: -1 ]" duration="0"/>
|
|
574
|
+
<testCase name="NumberUtils safeFormat should return 111,10 when: [ value: 111,1000, precision: 2, prettyPrecision: -1 ]" duration="1"/>
|
|
575
|
+
<testCase name="NumberUtils safeFormat should return 111,1009 when: [ value: 111,1009, precision: -2, prettyPrecision: 1 ]" duration="0"/>
|
|
576
|
+
<testCase name="NumberUtils safeFormat should return 111,1 when: [ value: 111,1000, precision: -2, prettyPrecision: 1 ]" duration="0"/>
|
|
577
|
+
<testCase name="NumberUtils getValueOrDefault should return 0 when value is undefined" duration="1"/>
|
|
578
|
+
<testCase name="NumberUtils getValueOrDefault should return 10 when value is null" duration="64"/>
|
|
579
|
+
<testCase name="NumberUtils getValueOrDefault should return 5 when value is " duration="1"/>
|
|
580
|
+
<testCase name="NumberUtils getValueOrDefault should return 7 when value is " duration="1"/>
|
|
581
|
+
<testCase name="NumberUtils getValueOrDefault should return 123 when value is 123" duration="0"/>
|
|
582
|
+
<testCase name="NumberUtils getValueOrDefault should return -123 when value is -123" duration="1"/>
|
|
583
|
+
<testCase name="NumberUtils getValueOrDefault should return 123.45 when value is 123.45" duration="0"/>
|
|
584
|
+
<testCase name="NumberUtils getValueOrDefault should return 8 when value is abc" duration="0"/>
|
|
585
|
+
<testCase name="NumberUtils getValueOrDefault should return 15 when value is NaN" duration="1"/>
|
|
586
|
+
<testCase name="NumberUtils getValueOrDefault should return 0 when value is 0" duration="0"/>
|
|
587
|
+
<testCase name="NumberUtils getValueOrDefault should return 42 when value is 42" duration="1"/>
|
|
588
|
+
<testCase name="NumberUtils getValueOrDefault should return -42 when value is -42" duration="0"/>
|
|
589
|
+
<testCase name="NumberUtils getValueOrDefault should return 0 when value is 0" duration="1"/>
|
|
590
|
+
<testCase name="NumberUtils getValueOrDefault should return 50 when value is NaN" duration="0"/>
|
|
591
|
+
<testCase name="NumberUtils getValueOrZero should return 0 when value is undefined" duration="1"/>
|
|
592
|
+
<testCase name="NumberUtils getValueOrZero should return 0 when value is null" duration="0"/>
|
|
593
|
+
<testCase name="NumberUtils getValueOrZero should return 0 when value is " duration="1"/>
|
|
594
|
+
<testCase name="NumberUtils getValueOrZero should return 0 when value is " duration="0"/>
|
|
595
|
+
<testCase name="NumberUtils getValueOrZero should return 123 when value is 123" duration="1"/>
|
|
596
|
+
<testCase name="NumberUtils getValueOrZero should return -123 when value is -123" duration="0"/>
|
|
597
|
+
<testCase name="NumberUtils getValueOrZero should return 123.45 when value is 123.45" duration="0"/>
|
|
598
|
+
<testCase name="NumberUtils getValueOrZero should return 0 when value is abc" duration="1"/>
|
|
599
|
+
<testCase name="NumberUtils getValueOrZero should return 0 when value is NaN" duration="0"/>
|
|
600
|
+
<testCase name="NumberUtils getValueOrZero should return 0 when value is 0" duration="0"/>
|
|
601
|
+
<testCase name="NumberUtils getValueOrZero should return 42 when value is 42" duration="1"/>
|
|
602
|
+
<testCase name="NumberUtils getValueOrZero should return -42 when value is -42" duration="1"/>
|
|
603
|
+
<testCase name="NumberUtils getValueOrZero should return 0 when value is 0" duration="1"/>
|
|
604
|
+
<testCase name="NumberUtils getValueOrZero should return 0 when value is NaN" duration="1"/>
|
|
605
|
+
<testCase name="NumberUtils compare should return 1 when comparing 10 and 5" duration="1"/>
|
|
606
|
+
<testCase name="NumberUtils compare should return -1 when comparing 5 and 10" duration="0"/>
|
|
607
|
+
<testCase name="NumberUtils compare should return 0 when comparing 5 and 5" duration="1"/>
|
|
608
|
+
<testCase name="NumberUtils compare should return -1 when comparing -10 and -5" duration="0"/>
|
|
609
|
+
<testCase name="NumberUtils compare should return 1 when comparing -5 and -10" duration="1"/>
|
|
610
|
+
<testCase name="NumberUtils compare should return 0 when comparing 0 and 0" duration="0"/>
|
|
611
|
+
<testCase name="NumberUtils compare should return 1 when comparing 0 and -1" duration="0"/>
|
|
612
|
+
<testCase name="NumberUtils compare should return -1 when comparing -1 and 0" duration="0"/>
|
|
613
|
+
</file>
|
|
614
|
+
<file path="/builds/dti/design-system/sankhyacore/test/util/TimeFormatter.spec.ts">
|
|
615
|
+
<testCase name="TimeFormatter prepareValue Case: input string unformated with showSeconds" duration="3"/>
|
|
616
|
+
<testCase name="TimeFormatter prepareValue Case: input string unformated without showSeconds" duration="1"/>
|
|
617
|
+
<testCase name="TimeFormatter prepareValue should format valid time without seconds" duration="1"/>
|
|
618
|
+
<testCase name="TimeFormatter prepareValue should format valid time with seconds" duration="1"/>
|
|
619
|
+
<testCase name="TimeFormatter prepareValue should pad input with leading zeros for proper format" duration="72"/>
|
|
620
|
+
<testCase name="TimeFormatter prepareValue should return an empty string for invalid input" duration="1"/>
|
|
621
|
+
<testCase name="TimeFormatter prepareValue should throw error when recieveng string" duration="23"/>
|
|
622
|
+
<testCase name="TimeFormatter prepareValue should handle edge cases correctly" duration="1"/>
|
|
623
|
+
<testCase name="TimeFormatter prepareValue should format partially filled times correctly" duration="1"/>
|
|
624
|
+
<testCase name="TimeFormatter validateTime should be false when [ value: 2525, showSeconds: false" duration="1"/>
|
|
625
|
+
<testCase name="TimeFormatter validateTime should be false when [ value: 2525, showSeconds: true" duration="0"/>
|
|
626
|
+
<testCase name="TimeFormatter validateTime should be true when [ value: 232920, showSeconds: true" duration="0"/>
|
|
627
|
+
<testCase name="TimeFormatter validateTime should be true when [ value: 232920, showSeconds: false" duration="0"/>
|
|
628
|
+
<testCase name="TimeFormatter validateTime should be true when [ value: 1012, showSeconds: false" duration="1"/>
|
|
629
|
+
<testCase name="TimeFormatter validateTime should be true when [ value: 0012, showSeconds: false" duration="0"/>
|
|
630
|
+
<testCase name="TimeFormatter validateTime should be true when [ value: 2359, showSeconds: false" duration="0"/>
|
|
631
|
+
<testCase name="TimeFormatter validateTime should be true when [ value: 101200, showSeconds: true" duration="0"/>
|
|
632
|
+
<testCase name="TimeFormatter validateTime should be true when [ value: 000000, showSeconds: true" duration="1"/>
|
|
633
|
+
<testCase name="TimeFormatter validateTime should be true when [ value: 235959, showSeconds: true" duration="0"/>
|
|
634
|
+
<testCase name="TimeFormatter validateTime should be false when [ value: 2460, showSeconds: false" duration="0"/>
|
|
635
|
+
<testCase name="TimeFormatter validateTime should be false when [ value: 2500, showSeconds: false" duration="0"/>
|
|
636
|
+
<testCase name="TimeFormatter validateTime should be false when [ value: 9900, showSeconds: false" duration="0"/>
|
|
637
|
+
<testCase name="TimeFormatter validateTime should be false when [ value: 1260, showSeconds: false" duration="0"/>
|
|
638
|
+
<testCase name="TimeFormatter validateTime should be false when [ value: 1275, showSeconds: false" duration="1"/>
|
|
639
|
+
<testCase name="TimeFormatter validateTime should be false when [ value: 101260, showSeconds: true" duration="0"/>
|
|
640
|
+
<testCase name="TimeFormatter validateTime should be false when [ value: 101275, showSeconds: true" duration="0"/>
|
|
641
|
+
<testCase name="TimeFormatter validateTime should be false when [ value: , showSeconds: false" duration="0"/>
|
|
642
|
+
<testCase name="TimeFormatter validateTime should be false when [ value: null, showSeconds: false" duration="1"/>
|
|
643
|
+
<testCase name="TimeFormatter validateTime should be false when [ value: undefined, showSeconds: false" duration="0"/>
|
|
644
|
+
<testCase name="TimeFormatter validateTime should be false when [ value: abcd, showSeconds: false" duration="0"/>
|
|
645
|
+
<testCase name="TimeFormatter validateTime should be false when [ value: 14e4, showSeconds: false" duration="0"/>
|
|
646
|
+
<testCase name="TimeFormatter validateTime should be true when [ value: 10:12, showSeconds: false" duration="1"/>
|
|
647
|
+
<testCase name="TimeFormatter validateTime should be true when [ value: 0000, showSeconds: false" duration="1"/>
|
|
648
|
+
<testCase name="TimeFormatter validateTime should be true when [ value: 2359, showSeconds: false" duration="0"/>
|
|
649
|
+
<testCase name="TimeFormatter validateTime should be true when [ value: 000000, showSeconds: true" duration="0"/>
|
|
650
|
+
<testCase name="TimeFormatter validateTime should be true when [ value: 235959, showSeconds: true" duration="1"/>
|
|
651
|
+
<testCase name="TimeFormatter validateTime should be false when [ value: 1, showSeconds: false" duration="0"/>
|
|
652
|
+
<testCase name="TimeFormatter validateTime should be false when [ value: 12, showSeconds: false" duration="0"/>
|
|
653
|
+
<testCase name="TimeFormatter validateTime should be true when [ value: 123, showSeconds: false" duration="0"/>
|
|
654
|
+
<testCase name="TimeFormatter validateTime should be true when [ value: 12345, showSeconds: true" duration="1"/>
|
|
655
|
+
</file>
|
|
656
|
+
<file path="/builds/dti/design-system/sankhyacore/test/http/HttpProvider.spec.ts">
|
|
657
|
+
<testCase name="HttpProvider Metodo GET" duration="1"/>
|
|
658
|
+
</file>
|
|
659
|
+
<file path="/builds/dti/design-system/sankhyacore/test/http/SkwHttpProvider.ts.spec.ts">
|
|
660
|
+
<testCase name="HttpProvider Metodo POST" duration="8"/>
|
|
661
|
+
</file>
|
|
662
|
+
<file path="/builds/dti/design-system/sankhyacore/test/util/CriteriaParameter.spec.ts">
|
|
663
|
+
<testCase name="StringUtils it should return the correct values of "value" and "type" through the getters methods initial setted by the constructor" duration="2"/>
|
|
664
|
+
<testCase name="StringUtils it should return the correct values of "value" and "type" through the getters methods initial setted by the setters methods" duration="69"/>
|
|
665
|
+
<testCase name="StringUtils it should return the correct JSON/Object value through the buildParam method" duration="1"/>
|
|
666
666
|
</file>
|
|
667
667
|
<file path="/builds/dti/design-system/sankhyacore/src/dataunit/state/slice/test/RecordsSlice.spec.ts">
|
|
668
|
-
<testCase name="RecordsSlice should return newlines at the end" duration="
|
|
668
|
+
<testCase name="RecordsSlice should return newlines at the end" duration="67"/>
|
|
669
|
+
</file>
|
|
670
|
+
<file path="/builds/dti/design-system/sankhyacore/src/dataunit/test/DataUnit.spec.ts">
|
|
671
|
+
<testCase name="DataUnit should return false when not waiting to reload" duration="2"/>
|
|
672
|
+
<testCase name="DataUnit should set waitingToReload to true" duration="0"/>
|
|
673
|
+
<testCase name="DataUnit should set waitingToReload to false" duration="1"/>
|
|
674
|
+
<testCase name="DataUnit should dispatch SAVING_CANCELED action with correct fields and recordId" duration="1"/>
|
|
669
675
|
</file>
|
|
670
676
|
<file path="/builds/dti/design-system/sankhyacore/test/util/DataUnitStorage.spec.ts">
|
|
671
|
-
<testCase name="DataUnitStorage put should store a DataUnit instance in the DataUnitStorage" duration="
|
|
677
|
+
<testCase name="DataUnitStorage put should store a DataUnit instance in the DataUnitStorage" duration="3"/>
|
|
672
678
|
<testCase name="DataUnitStorage get should return the stored DataUnit instance from the DataUnitStorage" duration="1"/>
|
|
673
|
-
<testCase name="DataUnitStorage get should return undefined if the DataUnit instance is not found in the DataUnitStorage" duration="
|
|
679
|
+
<testCase name="DataUnitStorage get should return undefined if the DataUnit instance is not found in the DataUnitStorage" duration="0"/>
|
|
674
680
|
<testCase name="DataUnitStorage remove should remove the specified DataUnit instance from the DataUnitStorage" duration="1"/>
|
|
675
681
|
<testCase name="DataUnitStorage remove should remove the DataUnit instance with the specified name from the DataUnitStorage" duration="1"/>
|
|
676
|
-
<testCase name="DataUnitStorage remove should not remove any DataUnit instance if the specified DataUnit instance or name is not found in the DataUnitStorage" duration="
|
|
677
|
-
</file>
|
|
678
|
-
<file path="/builds/dti/design-system/sankhyacore/src/dataunit/test/DataUnit.spec.ts">
|
|
679
|
-
<testCase name="DataUnit should return false when not waiting to reload" duration="9"/>
|
|
680
|
-
<testCase name="DataUnit should set waitingToReload to true" duration="1"/>
|
|
681
|
-
<testCase name="DataUnit should set waitingToReload to false" duration="5"/>
|
|
682
|
-
<testCase name="DataUnit should dispatch SAVING_CANCELED action with correct fields and recordId" duration="2"/>
|
|
682
|
+
<testCase name="DataUnitStorage remove should not remove any DataUnit instance if the specified DataUnit instance or name is not found in the DataUnitStorage" duration="1"/>
|
|
683
683
|
</file>
|
|
684
684
|
<file path="/builds/dti/design-system/sankhyacore/test/util/ElementIDUtils.spec.ts">
|
|
685
|
-
<testCase name="addIDInfo 1 - should add data-element-id with valid id "movFinanceira_snkApplication"" duration="
|
|
685
|
+
<testCase name="addIDInfo 1 - should add data-element-id with valid id "movFinanceira_snkApplication"" duration="98"/>
|
|
686
686
|
<testCase name="addIDInfo 2 - should add data-element-id with valid id "brComSankhyaFinCadMovimentacaofinanceira_snkApplication"" duration="2"/>
|
|
687
|
-
<testCase name="addIDInfo 3 - should add data-element-id with valid id "movFinanceira_br.com.sankhya.fin.cad.movimentacaoFinanceira"" duration="
|
|
688
|
-
<testCase name="addIDInfo 4 - should add data-element-id with valid id "meuID2_snkApplication"" duration="
|
|
687
|
+
<testCase name="addIDInfo 3 - should add data-element-id with valid id "movFinanceira_br.com.sankhya.fin.cad.movimentacaoFinanceira"" duration="1"/>
|
|
688
|
+
<testCase name="addIDInfo 4 - should add data-element-id with valid id "meuID2_snkApplication"" duration="0"/>
|
|
689
689
|
<testCase name="addIDInfo 5 - should add data-element-id with valid id "movFinanceira_snkApplication"" duration="1"/>
|
|
690
690
|
<testCase name="addIDInfo 6 - should add data-element-id with valid id "movFinanceira_snkApplication"" duration="1"/>
|
|
691
|
-
<testCase name="addIDInfo 7 - should add data-element-id with valid id "componenteNameTest_snkApplication"" duration="
|
|
691
|
+
<testCase name="addIDInfo 7 - should add data-element-id with valid id "componenteNameTest_snkApplication"" duration="82"/>
|
|
692
692
|
<testCase name="addIDInfo 8 - should add data-element-id with valid id "componentLabel_snkApplication"" duration="1"/>
|
|
693
693
|
<testCase name="addIDInfo 9 - should add data-element-id with valid id "dataunitFinanceiro_br.com.sankhya.fin.cad.movimentacaoFinanceira"" duration="2"/>
|
|
694
694
|
<testCase name="addIDInfo 10 - should add data-element-id with valid id "dataunitFinanceiro_meuIDTeste_br.com.sankhya.fin.cad.movimentacaoFinanceira"" duration="2"/>
|
|
695
695
|
<testCase name="addIDInfo 11 - should add data-element-id with valid id "dataunitFinanceiro_meuIDTeste_movimentacaoFinanceira"" duration="1"/>
|
|
696
|
-
<testCase name="addIDInfo 12 - should add data-element-id with valid id "dataunitFinanceiro_movFinanceira_movimentacaoFinanceira"" duration="
|
|
696
|
+
<testCase name="addIDInfo 12 - should add data-element-id with valid id "dataunitFinanceiro_movFinanceira_movimentacaoFinanceira"" duration="1"/>
|
|
697
697
|
<testCase name="addIDInfo 13 - should add data-element-id with valid id "dataunitFinanceiro_meuIDTeste_movimentacaoFinanceira"" duration="1"/>
|
|
698
|
-
<testCase name="addIDInfo 14 - should add data-element-id with valid id "dataunitFinanceiro_meuIdTeste_movimentacaoFinanceira"" duration="
|
|
699
|
-
<testCase name="addIDInfo 15 - should add data-element-id with valid id "dataunitFinanceiro_meuIdTeste_snkApplication"" duration="
|
|
698
|
+
<testCase name="addIDInfo 14 - should add data-element-id with valid id "dataunitFinanceiro_meuIdTeste_movimentacaoFinanceira"" duration="8"/>
|
|
699
|
+
<testCase name="addIDInfo 15 - should add data-element-id with valid id "dataunitFinanceiro_meuIdTeste_snkApplication"" duration="1"/>
|
|
700
700
|
<testCase name="addIDInfo 16 - should add data-element-id with valid id "dataunitFinanceiro_meuIdTeste_snkApplication"" duration="1"/>
|
|
701
701
|
<testCase name="addIDInfo 17 - should add data-element-id with valid id "movFinanceira_movimentacaoFinanceira"" duration="1"/>
|
|
702
|
-
<testCase name="addIDInfo 18 - should add data-element-id with valid id "movFinanceira_movimentacaoFinanceira"" duration="
|
|
702
|
+
<testCase name="addIDInfo 18 - should add data-element-id with valid id "movFinanceira_movimentacaoFinanceira"" duration="1"/>
|
|
703
703
|
<testCase name="addIDInfo 19 - should add data-element-id with valid id "movFinanceira_movimentacaoFinanceira"" duration="1"/>
|
|
704
704
|
<testCase name="addIDInfo 20 - should add data-element-id with valid id "movFinanceira_movimentacaoFinanceira"" duration="1"/>
|
|
705
|
-
<testCase name="addIDInfo 21 - should add data-element-id with valid id "movFinanceira_movimentacaoFinanceira"" duration="
|
|
705
|
+
<testCase name="addIDInfo 21 - should add data-element-id with valid id "movFinanceira_movimentacaoFinanceira"" duration="2"/>
|
|
706
706
|
<testCase name="addIDInfo 22 - should add data-element-id with valid id "bancoObrigatorio_movimentacaoFinanceira"" duration="1"/>
|
|
707
707
|
</file>
|
|
708
708
|
<file path="/builds/dti/design-system/sankhyacore/test/dataunit/loader/dataUnitInMemoryLoader.spec.ts">
|
|
709
|
-
<testCase name="DataUnitInMemoryLoader - loadData should be called load data when auto load is true" duration="
|
|
710
|
-
<testCase name="DataUnitInMemoryLoader - loadData should be called load data when auto load is undefined" duration="
|
|
711
|
-
<testCase name="DataUnitInMemoryLoader - loadData should not be called load data when auto load is false" duration="
|
|
712
|
-
<testCase name="DataUnitInMemoryLoader - loadData should be called load data when config is undefined" duration="
|
|
713
|
-
<testCase name="DataUnitInMemoryLoader - getConvertedValue should return the original string if descriptor is undefined" duration="
|
|
709
|
+
<testCase name="DataUnitInMemoryLoader - loadData should be called load data when auto load is true" duration="49"/>
|
|
710
|
+
<testCase name="DataUnitInMemoryLoader - loadData should be called load data when auto load is undefined" duration="3"/>
|
|
711
|
+
<testCase name="DataUnitInMemoryLoader - loadData should not be called load data when auto load is false" duration="1"/>
|
|
712
|
+
<testCase name="DataUnitInMemoryLoader - loadData should be called load data when config is undefined" duration="2"/>
|
|
713
|
+
<testCase name="DataUnitInMemoryLoader - getConvertedValue should return the original string if descriptor is undefined" duration="1"/>
|
|
714
714
|
<testCase name="DataUnitInMemoryLoader - getConvertedValue should return the original string if dataType is TEXT" duration="1"/>
|
|
715
715
|
<testCase name="DataUnitInMemoryLoader - getConvertedValue should convert to boolean when dataType is BOOLEAN" duration="1"/>
|
|
716
716
|
<testCase name="DataUnitInMemoryLoader - getConvertedValue should convert to number when dataType is NUMBER" duration="1"/>
|
|
717
717
|
<testCase name="DataUnitInMemoryLoader - getConvertedValue should parse JSON when dataType is OBJECT" duration="2"/>
|
|
718
718
|
<testCase name="DataUnitInMemoryLoader - getConvertedValue should convert to date when dataType is DATE and format is ISO" duration="1"/>
|
|
719
719
|
<testCase name="DataUnitInMemoryLoader - getConvertedValue should convert to date when dataType is DATE and format is not ISO" duration="1"/>
|
|
720
|
-
<testCase name="DataUnitInMemoryLoader - getConvertedValue should return the original string if no dataType matches" duration="
|
|
720
|
+
<testCase name="DataUnitInMemoryLoader - getConvertedValue should return the original string if no dataType matches" duration="0"/>
|
|
721
721
|
<testCase name="DataUnitInMemoryLoader - removeLoader should resolve with the provided record IDs" duration="2"/>
|
|
722
|
-
<testCase name="DataUnitInMemoryLoader - removeLoader should handle empty record ID array" duration="
|
|
723
|
-
<testCase name="DataUnitInMemoryLoader - removeLoader should resolve the promise" duration="
|
|
724
|
-
<testCase name="DataUnitInMemoryLoader - buildInitialRecords (indiretamente via set records) should build initial records and convert field values based on metadata" duration="
|
|
722
|
+
<testCase name="DataUnitInMemoryLoader - removeLoader should handle empty record ID array" duration="2"/>
|
|
723
|
+
<testCase name="DataUnitInMemoryLoader - removeLoader should resolve the promise" duration="1"/>
|
|
724
|
+
<testCase name="DataUnitInMemoryLoader - buildInitialRecords (indiretamente via set records) should build initial records and convert field values based on metadata" duration="3"/>
|
|
725
725
|
<testCase name="DataUnitInMemoryLoader - buildInitialRecords (indiretamente via set records) should generate unique IDs for records without "__record__id__"" duration="3"/>
|
|
726
|
-
<testCase name="DataUnitInMemoryLoader - buildInitialRecords (indiretamente via set records) should leave fields untouched if no matching metadata exists" duration="
|
|
726
|
+
<testCase name="DataUnitInMemoryLoader - buildInitialRecords (indiretamente via set records) should leave fields untouched if no matching metadata exists" duration="6"/>
|
|
727
727
|
<testCase name="DataUnitInMemoryLoader - buildInitialRecords (indiretamente via set records) should skip conversion for non-string field values" duration="2"/>
|
|
728
728
|
</file>
|
|
729
729
|
<file path="/builds/dti/design-system/sankhyacore/test/util/ElementUtils.spec.ts">
|
|
730
|
-
<testCase name="calcMarginSize should calculate correctly the size of horizontal margin" duration="
|
|
731
|
-
<testCase name="calcMarginSize should calculate correctly the size of vertical margin" duration="
|
|
732
|
-
<testCase name="calcMarginSize should threat values defined as zero" duration="
|
|
730
|
+
<testCase name="calcMarginSize should calculate correctly the size of horizontal margin" duration="101"/>
|
|
731
|
+
<testCase name="calcMarginSize should calculate correctly the size of vertical margin" duration="4"/>
|
|
732
|
+
<testCase name="calcMarginSize should threat values defined as zero" duration="5"/>
|
|
733
733
|
</file>
|
|
734
734
|
<file path="/builds/dti/design-system/sankhyacore/test/dataunit/formatting/PrettyFormatter.spec.ts">
|
|
735
|
-
<testCase name="getFormattedValue should return empty string when value is null" duration="
|
|
735
|
+
<testCase name="getFormattedValue should return empty string when value is null" duration="9"/>
|
|
736
736
|
<testCase name="getFormattedValue should return empty string when value is not an array" duration="1"/>
|
|
737
|
-
<testCase name="getFormattedValue should return empty string when value is an empty array" duration="
|
|
738
|
-
<testCase name="getFormattedValue should return file name when value is an array with one file object" duration="
|
|
739
|
-
<testCase name="getFormattedValue should return file count when value is an array with multiple file objects" duration="
|
|
740
|
-
<testCase name="getFormattedValue should return empty string for undefined file" duration="
|
|
741
|
-
<testCase name="getFormattedValue should handle OBJECT type with value field" duration="
|
|
742
|
-
<testCase name="getFormattedValue should return empty string when value is undefined" duration="
|
|
743
|
-
<testCase name="getFormattedValue should return value as string when value is not an object" duration="
|
|
737
|
+
<testCase name="getFormattedValue should return empty string when value is an empty array" duration="0"/>
|
|
738
|
+
<testCase name="getFormattedValue should return file name when value is an array with one file object" duration="1"/>
|
|
739
|
+
<testCase name="getFormattedValue should return file count when value is an array with multiple file objects" duration="0"/>
|
|
740
|
+
<testCase name="getFormattedValue should return empty string for undefined file" duration="0"/>
|
|
741
|
+
<testCase name="getFormattedValue should handle OBJECT type with value field" duration="1"/>
|
|
742
|
+
<testCase name="getFormattedValue should return empty string when value is undefined" duration="0"/>
|
|
743
|
+
<testCase name="getFormattedValue should return value as string when value is not an object" duration="2"/>
|
|
744
744
|
<testCase name="getFormattedValue should return value.toString() when value is an object without value property" duration="0"/>
|
|
745
745
|
<testCase name="getFormattedValue should handle BOOLEAN type" duration="1"/>
|
|
746
|
-
<testCase name="getFormattedValue should format numbers correctly" duration="
|
|
747
|
-
<testCase name="getFormattedValue should format dates correctly" duration="
|
|
746
|
+
<testCase name="getFormattedValue should format numbers correctly" duration="61"/>
|
|
747
|
+
<testCase name="getFormattedValue should format dates correctly" duration="5"/>
|
|
748
748
|
<testCase name="getFormattedValue should format times correctly" duration="1"/>
|
|
749
749
|
<testCase name="getFormattedValue should format datetime correctly" duration="1"/>
|
|
750
|
-
<testCase name="getFormattedValue should call toString with correct parameters" duration="
|
|
751
|
-
<testCase name="getFormattedValue should handle undefined descriptor gracefully" duration="
|
|
752
|
-
<testCase name="getFormattedValue should format value correctly with OPTIONSELECTOR and matching option" duration="
|
|
750
|
+
<testCase name="getFormattedValue should call toString with correct parameters" duration="0"/>
|
|
751
|
+
<testCase name="getFormattedValue should handle undefined descriptor gracefully" duration="0"/>
|
|
752
|
+
<testCase name="getFormattedValue should format value correctly with OPTIONSELECTOR and matching option" duration="1"/>
|
|
753
753
|
<testCase name="getFormattedValue should return value with OPTIONSELECTOR and no matching option" duration="1"/>
|
|
754
754
|
<testCase name="getFormattedValue should format value correctly with OPTIONSELECTOR and value as object" duration="0"/>
|
|
755
755
|
<testCase name="getFormattedValue should return empty string with OPTIONSELECTOR and value as null" duration="1"/>
|
|
756
756
|
<testCase name="getFormattedValue should format value correctly with OPTIONSELECTOR and options as JSON string" duration="0"/>
|
|
757
|
-
<testCase name="getFormattedValue should return value with OPTIONSELECTOR and options as empty array" duration="
|
|
758
|
-
<testCase name="getFormattedValue should format masked values correctly" duration="
|
|
757
|
+
<testCase name="getFormattedValue should return value with OPTIONSELECTOR and options as empty array" duration="1"/>
|
|
758
|
+
<testCase name="getFormattedValue should format masked values correctly" duration="2"/>
|
|
759
759
|
</file>
|
|
760
760
|
</unitTest>
|