@@ -28,9 +28,9 @@ class Test
28
28
// Assert
29
29
using ( new AssertionScope ( ) )
30
30
{
31
- types [ 0 ] . DocumentationComments . Summary . Should ( ) . Be ( "This is a Test Class." ) ;
32
- types [ 0 ] . DocumentationComments . Remarks . Should ( ) . Be ( "This is a remark." ) ;
33
- types [ 0 ] . DocumentationComments . Example . Should ( ) . Be ( "This is an example." ) ;
31
+ types [ 0 ] . DocumentationComments ? . Summary . Should ( ) . Be ( "This is a Test Class." ) ;
32
+ types [ 0 ] . DocumentationComments ? . Remarks . Should ( ) . Be ( "This is a remark." ) ;
33
+ types [ 0 ] . DocumentationComments ? . Example . Should ( ) . Be ( "This is an example." ) ;
34
34
}
35
35
}
36
36
@@ -65,10 +65,10 @@ class Test
65
65
// Assert
66
66
using ( new AssertionScope ( ) )
67
67
{
68
- types [ 0 ] . Events [ 0 ] . DocumentationComments . Summary . Should ( ) . Be ( "This is a Test Event." ) ;
69
- types [ 0 ] . Events [ 0 ] . DocumentationComments . Remarks . Should ( ) . Be ( "This is a remark." ) ;
70
- types [ 0 ] . Events [ 0 ] . DocumentationComments . Example . Should ( ) . Be ( "This is an example." ) ;
71
- types [ 0 ] . Events [ 0 ] . DocumentationComments . Value . Should ( ) . Be ( "This is the value." ) ;
68
+ types [ 0 ] . Events [ 0 ] . DocumentationComments ? . Summary . Should ( ) . Be ( "This is a Test Event." ) ;
69
+ types [ 0 ] . Events [ 0 ] . DocumentationComments ? . Remarks . Should ( ) . Be ( "This is a remark." ) ;
70
+ types [ 0 ] . Events [ 0 ] . DocumentationComments ? . Example . Should ( ) . Be ( "This is an example." ) ;
71
+ types [ 0 ] . Events [ 0 ] . DocumentationComments ? . Value . Should ( ) . Be ( "This is the value." ) ;
72
72
}
73
73
}
74
74
@@ -103,15 +103,15 @@ class Test
103
103
// Assert
104
104
using ( new AssertionScope ( ) )
105
105
{
106
- types [ 0 ] . Events [ 0 ] . DocumentationComments . Summary . Should ( ) . Be ( "These are Test Events." ) ;
107
- types [ 0 ] . Events [ 0 ] . DocumentationComments . Remarks . Should ( ) . Be ( "This is a remark." ) ;
108
- types [ 0 ] . Events [ 0 ] . DocumentationComments . Example . Should ( ) . Be ( "This is an example." ) ;
109
- types [ 0 ] . Events [ 0 ] . DocumentationComments . Value . Should ( ) . Be ( "This is the value." ) ;
110
-
111
- types [ 0 ] . Events [ 1 ] . DocumentationComments . Summary . Should ( ) . Be ( "These are Test Events." ) ;
112
- types [ 0 ] . Events [ 1 ] . DocumentationComments . Remarks . Should ( ) . Be ( "This is a remark." ) ;
113
- types [ 0 ] . Events [ 1 ] . DocumentationComments . Example . Should ( ) . Be ( "This is an example." ) ;
114
- types [ 0 ] . Events [ 1 ] . DocumentationComments . Value . Should ( ) . Be ( "This is the value." ) ;
106
+ types [ 0 ] . Events [ 0 ] . DocumentationComments ? . Summary . Should ( ) . Be ( "These are Test Events." ) ;
107
+ types [ 0 ] . Events [ 0 ] . DocumentationComments ? . Remarks . Should ( ) . Be ( "This is a remark." ) ;
108
+ types [ 0 ] . Events [ 0 ] . DocumentationComments ? . Example . Should ( ) . Be ( "This is an example." ) ;
109
+ types [ 0 ] . Events [ 0 ] . DocumentationComments ? . Value . Should ( ) . Be ( "This is the value." ) ;
110
+
111
+ types [ 0 ] . Events [ 1 ] . DocumentationComments ? . Summary . Should ( ) . Be ( "These are Test Events." ) ;
112
+ types [ 0 ] . Events [ 1 ] . DocumentationComments ? . Remarks . Should ( ) . Be ( "This is a remark." ) ;
113
+ types [ 0 ] . Events [ 1 ] . DocumentationComments ? . Example . Should ( ) . Be ( "This is an example." ) ;
114
+ types [ 0 ] . Events [ 1 ] . DocumentationComments ? . Value . Should ( ) . Be ( "This is the value." ) ;
115
115
}
116
116
}
117
117
@@ -144,10 +144,10 @@ public class Test
144
144
// Assert
145
145
using ( new AssertionScope ( ) )
146
146
{
147
- types [ 0 ] . Fields [ 0 ] . DocumentationComments . Summary . Should ( ) . Be ( "This is a Test Field." ) ;
148
- types [ 0 ] . Fields [ 0 ] . DocumentationComments . Remarks . Should ( ) . Be ( "This is a remark." ) ;
149
- types [ 0 ] . Fields [ 0 ] . DocumentationComments . Example . Should ( ) . Be ( "This is an example." ) ;
150
- types [ 0 ] . Fields [ 0 ] . DocumentationComments . Value . Should ( ) . Be ( "This is the value." ) ;
147
+ types [ 0 ] . Fields [ 0 ] . DocumentationComments ? . Summary . Should ( ) . Be ( "This is a Test Field." ) ;
148
+ types [ 0 ] . Fields [ 0 ] . DocumentationComments ? . Remarks . Should ( ) . Be ( "This is a remark." ) ;
149
+ types [ 0 ] . Fields [ 0 ] . DocumentationComments ? . Example . Should ( ) . Be ( "This is an example." ) ;
150
+ types [ 0 ] . Fields [ 0 ] . DocumentationComments ? . Value . Should ( ) . Be ( "This is the value." ) ;
151
151
}
152
152
}
153
153
@@ -180,15 +180,15 @@ public class Test
180
180
// Assert
181
181
using ( new AssertionScope ( ) )
182
182
{
183
- types [ 0 ] . Fields [ 0 ] . DocumentationComments . Summary . Should ( ) . Be ( "These are Test Fields." ) ;
184
- types [ 0 ] . Fields [ 0 ] . DocumentationComments . Remarks . Should ( ) . Be ( "This is a remark." ) ;
185
- types [ 0 ] . Fields [ 0 ] . DocumentationComments . Example . Should ( ) . Be ( "This is an example." ) ;
186
- types [ 0 ] . Fields [ 0 ] . DocumentationComments . Value . Should ( ) . Be ( "This is the value." ) ;
187
-
188
- types [ 0 ] . Fields [ 1 ] . DocumentationComments . Summary . Should ( ) . Be ( "These are Test Fields." ) ;
189
- types [ 0 ] . Fields [ 1 ] . DocumentationComments . Remarks . Should ( ) . Be ( "This is a remark." ) ;
190
- types [ 0 ] . Fields [ 1 ] . DocumentationComments . Example . Should ( ) . Be ( "This is an example." ) ;
191
- types [ 0 ] . Fields [ 1 ] . DocumentationComments . Value . Should ( ) . Be ( "This is the value." ) ;
183
+ types [ 0 ] . Fields [ 0 ] . DocumentationComments ? . Summary . Should ( ) . Be ( "These are Test Fields." ) ;
184
+ types [ 0 ] . Fields [ 0 ] . DocumentationComments ? . Remarks . Should ( ) . Be ( "This is a remark." ) ;
185
+ types [ 0 ] . Fields [ 0 ] . DocumentationComments ? . Example . Should ( ) . Be ( "This is an example." ) ;
186
+ types [ 0 ] . Fields [ 0 ] . DocumentationComments ? . Value . Should ( ) . Be ( "This is the value." ) ;
187
+
188
+ types [ 0 ] . Fields [ 1 ] . DocumentationComments ? . Summary . Should ( ) . Be ( "These are Test Fields." ) ;
189
+ types [ 0 ] . Fields [ 1 ] . DocumentationComments ? . Remarks . Should ( ) . Be ( "This is a remark." ) ;
190
+ types [ 0 ] . Fields [ 1 ] . DocumentationComments ? . Example . Should ( ) . Be ( "This is an example." ) ;
191
+ types [ 0 ] . Fields [ 1 ] . DocumentationComments ? . Value . Should ( ) . Be ( "This is the value." ) ;
192
192
}
193
193
}
194
194
@@ -217,9 +217,9 @@ interface Test
217
217
// Assert
218
218
using ( new AssertionScope ( ) )
219
219
{
220
- types [ 0 ] . DocumentationComments . Summary . Should ( ) . Be ( "This is a Test Interface." ) ;
221
- types [ 0 ] . DocumentationComments . Remarks . Should ( ) . Be ( "This is a remark." ) ;
222
- types [ 0 ] . DocumentationComments . Example . Should ( ) . Be ( "This is an example." ) ;
220
+ types [ 0 ] . DocumentationComments ? . Summary . Should ( ) . Be ( "This is a Test Interface." ) ;
221
+ types [ 0 ] . DocumentationComments ? . Remarks . Should ( ) . Be ( "This is a remark." ) ;
222
+ types [ 0 ] . DocumentationComments ? . Example . Should ( ) . Be ( "This is an example." ) ;
223
223
}
224
224
}
225
225
@@ -248,9 +248,9 @@ enum Test
248
248
// Assert
249
249
using ( new AssertionScope ( ) )
250
250
{
251
- types [ 0 ] . DocumentationComments . Summary . Should ( ) . Be ( "This is a Test Enum." ) ;
252
- types [ 0 ] . DocumentationComments . Remarks . Should ( ) . Be ( "This is a remark." ) ;
253
- types [ 0 ] . DocumentationComments . Example . Should ( ) . Be ( "This is an example." ) ;
251
+ types [ 0 ] . DocumentationComments ? . Summary . Should ( ) . Be ( "This is a Test Enum." ) ;
252
+ types [ 0 ] . DocumentationComments ? . Remarks . Should ( ) . Be ( "This is a remark." ) ;
253
+ types [ 0 ] . DocumentationComments ? . Example . Should ( ) . Be ( "This is an example." ) ;
254
254
}
255
255
}
256
256
@@ -279,9 +279,9 @@ struct Test
279
279
// Assert
280
280
using ( new AssertionScope ( ) )
281
281
{
282
- types [ 0 ] . DocumentationComments . Summary . Should ( ) . Be ( "This is a Test Struct." ) ;
283
- types [ 0 ] . DocumentationComments . Remarks . Should ( ) . Be ( "This is a remark." ) ;
284
- types [ 0 ] . DocumentationComments . Example . Should ( ) . Be ( "This is an example." ) ;
282
+ types [ 0 ] . DocumentationComments ? . Summary . Should ( ) . Be ( "This is a Test Struct." ) ;
283
+ types [ 0 ] . DocumentationComments ? . Remarks . Should ( ) . Be ( "This is a remark." ) ;
284
+ types [ 0 ] . DocumentationComments ? . Example . Should ( ) . Be ( "This is an example." ) ;
285
285
}
286
286
}
287
287
@@ -314,10 +314,10 @@ class Test
314
314
// Assert
315
315
using ( new AssertionScope ( ) )
316
316
{
317
- types [ 0 ] . Methods [ 0 ] . DocumentationComments . Summary . Should ( ) . Be ( "This is a Test Method." ) ;
318
- types [ 0 ] . Methods [ 0 ] . DocumentationComments . Remarks . Should ( ) . Be ( "This is a remark." ) ;
319
- types [ 0 ] . Methods [ 0 ] . DocumentationComments . Example . Should ( ) . Be ( "This is an example." ) ;
320
- types [ 0 ] . Methods [ 0 ] . DocumentationComments . Returns . Should ( ) . Be ( "Returns a string." ) ;
317
+ types [ 0 ] . Methods [ 0 ] . DocumentationComments ? . Summary . Should ( ) . Be ( "This is a Test Method." ) ;
318
+ types [ 0 ] . Methods [ 0 ] . DocumentationComments ? . Remarks . Should ( ) . Be ( "This is a remark." ) ;
319
+ types [ 0 ] . Methods [ 0 ] . DocumentationComments ? . Example . Should ( ) . Be ( "This is an example." ) ;
320
+ types [ 0 ] . Methods [ 0 ] . DocumentationComments ? . Returns . Should ( ) . Be ( "Returns a string." ) ;
321
321
}
322
322
}
323
323
@@ -350,10 +350,10 @@ class Test
350
350
// Assert
351
351
using ( new AssertionScope ( ) )
352
352
{
353
- types [ 0 ] . Constructors [ 0 ] . DocumentationComments . Summary . Should ( ) . Be ( "This is a Test Constructor." ) ;
354
- types [ 0 ] . Constructors [ 0 ] . DocumentationComments . Remarks . Should ( ) . Be ( "This is a remark." ) ;
355
- types [ 0 ] . Constructors [ 0 ] . DocumentationComments . Example . Should ( ) . Be ( "This is an example." ) ;
356
- types [ 0 ] . Constructors [ 0 ] . DocumentationComments . Returns . Should ( ) . Be ( "Returns a string." ) ;
353
+ types [ 0 ] . Constructors [ 0 ] . DocumentationComments ? . Summary . Should ( ) . Be ( "This is a Test Constructor." ) ;
354
+ types [ 0 ] . Constructors [ 0 ] . DocumentationComments ? . Remarks . Should ( ) . Be ( "This is a remark." ) ;
355
+ types [ 0 ] . Constructors [ 0 ] . DocumentationComments ? . Example . Should ( ) . Be ( "This is an example." ) ;
356
+ types [ 0 ] . Constructors [ 0 ] . DocumentationComments ? . Returns . Should ( ) . Be ( "Returns a string." ) ;
357
357
}
358
358
}
359
359
@@ -386,10 +386,10 @@ class Test
386
386
// Assert
387
387
using ( new AssertionScope ( ) )
388
388
{
389
- types [ 0 ] . Properties [ 0 ] . DocumentationComments . Summary . Should ( ) . Be ( "This is a Test Property." ) ;
390
- types [ 0 ] . Properties [ 0 ] . DocumentationComments . Remarks . Should ( ) . Be ( "This is a remark." ) ;
391
- types [ 0 ] . Properties [ 0 ] . DocumentationComments . Example . Should ( ) . Be ( "This is an example." ) ;
392
- types [ 0 ] . Properties [ 0 ] . DocumentationComments . Value . Should ( ) . Be ( "This is the value." ) ;
389
+ types [ 0 ] . Properties [ 0 ] . DocumentationComments ? . Summary . Should ( ) . Be ( "This is a Test Property." ) ;
390
+ types [ 0 ] . Properties [ 0 ] . DocumentationComments ? . Remarks . Should ( ) . Be ( "This is a remark." ) ;
391
+ types [ 0 ] . Properties [ 0 ] . DocumentationComments ? . Example . Should ( ) . Be ( "This is an example." ) ;
392
+ types [ 0 ] . Properties [ 0 ] . DocumentationComments ? . Value . Should ( ) . Be ( "This is the value." ) ;
393
393
}
394
394
}
395
395
}
0 commit comments