@@ -56,28 +56,13 @@ public async Task TestBaseTypeWithDocumentationAsync(string type)
56
56
await this . TestTypeWithDocumentationAsync ( type ) . ConfigureAwait ( false ) ;
57
57
}
58
58
59
- [ Fact ]
60
- public async Task TestPartialClassWithoutDocumentationAsync ( )
61
- {
62
- await this . TestTypeDeclarationDocumentationAsync ( "class" , "partial" , false , false ) . ConfigureAwait ( false ) ;
63
- await this . TestTypeDeclarationDocumentationAsync ( "class" , "internal partial" , false , false ) . ConfigureAwait ( false ) ;
64
- await this . TestTypeDeclarationDocumentationAsync ( "class" , "public partial" , false , false ) . ConfigureAwait ( false ) ;
65
- }
66
-
67
- [ Fact ]
68
- public async Task TestPartialStructWithoutDocumentationAsync ( )
69
- {
70
- await this . TestTypeDeclarationDocumentationAsync ( "struct" , "partial" , false , false ) . ConfigureAwait ( false ) ;
71
- await this . TestTypeDeclarationDocumentationAsync ( "struct" , "internal partial" , false , false ) . ConfigureAwait ( false ) ;
72
- await this . TestTypeDeclarationDocumentationAsync ( "struct" , "public partial" , false , false ) . ConfigureAwait ( false ) ;
73
- }
74
-
75
- [ Fact ]
76
- public async Task TestPartialInterfaceWithoutDocumentationAsync ( )
59
+ [ Theory ]
60
+ [ MemberData ( nameof ( CommonMemberData . TypeDeclarationKeywords ) , MemberType = typeof ( CommonMemberData ) ) ]
61
+ public async Task TestPartialTypeWithoutDocumentationAsync ( string type )
77
62
{
78
- await this . TestTypeDeclarationDocumentationAsync ( "interface" , "partial" , false , false ) . ConfigureAwait ( false ) ;
79
- await this . TestTypeDeclarationDocumentationAsync ( "interface" , "internal partial" , false , false ) . ConfigureAwait ( false ) ;
80
- await this . TestTypeDeclarationDocumentationAsync ( "interface" , "public partial" , false , false ) . ConfigureAwait ( false ) ;
63
+ await this . TestTypeDeclarationDocumentationAsync ( type , "partial" , false , false ) . ConfigureAwait ( false ) ;
64
+ await this . TestTypeDeclarationDocumentationAsync ( type , "internal partial" , false , false ) . ConfigureAwait ( false ) ;
65
+ await this . TestTypeDeclarationDocumentationAsync ( type , "public partial" , false , false ) . ConfigureAwait ( false ) ;
81
66
}
82
67
83
68
[ Fact ]
0 commit comments