"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "googletest/test/gtest_skip_test.cc" between
googletest-release-1.11.0.tar.gz and googletest-release-1.12.0.tar.gz

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

gtest_skip_test.cc  (googletest-release-1.11.0):gtest_skip_test.cc  (googletest-release-1.12.0)
skipping to change at line 49 skipping to change at line 49
EXPECT_EQ(0, 1); EXPECT_EQ(0, 1);
} }
class Fixture : public Test { class Fixture : public Test {
protected: protected:
void SetUp() override { void SetUp() override {
GTEST_SKIP() << "skipping all tests for this fixture"; GTEST_SKIP() << "skipping all tests for this fixture";
} }
}; };
TEST_F(Fixture, SkipsOneTest) { TEST_F(Fixture, SkipsOneTest) { EXPECT_EQ(5, 7); }
EXPECT_EQ(5, 7);
}
TEST_F(Fixture, SkipsAnotherTest) { TEST_F(Fixture, SkipsAnotherTest) { EXPECT_EQ(99, 100); }
EXPECT_EQ(99, 100);
}
 End of changes. 2 change blocks. 
3 lines changed or deleted 1 lines changed or added

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