Tests: Enable CommentAttributes in TestRunner
This commit is contained in:
@@ -54,8 +54,12 @@ namespace Il2CppInspector
|
|||||||
// Dump each image in the binary separately
|
// Dump each image in the binary separately
|
||||||
int i = 0;
|
int i = 0;
|
||||||
foreach (var il2cpp in inspectors)
|
foreach (var il2cpp in inspectors)
|
||||||
new Il2CppCSharpDumper(new Il2CppModel(il2cpp)) {ExcludedNamespaces = excludedNamespaces, SuppressGenerated = true, SuppressMetadata = false}
|
new Il2CppCSharpDumper(new Il2CppModel(il2cpp)) {
|
||||||
.WriteSingleFile(testPath + @"\test-result" + (i++ > 0 ? "-" + (i - 1) : "") + ".cs");
|
ExcludedNamespaces = excludedNamespaces,
|
||||||
|
SuppressGenerated = true,
|
||||||
|
SuppressMetadata = false,
|
||||||
|
CommentAttributes = true
|
||||||
|
}.WriteSingleFile(testPath + @"\test-result" + (i++ > 0 ? "-" + (i - 1) : "") + ".cs");
|
||||||
|
|
||||||
// Compare test result with expected result
|
// Compare test result with expected result
|
||||||
for (i = 0; i < inspectors.Count; i++) {
|
for (i = 0; i < inspectors.Count; i++) {
|
||||||
|
|||||||
Reference in New Issue
Block a user