You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by da...@apache.org on 2015/08/31 08:23:17 UTC
svn commit: r1700206 - in /openoffice/trunk/main/cppuhelper/qa/unourl:
cppu_unourl.cxx makefile.mk
Author: damjan
Date: Mon Aug 31 06:23:16 2015
New Revision: 1700206
URL: http://svn.apache.org/r1700206
Log:
Add a missing main() function to a main/cppuhelper test.
Modified:
openoffice/trunk/main/cppuhelper/qa/unourl/cppu_unourl.cxx
openoffice/trunk/main/cppuhelper/qa/unourl/makefile.mk
Modified: openoffice/trunk/main/cppuhelper/qa/unourl/cppu_unourl.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/cppuhelper/qa/unourl/cppu_unourl.cxx?rev=1700206&r1=1700205&r2=1700206&view=diff
==============================================================================
--- openoffice/trunk/main/cppuhelper/qa/unourl/cppu_unourl.cxx (original)
+++ openoffice/trunk/main/cppuhelper/qa/unourl/cppu_unourl.cxx Mon Aug 31 06:23:16 2015
@@ -446,3 +446,9 @@ namespace cppu_unourl
}
} // namespace cppu_ifcontainer
+int main(int argc, char **argv)
+{
+ ::testing::InitGoogleTest(&argc, argv);
+ return RUN_ALL_TESTS();
+}
+
Modified: openoffice/trunk/main/cppuhelper/qa/unourl/makefile.mk
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/cppuhelper/qa/unourl/makefile.mk?rev=1700206&r1=1700205&r2=1700206&view=diff
==============================================================================
--- openoffice/trunk/main/cppuhelper/qa/unourl/makefile.mk (original)
+++ openoffice/trunk/main/cppuhelper/qa/unourl/makefile.mk Mon Aug 31 06:23:16 2015
@@ -40,8 +40,7 @@ all:
# BEGIN ----------------------------------------------------------------
# auto generated Target:joblist by codegen.pl
APP1OBJS= \
- $(SLO)$/cppu_unourl.obj \
- $(SLO)$/main.obj
+ $(SLO)$/cppu_unourl.obj
APP1TARGET= cppu_unourl
APP1STDLIBS=\
$(CPPUHELPERLIB) \