Changeset 554

Show
Ignore:
Timestamp:
07/04/06 21:10:14
Author:
pvanhoof
Message:

Unit tests

Files:

Legend:

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

    r553 r554  
    44        -I$(top_srcdir)/libtinymailui           \ 
    55        -I$(top_srcdir)/libtinymailui-gtk       \ 
    6         -I$(top_srcdir)/libtinymail-camel 
     6        -I$(top_srcdir)/libtinymail-camel       \ 
     7        -I$(top_srcdir)/$(PLATFORMDIR)  
    78 
    89lib_LTLIBRARIES = libtinymail-test-suite.la 
     
    2223        tny-msg-mime-part-iface-test.c          \ 
    2324        tny-msg-mime-part-iface-test.h          \ 
     25        tny-account-iface-test.c                \ 
     26        tny-account-iface-test.h                \ 
     27        tny-device-iface-test.c                 \ 
     28        tny-device-iface-test.h                 \ 
     29        tny-iterator-iface-test.c               \ 
     30        tny-iterator-iface-test.h               \ 
     31        tny-msg-folder-iface-test.c             \ 
     32        tny-msg-folder-iface-test.h             \ 
     33        tny-msg-iface-test.c                    \ 
     34        tny-msg-iface-test.h                    \ 
    2435        tny-test-suite.h 
    2536 
     
    3546        $(top_builddir)/libtinymailui/libtinymailui-$(API_VERSION).la           \ 
    3647        $(top_builddir)/libtinymailui-gtk/libtinymailui-gtk-$(API_VERSION).la   \ 
    37         $(top_builddir)/libtinymail-camel/libtinymail-camel-$(API_VERSION).la 
     48        $(top_builddir)/libtinymail-camel/libtinymail-camel-$(API_VERSION).la   \ 
     49        $(top_builddir)/$(PLATFORMDIR)/$(PLATFORMDIR)-$(API_VERSION).la 
    3850 
    3951tny_simple_test_runner_LDFLAGS = $(LIBTINYMAIL_TEST_LIBS) 
  • trunk/libtinymail-test/tny-test-anything.c

    r209 r554  
    8181 
    8282static gchar*  
    83 get_pass_func (TnyAccountIface *account, const gchar *prompt
     83get_pass_func (TnyAccountIface *account, const gchar *prompt, gboolean *cancel
    8484{ 
    8585        g_print ("asks pass\n"); 
  • trunk/libtinymail-test/tny-test-suite.c

    r553 r554  
    2929#include "tny-msg-mime-part-iface-test.h" 
    3030#include "tny-list-iface-test.h" 
     31#include "tny-account-iface-test.h" 
     32#include "tny-device-iface-test.h" 
     33#include "tny-iterator-iface-test.h" 
     34#include "tny-msg-folder-iface-test.h" 
     35#include "tny-msg-iface-test.h" 
    3136 
    3237GList* 
     
    3944        suites = g_list_append (suites, create_tny_msg_mime_part_iface_suite ()); 
    4045        suites = g_list_append (suites, create_tny_list_iface_suite ()); 
     46        suites = g_list_append (suites, create_tny_account_iface_suite ()); 
     47        suites = g_list_append (suites, create_tny_device_iface_suite ()); 
     48        suites = g_list_append (suites, create_tny_iterator_iface_suite ()); 
     49        suites = g_list_append (suites, create_tny_msg_folder_iface_suite ()); 
     50        suites = g_list_append (suites, create_tny_msg_iface_suite ()); 
    4151 
    4252        return suites; 
  • trunk/libtinymail/tny-account-iface.h

    r550 r554  
    11#ifndef TNY_ACCOUNT_IFACE_H 
    22#define TNY_ACCOUNT_IFACE_H 
    3  
    4 /* Urgent TODO: add a unit test for this type */ 
    53 
    64/* libtinymail - The Tiny Mail base library 
  • trunk/libtinymail/tny-device-iface.h

    r546 r554  
    11#ifndef TNY_DEVICE_IFACE_H 
    22#define TNY_DEVICE_IFACE_H 
    3  
    4 /* Urgent TODO: add a unit test for this type */ 
    53 
    64/* libtinymail - The Tiny Mail base library 
  • trunk/libtinymail/tny-iterator-iface.h

    r550 r554  
    11#ifndef TNY_ITERATOR_IFACE_H 
    22#define TNY_ITERATOR_IFACE_H 
    3  
    4 /* Urgent TODO: add a unit test for this type */ 
    53 
    64/* libtinymail - The Tiny Mail base library 
  • trunk/libtinymail/tny-list-iface.h

    r546 r554  
    11#ifndef TNY_LIST_IFACE_H 
    22#define TNY_LIST_IFACE_H 
    3  
    4 /* Urgent TODO: add a unit test for this type */ 
    53 
    64/* libtinymail - The Tiny Mail base library 
  • trunk/libtinymail/tny-msg-folder-iface.h

    r548 r554  
    11#ifndef TNY_MSG_FOLDER_IFACE_H 
    22#define TNY_MSG_FOLDER_IFACE_H 
    3  
    4 /* Urgent TODO: add a unit test for this type */ 
    53 
    64/* libtinymail - The Tiny Mail base library 
  • trunk/libtinymail/tny-msg-iface.h

    r552 r554  
    11#ifndef TNY_MSG_IFACE_H 
    22#define TNY_MSG_IFACE_H 
    3  
    4 /* Urgent TODO: add a unit test for this type */ 
    53 
    64/* libtinymail - The Tiny Mail base library 
  • trunk/libtinymail/tny-store-account-iface.h

    r546 r554  
    11#ifndef TNY_STORE_ACCOUNT_IFACE_H 
    22#define TNY_STORE_ACCOUNT_IFACE_H 
    3  
    4 /* Urgent TODO: add a unit test for this type */ 
    53 
    64/* libtinymail - The Tiny Mail base library 
  • trunk/libtinymail/tny-transport-account-iface.h

    r546 r554  
    11#ifndef TNY_TRANSPORT_ACCOUNT_IFACE_H 
    22#define TNY_TRANSPORT_ACCOUNT_IFACE_H 
    3  
    4 /* Urgent TODO: add a unit test for this type */ 
    53 
    64/* libtinymail - The Tiny Mail base library 
  • trunk/tinymail/Makefile.am

    r527 r554  
    3131        $(top_builddir)/libtinymail-camel/libtinymail-camel-$(API_VERSION).la   \ 
    3232        $(top_builddir)/$(PLATFORMDIR)/$(PLATFORMDIR)-$(API_VERSION).la 
     33