Commit 935b7545 authored by Ghislain MARY's avatar Ghislain MARY

Remove useless files.

parent 26a61147
// belle-sip-tester-native.cpp
#include "pch.h"
#include <string>
#include "belle-sip-tester-native.h"
#include "belle-sip/belle-sip.h"
......@@ -12,17 +12,16 @@ CainSipTesterNative::CainSipTesterNative()
void CainSipTesterNative::run(Platform::String^ name, Platform::Boolean verbose)
{
char suitename[128];
const wchar_t *wcname;
std::wstring all(L"ALL");
std::wstring suitename = name->Data();
char cname[128] = { 0 };
wcstombs(cname, suitename.c_str(), sizeof(cname));
suitename[0] = '\0';
wcname = name->Data();
wcstombs(suitename, wcname, sizeof(suitename));
if (strncmp(suitename, "ALL", sizeof(suitename)) == 0) suitename[0] = '\0';
if (verbose) {
belle_sip_set_log_level(BELLE_SIP_LOG_DEBUG);
} else {
belle_sip_set_log_level(BELLE_SIP_LOG_ERROR);
}
belle_sip_tester_run_tests(suitename[0] == '\0' ? 0 : suitename, 0);
belle_sip_tester_run_tests(suitename == all ? 0 : cname, 0);
}
#pragma once
#ifdef __cplusplus
extern "C" {
#endif
int belle_sip_tester_run_tests(char *suite_name, char *test_name);
#ifdef __cplusplus
}
#endif
namespace belle_sip_tester_native
{
......
......@@ -53,19 +53,7 @@
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
<IntDir>$(SolutionDir)$(Platform)\$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
<IntDir>$(SolutionDir)$(Platform)\$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">
<OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
<IntDir>$(SolutionDir)$(Platform)\$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">
<PropertyGroup>
<OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
<IntDir>$(SolutionDir)$(Platform)\$(Configuration)\</IntDir>
</PropertyGroup>
......@@ -78,10 +66,9 @@
<AdditionalIncludeDirectories>$(ProjectDir);$(GeneratedFilesDir);$(IntDir);$(ProjectDir)..\..\..\..\include;$(ProjectDir)..\..\..\..\src;$(ProjectDir)..\..\..\..\..\cunit\build\windows\cunit\$(Platform)\$(Configuration);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_WINRT_DLL;_CRT_SECURE_NO_WARNINGS;HAVE_CU_GET_SUITE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
<PrecompiledHeader>Use</PrecompiledHeader>
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<AdditionalUsingDirectories>$(WindowsSDK_MetadataPath);$(AdditionalUsingDirectories)</AdditionalUsingDirectories>
<CompileAsWinRT>true</CompileAsWinRT>
<CompileAsWinRT>false</CompileAsWinRT>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
......@@ -102,10 +89,9 @@
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PrecompiledHeader>Use</PrecompiledHeader>
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<AdditionalUsingDirectories>$(WindowsSDK_MetadataPath);$(AdditionalUsingDirectories)</AdditionalUsingDirectories>
<CompileAsWinRT>true</CompileAsWinRT>
<CompileAsWinRT>false</CompileAsWinRT>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
......@@ -122,10 +108,9 @@
<AdditionalIncludeDirectories>$(ProjectDir);$(GeneratedFilesDir);$(IntDir);$(ProjectDir)..\..\..\..\include;$(ProjectDir)..\..\..\..\src;$(ProjectDir)..\..\..\..\..\cunit\build\windows\cunit\$(Platform)\$(Configuration);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_WINRT_DLL;_CRT_SECURE_NO_WARNINGS;HAVE_CU_GET_SUITE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
<PrecompiledHeader>Use</PrecompiledHeader>
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<AdditionalUsingDirectories>$(WindowsSDK_MetadataPath);$(AdditionalUsingDirectories)</AdditionalUsingDirectories>
<CompileAsWinRT>true</CompileAsWinRT>
<CompileAsWinRT>false</CompileAsWinRT>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
......@@ -146,11 +131,9 @@
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PrecompiledHeader>Use</PrecompiledHeader>
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<AdditionalUsingDirectories>$(WindowsSDK_MetadataPath);$(AdditionalUsingDirectories)</AdditionalUsingDirectories>
<CompileAsWinRT>true</CompileAsWinRT>
<AdditionalIncludeDirectories>$(ProjectDir);$(GeneratedFilesDir);$(IntDir);$(ProjectDir)..\..\..\..\..\cunit\build\windows\cunit\$(Platform)\$(Configuration);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<CompileAsWinRT>false</CompileAsWinRT>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
......@@ -170,57 +153,22 @@
<ItemGroup>
<ClInclude Include="..\..\..\..\tester\register_tester.h" />
<ClInclude Include="belle-sip-tester-native.h" />
<ClInclude Include="pch.h" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="belle-sip-tester-native.cpp" />
<ClCompile Include="pch.cpp">
<PrecompiledHeader>Create</PrecompiledHeader>
</ClCompile>
<ClCompile Include="..\..\..\..\tester\auth_helper_tester.c">
<CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">false</CompileAsWinRT>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">NotUsing</PrecompiledHeader>
</ClCompile>
<ClCompile Include="..\..\..\..\tester\belle_sdp_tester.c">
<CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">false</CompileAsWinRT>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">NotUsing</PrecompiledHeader>
</ClCompile>
<ClCompile Include="..\..\..\..\tester\belle_sip_dialog_tester.c">
<CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">false</CompileAsWinRT>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">NotUsing</PrecompiledHeader>
</ClCompile>
<ClCompile Include="..\..\..\..\tester\belle_sip_headers_tester.c">
<CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">false</CompileAsWinRT>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">NotUsing</PrecompiledHeader>
</ClCompile>
<ClCompile Include="..\..\..\..\tester\belle_sip_message_tester.c">
<CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">false</CompileAsWinRT>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">NotUsing</PrecompiledHeader>
</ClCompile>
<ClCompile Include="..\..\..\..\tester\belle_sip_refresher_tester.c">
<CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">false</CompileAsWinRT>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">NotUsing</PrecompiledHeader>
</ClCompile>
<ClCompile Include="..\..\..\..\tester\belle_sip_register_tester.c">
<CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">false</CompileAsWinRT>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">NotUsing</PrecompiledHeader>
</ClCompile>
<ClCompile Include="..\..\..\..\tester\belle_sip_resolver_tester.c">
<CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">false</CompileAsWinRT>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">NotUsing</PrecompiledHeader>
</ClCompile>
<ClCompile Include="..\..\..\..\tester\belle_sip_uri_tester.c">
<CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">false</CompileAsWinRT>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">NotUsing</PrecompiledHeader>
</ClCompile>
<ClCompile Include="..\..\..\..\tester\cast_test.c">
<CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">false</CompileAsWinRT>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">NotUsing</PrecompiledHeader>
</ClCompile>
<ClCompile Include="..\..\..\..\tester\belle_sip_tester.c">
<CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">false</CompileAsWinRT>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">NotUsing</PrecompiledHeader>
</ClCompile>
<ClCompile Include="belle-sip-tester-native.cpp">
<CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">true</CompileAsWinRT>
</ClCompile>
<ClCompile Include="..\..\..\..\tester\auth_helper_tester.c" />
<ClCompile Include="..\..\..\..\tester\belle_sdp_tester.c" />
<ClCompile Include="..\..\..\..\tester\belle_sip_dialog_tester.c" />
<ClCompile Include="..\..\..\..\tester\belle_sip_headers_tester.c" />
<ClCompile Include="..\..\..\..\tester\belle_sip_message_tester.c" />
<ClCompile Include="..\..\..\..\tester\belle_sip_refresher_tester.c" />
<ClCompile Include="..\..\..\..\tester\belle_sip_register_tester.c" />
<ClCompile Include="..\..\..\..\tester\belle_sip_resolver_tester.c" />
<ClCompile Include="..\..\..\..\tester\belle_sip_uri_tester.c" />
<ClCompile Include="..\..\..\..\tester\cast_test.c" />
<ClCompile Include="..\..\..\..\tester\belle_sip_tester.c" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\..\..\..\cunit\build\windows\cunit\cunit.vcxproj">
......
//
// pch.cpp
// Include the standard header and generate the precompiled header.
//
#include "pch.h"
//
// pch.h
// Header for standard system include files.
//
#pragma once
This diff is collapsed.
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="dllmain.cpp" />
<ClCompile Include="pch.cpp" />
<ClCompile Include="..\..\..\src\auth_event.c" />
<ClCompile Include="..\..\..\src\auth_helper.c" />
<ClCompile Include="..\..\..\src\belle_sdpLexer.c" />
<ClCompile Include="..\..\..\src\belle_sdpParser.c" />
<ClCompile Include="..\..\..\src\belle_sdp_impl.c" />
<ClCompile Include="..\..\..\src\belle_sip_headers_impl.c" />
<ClCompile Include="..\..\..\src\belle_sip_loop.c" />
<ClCompile Include="..\..\..\src\belle_sip_messageLexer.c" />
<ClCompile Include="..\..\..\src\belle_sip_messageParser.c" />
<ClCompile Include="..\..\..\src\belle_sip_object.c" />
<ClCompile Include="..\..\..\src\belle_sip_parameters.c" />
<ClCompile Include="..\..\..\src\belle_sip_resolver.c" />
<ClCompile Include="..\..\..\src\belle_sip_uri_impl.c" />
<ClCompile Include="..\..\..\src\belle_sip_utils.c" />
<ClCompile Include="..\..\..\src\channel.c" />
<ClCompile Include="..\..\..\src\dialog.c" />
<ClCompile Include="..\..\..\src\dns.c" />
<ClCompile Include="..\..\..\src\ict.c" />
<ClCompile Include="..\..\..\src\ist.c" />
<ClCompile Include="..\..\..\src\listeningpoint.c" />
<ClCompile Include="..\..\..\src\md5.c" />
<ClCompile Include="..\..\..\src\message.c" />
<ClCompile Include="..\..\..\src\nict.c" />
<ClCompile Include="..\..\..\src\nist.c" />
<ClCompile Include="..\..\..\src\port.c" />
<ClCompile Include="..\..\..\src\provider.c" />
<ClCompile Include="..\..\..\src\refresher.c" />
<ClCompile Include="..\..\..\src\siplistener.c" />
<ClCompile Include="..\..\..\src\sipstack.c" />
<ClCompile Include="..\..\..\src\transaction.c" />
<ClCompile Include="..\..\..\src\transports\stream_channel.c" />
<ClCompile Include="..\..\..\src\transports\stream_listeningpoint.c" />
<ClCompile Include="..\..\..\src\transports\tls_channel.c" />
<ClCompile Include="..\..\..\src\transports\tls_listeningpoint.c" />
<ClCompile Include="..\..\..\src\transports\udp_channel.c" />
<ClCompile Include="..\..\..\src\transports\udp_listeningpoint.c" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="pch.h" />
<ClInclude Include="targetver.h" />
<ClInclude Include="..\..\..\include\belle-sip\auth-helper.h" />
<ClInclude Include="..\..\..\include\belle-sip\belle-sdp.h" />
<ClInclude Include="..\..\..\include\belle-sip\belle-sip.h" />
<ClInclude Include="..\..\..\include\belle-sip\dialog.h" />
<ClInclude Include="..\..\..\include\belle-sip\headers.h" />
<ClInclude Include="..\..\..\include\belle-sip\list.h" />
<ClInclude Include="..\..\..\include\belle-sip\listener.h" />
<ClInclude Include="..\..\..\include\belle-sip\listeningpoint.h" />
<ClInclude Include="..\..\..\include\belle-sip\mainloop.h" />
<ClInclude Include="..\..\..\include\belle-sip\message.h" />
<ClInclude Include="..\..\..\include\belle-sip\object.h" />
<ClInclude Include="..\..\..\include\belle-sip\parameters.h" />
<ClInclude Include="..\..\..\include\belle-sip\provider.h" />
<ClInclude Include="..\..\..\include\belle-sip\refresher-helper.h" />
<ClInclude Include="..\..\..\include\belle-sip\sipstack.h" />
<ClInclude Include="..\..\..\include\belle-sip\transaction.h" />
<ClInclude Include="..\..\..\include\belle-sip\uri.h" />
<ClInclude Include="..\..\..\include\belle-sip\utils.h" />
<ClInclude Include="..\..\..\src\belle_sdpLexer.h" />
<ClInclude Include="..\..\..\src\belle_sdpParser.h" />
<ClInclude Include="..\..\..\src\belle_sip_internal.h" />
<ClInclude Include="..\..\..\src\belle_sip_messageLexer.h" />
<ClInclude Include="..\..\..\src\belle_sip_messageParser.h" />
<ClInclude Include="..\..\..\src\belle_sip_resolver.h" />
<ClInclude Include="..\..\..\src\channel.h" />
<ClInclude Include="..\..\..\src\dns.h" />
<ClInclude Include="..\..\..\src\listeningpoint_internal.h" />
<ClInclude Include="..\..\..\src\md5.h" />
<ClInclude Include="..\..\..\src\port.h" />
</ItemGroup>
<ItemGroup>
<CustomBuild Include="..\..\..\src\belle_sdp.g" />
<CustomBuild Include="..\..\..\src\belle_sip_message.g" />
</ItemGroup>
</Project>
\ No newline at end of file
// dllmain.cpp : Defines the entry point for the DLL application.
#include "pch.h"
BOOL APIENTRY DllMain(HMODULE /* hModule */, DWORD ul_reason_for_call, LPVOID /* lpReserved */)
{
switch (ul_reason_for_call)
{
case DLL_PROCESS_ATTACH:
case DLL_THREAD_ATTACH:
case DLL_THREAD_DETACH:
case DLL_PROCESS_DETACH:
break;
}
return TRUE;
}
//
// pch.cpp
// Include the standard header and generate the precompiled header.
//
#include "pch.h"
//
// pch.h
// Header for standard system include files.
//
#pragma once
#include "targetver.h"
// Windows Header Files:
#include <windows.h>
#pragma once
// Including SDKDDKVer.h defines the highest available Windows platform.
// If you wish to build your application for a previous Windows platform, include WinSDKVer.h and
// set the _WIN32_WINNT macro to the platform you wish to support before including SDKDDKVer.h.
#include <SDKDDKVer.h>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment