Skip to content

Conversation

@copybara-service
Copy link

@copybara-service copybara-service bot commented Nov 28, 2025

[XLA] Add googletest wrapper that adds status asserts to gmock.h

And replace @com_google_googletest for internal uses. The only
exceptions that still need to rely on upstream googletest (renamed to
@com_google_googletest_upstream) is the wrapper itself.

This makes it possible to use the same assert macros internally and in
OSS.

Implement TF_{ASSERT,EXPECT}_OK in terms of unprefixed ones for
verification.

@copybara-service copybara-service bot force-pushed the test_837550145 branch 6 times, most recently from dbdf908 to 656d5e5 Compare November 28, 2025 15:37
And replace @com_google_googletest for internal uses. The only
exceptions that still need to rely on upstream googletest (renamed to
@com_google_googletest_upstream) is the wrapper itself.

This makes it possible to use the same assert macros internally and in
OSS.

Implement TF_{ASSERT,EXPECT}_OK in terms of unprefixed ones for
verification.

PiperOrigin-RevId: 837550145
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant