Update interop test xplat header (#19576)
authorAaron Robinson <arobins@microsoft.com>
Fri, 24 Aug 2018 18:19:28 +0000 (11:19 -0700)
committerGitHub <noreply@github.com>
Fri, 24 Aug 2018 18:19:28 +0000 (11:19 -0700)
commit28b3319c937c9fb0dcf4a5fa0223ace6f07a2bf3
tree5fc807cc8f5c6d298a6873e769c00a89a067bb9f
parent769f506d4f0182b3586624bf649bdff7465dae92
Update interop test xplat header (#19576)

* Remove no-op #define logic for Interop tests
Remove single usage of #define for function remap

* Consolidate all uses of CoTaskMem* functions into new CoreClr* functions
for the Interop native tests.

* Remove unused functions and make formatting consistent.

* Remove '_cdecl' and replace all uses with '__cdecl'

* Convert '__stdcall' to 'STDMETHODCALLTYPE' for all non-calling convention dependent tests

* Replace 'CALLBACK' and 'NATIVEAPI' calling convention macros will well-defined 'STDMETHODCALLTYPE'
30 files changed:
tests/src/Interop/ArrayMarshalling/BoolArray/CMakeLists.txt
tests/src/Interop/ArrayMarshalling/BoolArray/MarshalBoolArrayNative.cpp
tests/src/Interop/ArrayMarshalling/ByValArray/MarshalArrayByValNative.cpp
tests/src/Interop/BestFitMapping/BestFitMappingNative.cpp
tests/src/Interop/COM/NativeServer/ErrorMarshalTesting.h
tests/src/Interop/COM/ServerContracts/Server.Contracts.tlh
tests/src/Interop/DllImportAttribute/ExeFile/ExeFile.cpp
tests/src/Interop/DllImportAttribute/FileNameContainDot/DllFile.Probe.cpp
tests/src/Interop/DllImportAttribute/Simple/DllFileProbe.cpp
tests/src/Interop/FuncPtrAsDelegateParam/FuncPtrAsDelegateParamNative.cpp
tests/src/Interop/MarshalAPI/FunctionPointer/CMakeLists.txt
tests/src/Interop/MarshalAPI/FunctionPointer/FunctionPointerNative.cpp
tests/src/Interop/MarshalAPI/IUnknown/CMakeLists.txt
tests/src/Interop/MarshalAPI/IUnknown/IUnknownNative.cpp
tests/src/Interop/NativeCallable/NativeCallableDll.cpp
tests/src/Interop/PrimitiveMarshalling/Bool/BoolNative.cpp
tests/src/Interop/PrimitiveMarshalling/EnumMarshalling/MarshalEnumNative.cpp
tests/src/Interop/PrimitiveMarshalling/UIntPtr/UIntPtrNative.cpp
tests/src/Interop/RefCharArray/RefCharArrayNative.cpp
tests/src/Interop/RefInt/CMakeLists.txt
tests/src/Interop/RefInt/RefIntNative.cpp
tests/src/Interop/SimpleStruct/SimpleStructNative.cpp
tests/src/Interop/SizeConst/CMakeLists.txt
tests/src/Interop/SizeConst/SizeConstNative.cpp
tests/src/Interop/StringMarshalling/LPSTR/LPSTRTestNative.cpp
tests/src/Interop/StringMarshalling/LPTSTR/LPTSTRTestNative.cpp
tests/src/Interop/StringMarshalling/UTF8/UTF8TestNative.cpp
tests/src/Interop/StructMarshalling/PInvoke/MarshalStructAsParamDLL.cpp
tests/src/Interop/StructMarshalling/PInvoke/MarshalStructAsParamDLL.h
tests/src/Interop/common/xplatform.h