Add PInvoke/NativeCallManagedComVisible tests (dotnet/coreclr#19328)
authorZeng Jiang <v-jiazen@microsoft.com>
Thu, 1 Nov 2018 00:02:52 +0000 (08:02 +0800)
committerJeremy Koritzinsky <jkoritzinsky@gmail.com>
Thu, 1 Nov 2018 00:02:52 +0000 (17:02 -0700)
commit2b13bb06c60f5c032194f73ddf48cf67790bf689
tree2a6bd80ce067cc0749072b1ff663ddaf3a95b1ba
parent3d47c67c5a2723f895842aa6237a8d36b9fdfcde
Add PInvoke/NativeCallManagedComVisible tests (dotnet/coreclr#19328)

* Add PInvoke/NativeCallManagedComVisible tests

* Update to current infrastructure and disable off-Windows

* Fix incorrect S_OK value and made the native side actually return an HRESULT in hr.

Commit migrated from https://github.com/dotnet/coreclr/commit/b7d2cdd29a7c1a7ec63fb39d574a817011b9ed4a
src/coreclr/tests/src/Interop/CMakeLists.txt
src/coreclr/tests/src/Interop/PInvoke/NativeCallManagedComVisible/AssemblyTrue/AssemblyTrueTest.cs [new file with mode: 0644]
src/coreclr/tests/src/Interop/PInvoke/NativeCallManagedComVisible/AssemblyTrue/AssemblyTrueTest.csproj [new file with mode: 0644]
src/coreclr/tests/src/Interop/PInvoke/NativeCallManagedComVisible/AssemblyWithoutComVisible/AssemblyWithoutComVisibleTest.cs [new file with mode: 0644]
src/coreclr/tests/src/Interop/PInvoke/NativeCallManagedComVisible/AssemblyWithoutComVisible/AssemblyWithoutComVisibleTest.csproj [new file with mode: 0644]
src/coreclr/tests/src/Interop/PInvoke/NativeCallManagedComVisible/CMakeLists.txt [new file with mode: 0644]
src/coreclr/tests/src/Interop/PInvoke/NativeCallManagedComVisible/ComVisibleNative.cpp [new file with mode: 0644]
src/coreclr/tests/src/Interop/PInvoke/NativeCallManagedComVisible/Default/DefaultTest.cs [new file with mode: 0644]
src/coreclr/tests/src/Interop/PInvoke/NativeCallManagedComVisible/Default/DefaultTest.csproj [new file with mode: 0644]
src/coreclr/tests/src/Interop/PInvoke/NativeCallManagedComVisible/Helpers.cs [new file with mode: 0644]