diff options
author | William Jon McCann <mccann@jhu.edu> | 2007-12-09 17:17:51 +0000 |
---|---|---|
committer | William Jon McCann <mccann@src.gnome.org> | 2007-12-09 17:17:51 +0000 |
commit | e8c81d5072a0fd15607dde18dedae5701f3c03b2 (patch) | |
tree | 293d8301c25ed8f5eaa266cbeec7a39a7c580c89 /tests/s-common-address.h | |
parent | 5337a296f0668e5f1e9e378a171d33029f838414 (diff) | |
download | gdm-e8c81d5072a0fd15607dde18dedae5701f3c03b2.tar.gz |
Add a unit testing framework. Based on a patch from Andrew Ziem
2007-12-09 William Jon McCann <mccann@jhu.edu>
* Makefile.am:
* common/gdm-address.c: (gdm_address_equal),
(gdm_address_is_loopback):
* common/gdm-common.c: (gdm_string_hex_encode),
(gdm_string_hex_decode):
* configure.ac:
* tests/Makefile.am:
* tests/m-common.c: (main):
* tests/s-common-address.c: (setup), (teardown), (START_TEST),
(suite_common_address):
* tests/s-common-address.h:
* tests/s-common-utils.c: (START_TEST), (suite_common_utils):
* tests/s-common-utils.h:
Add a unit testing framework.
Based on a patch from Andrew Ziem <ahz001@gmail.com>
svn path=/trunk/; revision=5545
Diffstat (limited to 'tests/s-common-address.h')
-rw-r--r-- | tests/s-common-address.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/tests/s-common-address.h b/tests/s-common-address.h new file mode 100644 index 00000000..b172caba --- /dev/null +++ b/tests/s-common-address.h @@ -0,0 +1,28 @@ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- + * + * Copyright (C) 2007 William Jon McCann <mccann@jhu.edu> + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 59 Temple Place - Suite 330, + * Boston, MA 02111-1307, USA. + */ + +#ifndef __S_COMMON_ADDRESS_H +#define __S_COMMON_ADDRESS_H + +#include <check.h> + +Suite *suite_common_address (void); + +#endif /* __S_COMMON_ADDRESS_H */ |