[evolution-data-server/openismus-work] test-client-view-operations.c: Now test both direct access and indirect access



commit 971230cc7647325616874977d4dfebde568f3d48
Author: Tristan Van Berkom <tristanvb openismus com>
Date:   Mon Feb 25 19:35:20 2013 +0900

    test-client-view-operations.c: Now test both direct access and indirect access
    
    This works properly now since we fixed (or worked around) issues in the
    test fixtures. Since we use a separate ESource UID (sandbox) for each
    test case this now works properly.
    
    Conflicts:
    
        tests/libebook/client/test-client-view-operations.c

 .../libebook/client/test-client-view-operations.c  |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/tests/libebook/client/test-client-view-operations.c 
b/tests/libebook/client/test-client-view-operations.c
index e926b9e..3c78a28 100644
--- a/tests/libebook/client/test-client-view-operations.c
+++ b/tests/libebook/client/test-client-view-operations.c
@@ -8,6 +8,7 @@
 #include "client-test-utils.h"
 #include "e-test-server-utils.h"
 
+static ETestServerClosure book_closure = { E_TEST_SERVER_ADDRESS_BOOK, NULL, 0 };
 static ETestServerClosure direct_book_closure = { E_TEST_SERVER_DIRECT_ADDRESS_BOOK, NULL, 0 };
 
 #define N_THREADS  5
@@ -260,6 +261,8 @@ main (gint argc,
        g_test_init (&argc, &argv, NULL);
        setlocale (LC_ALL, "en_US.UTF-8");
 
+       g_test_add ("/EBookClient/ConcurrentViews", ETestServerFixture, &book_closure,
+                   e_test_server_utils_setup, test_concurrent_views, e_test_server_utils_teardown);
        g_test_add ("/EBookClient/DirectAccess/ConcurrentViews", ETestServerFixture, &direct_book_closure,
                    e_test_server_utils_setup, test_concurrent_views, e_test_server_utils_teardown);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]