From 502ccc17152e92fa7563a918147e9cfc67cae14b Mon Sep 17 00:00:00 2001 From: Ralf Habacker Date: Sat, 11 Jan 2014 20:51:27 +0100 Subject: [PATCH] Rename dbus-test to test-dbus to match mostly test application names. --- HACKING | 2 +- README.win | 4 ++-- cmake/dbus/CMakeLists.txt | 4 ++-- dbus/Makefile.am | 6 +++--- doc/dbus-test-plan.xml | 6 +++--- test/Makefile.am | 2 +- 6 Dateien geändert, 12 Zeilen hinzugefügt(+), 12 Zeilen entfernt(-) diff --git a/HACKING b/HACKING index 805fd2e..8c993b6 100644 --- a/HACKING +++ b/HACKING @@ -267,7 +267,7 @@ Tests These are the test programs that are built if dbus is compiled using --enable-tests. -dbus/dbus-test +dbus/test-dbus This is the main unit test program that tests all aspects of the D-Bus client library. diff --git a/README.win b/README.win index 01032e1..bd67c18 100644 --- a/README.win +++ b/README.win @@ -31,10 +31,10 @@ updated with windows specific stuff. Tests ----- - dbus library check - bin\dbus-test.exe \test\data + bin\test-dbus.exe \test\data - bus daemon check - bin\bus-test.exe \test\data + bin\test-bus.exe \test\data - check available names bin\test_names.exe diff --git a/cmake/dbus/CMakeLists.txt b/cmake/dbus/CMakeLists.txt index cea2298..a5481b7 100644 --- a/cmake/dbus/CMakeLists.txt +++ b/cmake/dbus/CMakeLists.txt @@ -297,8 +297,8 @@ else(WIN32) endif(WIN32) if (DBUS_ENABLE_EMBEDDED_TESTS) - add_test_executable(dbus-test ${CMAKE_SOURCE_DIR}/../dbus/dbus-test-main.c ${DBUS_INTERNAL_LIBRARIES}) - set_target_properties(dbus-test PROPERTIES COMPILE_FLAGS ${DBUS_INTERNAL_CLIENT_DEFINITIONS}) + add_test_executable(test-dbus ${CMAKE_SOURCE_DIR}/../dbus/dbus-test-main.c ${DBUS_INTERNAL_LIBRARIES}) + set_target_properties(test-dbus PROPERTIES COMPILE_FLAGS ${DBUS_INTERNAL_CLIENT_DEFINITIONS}) ENDIF (DBUS_ENABLE_EMBEDDED_TESTS) if (UNIX) diff --git a/dbus/Makefile.am b/dbus/Makefile.am index 0f9033d..b248107 100644 --- a/dbus/Makefile.am +++ b/dbus/Makefile.am @@ -312,13 +312,13 @@ noinst_PROGRAMS = if DBUS_ENABLE_EMBEDDED_TESTS # We can't actually run this til we've reached test/ -noinst_PROGRAMS += dbus-test +noinst_PROGRAMS += test-dbus endif -dbus_test_SOURCES= \ +test_dbus_SOURCES= \ dbus-test-main.c -dbus_test_LDADD = libdbus-internal.la +test_dbus_LDADD = libdbus-internal.la ## mop up the gcov files clean-local: diff --git a/doc/dbus-test-plan.xml b/doc/dbus-test-plan.xml index ee91114..ed918e5 100644 --- a/doc/dbus-test-plan.xml +++ b/doc/dbus-test-plan.xml @@ -48,7 +48,7 @@ Testing the D-Bus client library - The tests for the client library consist of the dbus-test + The tests for the client library consist of the test-dbus program which is a unit test for all aspects of the client library. Whenever a bug in the client library is found and fixed, a test is added to make sure that the bug won't occur again. @@ -58,7 +58,7 @@ The D-Bus client library consists of some data structures that are used internally; a linked list class, a hashtable class and - a string class. All aspects of those are tested by dbus-test. + a string class. All aspects of those are tested by test-dbus. @@ -104,7 +104,7 @@ the D-Bus Reference Manual. - The message test part of dbus-test is using the message + The message test part of test-dbus is using the message builder to build different kinds of messages, both valid, invalid, and invalid ones, to make sure that the loader won't crash or leak memory of any of those, and that the loader diff --git a/test/Makefile.am b/test/Makefile.am index 36921e6..e40abb0 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -76,7 +76,7 @@ TEST_BINARIES = \ TESTS = \ ../bus/bus-test$(EXEEXT) \ ../bus/bus-test-system$(EXEEXT) \ - ../dbus/dbus-test$(EXEEXT) \ + ../dbus/test-dbus$(EXEEXT) \ $(NULL) if DBUS_UNIX -- 1.7.10.4