Mercurial > hg > orthanc-stone
diff Resources/CodeGeneration/stonegentool_test.py @ 686:0d42bda615a8 am-dev
fix codegen tests
author | Alain Mazy <alain@mazy.be> |
---|---|
date | Thu, 16 May 2019 16:45:10 +0200 |
parents | 84af39146e76 |
children | 342f3e04bfa9 |
line wrap: on
line diff
--- a/Resources/CodeGeneration/stonegentool_test.py Thu May 16 15:04:41 2019 +0200 +++ b/Resources/CodeGeneration/stonegentool_test.py Thu May 16 16:45:10 2019 +0200 @@ -208,6 +208,9 @@ b: string; c: EnumMonth0; d: boolean; + e: number; + f: number; + public StoneSerialize(): string { let container: object = {}; container['type'] = 'VsolStuff.Message1'; @@ -335,12 +338,16 @@ b:string; c:EnumMonth0; d:boolean; + e:number; + f:number; constructor() { this.a = new number(); this.b = new string(); this.c = new EnumMonth0(); this.d = new boolean(); + this.e = new number(); + this.f = new number(); } public StoneSerialize(): string {