Lines Matching defs:state
199 // Describes the state of the expectation (e.g. is it satisfied?
463 // The current state of a mock object. Such information is needed for
480 // A global registry holding the state of all mock objects that are
486 // Maps a mock object (identified by its address) to its state.
505 const MockObjectState& state = it->second;
506 std::cout << internal::FormatFileLocation(state.first_used_file,
507 state.first_used_line);
509 if (state.first_used_test != "") {
510 std::cout << " (used in test " << state.first_used_test_suite << "."
511 << state.first_used_test << ")";
694 MockObjectState& state = g_mock_object_registry.states()[mock_obj];
695 if (state.first_used_file == nullptr) {
696 state.first_used_file = file;
697 state.first_used_line = line;
701 state.first_used_test_suite = test_info->test_suite_name();
702 state.first_used_test = test_info->name();