aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorbertrand <Bertrand.Guiheneuf@aful.org>1999-08-12 06:34:09 +0800
committerBertrand Guiheneuf <bertrand@src.gnome.org>1999-08-12 06:34:09 +0800
commita478ee7e9d44ea7947b2dc51fcf5d7f09735ee52 (patch)
tree16013fe0bf49a83f311bd25c6c603d1a29e5277a /tests
parent33ffe9aadcef483a4900cc65fc9e840220951e3c (diff)
downloadgsoc2013-evolution-a478ee7e9d44ea7947b2dc51fcf5d7f09735ee52.tar.gz
gsoc2013-evolution-a478ee7e9d44ea7947b2dc51fcf5d7f09735ee52.tar.zst
gsoc2013-evolution-a478ee7e9d44ea7947b2dc51fcf5d7f09735ee52.zip
new file. MH provider registration stuff.
1999-08-12 bertrand <Bertrand.Guiheneuf@aful.org> * camel/providers/MH/camel-mh-provider.c: new file. MH provider registration stuff. * camel/camel-provider.c (camel_provider_register_as_module): load a provider from a shared object (plugin). (camel_provider_register): register a provider "by hand". Used for statically defined providers. * tests/test7.c: new test. tests providers loading framework. Providers modules loading Works !!! :)))) svn path=/trunk/; revision=1105
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am3
-rw-r--r--tests/test7.c22
2 files changed, 24 insertions, 1 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 55ef5048dd..77f5b37090 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -22,4 +22,5 @@ noinst_PROGRAMS = \
test1 \
test2 \
test3 \
- test4
+ test4 \
+ test7
diff --git a/tests/test7.c b/tests/test7.c
new file mode 100644
index 0000000000..aaf256f64b
--- /dev/null
+++ b/tests/test7.c
@@ -0,0 +1,22 @@
+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
+
+/* test provider stuff */
+
+
+#include "camel.h"
+
+
+int
+main (int argc, char**argv)
+{
+ const CamelProvider *new_provider;
+
+ camel_debug_level = CAMEL_LOG_LEVEL_FULL_DEBUG;
+
+ gtk_init (&argc, &argv);
+ camel_init ();
+
+
+ new_provider = camel_provider_register_as_module ("../camel/providers/MH/.libs/libcamelmh.so");
+
+}
-gnome/commit/editors/openoffice-4?h=gnome-3.28&id=c8c1735073f14e76306f8c0dcb48b4b7fa9f1f1b'>textproc/hunspell: update to 1.6.0jbeich2017-01-071-2/+2 * Chase update of graphics/poppler (and slaves ports) in revision r430777olivierd2017-01-071-1/+1 * devel/boost-*: update to 1.63.0jbeich2017-01-061-1/+1 * textproc/hunspell: update to 1.5.4jbeich2016-12-041-2/+2 * editors/openoffice*: unbreak consumers with hunspell 1.5jbeich2016-11-271-0/+14 * devel/boost-*: update to 1.62.0jbeich2016-11-231-0/+1 * ${RM} already has -f.mat2016-10-211-8/+8 * Upgrade ApacheOpenOffice to version 4.1.3.truckman2016-10-133-33/+8 * devel/nspr, security/nss: drop version from SONAMEjbeich2016-10-091-1/+1 * Chase update of Poppler after revision r421386olivierd2016-09-061-1/+1 * Fix CVE-2016-1513 - Memory Corruption Vulnerability (Impress Presentations).truckman2016-07-223-3/+30 * Add missing dependencies reported by stage-qa:truckman2016-07-121-43/+46 * Fix build of openoffice-4 and openoffice-devel with libc++ 3.8.0.truckman2016-05-261-0/+14 * Update TARGET_ORDER_OVERRIDE to for the changes to Uses/gnome.mktruckman2016-05-011-4/+3 * Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.mat2016-04-012-51/+51 * Delay running gnome-post-install until the plist has been generated bytruckman2016-03-212-1/+102 * Combine print/cups-base, print/cups-client and print/cups-image intotijl2016-03-111-2/+2 * Fix nss-related problems with password-protected documents.truckman2016-01-292-1/+70 * Update poppler to 0.40.0. [1]kwm2016-01-221-1/+1 * Correct the Icon entry in the .desktop files so that the icons aretruckman2016-01-031-1/+2 * Now that we are no longer avoiding certain versions of clang, convert totruckman2015-11-131-3/+2 * Upgrade to Apache OpenOffice 4.1.2truckman2015-10-3022-1085/+102 * Explicity set $JAVA_HOME in startup wrapper to the OpenJDK version usedtruckman2015-10-242-1/+20 * Patch the source with r1697228, r1697237, r1697247, r1697306, andtruckman2015-10-182-5/+1809 * editors/openoffice-4: mark broken with OpenJDK8swills2015-10-171-0/+4 * Removing --enable-symbols=small from CONFIGURE_ARGS allows us to avoidtruckman2015-10-102-5/+8 * Add Caladea and Carlito fonts. They are metrically equivalent to sometruckman2015-09-264-22/+12 * Fix a regression in directory permissions and add a missing directory usedtruckman2015-09-252-7/+13 * Update the comment about the clang 3.6 and clang 3.7 code generationtruckman2015-09-162-59/+63 * Unbreak wrapper script so that if a particular application istruckman2015-09-102-53/+53 * Import various improvements from openoffice-devel r393676, r395652, andtruckman2015-09-078-212/+405 * Remove UNIQUENAME and LATEST_LINK.mat2015-08-171-2/+0 * Various build updates from openoffice-devel (primarily r382334 andtruckman2015-08-0521-593/+495 * Update poppler to 0.34.0. [1]kwm2015-08-031-1/+1 * MAKE_JOBS_SAFE=yes is a nop since july 2013antoine2015-06-281-1/+0 * Convert to USES=jpegantoine2015-06-231-2/+1 * Do not attempt to override the intent of DISABLE_MAKE_JOBS, whichtruckman2015-05-151-6/+36 * Add a patch to fix the HWP filter vulnerability documented intruckman2015-05-082-1/+48 * Unbreak editors/openoffice-* build when GCONF and GNOMEVFS are disabledtruckman2015-05-061-14/+22 * - Add CPE informationsunpoet2015-03-311-1/+3 * Update openoffice-4 with applicable changes in openoffice-devel r382334:truckman2015-03-284-34/+57 * Make fonts repecting XDGbapt2015-03-221-1/+1 * Unbreak editors/openoffice-4 and editors/openoffice-devel on systemstruckman2015-03-1711-44/+301 * Fix build breakage when libreoffice is installed.truckman2015-02-251-0/+79 * Switch back to USE_GCC=yes.truckman2015-02-161-1/+6 * math/coinmp: Update to 1.8.0brd2015-02-131-1/+1 * Update poppler to 0.30.0 [1].kwm2015-02-031-1/+1 * Unbreak languagepack target (package-rename and ure targets are stilltruckman2015-01-212-20/+15 * The sdk and package-canonical targets were suffering from bit rot.truckman2015-01-202-3/+3 * The editors/openoffice-4 port currently depends on textproc/saxon-devel andtruckman2015-01-192-12/+9 * Bump portrevision after png updatebapt2014-12-261-1/+1 * Bump PORTREVISION after graphics/poppler update to 0.26.3makc2014-11-251-1/+1 * Update the default version of GCC in the Ports Collection from GCC 4.7.4gerald2014-09-111-0/+1 * Apache OpenOffice 4.1.1 has been officially released.truckman2014-08-272-4/+4 * Remove the --with-system-graphite configure option to unbreaktruckman2014-08-265-143/+112 * Upgrade Apache OpenOffice to version 4.1.0.truckman2014-08-0612-291/+366 * Bump PORTREVISION on everything that depends on devel/apr1 due to thetijl2014-06-121-1/+1 * The FreeBSD x11@ and graphics team proudly presentszeising2014-04-171-1/+1 * Create mime and icon directory inside the stage directorybapt2014-03-311-0/+2 * Support stagebapt2014-03-261-64/+49 * Chase boost and icu bumpbapt2014-02-071-1/+1 * Fix buildmaho2014-01-223-0/+111 * - rename AL2 to APACHE20 in Mk/bsd.licenses.db.mkohauer2013-12-311-2/+2 * Update poppler to 0.24.4.kwm2013-12-281-1/+2 * - Remove manual creation and removal of share/applications, as it's now in th...amdmi32013-10-221-1/+0 * update to 4.0.1maho2013-10-032-10/+11 * Add NO_STAGE all over the place in preparation for the staging support (cat: ...bapt2013-09-211-0/+1 * Add an explicit dependency on pkgconfbapt2013-09-181-1/+1 * Unbreake by reroll of ext packages. Actuallymaho2013-09-122-5/+3 * - Mark BROKEN, fails checksumbdrewery2013-08-311-0/+2 * - Fix with bmakebdrewery2013-08-301-1/+1 * bsd.port.options.mk, needs to be placed before bsd.port.pre.mk.maho2013-08-281-1/+1 * convert to USES, and adoption of optionsNG styling, add CCACHE as configurabl...maho2013-08-272-11/+10