diff options
author | Shaun McCance <shaunm@gnome.org> | 2010-05-06 16:31:28 -0500 |
---|---|---|
committer | Shaun McCance <shaunm@gnome.org> | 2010-05-06 16:31:28 -0500 |
commit | dfd4869f70f8e94e005376277434c0a391d45408 (patch) | |
tree | eee9e78dc9fffc76eb19c5cfbae3672813863d70 /tests | |
parent | e430718640b5bea306f55f4b696d884c2b4a5270 (diff) | |
download | yelp-dfd4869f70f8e94e005376277434c0a391d45408.tar.gz |
Removing yelp-io-channel, since we have the GIO stuff in now
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Makefile.am | 4 | ||||
-rw-r--r-- | tests/test-io-channel.c | 50 |
2 files changed, 0 insertions, 54 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am index 449be5b9..260955ae 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -9,7 +9,6 @@ YELP_COMMON_LDADD = \ $(top_builddir)/libyelp/libyelp.la check_PROGRAMS = \ - test-io-channel \ test-location-entry \ test-magic \ test-settings \ @@ -29,9 +28,6 @@ test_bz2_CFLAGS = $(YELP_COMMON_CFLAGS) test_bz2_LDADD = $(YELP_COMMON_LDADD) endif -test_io_channel_CFLAGS = $(YELP_COMMON_CFLAGS) -test_io_channel_LDADD = $(YELP_COMMON_LDADD) - test_location_entry_CFLAGS = $(YELP_COMMON_CFLAGS) test_location_entry_LDADD = $(YELP_COMMON_LDADD) diff --git a/tests/test-io-channel.c b/tests/test-io-channel.c deleted file mode 100644 index f2e1dbce..00000000 --- a/tests/test-io-channel.c +++ /dev/null @@ -1,50 +0,0 @@ -/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * Copyright (C) 2009 Shaun McCance <shaunm@gnome.org - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of the - * License, or (at your option) any later version. - * - * This program 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 - * General Public License for more details. - * - * You should have received a copy of the GNU General Public - * License along with this program; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. - * - * Author: Shaun McCance <shaunm@gnome.org - */ - -#include <config.h> -#include <stdio.h> -#include <string.h> - -#include <glib.h> - -#include "yelp-io-channel.h" - -int -main (int argc, char **argv) -{ - GIOChannel *channel; - gchar *str; - gint len; - - g_log_set_always_fatal (G_LOG_LEVEL_ERROR | G_LOG_LEVEL_CRITICAL); - - if (argc < 2) { - g_printerr ("Usage: test-io-channel FILE\n"); - return 1; - } - - channel = yelp_io_channel_new_file (argv[1], NULL); - g_io_channel_read_to_end (channel, &str, &len, NULL); - printf ("%s\n", str); - - return 0; -} |