"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "googletest/test/googletest-shuffle-test_.cc" between
googletest-release-1.10.0.tar.gz and googletest-release-1.11.0.tar.gz

About: GoogleTest is Google's (unit) testing and mocking framework for C++ tests.

googletest-shuffle-test_.cc  (googletest-release-1.10.0):googletest-shuffle-test_.cc  (googletest-release-1.11.0)
skipping to change at line 84 skipping to change at line 84
// This printer prints the full test names only, starting each test // This printer prints the full test names only, starting each test
// iteration with a "----" marker. // iteration with a "----" marker.
class TestNamePrinter : public EmptyTestEventListener { class TestNamePrinter : public EmptyTestEventListener {
public: public:
void OnTestIterationStart(const UnitTest& /* unit_test */, void OnTestIterationStart(const UnitTest& /* unit_test */,
int /* iteration */) override { int /* iteration */) override {
printf("----\n"); printf("----\n");
} }
void OnTestStart(const TestInfo& test_info) override { void OnTestStart(const TestInfo& test_info) override {
printf("%s.%s\n", test_info.test_case_name(), test_info.name()); printf("%s.%s\n", test_info.test_suite_name(), test_info.name());
} }
}; };
} // namespace } // namespace
int main(int argc, char **argv) { int main(int argc, char **argv) {
InitGoogleTest(&argc, argv); InitGoogleTest(&argc, argv);
// Replaces the default printer with TestNamePrinter, which prints // Replaces the default printer with TestNamePrinter, which prints
// the test name only. // the test name only.
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)