Add PInvoke/Decimal tests (#19301)
authorZeng Jiang <v-jiazen@microsoft.com>
Sat, 17 Nov 2018 00:25:43 +0000 (08:25 +0800)
committerJeremy Koritzinsky <jkoritzinsky@gmail.com>
Sat, 17 Nov 2018 00:25:43 +0000 (16:25 -0800)
commit4e23b22ee5cce5db9f8aafb4c6e3b17dbfe07567
tree4a0d0d9a09edffb1ef06dc56f9875ecfe15807f4
parent480defd204b58fae05b692937295c6533673d3a2
Add PInvoke/Decimal tests (#19301)

* Add PInvoke/Decimal Tests

* Remove tests that fail on both .NET Framework and .NET Core.

* Refactor away the Windows-only headers.

* Make Decimal tests build on Linux.

* Remove some dead code.

* Clean up formatting.

* Don't run Decimal <--> Currency tests off-Windows.

* Make calling conventions and parameter/return marshalling more explicit
tests/src/Interop/CMakeLists.txt
tests/src/Interop/PInvoke/Decimal/PInvoke/CMakeLists.txt [new file with mode: 0644]
tests/src/Interop/PInvoke/Decimal/PInvoke/DecNative.cpp [new file with mode: 0644]
tests/src/Interop/PInvoke/Decimal/PInvoke/DecimalTest.cs [new file with mode: 0644]
tests/src/Interop/PInvoke/Decimal/PInvoke/DecimalTest.csproj [new file with mode: 0644]
tests/src/Interop/PInvoke/Decimal/ReversePInvoke/CMakeLists.txt [new file with mode: 0644]
tests/src/Interop/PInvoke/Decimal/ReversePInvoke/DecimalTest.cs [new file with mode: 0644]
tests/src/Interop/PInvoke/Decimal/ReversePInvoke/DecimalTest.csproj [new file with mode: 0644]
tests/src/Interop/PInvoke/Decimal/ReversePInvoke/RevNative.cpp [new file with mode: 0644]
tests/src/Interop/common/types.h
tests/src/Interop/common/xplatform.h