diff --git a/Makefile.am b/Makefile.am index 4a76cb26..cb97f248 100644 --- a/Makefile.am +++ b/Makefile.am @@ -292,7 +292,8 @@ unit_objects = noinst_PROGRAMS = unit/test-common unit/test-util unit/test-idmap \ unit/test-sms unit/test-simutil \ - unit/test-mux unit/test-caif + unit/test-mux unit/test-caif \ + unit/test-stkutil unit_test_common_SOURCES = unit/test-common.c src/common.c unit_test_common_LDADD = @GLIB_LIBS@ @@ -315,6 +316,11 @@ unit_test_simutil_SOURCES = unit/test-simutil.c src/util.c \ unit_test_simutil_LDADD = @GLIB_LIBS@ unit_objects += $(unit_test_simutil_OBJECTS) +unit_test_stkutil_SOURCES = unit/test-stkutil.c src/util.c \ + src/stkutil.c +unit_test_stkutil_LDADD = @GLIB_LIBS@ +unit_objects += $(unit_test_stkutil_OBJECTS) + unit_test_mux_SOURCES = unit/test-mux.c $(gatchat_sources) unit_test_mux_LDADD = @GLIB_LIBS@ unit_objects += $(unit_test_mux_OBJECTS) diff --git a/unit/test-stkutil.c b/unit/test-stkutil.c new file mode 100644 index 00000000..53feef7d --- /dev/null +++ b/unit/test-stkutil.c @@ -0,0 +1,45 @@ +/* + * oFono - GSM Telephony Stack for Linux + * + * Copyright (C) 2008-2010 Intel Corporation. All rights reserved. + * + * 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * + */ + +#ifdef HAVE_CONFIG_H +#include +#endif + +#include +#include +#include +#include + +#include +#include + +static void test_display_text_111() +{ +} + +int main(int argc, char **argv) +{ + g_test_init(&argc, &argv, NULL); + + g_test_add_func("/teststk/Display Text 111", test_display_text_111); + + return g_test_run(); +}