Changeset 751

Show
Ignore:
Timestamp:
08/23/06 10:35:28
Author:
pvanhoof
Message:

Bugfixes

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Makefile.am

    r727 r751  
    1414endif 
    1515 
    16 SUBDIRS += $(PLATFORMDIR) libtinymail-camel tinymail docs  
     16SUBDIRS += $(PLATFORMDIR) libtinymail-camel tinymail docs bindings po tests 
    1717 
    1818if BUILD_UNITTESTS 
    1919SUBDIRS += libtinymail-test  
    2020endif 
    21  
    22 SUBDIRS += bindings po tests  
    2321 
    2422DIST_SUBDIRS = \ 
     
    2927        libtinymail-camel \ 
    3028        tinymail docs \ 
    31         libtinymail-test
     29        libtinymail-test tests
    3230        bindings po \ 
    3331        libtinymail-maemo \ 
     
    3735        libtinymail-gnome-desktop 
    3836 
    39 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --enable-python-bindings --enable-unit-tests 
     37DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --enable-python-bindings --enable-unit-tests --enable-tests 
     38 
  • trunk/libtinymail-camel/tny-header.c

    r745 r751  
    193193        prepare_for_write (me); 
    194194 
    195         camel_mime_message_set_recipients ((CamelMimeMessage*)me->info,  
     195        camel_mime_message_set_recipients (((WriteInfo*)me->info)->msg,  
    196196                CAMEL_RECIPIENT_TYPE_TO, addr); 
    197197 
  • trunk/libtinymail-test/Makefile.am

    r715 r751  
    1 INCLUDES =  -I. -I$(top_srcdir)                       
     1INCLUDES =  -I. -I$(top_srcdir) -I$(top_srcdir)/tests/shared
    22        $(LIBTINYMAIL_TEST_CFLAGS)              \ 
     3        $(TINYMAIL_CFLAGS)                      \ 
     4        $(LIBTINYMAIL_CAMEL_CFLAGS)             \ 
    35        -I$(top_srcdir)/libtinymail             \ 
    46        -I$(top_srcdir)/libtinymailui           \ 
    57        -I$(top_srcdir)/libtinymailui-gtk       \ 
    6         -I$(top_srcdir)/libtinymail-camel       \ 
    7         -I$(top_srcdir)/$(PLATFORMDIR)  
     8        -I$(top_srcdir)/libtinymail-camel 
    89 
    910lib_LTLIBRARIES = libtinymail-test-suite.la 
     
    5354        $(top_builddir)/libtinymailui-gtk/libtinymailui-gtk-$(API_VERSION).la   \ 
    5455        $(top_builddir)/libtinymail-camel/libtinymail-camel-$(API_VERSION).la   \ 
    55         $(top_builddir)/$(PLATFORMDIR)/$(PLATFORMDIR)-$(API_VERSION).l
     56        $(top_builddir)/tests/shared/libtestsshared.
    5657 
    5758tny_simple_test_runner_LDFLAGS = $(LIBTINYMAIL_TEST_LIBS) 
     
    6465        $(top_builddir)/libtinymailui-gtk/libtinymailui-gtk-$(API_VERSION).la   \ 
    6566        $(top_builddir)/libtinymail-camel/libtinymail-camel-$(API_VERSION).la   \ 
     67        $(top_builddir)/tests/shared/libtestsshared.a                           \ 
    6668        libtinymail-test-suite.la 
    6769 
     
    7173        $(top_builddir)/libtinymailui-gtk/libtinymailui-gtk-$(API_VERSION).la   \ 
    7274        $(top_builddir)/libtinymail-camel/libtinymail-camel-$(API_VERSION).la   \ 
     75        $(top_builddir)/tests/shared/libtestsshared.a                           \ 
    7376        libtinymail-test-suite.la 
    7477 
  • trunk/libtinymail-test/tny-account-store-iface-test.c

    r686 r751  
    2222#include <tny-account-store-iface.h> 
    2323#include <tny-platform-factory-iface.h> 
    24 #include <tny-platform-factory.h> 
     24#include <platfact.h> 
    2525 
    2626/* #include <tny-account-store.h> */ 
  • trunk/libtinymail-test/tny-device-iface-test.c

    r680 r751  
    2121#include <tny-device-iface-test.h> 
    2222#include <tny-device-iface.h> 
    23 #include <tny-device.h> 
     23#include <device.h> 
    2424 
    2525static TnyDeviceIface *iface = NULL; 
  • trunk/libtinymail-test/tny-header-iface-test.c

    r715 r751  
    141141        GUnitTestSuite *suite = NULL; 
    142142 
     143         
    143144        /* Create test suite */ 
    144145        suite = gunit_test_suite_new ("TnyHeaderIface"); 
  • trunk/libtinymail-test/tny-platform-factory-iface-test.c

    r686 r751  
    2222#include <tny-platform-factory-iface.h> 
    2323 
    24 #include <tny-platform-factory.h> 
     24#include <platfact.h> 
    2525 
    2626static TnyPlatformFactoryIface *iface = NULL; 
  • trunk/tests/Makefile.am

    r738 r751  
    11SUBDIRS = python-demo 
    22 
     3#### Funny OR simulation :) 
    34if BUILD_TESTS 
    4 SUBDIRS += shared memory functional  
     5if !BUILD_UNITTESTS 
     6SUBDIRS += shared 
    57endif 
     8endif 
     9 
     10if BUILD_UNITTESTS 
     11if !BUILD_TESTS 
     12SUBDIRS += shared 
     13endif 
     14endif 
     15 
     16if BUILD_UNITTESTS 
     17if BUILD_TESTS 
     18SUBDIRS += shared 
     19endif 
     20endif 
     21###  
     22 
     23if BUILD_TESTS 
     24SUBDIRS += memory functional  
     25endif 
  • trunk/tests/shared/device.c

    r738 r751  
    9292        TnyDevicePriv *priv = TNY_DEVICE_GET_PRIVATE (self); 
    9393        gboolean retval = FALSE; 
     94     
     95        if (priv->fset) 
     96                retval = priv->forced; 
     97         
    9498        return retval; 
    9599}