Updating version to beta1
This commit is contained in:
Родитель
28e54ba719
Коммит
4711271beb
|
@ -5,7 +5,7 @@
|
|||
<SignalRClientCppVersionMajor>1</SignalRClientCppVersionMajor>
|
||||
<SignalRClientCppVersionMinor>0</SignalRClientCppVersionMinor>
|
||||
<SignalRClientCppVersionPatch>0</SignalRClientCppVersionPatch>
|
||||
<SignalRClientCppVersionSuffix>-alpha1</SignalRClientCppVersionSuffix>
|
||||
<SignalRClientCppVersionSuffix>-beta1</SignalRClientCppVersionSuffix>
|
||||
<!-- $(build_number) generated by Team City -->
|
||||
<SignalRClientCppVersionSuffix Condition="'$(build_number)' != '' And '$(build_branch)' != 'release'">$(SignalRClientCppVersionSuffix)-$(build_number)</SignalRClientCppVersionSuffix>
|
||||
<SignalRClientCppVersionString>$(SignalRClientCppVersionMajor).$(SignalRClientCppVersionMinor).$(SignalRClientCppVersionPatch)$(SignalRClientCppVersionSuffix)</SignalRClientCppVersionString>
|
||||
|
|
|
@ -42,10 +42,6 @@
|
|||
Projects="@(TestProjects)"
|
||||
Properties="Configuration=$(Configuration);Platform=$(Platform);PlatformToolset=$(PlatformToolset)" />
|
||||
|
||||
<MSBuild Targets="$(BuildTargets)"
|
||||
Projects="@(TestProjects)"
|
||||
Properties="Configuration=$(Configuration);Platform=$(Platform);PlatformToolset=$(PlatformToolset)" />
|
||||
|
||||
<MSBuild Targets="$(BuildTargets)"
|
||||
Projects="@(SampleProjects)"
|
||||
Properties="Configuration=$(Configuration);Platform=$(Platform);PlatformToolset=$(PlatformToolset)" />
|
||||
|
|
|
@ -5,6 +5,6 @@
|
|||
|
||||
#include "cpprest/details/basic_types.h"
|
||||
|
||||
#define SIGNALR_VERSION _XPLATSTR("1.0.0-alpha")
|
||||
#define SIGNALR_VERSION _XPLATSTR("1.0.0-beta1")
|
||||
#define PROTOCOL _XPLATSTR("1.4")
|
||||
#define USER_AGENT _XPLATSTR("SignalR.Client.Cpp/") SIGNALR_VERSION
|
||||
|
|
|
@ -57,7 +57,7 @@ TEST(http_sender_get_response, user_agent_set)
|
|||
auto request = new web_request_stub((unsigned short)200, _XPLATSTR("OK"), response_body);
|
||||
request->on_get_response = [](web_request_stub& request)
|
||||
{
|
||||
ASSERT_EQ(_XPLATSTR("SignalR.Client.Cpp/1.0.0-alpha"), request.m_user_agent_string);
|
||||
ASSERT_EQ(_XPLATSTR("SignalR.Client.Cpp/1.0.0-beta1"), request.m_user_agent_string);
|
||||
};
|
||||
|
||||
return std::unique_ptr<web_request>(request);
|
||||
|
|
Загрузка…
Ссылка в новой задаче