[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r17033 - in gnunet-update/test/old/test-package: . src
From: |
gnunet |
Subject: |
[GNUnet-SVN] r17033 - in gnunet-update/test/old/test-package: . src |
Date: |
Tue, 27 Sep 2011 11:02:25 +0200 |
Author: harsha
Date: 2011-09-27 11:02:25 +0200 (Tue, 27 Sep 2011)
New Revision: 17033
Added:
gnunet-update/test/old/test-package/src/binary-libfunadd.c
gnunet-update/test/old/test-package/src/binary-libfundel.c
gnunet-update/test/old/test-package/src/binary-libfunmod.c
gnunet-update/test/old/test-package/src/binary-libnochange.c
gnunet-update/test/old/test-package/src/libfunadd.c
gnunet-update/test/old/test-package/src/libfunadd.h
gnunet-update/test/old/test-package/src/libfundel.c
gnunet-update/test/old/test-package/src/libfundel.h
gnunet-update/test/old/test-package/src/libfunmod.c
gnunet-update/test/old/test-package/src/libfunmod.h
gnunet-update/test/old/test-package/src/libnochange.c
gnunet-update/test/old/test-package/src/libnochange.h
Modified:
gnunet-update/test/old/test-package/
gnunet-update/test/old/test-package/src/
gnunet-update/test/old/test-package/src/Makefile.am
gnunet-update/test/old/test-package/src/test-binary.c
Log:
extended test cases
Property changes on: gnunet-update/test/old/test-package
___________________________________________________________________
Added: svn:ignore
+ configure
Makefile.in
depcomp
config.guess
ltmain.sh
config.sub
config.h.in
autom4te.cache
missing
aclocal.m4
install-sh
Property changes on: gnunet-update/test/old/test-package/src
___________________________________________________________________
Added: svn:ignore
+ Makefile.in
Modified: gnunet-update/test/old/test-package/src/Makefile.am
===================================================================
--- gnunet-update/test/old/test-package/src/Makefile.am 2011-09-27 08:58:06 UTC
(rev 17032)
+++ gnunet-update/test/old/test-package/src/Makefile.am 2011-09-27 09:02:25 UTC
(rev 17033)
@@ -21,13 +21,52 @@
#
#the project libraries
-lib_LTLIBRARIES = libtest.la
+lib_LTLIBRARIES = libtest.la \
+ libnochange.la \
+ libfunmod.la \
+ libfunadd.la \
+ libfundel.la
+include_HEADERS = test-header.h \
+ libnochange.h \
+ libfunmod.h \
+ libfunadd.h \
+ libfundel.h
+
libtest_la_SOURCES = test-library.c
libtest_la_LDFLAGS = -version-info 0:0:0
-include_HEADERS = test-header.h
+
+libnochange_la_SOURCES = libnochange.c
+libnochange_la_LDFLAGS = -version-info 0:0:0
+
+libfunadd_la_SOURCES = libfunadd.c
+libfunadd_la_LDFLAGS = -version-info 0:0:0
+
+libfunmod_la_SOURCES = libfunmod.c
+libfunmod_la_LDFLAGS = -version-info 0:0:0
+
+libfundel_la_SOURCES = libfundel.c
+libfundel_la_LDFLAGS = -version-info 0:0:0
+
#the project binaries
-bin_PROGRAMS = test-binary
+bin_PROGRAMS = test-binary \
+ binary-libfunadd \
+ binary-libfundel \
+ binary-libfunmod \
+ binary-libnochange
+
test_binary_SOURCES = test-binary.c test-header.h
test_binary_LDADD = libtest.la
+
+binary_libfunadd_SOURCES = binary-libfunadd.c libfunadd.h
+binary_libfunadd_LDADD = libfunadd.la
+
+binary_libfundel_SOURCES = binary-libfundel.c libfundel.h
+binary_libfundel_LDADD = libfundel.la
+
+binary_libfunmod_SOURCES = binary-libfunmod.c libfunmod.h
+binary_libfunmod_LDADD = libfunmod.la
+
+binary_libnochange_SOURCES = binary-libnochange.c libnochange.h
+binary_libnochange_LDADD = libnochange.la
Added: gnunet-update/test/old/test-package/src/binary-libfunadd.c
===================================================================
--- gnunet-update/test/old/test-package/src/binary-libfunadd.c
(rev 0)
+++ gnunet-update/test/old/test-package/src/binary-libfunadd.c 2011-09-27
09:02:25 UTC (rev 17033)
@@ -0,0 +1,35 @@
+/*
+ This file is part of GNUnet.
+ (C) 2001, 2002, 2004, 2005, 2006, 2007, 2009, 2011 Christian Grothoff
(and other contributing authors)
+
+ GNUnet is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published
+ by the Free Software Foundation; either version 3, or (at your
+ option) any later version.
+
+ GNUnet is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with GNUnet; see the file COPYING. If not, write to the
+ Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ Boston, MA 02111-1307, USA.
+*/
+
+/**
+ * @file /gnunet-update/testold/test-package/src/binary-libfunadd.c
+ * @brief binary which depends on libfunadd
+ * @author harsha
+ */
+
+#include "libfunadd.h"
+
+/**
+ * The main execution function
+ */
+int main()
+{
+ return libfunadd_function();
+}
Added: gnunet-update/test/old/test-package/src/binary-libfundel.c
===================================================================
--- gnunet-update/test/old/test-package/src/binary-libfundel.c
(rev 0)
+++ gnunet-update/test/old/test-package/src/binary-libfundel.c 2011-09-27
09:02:25 UTC (rev 17033)
@@ -0,0 +1,39 @@
+/*
+ This file is part of GNUnet.
+ (C) 2001, 2002, 2004, 2005, 2006, 2007, 2009, 2011 Christian Grothoff
(and other contributing authors)
+
+ GNUnet is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published
+ by the Free Software Foundation; either version 3, or (at your
+ option) any later version.
+
+ GNUnet is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with GNUnet; see the file COPYING. If not, write to the
+ Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ Boston, MA 02111-1307, USA.
+*/
+
+/**
+ * @file /gnunet-update/test/old/test-package/src/binary-libfundel.c
+ * @brief binary which depends on libfundel
+ * @author harsha
+ */
+
+#include "libfundel.h"
+
+/**
+ * The main execution function
+ */
+int main()
+{
+ int i;
+ i = libfundel_function_deprecated();
+ i = libfundel_function();
+ return i;
+}
+
Added: gnunet-update/test/old/test-package/src/binary-libfunmod.c
===================================================================
--- gnunet-update/test/old/test-package/src/binary-libfunmod.c
(rev 0)
+++ gnunet-update/test/old/test-package/src/binary-libfunmod.c 2011-09-27
09:02:25 UTC (rev 17033)
@@ -0,0 +1,36 @@
+/*
+ This file is part of GNUnet.
+ (C) 2001, 2002, 2004, 2005, 2006, 2007, 2009, 2011 Christian Grothoff
(and other contributing authors)
+
+ GNUnet is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published
+ by the Free Software Foundation; either version 3, or (at your
+ option) any later version.
+
+ GNUnet is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with GNUnet; see the file COPYING. If not, write to the
+ Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ Boston, MA 02111-1307, USA.
+*/
+
+/**
+ * @file /gnunet-update/test/old/test-package/src/binary-libfunmod.c
+ * @brief binary which depends on libfunmod
+ * @author harsha
+ */
+
+#include "libfunmod.h"
+
+/**
+ * The main execution function
+ */
+int main()
+{
+ return libfunmod_function();
+}
+
Added: gnunet-update/test/old/test-package/src/binary-libnochange.c
===================================================================
--- gnunet-update/test/old/test-package/src/binary-libnochange.c
(rev 0)
+++ gnunet-update/test/old/test-package/src/binary-libnochange.c
2011-09-27 09:02:25 UTC (rev 17033)
@@ -0,0 +1,36 @@
+/*
+ This file is part of GNUnet.
+ (C) 2001, 2002, 2004, 2005, 2006, 2007, 2009, 2011 Christian Grothoff
(and other contributing authors)
+
+ GNUnet is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published
+ by the Free Software Foundation; either version 3, or (at your
+ option) any later version.
+
+ GNUnet is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with GNUnet; see the file COPYING. If not, write to the
+ Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ Boston, MA 02111-1307, USA.
+*/
+
+/**
+ * @file /gnunet-update/test/old/test-package/src/binary-libnochange.c
+ * @brief binary which depends on libnochange
+ * @author harsha
+ */
+
+#include "libnochange.h"
+
+/**
+ * The main execution function
+ */
+int main()
+{
+ return libnochange_function();
+}
+
Added: gnunet-update/test/old/test-package/src/libfunadd.c
===================================================================
--- gnunet-update/test/old/test-package/src/libfunadd.c
(rev 0)
+++ gnunet-update/test/old/test-package/src/libfunadd.c 2011-09-27 09:02:25 UTC
(rev 17033)
@@ -0,0 +1,40 @@
+/*
+ This file is part of GNUnet.
+ (C) 2001, 2002, 2004, 2005, 2006, 2007, 2009, 2011 Christian Grothoff
(and other contributing authors)
+
+ GNUnet is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published
+ by the Free Software Foundation; either version 3, or (at your
+ option) any later version.
+
+ GNUnet is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with GNUnet; see the file COPYING. If not, write to the
+ Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ Boston, MA 02111-1307, USA.
+*/
+
+/**
+ * @file /gnunet-update/test/old/test-package/src/libfunadd.c
+ * @brief the newer version of this library will add extra functions. For now,
+ * it has only one function
+ * @author harsha
+ */
+
+#include "libfunadd.h"
+
+/**
+ * This function is unchanged in the newer version. However, extra functions
are
+ * added to this library
+ * @return 0
+ */
+int libfunadd_function()
+{
+ return 0;
+}
+
+
Added: gnunet-update/test/old/test-package/src/libfunadd.h
===================================================================
--- gnunet-update/test/old/test-package/src/libfunadd.h
(rev 0)
+++ gnunet-update/test/old/test-package/src/libfunadd.h 2011-09-27 09:02:25 UTC
(rev 17033)
@@ -0,0 +1,39 @@
+/*
+ This file is part of GNUnet.
+ (C) 2001, 2002, 2004, 2005, 2006, 2007, 2009, 2011 Christian Grothoff
(and other contributing authors)
+
+ GNUnet is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published
+ by the Free Software Foundation; either version 3, or (at your
+ option) any later version.
+
+ GNUnet is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with GNUnet; see the file COPYING. If not, write to the
+ Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ Boston, MA 02111-1307, USA.
+*/
+
+/**
+ * @file /gnunet-update/test/old/test-package/src/libfunadd.h
+ * @brief the newer version of this library will add extra functions. For now,
+ * it has only one function
+ * @author harsha
+ */
+
+#ifndef LIBFUNADD_H_
+#define LIBFUNADD_H_
+
+/**
+ * This function is unchanged in the newer version. However, extra functions
are
+ * added to this library
+ * @return 0
+ */
+int libfunadd_function();
+
+
+#endif /* LIBFUNADD_H_ */
Added: gnunet-update/test/old/test-package/src/libfundel.c
===================================================================
--- gnunet-update/test/old/test-package/src/libfundel.c
(rev 0)
+++ gnunet-update/test/old/test-package/src/libfundel.c 2011-09-27 09:02:25 UTC
(rev 17033)
@@ -0,0 +1,48 @@
+/*
+ This file is part of GNUnet.
+ (C) 2001, 2002, 2004, 2005, 2006, 2007, 2009, 2011 Christian Grothoff
(and other contributing authors)
+
+ GNUnet is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published
+ by the Free Software Foundation; either version 3, or (at your
+ option) any later version.
+
+ GNUnet is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with GNUnet; see the file COPYING. If not, write to the
+ Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ Boston, MA 02111-1307, USA.
+*/
+
+/**
+ * @file /gnunet-update/test/old/test-package/src/libfundel.c
+ * @brief A function from this library will be deleted in the newer release of
+ * this library
+ * @author harsha
+ */
+
+#include "libfundel.h"
+
+/**
+ * This function will be present in the newer version of this library
+ * @return 0
+ */
+int libfundel_function()
+{
+ return 0;
+}
+
+/**
+ * This function will be removed in the newer version of this library
+ * @return 0
+ */
+int libfundel_function_deprecated()
+{
+ return 0;
+}
+
+
Added: gnunet-update/test/old/test-package/src/libfundel.h
===================================================================
--- gnunet-update/test/old/test-package/src/libfundel.h
(rev 0)
+++ gnunet-update/test/old/test-package/src/libfundel.h 2011-09-27 09:02:25 UTC
(rev 17033)
@@ -0,0 +1,44 @@
+/*
+ This file is part of GNUnet.
+ (C) 2001, 2002, 2004, 2005, 2006, 2007, 2009, 2011 Christian Grothoff
(and other contributing authors)
+
+ GNUnet is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published
+ by the Free Software Foundation; either version 3, or (at your
+ option) any later version.
+
+ GNUnet is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with GNUnet; see the file COPYING. If not, write to the
+ Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ Boston, MA 02111-1307, USA.
+*/
+
+/**
+ * @file /gnunet-update/test/old/test-package/src/libfundel.h
+ * @brief A function from this library will be deleted in the newer release of
+ * this library
+ * @author harsha
+ */
+
+#ifndef LIBFUNDEL_H_
+#define LIBFUNDEL_H_
+
+/**
+ * This function will be present in the newer version of this library
+ * @return 0
+ */
+int libfundel_function();
+
+/**
+ * This function will be removed in the newer version of this library
+ * @return 0
+ */
+int libfundel_function_deprecated();
+
+
+#endif /* LIBFUNDEL_H_ */
Added: gnunet-update/test/old/test-package/src/libfunmod.c
===================================================================
--- gnunet-update/test/old/test-package/src/libfunmod.c
(rev 0)
+++ gnunet-update/test/old/test-package/src/libfunmod.c 2011-09-27 09:02:25 UTC
(rev 17033)
@@ -0,0 +1,39 @@
+/*
+ This file is part of GNUnet.
+ (C) 2001, 2002, 2004, 2005, 2006, 2007, 2009, 2011 Christian Grothoff
(and other contributing authors)
+
+ GNUnet is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published
+ by the Free Software Foundation; either version 3, or (at your
+ option) any later version.
+
+ GNUnet is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with GNUnet; see the file COPYING. If not, write to the
+ Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ Boston, MA 02111-1307, USA.
+*/
+
+/**
+ * @file /gnunet-update/test/old/test-package/src/libfunmod.c
+ * @brief the libfunmod library which has a function modified in the newer
+ * version
+ * @author harsha
+ */
+
+#include "libfunmod.h"
+
+/**
+ * This function signature will be modified in the newer library
+ * @return in this version it will return 0
+ */
+int libfunmod_function()
+{
+ return 0;
+}
+
+
Added: gnunet-update/test/old/test-package/src/libfunmod.h
===================================================================
--- gnunet-update/test/old/test-package/src/libfunmod.h
(rev 0)
+++ gnunet-update/test/old/test-package/src/libfunmod.h 2011-09-27 09:02:25 UTC
(rev 17033)
@@ -0,0 +1,37 @@
+/*
+ This file is part of GNUnet.
+ (C) 2001, 2002, 2004, 2005, 2006, 2007, 2009, 2011 Christian Grothoff
(and other contributing authors)
+
+ GNUnet is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published
+ by the Free Software Foundation; either version 3, or (at your
+ option) any later version.
+
+ GNUnet is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with GNUnet; see the file COPYING. If not, write to the
+ Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ Boston, MA 02111-1307, USA.
+*/
+
+/**
+ * @file /gnunet-update/test/old/test-package/src/libfunmod.h
+ * @brief header file for the libfunmod library which has a function modified
in
+ * the newer version
+ * @author harsha
+ */
+
+#ifndef LIBFUNMOD_H_
+#define LIBFUNMOD_H_
+
+/**
+ * This function signature will be modified in the newer library
+ * @return in this version it will return 0
+ */
+int libfunmod_function();
+
+#endif /* LIBFUNMOD_H_ */
Added: gnunet-update/test/old/test-package/src/libnochange.c
===================================================================
--- gnunet-update/test/old/test-package/src/libnochange.c
(rev 0)
+++ gnunet-update/test/old/test-package/src/libnochange.c 2011-09-27
09:02:25 UTC (rev 17033)
@@ -0,0 +1,37 @@
+/*
+ This file is part of GNUnet.
+ (C) 2001, 2002, 2004, 2005, 2006, 2007, 2009, 2011 Christian Grothoff
(and other contributing authors)
+
+ GNUnet is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published
+ by the Free Software Foundation; either version 3, or (at your
+ option) any later version.
+
+ GNUnet is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with GNUnet; see the file COPYING. If not, write to the
+ Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ Boston, MA 02111-1307, USA.
+*/
+
+/**
+ * @file /gnunet-update/test/old/test-package/src/libnochange.c
+ * @brief test library that is unmodified in both versions
+ * @author harsha
+ */
+
+#include "libnochange.h"
+
+/**
+ * test function that is unchanged in the newer version
+ * @return always 0
+ */
+int libnochange_function()
+{
+ return 0;
+}
+
Added: gnunet-update/test/old/test-package/src/libnochange.h
===================================================================
--- gnunet-update/test/old/test-package/src/libnochange.h
(rev 0)
+++ gnunet-update/test/old/test-package/src/libnochange.h 2011-09-27
09:02:25 UTC (rev 17033)
@@ -0,0 +1,36 @@
+/*
+ This file is part of GNUnet.
+ (C) 2001, 2002, 2004, 2005, 2006, 2007, 2009, 2011 Christian Grothoff
(and other contributing authors)
+
+ GNUnet is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published
+ by the Free Software Foundation; either version 3, or (at your
+ option) any later version.
+
+ GNUnet is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with GNUnet; see the file COPYING. If not, write to the
+ Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ Boston, MA 02111-1307, USA.
+*/
+
+/**
+ * @file /gnunet-update/test/old/test-package/src/libnochange.h
+ * @brief header file for the libnochange.c
+ * @author harsha
+ */
+
+#ifndef LIBNOCHANGE_H_
+#define LIBNOCHANGE_H_
+
+/**
+ * test function that is unchanged in the newer version
+ * @return always 0
+ */
+int libnochange_function();
+
+#endif /* LIBNOCHANGE_H_ */
Modified: gnunet-update/test/old/test-package/src/test-binary.c
===================================================================
--- gnunet-update/test/old/test-package/src/test-binary.c 2011-09-27
08:58:06 UTC (rev 17032)
+++ gnunet-update/test/old/test-package/src/test-binary.c 2011-09-27
09:02:25 UTC (rev 17033)
@@ -26,6 +26,9 @@
#include "test-header.h"
+/**
+ * The main execution function
+ */
int main ()
{
return test_function();
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r17033 - in gnunet-update/test/old/test-package: . src,
gnunet <=