~ubuntu-branches/ubuntu/lucid/seahorse/lucid

« back to all changes in this revision

Viewing changes to libcryptui/tests/unit-test-util.c

  • Committer: Bazaar Package Importer
  • Author(s): Christophe Sauthier
  • Date: 2009-01-08 17:05:02 UTC
  • mfrom: (1.2.39 upstream)
  • Revision ID: james.westby@ubuntu.com-20090108170502-zs2i7svo0b7l3ecz
Tags: 2.25.4-0ubuntu1
* New upstream version (LP: #315147).
* Update debian/patches/80_autoconf_update.patch
* debian/rules:
  - addition of a shlibs rule for libcryptui0 (>= 2.25.4)
* Fix bdeps to match upstream configure check:
  - set libgnome-keyring-dev to (>= 2.25.3).
  - add libtasn1-3-dev.
* debian/seahorse.install:
  - inclusion of debian/tmp/usr/share/gnome/autostart/seahorse-daemon.desktop.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
#include "config.h"
 
3
#include "run-tests.h"
 
4
 
 
5
#include "crui-util.h"
 
6
 
 
7
#include <glib.h>
 
8
 
 
9
#include <string.h>
 
10
 
 
11
DEFINE_TEST (encode_hex)
 
12
{
 
13
        gchar *value;
 
14
        
 
15
        value = _crui_util_encode_hex ((const guchar*)"blahblah", 8);
 
16
        g_assert (value != NULL);
 
17
        g_assert_cmpstr (value, ==, "626C6168626C6168");
 
18
        g_free (value);
 
19
}
 
20