Browse Source

Enable copy constructors for some tests since they rely on their existence.

pull/226/merge
triton 11 years ago
parent
commit
a070912c1a
  1. 1
      tests/Basic/Basic.cs
  2. 1
      tests/CSharpTemp/CSharpTemp.cs

1
tests/Basic/Basic.cs

@ -18,6 +18,7 @@ namespace CppSharp.Tests @@ -18,6 +18,7 @@ namespace CppSharp.Tests
if (driver.Options.IsCSharpGenerator)
driver.Options.GenerateAbstractImpls = true;
driver.Options.GenerateVirtualTables = true;
driver.Options.GenerateCopyConstructors = true;
driver.Options.MarshalCharAsManagedChar = true;
}

1
tests/CSharpTemp/CSharpTemp.cs

@ -62,6 +62,7 @@ namespace CppSharp.Tests @@ -62,6 +62,7 @@ namespace CppSharp.Tests
driver.Options.GenerateInterfacesForMultipleInheritance = true;
driver.Options.GenerateProperties = true;
driver.Options.GenerateVirtualTables = true;
driver.Options.GenerateCopyConstructors = true;
driver.TranslationUnitPasses.AddPass(new TestAttributesPass());
}

Loading…
Cancel
Save