~network-manager/network-manager/ubuntu.hardy.07

« back to all changes in this revision

Viewing changes to test/test-common/test-common.h

* merge 0.7~~svn20080905t025540+eni0 snapshot to hardy branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* NetworkManager -- Forget about your network
2
 
 *
3
 
 * Dan Williams <dcbw@redhat.com>
4
 
 *
5
 
 * This program is free software; you can redistribute it and/or modify
6
 
 * it under the terms of the GNU General Public License as published by
7
 
 * the Free Software Foundation; either version 2 of the License, or
8
 
 * (at your option) any later version.
9
 
 *
10
 
 * This program is distributed in the hope that it will be useful,
11
 
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
 
 * GNU General Public License for more details.
14
 
 *
15
 
 * You should have received a copy of the GNU General Public License along
16
 
 * with this program; if not, write to the Free Software Foundation, Inc.,
17
 
 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18
 
 *
19
 
 * (C) Copyright 2005 Red Hat, Inc.
20
 
 */
21
 
 
22
 
#ifndef TEST_COMMON_H
23
 
#define TEST_COMMON_H
24
 
 
25
 
#include <glib.h>
26
 
#include <stdlib.h>
27
 
#include <stdio.h>
28
 
 
29
 
typedef enum TestResult
30
 
{
31
 
        TEST_FAIL = 0,
32
 
        TEST_SUCCEED
33
 
} TestResult;
34
 
 
35
 
void test_result (const char *progname,
36
 
                  const char *test,
37
 
                  TestResult result,
38
 
                  const char *format,
39
 
                  ...);
40
 
 
41
 
#endif  /* TEST_COMMON_H */