diff options
author | Oz Linden <oz@lindenlab.com> | 2013-03-27 13:20:48 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2013-03-27 13:20:48 -0400 |
commit | c17db85e73a91c145d6eebe36b3b05e2289deae0 (patch) | |
tree | 1c534495d9242497715d9f01d43e643b34bb9cb7 /indra/viewer_components/updater/tests/llupdaterservice_test.cpp | |
parent | e68ab0a563061d3d65a3f552a1f5856071bd230e (diff) |
add platform and platform version to login request parameters for new version manager query
Diffstat (limited to 'indra/viewer_components/updater/tests/llupdaterservice_test.cpp')
-rw-r--r-- | indra/viewer_components/updater/tests/llupdaterservice_test.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/indra/viewer_components/updater/tests/llupdaterservice_test.cpp b/indra/viewer_components/updater/tests/llupdaterservice_test.cpp index a7b8a74b61..4812272ebc 100644 --- a/indra/viewer_components/updater/tests/llupdaterservice_test.cpp +++ b/indra/viewer_components/updater/tests/llupdaterservice_test.cpp @@ -48,6 +48,7 @@ void LLUpdateChecker::checkVersion(std::string const & hostUrl, std::string const & servicePath, std::string const & channel, std::string const & version, + std::string const & platform, std::string const & platform_version, unsigned char uniqueid[MD5HEX_STR_SIZE], bool willing_to_test) @@ -178,10 +179,10 @@ namespace tut try { unsigned char id1[MD5HEX_STR_SIZE] = "11111111111111111111111111111111"; - updater.initialize(test_url, "update" ,test_channel, test_version, "1.2.3", id1, true); + updater.initialize(test_url, "update" ,test_channel, test_version, "win", "1.2.3", id1, true); updater.startChecking(); unsigned char id2[MD5HEX_STR_SIZE] = "22222222222222222222222222222222"; - updater.initialize("other_url", "update", test_channel, test_version, "4.5.6", id2, true); + updater.initialize("other_url", "update", test_channel, test_version, "win", "4.5.6", id2, true); } catch(LLUpdaterService::UsageError) { @@ -196,7 +197,7 @@ namespace tut DEBUG; LLUpdaterService updater; unsigned char id[MD5HEX_STR_SIZE] = "33333333333333333333333333333333"; - updater.initialize(test_url, "update", test_channel, test_version, "7.8.9", id, true); + updater.initialize(test_url, "update", test_channel, test_version, "win", "7.8.9", id, true); updater.startChecking(); ensure(updater.isChecking()); updater.stopChecking(); |