Searched refs:Assert (Results 1 - 6 of 6) sorted by relevance

/gem5/ext/googletest/googletest/test/
H A Dgtest_uninitialized_test.py42 def Assert(condition): function
59 Assert(p.exited)
61 Assert('InitGoogleTest' in p.output)
/gem5/ext/googletest/googlemock/include/gmock/internal/
H A Dgmock-internal-utils.h281 inline void Assert(bool condition, const char* file, int line,
288 inline void Assert(bool condition, const char* file, int line) {
289 Assert(condition, file, line, "Assertion failed.");
378 Assert(false, "", -1, "Internal error: attempt to return invalid value");
/gem5/ext/googletest/googlemock/test/
H A Dgmock-internal-utils_test.cc334 // Tests that Assert(true, ...) succeeds.
336 Assert(true, __FILE__, __LINE__, "This should succeed.");
337 Assert(true, __FILE__, __LINE__); // This should succeed too.
340 // Tests that Assert(false, ...) generates a fatal failure.
343 Assert(false, __FILE__, __LINE__, "This should fail.");
347 Assert(false, __FILE__, __LINE__);
/gem5/ext/googletest/googlemock/src/
H A Dgmock-spec-builders.cc310 Assert(mock_obj_ != NULL, __FILE__, __LINE__,
327 Assert(name_ != NULL, __FILE__, __LINE__,
458 Assert(false, __FILE__, __LINE__, "Cannot find expectation.");
/gem5/ext/googletest/googlemock/include/gmock/
H A Dgmock-spec-builders.h267 Assert(property, file_, line_, failure_message);
742 Assert(property, file_, line_, failure_message);
1157 Assert(count >= 1, __FILE__, __LINE__,
1513 Assert(DefaultValue<Result>::Exists(), "", -1, message);
H A Dgmock-actions.h81 Assert(false, __FILE__, __LINE__,
388 internal::Assert(
545 // Assert statement belongs here because this is the best place to verify
896 // Assert statement belongs here because this is the best place to verify

Completed in 30 milliseconds