~ubuntu-branches/ubuntu/natty/gnome-keyring/natty

« back to all changes in this revision

Viewing changes to daemon/prompt/tests/run-auto-test.c

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2010-02-16 19:00:06 UTC
  • mfrom: (1.1.58 upstream)
  • Revision ID: james.westby@ubuntu.com-20100216190006-cqpnic4zxlkmmi0o
Tags: 2.29.90git20100218-0ubuntu1
Updated to a git snapshot version

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* This is auto-generated code. Edit at your own peril. */
 
2
#include "tests/gtest-helpers.h"
 
3
#include "run-auto-test.h"
 
4
 
 
5
static void start_tests (void) {
 
6
}
 
7
 
 
8
static void stop_tests (void) {
 
9
}
 
10
 
 
11
static void initialize_tests (void) {
 
12
        g_test_add("/util/encode_decode_mpi", int, NULL, setup_prompt_util, test_encode_decode_mpi, teardown_prompt_util);
 
13
        g_test_add("/util/decode_nonexistant_mpi", int, NULL, setup_prompt_util, test_decode_nonexistant_mpi, teardown_prompt_util);
 
14
        g_test_add("/util/encode_decode_hex", int, NULL, setup_prompt_util, test_encode_decode_hex, teardown_prompt_util);
 
15
        g_test_add("/util/decode_nonexistant_hex", int, NULL, setup_prompt_util, test_decode_nonexistant_hex, teardown_prompt_util);
 
16
        g_test_add("/util/encrypt_decrypt_text", int, NULL, setup_prompt_util, test_encrypt_decrypt_text, teardown_prompt_util);
 
17
}
 
18
 
 
19
static void run_externals (void) {
 
20
}
 
21
 
 
22
static int run(void) {
 
23
        int ret;
 
24
        initialize_tests ();
 
25
        start_tests ();
 
26
        ret = g_test_run ();
 
27
        run_externals ();
 
28
        stop_tests();
 
29
        return ret;
 
30
}
 
31
#include "tests/gtest-helpers.c"