File tree Expand file tree Collapse file tree 5 files changed +12
-7
lines changed Expand file tree Collapse file tree 5 files changed +12
-7
lines changed Original file line number Diff line number Diff line change 11# v9.0.0
2+ - [ fixed] Fixed CMake build errors when building with Xcode 13.3.1 (#9702 ).
23- [ fixed] ** Breaking change:** Fixed an issue where returning ` nil ` from the
34 update closure when running a transaction caused a crash in Swift by removing
45 the auto-generated ` async throw ` ing method from the ` FirebaseFirestore `
Original file line number Diff line number Diff line change 1717
1818Pod ::Spec . new do |s |
1919 s . name = 'GoogleTest'
20- s . version = '1.10.0 '
20+ s . version = '99.99.99 '
2121 s . summary = 'Google Test'
2222
2323 s . description = <<-DESC
@@ -30,7 +30,7 @@ Google's C++ test framework.
3030
3131 s . source = {
3232 :git => 'https://github.com/google/googletest.git' ,
33- :tag => 'release-' + s . version . to_s
33+ :commit => 'bf66935e07825318ae519675d73d0f3e313b3ec6'
3434 }
3535
3636 s . ios . deployment_target = '10.0'
@@ -92,7 +92,7 @@ Google's C++ test framework.
9292 # Remove includes of files in internal/custom
9393 sed -i.bak -e '/include.*internal\/custom/ d' \
9494 googlemock/include/gmock/gmock-matchers.h \
95- googlemock/include/gmock/gmock-generated -actions.h \
95+ googlemock/include/gmock/gmock-more -actions.h \
9696 googlemock/include/gmock/internal/gmock-port.h \
9797 googletest/include/gtest/gtest-printers.h \
9898 googletest/include/gtest/internal/gtest-port.h \
Original file line number Diff line number Diff line change @@ -539,6 +539,7 @@ - (void)testReadingADocTwiceWithDifferentVersions {
539539 ++(*counter);
540540 // Get the doc once.
541541 FIRDocumentSnapshot *snapshot = [transaction getDocument: doc error: error];
542+ XCTAssertNotNil (snapshot);
542543 XCTAssertNil (*error);
543544 // Do a write outside of the transaction. Because the transaction will retry, set the
544545 // document to a different value each time.
@@ -557,6 +558,7 @@ - (void)testReadingADocTwiceWithDifferentVersions {
557558 // TODO(klimt): Perhaps we shouldn't fail reads for this, but should wait and fail the
558559 // whole transaction? It's an edge-case anyway, as developers shouldn't be reading the same
559560 // doc multiple times. But they need to handle read errors anyway.
561+ XCTAssertNil (snapshot);
560562 XCTAssertNotNil (*error);
561563 return nil ;
562564 }
Original file line number Diff line number Diff line change @@ -70,6 +70,7 @@ class User {
7070 }
7171#endif // defined(__OBJC__)
7272
73+ User (const User& other) = default ;
7374 User& operator=(const User& other) = default ;
7475
7576 friend bool operator==(const User& lhs, const User& rhs);
Original file line number Diff line number Diff line change @@ -18,15 +18,16 @@ if(TARGET googletest OR NOT DOWNLOAD_GOOGLETEST)
1818 return ()
1919endif ()
2020
21- set (version 1.10.0 )
21+ # Note: googletest lives at head and encourages to just point to a head commit.
22+ # https://github.com/google/googletest/blob/bf66935e07/README.md?plain=1#L5-L10
23+ set (version bf66935e07825318ae519675d73d0f3e313b3ec6 )
2224
2325ExternalProject_Add (
2426 googletest
2527
2628 DOWNLOAD_DIR ${FIREBASE_DOWNLOAD_DIR}
27- DOWNLOAD_NAME googletest-${version}.tar.gz
28- URL https://github.com/google/googletest/archive/release-${version}.tar.gz
29- URL_HASH SHA256=9dc9157a9a1551ec7a7e43daea9a694a0bb5fb8bec81235d8a1e6ef64c716dcb
29+ GIT_REPOSITORY https://github.com/google/googletest.git
30+ GIT_TAG "${version} "
3031
3132 PREFIX ${PROJECT_BINARY_DIR}
3233
You can’t perform that action at this time.
0 commit comments