Dimitar Dobrev
4d8ab83328
Fix patching of virtual tables for MSVC with RTTI
...
Fixes https://github.com/mono/CppSharp/issues/1151 .
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
5 years ago
Dimitar Dobrev
8dfcd5b717
Fix all memory leaks in tests
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
5 years ago
Dimitar Dobrev
1d2880751a
Generate valid C# when std::string is only used for non-private fields
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
6 years ago
Mohit Mohta
3677bc8db7
Included the TestVirtualFunctionRetVal for Linux ( #846 )
...
Fixes #755
It turns out this wasn't a bug in our code because the test passes now with no changes whatsoever. My only guess is that there used to be a bug in Mono.
8 years ago
Dimitar Dobrev
1f6a285f61
Ignored a test on Linux because incorrectly patched v-tables cause its failure.
...
See https://github.com/mono/CppSharp/issues/755 .
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
b2a872f431
Merged the passes for properties and made the result non-optional.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
triton
e2b74a7697
Implemented virtual function call handling.
...
Closes issues #402 , #496 .
Thanks to Abhinav for his pull which I based this work on.
10 years ago
Dimitar Dobrev
be34899fc5
Added tests for v-tables checking calls to virtuals from within C++ and passing parameters.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
triton
4cfd5c083e
Remove unnecessary NUnit attributes from the tests.
12 years ago
triton
1b7947538a
Move all the testing infrastructure to CppSharp.Generator.Tests.
12 years ago
Dimitar Dobrev
19bae92f9b
Added a fake option so that the build stays healthy since the C++/CLI-back-end does not properly support properties yet.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
Dimitar Dobrev
824d8b5f30
Rewrote the generating of properties to additionaly handle property overrides and read-only properties.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
Dimitar Dobrev
8a61ee71d9
Added tests for the changes in the renaming pass.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
triton
e0903d8fac
Added virtual table tests.
12 years ago