"Fossies" - the Fresh Open Source Software Archive  

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

googletest-setuptestsuite-test_.cc  (googletest-release-1.11.0):googletest-setuptestsuite-test_.cc  (googletest-release-1.12.0)
skipping to change at line 34 skipping to change at line 34
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "gtest/gtest.h" #include "gtest/gtest.h"
class SetupFailTest : public ::testing::Test { class SetupFailTest : public ::testing::Test {
protected: protected:
static void SetUpTestSuite() { static void SetUpTestSuite() { ASSERT_EQ("", "SET_UP_FAIL"); }
ASSERT_EQ("", "SET_UP_FAIL");
}
}; };
TEST_F(SetupFailTest, NoopPassingTest) {} TEST_F(SetupFailTest, NoopPassingTest) {}
class TearDownFailTest : public ::testing::Test { class TearDownFailTest : public ::testing::Test {
protected: protected:
static void TearDownTestSuite() { static void TearDownTestSuite() { ASSERT_EQ("", "TEAR_DOWN_FAIL"); }
ASSERT_EQ("", "TEAR_DOWN_FAIL");
}
}; };
TEST_F(TearDownFailTest, NoopPassingTest) {} TEST_F(TearDownFailTest, NoopPassingTest) {}
 End of changes. 2 change blocks. 
6 lines changed or deleted 2 lines changed or added

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