Skip to content

Commit f7744b7

Browse files
committed
Add additional runtime assembly for testing.
1 parent 7e98c7a commit f7744b7

File tree

6 files changed

+24
-0
lines changed

6 files changed

+24
-0
lines changed

test/MsgPack.UnitTest.CodeDom/Serialization/CodeDomBasedNilImplicationTest.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,10 @@ public void SetUp()
7676

7777
SerializerDebugging.OnTheFlyCodeDomEnabled = true;
7878
SerializerDebugging.AddRuntimeAssembly( this.GetType().Assembly.Location );
79+
if ( this.GetType().Assembly != typeof( NilImplicationTestTargetForValueTypeMemberDefault ).Assembly )
80+
{
81+
SerializerDebugging.AddRuntimeAssembly( typeof( NilImplicationTestTargetForValueTypeMemberDefault ).Assembly.Location );
82+
}
7983
}
8084

8185
[TearDown]

test/MsgPack.UnitTest/Serialization/ContextBasedNilImplicationTest.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,10 @@ public void SetUp()
7676

7777
SerializerDebugging.OnTheFlyCodeDomEnabled = true;
7878
SerializerDebugging.AddRuntimeAssembly( this.GetType().Assembly.Location );
79+
if ( this.GetType().Assembly != typeof( NilImplicationTestTargetForValueTypeMemberDefault ).Assembly )
80+
{
81+
SerializerDebugging.AddRuntimeAssembly( typeof( NilImplicationTestTargetForValueTypeMemberDefault ).Assembly.Location );
82+
}
7983
}
8084

8185
[TearDown]

test/MsgPack.UnitTest/Serialization/ExpressionBasedNilImplicationTest.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,10 @@ public void SetUp()
7676

7777
SerializerDebugging.OnTheFlyCodeDomEnabled = true;
7878
SerializerDebugging.AddRuntimeAssembly( this.GetType().Assembly.Location );
79+
if ( this.GetType().Assembly != typeof( NilImplicationTestTargetForValueTypeMemberDefault ).Assembly )
80+
{
81+
SerializerDebugging.AddRuntimeAssembly( typeof( NilImplicationTestTargetForValueTypeMemberDefault ).Assembly.Location );
82+
}
7983
}
8084

8185
[TearDown]

test/MsgPack.UnitTest/Serialization/FieldBasedNilImplicationTest.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,10 @@ public void SetUp()
7676

7777
SerializerDebugging.OnTheFlyCodeDomEnabled = true;
7878
SerializerDebugging.AddRuntimeAssembly( this.GetType().Assembly.Location );
79+
if ( this.GetType().Assembly != typeof( NilImplicationTestTargetForValueTypeMemberDefault ).Assembly )
80+
{
81+
SerializerDebugging.AddRuntimeAssembly( typeof( NilImplicationTestTargetForValueTypeMemberDefault ).Assembly.Location );
82+
}
7983
}
8084

8185
[TearDown]

test/MsgPack.UnitTest/Serialization/NilImplicationTest.ttinclude

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,10 @@ namespace MsgPack.Serialization
132132

133133
SerializerDebugging.OnTheFlyCodeDomEnabled = true;
134134
SerializerDebugging.AddRuntimeAssembly( this.GetType().Assembly.Location );
135+
if ( this.GetType().Assembly != typeof( NilImplicationTestTargetForValueTypeMemberDefault ).Assembly )
136+
{
137+
SerializerDebugging.AddRuntimeAssembly( typeof( NilImplicationTestTargetForValueTypeMemberDefault ).Assembly.Location );
138+
}
135139
}
136140

137141
[TearDown]

test/MsgPack.UnitTest/Serialization/ReflectionBasedNilImplicationTest.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,10 @@ public void SetUp()
7676

7777
SerializerDebugging.OnTheFlyCodeDomEnabled = true;
7878
SerializerDebugging.AddRuntimeAssembly( this.GetType().Assembly.Location );
79+
if ( this.GetType().Assembly != typeof( NilImplicationTestTargetForValueTypeMemberDefault ).Assembly )
80+
{
81+
SerializerDebugging.AddRuntimeAssembly( typeof( NilImplicationTestTargetForValueTypeMemberDefault ).Assembly.Location );
82+
}
7983
}
8084

8185
[TearDown]

0 commit comments

Comments
 (0)