~ubuntu-branches/ubuntu/vivid/gnome-color-manager/vivid

« back to all changes in this revision

Viewing changes to src/egg-test.h

  • Committer: Bazaar Package Importer
  • Author(s): Rodrigo Moya, Rodrigo Moya, Martin Pitt
  • Date: 2011-08-19 16:23:48 UTC
  • mfrom: (1.3.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20110819162348-p0unefdt677j5ttj
Tags: 3.1.2-0ubuntu1
[ Rodrigo Moya ]
* New upstream release.
* debian/control:
  - Use GTK3 version build dependencies
* debian/rules:
  - Add autoreconf to the rules
* debian/patches/02-fix_build.patch:
  - Add upstream patch to fix build

[ Martin Pitt ]
* Drop 01-libnotify_0.7.patch, obsolete with new upstream version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*-
2
 
 *
3
 
 * Copyright (C) 2007-2008 Richard Hughes <richard@hughsie.com>
4
 
 *
5
 
 * Licensed under the GNU General Public License Version 2
6
 
 *
7
 
 * This program is free software; you can redistribute it and/or modify
8
 
 * it under the terms of the GNU General Public License as published by
9
 
 * the Free Software Foundation; either version 2 of the License, or
10
 
 * (at your option) any later version.
11
 
 *
12
 
 * This program is distributed in the hope that it will be useful,
13
 
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14
 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
 
 * GNU General Public License for more details.
16
 
 *
17
 
 * You should have received a copy of the GNU General Public License
18
 
 * along with this program; if not, write to the Free Software
19
 
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20
 
 */
21
 
 
22
 
#ifndef __EGG_TEST_H
23
 
#define __EGG_TEST_H
24
 
 
25
 
#include <glib.h>
26
 
#include <string.h>
27
 
 
28
 
typedef struct EggTest EggTest;
29
 
 
30
 
gboolean         egg_test_start                 (EggTest *test, const gchar *name);
31
 
void             egg_test_end                   (EggTest *test);
32
 
void             egg_test_title                 (EggTest *test, const gchar *format, ...);
33
 
void             egg_test_title_assert          (EggTest *test, const gchar *text, gboolean value);
34
 
void             egg_test_assert                (EggTest *test, gboolean value);
35
 
void             egg_test_success               (EggTest *test, const gchar *format, ...);
36
 
void             egg_test_failed                (EggTest *test, const gchar *format, ...) G_GNUC_NORETURN;
37
 
EggTest         *egg_test_init                  (void);
38
 
gint             egg_test_finish                (EggTest *test);
39
 
guint            egg_test_elapsed               (EggTest *test);
40
 
void             egg_test_loop_quit             (EggTest *test);
41
 
void             egg_test_loop_wait             (EggTest *test, guint timeout);
42
 
void             egg_test_loop_check            (EggTest *test);
43
 
void             egg_test_set_user_data         (EggTest *test, gpointer user_data);
44
 
gpointer         egg_test_get_user_data         (EggTest *test);
45
 
gchar           *egg_test_get_data_file         (const gchar *filename);
46
 
 
47
 
#endif  /* __EGG_TEST_H */
48