"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "googletest/test/gtest_skip_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.

gtest_skip_test.cc  (googletest-release-1.10.0):gtest_skip_test.cc  (googletest-release-1.11.0)
skipping to change at line 38 skipping to change at line 38
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
// //
// Author: arseny.aprelev@gmail.com (Arseny Aprelev) // Author: arseny.aprelev@gmail.com (Arseny Aprelev)
// //
#include "gtest/gtest.h" #include "gtest/gtest.h"
using ::testing::Test; using ::testing::Test;
TEST(SkipTest, DoesSkip) { TEST(SkipTest, DoesSkip) {
GTEST_SKIP(); GTEST_SKIP() << "skipping single test";
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";
} }
}; };
 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)