File tree 2 files changed +16
-1
lines changed
Generation/Generator/Renderer/Public/Interface
Tests/Libs/GObject-2.0.Tests/Classes
2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ namespace {Namespace.GetPublicName(iface.Namespace)};
20
20
21
21
// AUTOGENERATED FILE - DO NOT MODIFY
22
22
23
- public partial interface { iface . Name }
23
+ public partial interface { iface . Name } : IDisposable
24
24
{{
25
25
{ iface . Methods
26
26
. Where ( Method . IsEnabled )
Original file line number Diff line number Diff line change
1
+ using System ;
2
+ using FluentAssertions ;
3
+ using Microsoft . VisualStudio . TestTools . UnitTesting ;
4
+
5
+ namespace GObject . Tests . Classes ;
6
+
7
+ [ TestClass , TestCategory ( "UnitTest" ) ]
8
+ public class InterfaceTests : Test
9
+ {
10
+ [ TestMethod ]
11
+ public void InterfaceShouldImplementIDisposable ( )
12
+ {
13
+ typeof ( TypePlugin ) . Should ( ) . Implement < IDisposable > ( ) ;
14
+ }
15
+ }
You can’t perform that action at this time.
0 commit comments