4417 Commits

Author SHA1 Message Date
John Graley
0f11c7e824
Update README.md 2024-02-14 18:32:32 +00:00
John Graley
7c2d0fb626
Update README.md 2024-02-14 18:30:56 +00:00
John
bf6306a181 Merge branch 'main' of github.com:jgraley/cotest into main 2024-02-14 18:28:25 +00:00
John
2da253eec8 remove confusing accepts 2024-02-14 18:28:17 +00:00
John Graley
c1c4faf6d2
Update sheared-ordering.md 2024-02-14 18:25:44 +00:00
John Graley
094b79d2ff
Update crf_constraints.md 2024-02-14 18:25:18 +00:00
John Graley
bb43cf558a
Update sheared-ordering.md 2024-02-14 18:19:26 +00:00
John Graley
cc650a83b0
Update design_notes.md 2024-02-14 18:18:46 +00:00
John
50360d466a Merge branch 'main' of github.com:jgraley/cotest into main 2024-02-14 18:18:03 +00:00
John
8a8e114cbc add docs 2024-02-14 18:17:24 +00:00
John Graley
0bbd8a61c6
Update README.md 2024-02-14 18:02:24 +00:00
John Graley
51448f4a53
Update 12-refactor_request.yml 2024-02-14 17:34:30 +00:00
John
f030c43724 Merge branch 'main' of github.com:jgraley/cotest into main 2024-02-14 17:32:50 +00:00
John
6f3c365606 tform for refactors 2024-02-14 17:32:37 +00:00
John Graley
40b64db017
Update 11-docs_request.yml 2024-02-14 17:28:33 +00:00
John Graley
3f0895632e
Update 11-docs_request.yml 2024-02-14 17:26:17 +00:00
John
24774035f6 add a documentation request 2024-02-14 17:25:20 +00:00
John Graley
929e0b15d1
Update 00-bug_report.yml 2024-02-14 17:23:12 +00:00
John Graley
310823be75
Update 00-bug_report.yml 2024-02-14 17:21:25 +00:00
John Graley
0290a0f745
Update 00-bug_report.yml 2024-02-14 17:20:19 +00:00
John Graley
6035561256
Update 00-bug_report.yml 2024-02-14 17:19:00 +00:00
John Graley
9888252d27
Update 10-feature_request.yml 2024-02-14 17:08:52 +00:00
John Graley
bbb5794cc3
Update 10-feature_request.yml
Simplify a bit for cotest
2024-02-14 17:08:22 +00:00
John
9b502aaf21 drop detail 2024-02-14 16:15:13 +00:00
John
6f756216db clarify 2024-02-14 16:13:50 +00:00
John
3fa422f511 use the term data structure since that's how I'd explain it 2024-02-14 16:12:54 +00:00
John
91f4cc572a capitalisation shall be Cotest or cotest 2024-02-14 16:10:18 +00:00
John
f9de82e1f1 tidier docs 2024-02-14 16:09:38 +00:00
John
bcc75def1b links to examples 2024-02-14 15:53:04 +00:00
John
815c4b752e small edit to text 2024-02-14 15:46:48 +00:00
John
9be0a8cdd0 reorganise text 2024-02-14 15:44:19 +00:00
John
141bb9b3df no need for subheading 2024-02-14 15:37:22 +00:00
John
366ded581d basic intro 2024-02-14 15:35:05 +00:00
John
f7782b9eb8 fix cotest vars 2024-02-14 13:48:40 +00:00
John
b9195c32bc change not needed once cotest vars fixed 2024-02-14 13:48:13 +00:00
John
cd9b4de20e gmock updates applied and compiling 2024-02-14 13:26:30 +00:00
John
3423814d5a add quiet form of mocker functions that limit side-effects and avoid locking gmock mutex 2024-02-14 12:14:27 +00:00
John
8cc4372d76 provide alternative carinality constructor for CardinalityInterface objects already managed by shared_ptr 2024-02-14 12:11:25 +00:00
John
8cfe0661bf provide alternative action constructor for ActionInterface objects already managed by shared_ptr 2024-02-14 12:08:07 +00:00
John
ae025daee7 Seem to need this change to the PYTHONPATH to permit googletest's python tests to be able to include gtest_test_utils from googletest.test 2024-02-14 12:05:57 +00:00
John
37e5e2e430 CMakefile to build coroutines subproject 2024-02-14 10:53:26 +00:00
John
3121b799a9 cannot rely on pthread_self() when thread-based coros in use 2024-02-14 10:46:13 +00:00
John
236f34476b make the strict flags stricter for gcc 2024-02-14 10:40:24 +00:00
John
23a5db8330 remove Google Test docs to avoid confusion 2024-02-14 10:29:53 +00:00
John
615c5bc563 add coroutines source and tests to repo as a sub-project alongside googletest and googlemock 2024-02-14 10:24:53 +00:00
Abseil Team
9756ee7cba Support Fuchsia target builds.
The Fuchsia team has been using either fork branches
(https://fuchsia.googlesource.com/third_
party/github.com/google/googletest/+/refs/heads/sandbox/fuchsia_bazel_sdk)
or patch files
(https://cs.opensource.google/fuchsia/fuchsia/+/main:build/bazel/patches/googletest/fuchsia-support.bundle)
to support googletest-based tests that run against a Fuchsia target device.

As our SDK is maturing and @platforms//os:fuchsia constraint has been added
for a while now, upstream Fuchsia gtest support to reduce technical debt and
overhead.

This change is noop for non-fuchsia platform builds.

PiperOrigin-RevId: 606843739
Change-Id: I61e0eb9c641f288d7ae57354fc0b484fce013223
2024-02-13 20:56:40 -08:00
Abseil Team
6eb225cb88 Add anchor for expectation ordering note
PiperOrigin-RevId: 606736565
Change-Id: Ifad0b34e1deeec1374377d733375c6210896d0d3
2024-02-13 13:55:04 -08:00
Matt Kulukundis
b75ecf1bed Switch rank structs to be consistent with written guidance in go/ranked-overloads
PiperOrigin-RevId: 605110251
Change-Id: I304f3863333cb9ef0b85c5bab5277e757ef9950a
2024-02-07 15:06:10 -08:00
Abseil Team
96519a4019 Use _Exit instead of _exit in GoogleTest
_Exit is standardized since C99, whereas _exit is POSIX-only.

Fixes: #4447
PiperOrigin-RevId: 605000352
Change-Id: Ibfa84edaa043bd003a21383e8148bf45be7217f6
2024-02-07 09:01:25 -08:00
Abseil Team
64be1c79fa Destroy installed environments in normal code, not in static teardown.
Destruction in static teardown causes issues for Environments which own threads and try to join them in their destruction.

This may be a breaking change for users who call RUN_ALL_TESTS multiple times in the same main function if they also install environments, or those who access registered environments after RUN_ALL_TESTS.

The easiest fix is to only call RUN_ALL_TESTS once as the last line of the main function. Another potential fix is to re-register new instances of the Environment once before each call to RUN_ALL_TESTS.

PiperOrigin-RevId: 604800795
Change-Id: I37c44d4aca4a238052649f45a4b6b9cfb5355b71
2024-02-06 16:31:00 -08:00