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