ZoneCodeGenerator: Fix not generating tests for structure sizes and alignments

This commit is contained in:
Jan 2020-01-03 17:25:31 +01:00
parent bdb0958c16
commit 91327c57ce

View File

@ -34,7 +34,7 @@ namespace ZoneCommonTests
{
public:
$TestMethod(context.Asset)$
$context.Structures:{structure | $if(!structure.IsAsset)$$TestMethod(structure)$
$context.UsedStructures:{structure | $if(!structure.Information.Type.IsAnonymous && !structure.Information.IsAsset)$$TestMethod(structure)$
$endif$}$
};
}