mirror of git://git.sysmocom.de/ofono
Add stub for unit test for Sim Toolkit utils
This commit is contained in:
parent
3bc0024817
commit
d35d290702
|
@ -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)
|
||||
|
|
|
@ -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 <config.h>
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <glib.h>
|
||||
#include <glib/gprintf.h>
|
||||
|
||||
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();
|
||||
}
|
Loading…
Reference in New Issue