[csw-devel] SF.net SVN: gar:[6873] csw/mgar/pkg

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Thu Oct 15 15:18:20 CEST 2009


Revision: 6873
          http://gar.svn.sourceforge.net/gar/?rev=6873&view=rev
Author:   wahwah
Date:     2009-10-15 13:18:19 +0000 (Thu, 15 Oct 2009)

Log Message:
-----------
googlemock: Initial commit (doesn't compile at the moment)

Modified Paths:
--------------
    csw/mgar/pkg/googlemock/trunk/Makefile
    csw/mgar/pkg/googlemock/trunk/checksums

Added Paths:
-----------
    csw/mgar/pkg/googlemock/

Modified: csw/mgar/pkg/googlemock/trunk/Makefile
===================================================================
--- csw/mgar/pkg/googletest/trunk/Makefile	2009-10-15 13:00:19 UTC (rev 6872)
+++ csw/mgar/pkg/googlemock/trunk/Makefile	2009-10-15 13:18:19 UTC (rev 6873)
@@ -2,22 +2,27 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-GARNAME = googletest
+GARNAME = googlemock
 GARVERSION = 1.4.0
 CATEGORIES = lib
-DESCRIPTION = a framework for writing C++ tests on a variety of platforms
+DESCRIPTION = a library for writing and using C++ mock classes
 define BLURB
-  Google's framework for writing C++ tests on a variety of platforms (Linux,
-  Mac OS X, Windows, Cygwin, Windows CE, and Symbian). Based on the xUnit
-  architecture. Supports automatic test discovery, a rich set of assertions,
-  user-defined assertions, death tests, fatal and non-fatal failures, value-
-  and type-parameterized tests, various options for running the tests, and XML
-  test report generation.
+  Inspired by jMock, EasyMock, and Hamcrest, and designed with C++'s specifics
+  in mind, Google C++ Mocking Framework (or Google Mock for short) is a library
+  for writing and using C++ mock classes.
 endef
-SPKG_SOURCEURL = http://code.google.com/p/googletest/
+SPKG_SOURCEURL = http://code.google.com/p/googlemock/
 MASTER_SITES = $(GOOGLE_MIRROR)
-DISTFILES  = gtest-$(GARVERSION).tar.gz
-WORKSRC = $(WORKDIR)/gtest-$(GARVERSION)
-UFILES_REGEX = gtest-(\d+(?:\.\d+)*).tar.gz
+DISTFILES  = gmock-$(GARVERSION).tar.gz
+WORKSRC = $(WORKDIR)/gmock-$(GARVERSION)
+UFILES_REGEX = gmock-(\d+(?:\.\d+)*).tar.gz
 CONFIGURE_ARGS = $(DIRPATHS)
-include gar/category.mk
+
+# Compilation unfortunately fails:
+#
+# "./include/gmock/gmock-printers.h", line 480: Error: static
+# testing::internal::TuplePrefixPrinter<1>::PrintPrefixTo<testing::internal::TuplePrefixPrinter<1>::Tuple>(const
+# testing::internal::TuplePrefixPrinter<1>::Tuple&, std::ostream *) already had
+# a body defined.
+#
+# include gar/category.mk

Modified: csw/mgar/pkg/googlemock/trunk/checksums
===================================================================
--- csw/mgar/pkg/googletest/trunk/checksums	2009-10-15 13:00:19 UTC (rev 6872)
+++ csw/mgar/pkg/googlemock/trunk/checksums	2009-10-15 13:18:19 UTC (rev 6873)
@@ -1 +1 @@
-ec1dd5ab07cde5da033b1d631e621167  gtest-1.4.0.tar.gz
+f2ac810a5e601792f4a99f296ccb1269  gmock-1.4.0.tar.gz


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list