Skip to content

Commit

Permalink
test for .NET
Browse files Browse the repository at this point in the history
  • Loading branch information
RomainMuller committed Aug 19, 2020
1 parent 9caa1b9 commit de747c6
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
using Amazon.JSII.Tests.CalculatorNamespace;
using CompositeOperation = Amazon.JSII.Tests.CalculatorNamespace.Composition.CompositeOperation;
using Amazon.JSII.Tests.CalculatorNamespace.LibNamespace;
using Amazon.JSII.Tests.CalculatorNamespace.BaseOfBaseNamespace;
using Newtonsoft.Json.Linq;
using Xunit;
using Xunit.Abstractions;
Expand Down Expand Up @@ -46,6 +47,14 @@ void IDisposable.Dispose()
_serviceContainerFixture.Dispose();
}

[Fact(DisplayName = Prefix + nameof(UseNestedStruct))]
public void UseNestedStruct()
{
StaticConsumer.Consume(
new Amazon.JSII.Tests.CustomSubmoduleName.NestingClass.NestedStruct { Name = "Bond, James Bond" }
);
}

[Fact(DisplayName = Prefix + nameof(PrimitiveTypes))]
public void PrimitiveTypes()
{
Expand Down

0 comments on commit de747c6

Please sign in to comment.