summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2013-02-03 21:09:20 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2013-02-06 09:01:04 +0100
commit2f3ab2ab9620e7fdeb61e3cd9c717bc4b3525de9 (patch)
tree20436d3c1d29aee95de8aa7033c08877cd5fe328
parent7466e506cd5fb112f418627d95507bbee2c60bab (diff)
downloadneard-2f3ab2ab9620e7fdeb61e3cd9c717bc4b3525de9.tar.gz
neard-2f3ab2ab9620e7fdeb61e3cd9c717bc4b3525de9.tar.bz2
neard-2f3ab2ab9620e7fdeb61e3cd9c717bc4b3525de9.zip
unit: Rename test-ndef to test-ndef-parse
-rw-r--r--Makefile.am8
-rw-r--r--unit/test-ndef-parse.c (renamed from unit/test-ndef.c)8
2 files changed, 8 insertions, 8 deletions
diff --git a/Makefile.am b/Makefile.am
index 5cd458a..6e06be0 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -101,12 +101,12 @@ tools_nfctool_nfctool_SOURCES = tools/nfctool/main.c \
tools_nfctool_nfctool_LDADD = @GLIB_LIBS@ @NETLINK_LIBS@
-unit_tests = unit/test-ndef unit/test-ndef-build
+unit_tests = unit/test-ndef-parse unit/test-ndef-build
-unit_test_ndef_SOURCES = $(gdbus_sources) src/log.c src/dbus.c \
+unit_test_ndef_parse_SOURCES = $(gdbus_sources) src/log.c src/dbus.c \
src/agent.c src/bluetooth.c \
- src/ndef.c unit/test-ndef.c
-unit_test_ndef_LDADD = @GLIB_LIBS@ @DBUS_LIBS@
+ src/ndef.c unit/test-ndef-parse.c
+unit_test_ndef_parse_LDADD = @GLIB_LIBS@ @DBUS_LIBS@
unit_test_ndef_build_SOURCES = $(gdbus_sources) src/log.c src/dbus.c \
src/agent.c src/bluetooth.c \
diff --git a/unit/test-ndef.c b/unit/test-ndef-parse.c
index db6b256..ec3607f 100644
--- a/unit/test-ndef.c
+++ b/unit/test-ndef-parse.c
@@ -306,11 +306,11 @@ int main(int argc, char **argv)
{
g_test_init(&argc, &argv, NULL);
- g_test_add_func("/testndef/Test URI NDEF", test_ndef_uri);
- g_test_add_func("/testndef/Test Text NDEF", test_ndef_text);
- g_test_add_func("/testndef/Test Single record SmartPoster NDEF",
+ g_test_add_func("/testndefparse/Test URI NDEF", test_ndef_uri);
+ g_test_add_func("/testndefparse/Test Text NDEF", test_ndef_text);
+ g_test_add_func("/testndefparse/Test Single record SmartPoster NDEF",
test_ndef_single_sp);
- g_test_add_func("/testndef/Test Title record SmartPoster NDEF",
+ g_test_add_func("/testndefparse/Test Title record SmartPoster NDEF",
test_ndef_title_sp);
return g_test_run();