File tree Expand file tree Collapse file tree 2 files changed +25
-0
lines changed Expand file tree Collapse file tree 2 files changed +25
-0
lines changed Original file line number Diff line number Diff line change 1+ using log4net . Repository ;
2+ using NUnit . Framework ;
3+ using NExpect ;
4+ using static NExpect . Expectations ;
5+
6+ namespace log4net . Tests
7+ {
8+ [ TestFixture ]
9+ public class Signing
10+ {
11+ [ Test ]
12+ public void AssemblyShouldBeSigned ( )
13+ {
14+ // Arrange
15+ var asm = typeof ( LoggerRepositorySkeleton ) . Assembly ;
16+ // Act
17+ var result = asm . GetName ( ) . GetPublicKey ( ) ;
18+ // Assert
19+ Expect ( result )
20+ . Not . To . Be . Empty ( ) ;
21+ }
22+ }
23+ }
Original file line number Diff line number Diff line change 2020using System . Reflection ;
2121using System . Runtime . CompilerServices ;
2222
23+ // [assembly:AssemblyKeyFile("log4net.snk")]
24+
2325#if ( ! SSCLI )
2426//
2527// log4net makes use of static methods which cannot be made com visible
You can’t perform that action at this time.
0 commit comments