@tomei/sso 0.66.1-test.1 → 0.66.1-test.3

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.
@@ -1,237 +0,0 @@
1
- <?xml version="1.0" ?>
2
- <!DOCTYPE coverage SYSTEM "http://cobertura.sourceforge.net/xml/coverage-04.dtd">
3
- <coverage lines-valid="78" lines-covered="49" line-rate="0.6282" branches-valid="22" branches-covered="13" branch-rate="0.5909" timestamp="1785821349520" complexity="0" version="0.1">
4
- <sources>
5
- <source>C:\Users\Diaz\Master\Workplaces\Projects\tomei-projects\sso</source>
6
- </sources>
7
- <packages>
8
- <package name="components.password-hash" line-rate="1" branch-rate="1">
9
- <classes>
10
- <class name="password-hash.service.ts" filename="src\components\password-hash\password-hash.service.ts" line-rate="1" branch-rate="1">
11
- <methods>
12
- <method name="(anonymous_7)" hits="1" signature="()V">
13
- <lines>
14
- <line number="5" hits="1"/>
15
- </lines>
16
- </method>
17
- <method name="(anonymous_8)" hits="1" signature="()V">
18
- <lines>
19
- <line number="7" hits="1"/>
20
- </lines>
21
- </method>
22
- <method name="(anonymous_10)" hits="1" signature="()V">
23
- <lines>
24
- <line number="11" hits="1"/>
25
- </lines>
26
- </method>
27
- </methods>
28
- <lines>
29
- <line number="1" hits="1" branch="false"/>
30
- <line number="4" hits="1" branch="false"/>
31
- <line number="8" hits="1" branch="false"/>
32
- <line number="12" hits="1" branch="false"/>
33
- </lines>
34
- </class>
35
- </classes>
36
- </package>
37
- <package name="redis-client" line-rate="0.6764" branch-rate="0.5454">
38
- <classes>
39
- <class name="redis.service.ts" filename="src\redis-client\redis.service.ts" line-rate="0.6764" branch-rate="0.5454">
40
- <methods>
41
- <method name="(anonymous_7)" hits="5" signature="()V">
42
- <lines>
43
- <line number="5" hits="5"/>
44
- </lines>
45
- </method>
46
- <method name="(anonymous_8)" hits="5" signature="()V">
47
- <lines>
48
- <line number="7" hits="5"/>
49
- </lines>
50
- </method>
51
- <method name="(anonymous_10)" hits="0" signature="()V">
52
- <lines>
53
- <line number="23" hits="0"/>
54
- </lines>
55
- </method>
56
- <method name="(anonymous_11)" hits="0" signature="()V">
57
- <lines>
58
- <line number="26" hits="0"/>
59
- </lines>
60
- </method>
61
- <method name="(anonymous_12)" hits="0" signature="()V">
62
- <lines>
63
- <line number="27" hits="0"/>
64
- </lines>
65
- </method>
66
- <method name="(anonymous_13)" hits="4" signature="()V">
67
- <lines>
68
- <line number="39" hits="4"/>
69
- </lines>
70
- </method>
71
- <method name="(anonymous_14)" hits="4" signature="()V">
72
- <lines>
73
- <line number="40" hits="4"/>
74
- </lines>
75
- </method>
76
- <method name="(anonymous_15)" hits="3" signature="()V">
77
- <lines>
78
- <line number="52" hits="3"/>
79
- </lines>
80
- </method>
81
- <method name="(anonymous_17)" hits="0" signature="()V">
82
- <lines>
83
- <line number="60" hits="0"/>
84
- </lines>
85
- </method>
86
- <method name="(anonymous_19)" hits="0" signature="()V">
87
- <lines>
88
- <line number="68" hits="0"/>
89
- </lines>
90
- </method>
91
- </methods>
92
- <lines>
93
- <line number="1" hits="2" branch="false"/>
94
- <line number="2" hits="2" branch="false"/>
95
- <line number="8" hits="5" branch="true" condition-coverage="50% (1/2)"/>
96
- <line number="9" hits="5" branch="true" condition-coverage="100% (2/2)"/>
97
- <line number="11" hits="2" branch="false"/>
98
- <line number="12" hits="2" branch="false"/>
99
- <line number="13" hits="2" branch="false"/>
100
- <line number="14" hits="2" branch="false"/>
101
- <line number="15" hits="2" branch="true" condition-coverage="50% (1/2)"/>
102
- <line number="16" hits="2" branch="true" condition-coverage="50% (1/2)"/>
103
- <line number="17" hits="2" branch="false"/>
104
- <line number="18" hits="2" branch="false"/>
105
- <line number="23" hits="2" branch="false"/>
106
- <line number="24" hits="0" branch="false"/>
107
- <line number="26" hits="2" branch="false"/>
108
- <line number="27" hits="2" branch="false"/>
109
- <line number="28" hits="0" branch="false"/>
110
- <line number="31" hits="2" branch="false"/>
111
- <line number="34" hits="0" branch="false"/>
112
- <line number="36" hits="5" branch="false"/>
113
- <line number="40" hits="4" branch="false"/>
114
- <line number="44" hits="4" branch="false"/>
115
- <line number="45" hits="4" branch="true" condition-coverage="50% (1/2)"/>
116
- <line number="46" hits="4" branch="false"/>
117
- <line number="48" hits="0" branch="false"/>
118
- <line number="53" hits="3" branch="false"/>
119
- <line number="54" hits="3" branch="false"/>
120
- <line number="56" hits="0" branch="false"/>
121
- <line number="61" hits="0" branch="false"/>
122
- <line number="62" hits="0" branch="false"/>
123
- <line number="64" hits="0" branch="false"/>
124
- <line number="69" hits="0" branch="false"/>
125
- <line number="70" hits="0" branch="false"/>
126
- <line number="72" hits="0" branch="false"/>
127
- </lines>
128
- </class>
129
- </classes>
130
- </package>
131
- <package name="session" line-rate="0.55" branch-rate="0.6363">
132
- <classes>
133
- <class name="session.service.ts" filename="src\session\session.service.ts" line-rate="0.55" branch-rate="0.6363">
134
- <methods>
135
- <method name="(anonymous_7)" hits="3" signature="()V">
136
- <lines>
137
- <line number="9" hits="3"/>
138
- </lines>
139
- </method>
140
- <method name="(anonymous_8)" hits="3" signature="()V">
141
- <lines>
142
- <line number="11" hits="3"/>
143
- </lines>
144
- </method>
145
- <method name="(anonymous_10)" hits="3" signature="()V">
146
- <lines>
147
- <line number="22" hits="3"/>
148
- </lines>
149
- </method>
150
- <method name="(anonymous_11)" hits="3" signature="()V">
151
- <lines>
152
- <line number="23" hits="3"/>
153
- </lines>
154
- </method>
155
- <method name="(anonymous_12)" hits="2" signature="()V">
156
- <lines>
157
- <line number="36" hits="2"/>
158
- </lines>
159
- </method>
160
- <method name="(anonymous_13)" hits="2" signature="()V">
161
- <lines>
162
- <line number="37" hits="2"/>
163
- </lines>
164
- </method>
165
- <method name="(anonymous_14)" hits="1" signature="()V">
166
- <lines>
167
- <line number="53" hits="1"/>
168
- </lines>
169
- </method>
170
- <method name="(anonymous_15)" hits="1" signature="()V">
171
- <lines>
172
- <line number="54" hits="1"/>
173
- </lines>
174
- </method>
175
- <method name="(anonymous_16)" hits="0" signature="()V">
176
- <lines>
177
- <line number="66" hits="0"/>
178
- </lines>
179
- </method>
180
- <method name="(anonymous_18)" hits="0" signature="()V">
181
- <lines>
182
- <line number="79" hits="0"/>
183
- </lines>
184
- </method>
185
- <method name="(anonymous_20)" hits="0" signature="()V">
186
- <lines>
187
- <line number="88" hits="0"/>
188
- </lines>
189
- </method>
190
- </methods>
191
- <lines>
192
- <line number="1" hits="1" branch="false"/>
193
- <line number="5" hits="1" branch="false"/>
194
- <line number="7" hits="3" branch="false"/>
195
- <line number="12" hits="3" branch="false"/>
196
- <line number="13" hits="3" branch="false"/>
197
- <line number="14" hits="3" branch="true" condition-coverage="50% (1/2)"/>
198
- <line number="15" hits="3" branch="false"/>
199
- <line number="16" hits="0" branch="true" condition-coverage="0% (0/2)"/>
200
- <line number="17" hits="0" branch="false"/>
201
- <line number="19" hits="3" branch="false"/>
202
- <line number="23" hits="3" branch="false"/>
203
- <line number="28" hits="3" branch="false"/>
204
- <line number="29" hits="3" branch="false"/>
205
- <line number="30" hits="3" branch="false"/>
206
- <line number="32" hits="0" branch="false"/>
207
- <line number="37" hits="2" branch="false"/>
208
- <line number="40" hits="2" branch="false"/>
209
- <line number="41" hits="2" branch="false"/>
210
- <line number="42" hits="2" branch="false"/>
211
- <line number="43" hits="2" branch="true" condition-coverage="50% (1/2)"/>
212
- <line number="44" hits="0" branch="false"/>
213
- <line number="47" hits="2" branch="false"/>
214
- <line number="49" hits="0" branch="false"/>
215
- <line number="54" hits="1" branch="false"/>
216
- <line number="58" hits="1" branch="false"/>
217
- <line number="59" hits="1" branch="false"/>
218
- <line number="60" hits="1" branch="false"/>
219
- <line number="62" hits="0" branch="false"/>
220
- <line number="71" hits="0" branch="false"/>
221
- <line number="72" hits="0" branch="false"/>
222
- <line number="73" hits="0" branch="false"/>
223
- <line number="75" hits="0" branch="false"/>
224
- <line number="80" hits="0" branch="false"/>
225
- <line number="81" hits="0" branch="false"/>
226
- <line number="82" hits="0" branch="false"/>
227
- <line number="84" hits="0" branch="false"/>
228
- <line number="89" hits="0" branch="false"/>
229
- <line number="90" hits="0" branch="false"/>
230
- <line number="91" hits="0" branch="false"/>
231
- <line number="93" hits="0" branch="false"/>
232
- </lines>
233
- </class>
234
- </classes>
235
- </package>
236
- </packages>
237
- </coverage>
@@ -1,33 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <testExecutions version="1">
3
- <file path="C:\Users\Diaz\Master\Workplaces\Projects\tomei-projects\sso\__tests__\unit\components\login-user\login.spec.ts">
4
- <testCase name="LoginUser init should initialize LoginUser with valid userId" duration="134"/>
5
- <testCase name="LoginUser init should throw an error when user is not found" duration="39"/>
6
- <testCase name="LoginUser shouldReleaseLock should return true if autoReleaseYN is &quot;Y&quot; and time difference is greater than minuteToAutoRelease" duration="3"/>
7
- <testCase name="LoginUser shouldReleaseLock should return false if autoReleaseYN is &quot;Y&quot; and time difference is less than or equal to minuteToAutoRelease" duration="2"/>
8
- <testCase name="LoginUser shouldReleaseLock should return false if autoReleaseYN is &quot;N&quot;" duration="2"/>
9
- <testCase name="LoginUser releaseLock should release the lock for a user" duration="2"/>
10
- <testCase name="LoginUser checkUserInfoDuplicated should throw an error if duplicate user info is found" duration="109"/>
11
- <testCase name="LoginUser checkUserInfoDuplicated should not throw an error if duplicate user info is not found" duration="1"/>
12
- <testCase name="LoginUser generateDefaultPassword should generate a default password with the specified length" duration="3"/>
13
- <testCase name="LoginUser generateDefaultPassword should generate a default password with at least one capital letter" duration="1"/>
14
- <testCase name="LoginUser generateDefaultPassword should generate a default password with at least one number" duration="1"/>
15
- <testCase name="LoginUser generateDefaultPassword should generate a default password with at least one special character" duration="1"/>
16
- <testCase name="LoginUser generateDefaultPassword should generate a default password without any non-acceptable characters" duration="1"/>
17
- <testCase name="LoginUser setPassword should set the password for the user" duration="312"/>
18
- <testCase name="LoginUser setPassword should throw an error if the password does not meet the security requirements" duration="48"/>
19
- <testCase name="LoginUser incrementFailedLoginAttemptCount should increment FailedLoginAttemptCount and update user status" duration="8"/>
20
- <testCase name="LoginUser incrementFailedLoginAttemptCount should throw an error if maxFailedLoginAttempts or autoReleaseYN is missing" duration="6"/>
21
- <testCase name="LoginUser incrementFailedLoginAttemptCount should lock the user account if the failed login attempts exceed the maximum allowed" duration="5"/>
22
- <testCase name="LoginUser incrementFailedLoginAttemptCount should permanently lock the user account if the failed login attempts exceed the maximum allowed and autoReleaseYN is N" duration="7"/>
23
- <testCase name="LoginUser combineSystemAccess should combine user and group system access and remove duplicates" duration="5"/>
24
- <testCase name="LoginUser checkPrivileges should return true if user has the specified privilege" duration="10"/>
25
- <testCase name="LoginUser checkPrivileges should return false if user does not have the specified privilege" duration="5"/>
26
- <testCase name="LoginUser checkPrivileges should throw an error if ObjectId is not set" duration="9"/>
27
- <testCase name="LoginUser getObjectPrivileges should return an array of privileges" duration="5"/>
28
- <testCase name="LoginUser getObjectPrivileges should throw an error if an exception occurs" duration="8"/>
29
- <testCase name="LoginUser getUserPersonalPrivileges should return an array of privileges" duration="4"/>
30
- <testCase name="LoginUser getUserPersonalPrivileges should throw an error if an error occurs" duration="4"/>
31
- <testCase name="LoginUser getInheritedSystemAccess should return group system access with its parent group system access if applicable" duration="32"/>
32
- </file>
33
- </testExecutions>