~ubuntu-branches/ubuntu/precise/libgnome-keyring/precise-201110220705

« back to all changes in this revision

Viewing changes to library/tests/test-prompting.c

  • Committer: Bazaar Package Importer
  • Author(s): Jordi Mallach, Josselin Mouette
  • Date: 2011-04-21 19:35:19 UTC
  • mfrom: (0.1.5 sid)
  • Revision ID: james.westby@ubuntu.com-20110421193519-cukx1vu0olus12tk
Tags: 3.0.0-2
[ Josselin Mouette ]
Break gnome-keyring < 3.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
2
 
/* unit-test-other.c: Test some prompts
 
2
/* test-prompting.c: Test some prompts
3
3
 
4
4
   Copyright (C) 2010 Stefan Walter
5
5
 
22
22
*/
23
23
 
24
24
#include "config.h"
 
25
 
25
26
#include "gnome-keyring.h"
26
27
 
27
28
#include <glib.h>
48
49
int
49
50
main (int argc, char *argv[])
50
51
{
 
52
        g_setenv ("GNOME_KEYRING_TEST_SERVICE", "org.gnome.keyring.Test", TRUE);
 
53
 
51
54
        if (argc == 2) {
52
55
                if (g_str_equal (argv[1], "--create-item")) {
53
56
                        return test_create_item ();