Increment gTest version to get rid of warning during cmake-configure (#3351)

* increase version

* update manifest

* fix test
This commit is contained in:
Victor Vazquez 2022-02-17 13:41:04 -08:00 committed by GitHub
parent d741007571
commit 74576d640f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 25 additions and 25 deletions

View File

@ -15,7 +15,7 @@ if(CMAKE_VERSION VERSION_LESS 3.11)
download_project(
PROJ googletest
GIT_REPOSITORY https://github.com/google/googletest.git
GIT_TAG release-1.10.0
GIT_TAG release-1.11.0
UPDATE_DISCONNECTED 1
QUIET
)
@ -29,7 +29,7 @@ else()
FetchContent_Declare(
googletest
GIT_REPOSITORY https://github.com/google/googletest.git
GIT_TAG release-1.10.0
GIT_TAG release-1.11.0
)
FetchContent_GetProperties(googletest)
if(NOT googletest_POPULATED)

View File

@ -12,11 +12,11 @@
},
{
"Component": {
"Type": "git",
"git": {
"RepositoryUrl": "https://github.com/nlohmann/json",
"CommitHash": "db78ac1d7716f56fc9f1b030b715f872f93964e4"
}
"Type": "git",
"git": {
"RepositoryUrl": "https://github.com/nlohmann/json",
"CommitHash": "db78ac1d7716f56fc9f1b030b715f872f93964e4"
}
},
"DevelopmentDependency": false
},
@ -25,7 +25,7 @@
"Type": "git",
"git": {
"RepositoryUrl": "https://github.com/google/googletest",
"CommitHash": "703bd9caab50b139428cea1aaff9974ebee5742e"
"CommitHash": "e2239ee6043f73722e7aa812a459f54a28552929"
}
},
"DevelopmentDependency": true
@ -54,24 +54,24 @@
},
{
"Component": {
"Type": "git",
"git": {
"RepositoryUrl": "https://github.com/CLIUtils/cmake",
"CommitHash": "4e52e4d0bc2e9fd27171926d0b5d9f396dd8637c"
}
"Type": "git",
"git": {
"RepositoryUrl": "https://github.com/CLIUtils/cmake",
"CommitHash": "4e52e4d0bc2e9fd27171926d0b5d9f396dd8637c"
}
},
"DevelopmentDependency": true
},
{
"Component": {
"Type": "other",
"Other": {
"Name": "gcovr",
"Version": "3.4-1",
"DownloadUrl": "https://ubuntu.pkgs.org/18.04/ubuntu-universe-amd64/gcovr_3.4-1_all.deb.html"
}
},
"DevelopmentDependency": true
"Component": {
"Type": "other",
"Other": {
"Name": "gcovr",
"Version": "3.4-1",
"DownloadUrl": "https://ubuntu.pkgs.org/18.04/ubuntu-universe-amd64/gcovr_3.4-1_all.deb.html"
}
},
"DevelopmentDependency": true
},
{
"Component": {
@ -84,4 +84,4 @@
"DevelopmentDependency": true
}
]
}
}

View File

@ -530,7 +530,7 @@ namespace Azure { namespace Storage { namespace Test {
TEST_P(DowloadShare, fromBuffer)
{
auto const p = GetParam();
ShareConcurrentDownloadParameter const& p(GetParam());
m_fileContent = std::vector<uint8_t>(static_cast<size_t>(8_MB), 'x');
m_fileClient->UploadFrom(m_fileContent.data(), m_fileContent.size());
@ -605,7 +605,7 @@ namespace Azure { namespace Storage { namespace Test {
TEST_P(DowloadShare, fromFile)
{
auto const p = GetParam();
ShareConcurrentDownloadParameter const& p(GetParam());
m_fileContent = std::vector<uint8_t>(static_cast<size_t>(8_MB), 'x');
m_fileClient->UploadFrom(m_fileContent.data(), m_fileContent.size());