Add PInvoke/NativeCallManagedComVisible tests (#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)
commitb7d2cdd29a7c1a7ec63fb39d574a817011b9ed4a
treefd162a828421cf38b144787dbf5f470ec8b19484
parent8ab6692dbd1e53521a4107e866111106d834f1fe
Add PInvoke/NativeCallManagedComVisible tests (#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.
tests/src/Interop/CMakeLists.txt
tests/src/Interop/PInvoke/NativeCallManagedComVisible/AssemblyTrue/AssemblyTrueTest.cs [new file with mode: 0644]
tests/src/Interop/PInvoke/NativeCallManagedComVisible/AssemblyTrue/AssemblyTrueTest.csproj [new file with mode: 0644]
tests/src/Interop/PInvoke/NativeCallManagedComVisible/AssemblyWithoutComVisible/AssemblyWithoutComVisibleTest.cs [new file with mode: 0644]
tests/src/Interop/PInvoke/NativeCallManagedComVisible/AssemblyWithoutComVisible/AssemblyWithoutComVisibleTest.csproj [new file with mode: 0644]
tests/src/Interop/PInvoke/NativeCallManagedComVisible/CMakeLists.txt [new file with mode: 0644]
tests/src/Interop/PInvoke/NativeCallManagedComVisible/ComVisibleNative.cpp [new file with mode: 0644]
tests/src/Interop/PInvoke/NativeCallManagedComVisible/Default/DefaultTest.cs [new file with mode: 0644]
tests/src/Interop/PInvoke/NativeCallManagedComVisible/Default/DefaultTest.csproj [new file with mode: 0644]
tests/src/Interop/PInvoke/NativeCallManagedComVisible/Helpers.cs [new file with mode: 0644]