Add IJW native varargs tests. (#24983)
authorJeremy Koritzinsky <jekoritz@microsoft.com>
Tue, 18 Jun 2019 00:17:47 +0000 (17:17 -0700)
committerGitHub <noreply@github.com>
Tue, 18 Jun 2019 00:17:47 +0000 (17:17 -0700)
commitee2d0bc269cec5f2d44b9a6fcc18371b3fb983ae
tree6c0b76d5351900cbaee090b40783c66857717e7d
parenta657823ef5cac9fb96f7f4138c894e919742389e
Add IJW native varargs tests. (#24983)

* Refactor IJW test infra. Add some tests for some  interesting simple native varargs.

* Add missing include of IjwHelper.cs

* Fix Cmake test project name.

* PR Feedback.

* Fix compilation error.

* Deploy msvcp*d.dll as part of the copy-local'd CRT.
19 files changed:
tests/src/Interop/CMakeLists.txt
tests/src/Interop/IJW/CopyConstructorMarshaler/CMakeLists.txt
tests/src/Interop/IJW/CopyConstructorMarshaler/CopyConstructorMarshaler.cs
tests/src/Interop/IJW/CopyConstructorMarshaler/CopyConstructorMarshaler.csproj
tests/src/Interop/IJW/FixupCallsHostWhenLoaded/FixupCallsHostWhenLoaded.cs
tests/src/Interop/IJW/FixupCallsHostWhenLoaded/FixupCallsHostWhenLoaded.csproj
tests/src/Interop/IJW/IJW.cmake [new file with mode: 0644]
tests/src/Interop/IJW/IjwHelper.cs [new file with mode: 0644]
tests/src/Interop/IJW/IjwNativeCallingManagedDll/CMakeLists.txt
tests/src/Interop/IJW/IjwNativeDll/CMakeLists.txt
tests/src/Interop/IJW/ManagedCallingNative/ManagedCallingNative.cs
tests/src/Interop/IJW/ManagedCallingNative/ManagedCallingNative.csproj
tests/src/Interop/IJW/NativeCallingManaged/NativeCallingManaged.cs
tests/src/Interop/IJW/NativeCallingManaged/NativeCallingManaged.csproj
tests/src/Interop/IJW/NativeVarargs/CMakeLists.txt [new file with mode: 0644]
tests/src/Interop/IJW/NativeVarargs/IjwNativeVarargs.cpp [new file with mode: 0644]
tests/src/Interop/IJW/NativeVarargs/NativeVarargsTest.cs [new file with mode: 0644]
tests/src/Interop/IJW/NativeVarargs/NativeVarargsTest.csproj [new file with mode: 0644]
tests/src/Interop/Interop.settings.targets