Added code to MsBuildGenerationTest

This commit is contained in:
Christian Köllner 2019-10-02 16:06:12 +02:00
parent b01c90111f
commit 98b4b6e355

View File

@ -6,7 +6,16 @@ namespace MsBuildGenerationTest
{ {
static void Main(string[] args) static void Main(string[] args)
{ {
Console.WriteLine("Hello World!"); // Instantiate some generated classes ensures that they are really present.
// Note that this code is not supposed to test runtime behavior, we have plenty of other test cases for that purpose.
var vatId = new Capnp.Rpc.Twoparty.VatId();
var msg = new Capnp.Rpc.Message();
var node = new Capnp.Schema.Node();
var x = Capnproto_test.Capnp.Test.TestEnum.garply;
var imp = new CapnpGen.TestImport();
var imp2 = new CapnpGen.TestImport2();
var book = new CapnpGen.AddressBook();
} }
} }
} }