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



commit 04906b9b666b14b30667e7180ac1ae17e5258258
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.

 .../libebook/client/test-client-view-operations.c  |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/tests/libebook/client/test-client-view-operations.c 
b/tests/libebook/client/test-client-view-operations.c
index d1192de..8911976 100644
--- a/tests/libebook/client/test-client-view-operations.c
+++ b/tests/libebook/client/test-client-view-operations.c
@@ -8,7 +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 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
@@ -262,8 +262,8 @@ main (gint argc,
        /* Run Direct Access only to protect against lockups, this second iteration fails
         * while adding the initial contact, don't know why yet.
         */
-       /* 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/ConcurrentViews", ETestServerFixture, &book_closure,
+                   e_test_server_utils_setup, test_concurrent_views, e_test_server_utils_teardown);
 
        return e_test_server_utils_run ();
 }


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