You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
359 B
C++
12 lines
359 B
C++
13 years ago
|
#include <gmock/gmock.h>
|
||
|
#include <gtest/gtest.h>
|
||
|
|
||
|
|
||
|
int main(int argc, char** argv) {
|
||
|
// The following line causes Google Mock to throw an exception on failure,
|
||
|
// which will be interpreted by your testing framework as a test failure.
|
||
|
::testing::GTEST_FLAG(throw_on_failure) = true;
|
||
|
::testing::InitGoogleMock(&argc, argv);
|
||
|
|
||
|
return RUN_ALL_TESTS();
|
||
|
}
|