-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmspecoutput.txt
188 lines (148 loc) · 17.1 KB
/
mspecoutput.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
Specs in Aperea.Core.Specs:
DatabaseContext Creating, When getting the DbContext from the DatabaseContext
» should call the dbcontextfactory
SystemLanguage, When a language with the culture de de is created
» should displayname is deutsch
SystemLanguage, When a language with the culture en is created
» should displayname is english
SystemLanguage, When a language with the culture de is created and changed to en
» should displayname is english
When initializing a Lazy itest over the container
» should be of type testimpl
Specs in Aperea.MVC.Specs:
When creating an principal for a onegroup login
» should has the adminstrator role (FAIL)
Machine.Specifications.SpecificationException: Should be [true] but is [false]
at Machine.Specifications.ShouldExtensionMethods.ShouldBeTrue(Boolean condition)
at Aperea.MVC.Specs.Security.When_creating_an_principal_for_a_onegroup_login.<.ctor>b__1() in c:\Code\ApereaFramework\src\Aperea.MVC.Specs\Security\ApereaPrincialSpecs.cs:line 24
at Machine.Specifications.Model.Specification.Verify()
» should has not the user role
» should has not the authorized role
When creating an principal for a twogroup login
» should has the adminstrator role (FAIL)
Machine.Specifications.SpecificationException: Should be [true] but is [false]
at Machine.Specifications.ShouldExtensionMethods.ShouldBeTrue(Boolean condition)
at Aperea.MVC.Specs.Security.When_creating_an_principal_for_a_twogroup_login.<.ctor>b__1() in c:\Code\ApereaFramework\src\Aperea.MVC.Specs\Security\ApereaPrincialSpecs.cs:line 50
at Machine.Specifications.Model.Specification.Verify()
» should has the user role (FAIL)
Machine.Specifications.SpecificationException: Should be [true] but is [false]
at Machine.Specifications.ShouldExtensionMethods.ShouldBeTrue(Boolean condition)
at Aperea.MVC.Specs.Security.When_creating_an_principal_for_a_twogroup_login.<.ctor>b__2() in c:\Code\ApereaFramework\src\Aperea.MVC.Specs\Security\ApereaPrincialSpecs.cs:line 51
at Machine.Specifications.Model.Specification.Verify()
» should has not the authorized role
When creating an principal for a twogroup login and three roles
» should has the adminstrator role (FAIL)
Machine.Specifications.SpecificationException: Should be [true] but is [false]
at Machine.Specifications.ShouldExtensionMethods.ShouldBeTrue(Boolean condition)
at Aperea.MVC.Specs.Security.When_creating_an_principal_for_a_twogroup_login_and_three_roles.<.ctor>b__1() in c:\Code\ApereaFramework\src\Aperea.MVC.Specs\Security\ApereaPrincialSpecs.cs:line 76
at Machine.Specifications.Model.Specification.Verify()
» should has the user role (FAIL)
Machine.Specifications.SpecificationException: Should be [true] but is [false]
at Machine.Specifications.ShouldExtensionMethods.ShouldBeTrue(Boolean condition)
at Aperea.MVC.Specs.Security.When_creating_an_principal_for_a_twogroup_login_and_three_roles.<.ctor>b__2() in c:\Code\ApereaFramework\src\Aperea.MVC.Specs\Security\ApereaPrincialSpecs.cs:line 77
at Machine.Specifications.Model.Specification.Verify()
» should has the authorized role (FAIL)
Machine.Specifications.SpecificationException: Should be [true] but is [false]
at Machine.Specifications.ShouldExtensionMethods.ShouldBeTrue(Boolean condition)
at Aperea.MVC.Specs.Security.When_creating_an_principal_for_a_twogroup_login_and_three_roles.<.ctor>b__3() in c:\Code\ApereaFramework\src\Aperea.MVC.Specs\Security\ApereaPrincialSpecs.cs:line 78
at Machine.Specifications.Model.Specification.Verify()
Specs in Aperea.Authentication.Specs:
LoginGroup Creating, Whenn creating the logingroup
» should has the groupname set
» should has zero roles
LoginGroup, When adding a role to the logingroup
» should added the group to to (FAIL)
Machine.Specifications.SpecificationException: Should contain only: {
Aperea.EntityModels.SecurityRole
}
entire list: {
}
does not contain: {
Aperea.EntityModels.SecurityRole
}
at Machine.Specifications.ShouldExtensionMethods.ShouldContainOnly[T](IEnumerable`1 list, IEnumerable`1 items)
at Aperea.Specs.EntityModels.When_adding_a_role_to_the_logingroup.<.ctor>b__2() in c:\Code\ApereaFramework\src\Aperea.Authentication.Specs\EntityModels\LoginGroupSpecs.cs:line 32
at Machine.Specifications.Model.Specification.Verify()
LoginGroup, When adding a role twite to the logingroup
» should added the group only once (FAIL)
Machine.Specifications.SpecificationException: Expected: Aperea.EntityModels.SecurityRole[]:
{
Aperea.EntityModels.SecurityRole
}
But was: System.Collections.Generic.HashSet`1[Aperea.EntityModels.SecurityRole]:
{
}
at Machine.Specifications.ShouldExtensionMethods.ShouldEqual[T](T actual, T expected)
at Aperea.Specs.EntityModels.When_adding_a_role_twite_to_the_logingroup.<.ctor>b__2() in c:\Code\ApereaFramework\src\Aperea.Authentication.Specs\EntityModels\LoginGroupSpecs.cs:line 54
at Machine.Specifications.Model.Specification.Verify()
» should has only one entry in role (FAIL)
Machine.Specifications.SpecificationException: Expected: [1]
But was: [0]
at Machine.Specifications.ShouldExtensionMethods.ShouldEqual[T](T actual, T expected)
at Aperea.Specs.EntityModels.When_adding_a_role_twite_to_the_logingroup.<.ctor>b__3() in c:\Code\ApereaFramework\src\Aperea.Authentication.Specs\EntityModels\LoginGroupSpecs.cs:line 56
at Machine.Specifications.Model.Specification.Verify()
LoginGroup, When remote a role from the login group
» should to has the role in the role collection
LoginGroup, When setting a list of roles a logingroup
» should has only these list of roles
SecurityRole Creating, When creating a security role
» should has the roleName set
Registration Changing Password, When an user enters matching passwords
» should save the new password
» should the result ok
Registration Changing Password, When an user enters none matching passwords
» should not save the new password
» should the result password mismatch
Registration Changing Password, When an user enters a wrong old password
» should not save the new password
» should the result invalid password
Registration Login Confirmation, When a login is up to confirmed
» should set confirmed
» should set active
» should the result shoud login confirmed
» should delete the confirmation key
Registration Password reset request, When an user start resetting his password with his email
» should send a password reset mail
» should generate a confirmation key
Registration Password reset request, When an user start resetting his password with an unknown email
» should not send a password reset mail
» should not generate a confirmation key
» should not delete the confirmation key
Registration Password reset request, When an unconfirmed user start resetting his password with his email
» should send a confirmation email
» should not send a password reset mail
» should not generate a confirmation key
Registration Entering new Password on reset, When an user enters matching passwords while resetting his password
» should save the new password
» should test if the confirmation key exists
» should delete the confirmation key
» should the result ok
Registration Entering new Password on reset, When an user enters none matching passwords while resetting his password
» should not save the new password
» should not delete the confirmation key
» should the result password mismatch
Registration New Login, When an user enters username email and same passwords
» should the result is ok
» should send a confirmation email
» should create a login in the database
» should create a registration confirmation action
Registration New Login, When a user enters an existing username with existing email for an unconfirmed account
» should the result is ok
» should send a confirmation email
» should not create a login in the database
» should not create a registration confirmation action
Registration New Login, When a user enters an existing username
» should the result should invalid userdata
» should not send a confirmation email
» shoud not create a login in the database
Registration New Login, When a user enters an existing email
» should the result should invalid userdata
» should not send a confirmation email
» should not create a login in the database
Registration New Login, When a user enters an username and different passwords
» should the result password missmatch
» should not send a confirmation email
» shoud not create a login in the database
Contexts: 28, Specifications: 64, Time: 3.09 seconds
55 passed, 9 failed