@sankhyalabs/core 6.0.1 → 6.1.0-dev.2

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